(L) [2006/07/07] [Dominik] [Some Questions] Wayback!Hi,
I have found this forum through the daily Image on [LINK http://www.devmaster.net./ www.devmaster.net.]
I wrote my first ray tracer after I read an article on wikipedia.de. It wasn't that good, no shading, just primary rays and a regular grid.
After I read Phantoms Raytracingseries on flipcode, I rewrote the wohle thing, and now it features at least diffuse lighting, shadows and a nested grid.
Now I found this site and I decided to rewrite the whole thing again...
Now I have some questions to ask:
1. What do you use for displaying the picture? In my two previous projects I just saved an image to disk without displaying it.
2. My prevoius two renderers supported only spheres, but Triangles would be nice. How to do ray/triangles and plane/triangles intersection fast?
3. How to load triangle data like that sponza thing?
Later perhaps I remember all the other questions I wanted to ask, but that should be all for now.
Dominik
(L) [2006/07/07] [Phantom] [Some Questions] Wayback!Welcome on the forum!
These are pretty basic questions; perhaps you should do some reading first. There's excellent material in the 'links & papers' section. Perhaps you can start with Carsten Benthin's thesis, it gives a good overview of kd-tree traversal & triangle intersection.
_________________
--------------------------------------------------------------
Whatever