flat assembler
Message board for the users of flat assembler.
Index
> Tutorials and Examples > Sphere flake with ray tracing |
Author |
|
avcaballero 04 Nov 2017, 17:20
Hello. This is a basic stage, so everything works in the first plane, no extra threads of execution. Thus, if you use some heavy behaviours like "a-antialiasing" or "d-depth of field" it can take a long to complete and the program won't respond until finished. Each key you use activates one behaviour, this key again deactivates it.
Each behaviour activated and every extra level of the sphere flake involve more time consuming. Nevertheless with one light it could be rasonably fast. I would suggest use the "4" key to reach the fourth level of the sphere flake and hit twice the "L" to turn on three lights (maybe it is best viewed with three lights that with only one), maybe then "r" for reflects. These are the keys what you can interact with the program: - a/A. Antialiasing - d/D. Depth of field - r/R. Reflection - l/L. Increase the number of lights (max=3) - k/K. Decrease the number of lights (min=1) - 1,2,3,4. The level of iterations for the sphere flake
_________________ Siempre aprendiendo |
|||||||||||
04 Nov 2017, 17:20 |
|
JohnFound 04 Nov 2017, 18:04
Well, on my 1GHz CPU, it is pretty slow. But looks great.
|
|||
04 Nov 2017, 18:04 |
|
comrade 06 Nov 2017, 04:57
Cool, good job!
|
|||
06 Nov 2017, 04:57 |
|
Picnic 08 Nov 2017, 12:15
It worked fine in Windows XP, just somewhat slow here too (P4 3.33 GHz).
Very nice avcaballero. |
|||
08 Nov 2017, 12:15 |
|
macgub 09 Nov 2017, 10:17
Well done. I made similar demo (ray traced rotated spheres) for Menuetos. If you want, take a look.
BIN+SRC - http://macgub.co.pl/menuet/ray01.zip SCREENSHOT - http://macgub.co.pl/menuet/ray01_big.jpg |
|||
09 Nov 2017, 10:17 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.