Search found 7 matches

by hurtado
Apr 18, 2019 14:55
Forum: Tips and Tricks
Topic: 3d animated tunnel in pure FB
Replies: 15
Views: 22551

Re: 3d animated tunnel in pure FB

M_PI is the PI number 3.141592...
by hurtado
Apr 18, 2019 13:39
Forum: Tips and Tricks
Topic: 3d animated tunnel in pure FB
Replies: 15
Views: 22551

Re: 3d animated tunnel in pure FB

Here it is another enhanced version of the tunnel. Compiled in 10Kb with tiny c, almost no wasting cpu. https://images2.imgbox.com/91/28/POLhfke6_o.png #define cdXPos CW_USEDEFAULT #define cdYPos CW_USEDEFAULT #define cdXSize 320 //cdYSize*1.6 #define cdYSize 200 #define cdColFondo 0 #define MAIN_IC...
by hurtado
Apr 18, 2019 13:03
Forum: Tips and Tricks
Topic: 3d animated tunnel in pure FB
Replies: 15
Views: 22551

Re: 3d animated tunnel in pure FB

What is MP_1? I have never seen it
by hurtado
Apr 18, 2019 10:17
Forum: Tips and Tricks
Topic: 3d animated tunnel in pure FB
Replies: 15
Views: 22551

Re: 3d animated tunnel in pure FB

Tiny C is ANSI compatible. This code may be compiled with any of your three c compilers with a tiny effort. You need a tiny effort because each compiler has its own specifications. Luckily, to install tiny c you just need to unzip the package. Tiny c does not usually get along with antivirus, beeing...
by hurtado
Apr 17, 2019 21:59
Forum: Tips and Tricks
Topic: 3d animated tunnel in pure FB
Replies: 15
Views: 22551

Re: 3d animated tunnel in pure FB

Hello, just as curiosity, this a translated code from Relsoft of his tunnel effect to tinyc. 9kb compiled code and almost no wasting processor. Save the file as "tunnel.c" and compile with "tcc tunnel.c". All the merit for Relsoft. If it is not allowed to posted c source code, yo...
by hurtado
Apr 26, 2017 14:52
Forum: Beginners
Topic: Rotating camera in 3d
Replies: 12
Views: 1043

Re: Rotating camera in 3d

That's good, but if I'm not wrong, what is rotating is the object, not the camera. Imagine that you have an static box and you fly rounding over it.

May aim is to make rotating them both.
by hurtado
Apr 26, 2017 9:00
Forum: Beginners
Topic: Rotating camera in 3d
Replies: 12
Views: 1043

Rotating camera in 3d

Hello, it would be nice if someone give me a simple example of rotating the camera in 3d. No OpenGL, etc, just if it were in qbasic. For example a simple example with a plane or a box or just a point and the camera moving around it.

Thank you

Go to advanced search