How do you do ray tracing?

i know that it uses the closest source of light to render a 3D image, but how do you actually do it?

This is in the wrong category but ray tracing can be applied using the pen block, particularly used for a sort of 2.5D game (think Doom) with a sort of 2D gameplay and 3D skin. To acheive this you need to send an object from the camera at a certain angle and have it report it's collision with any objects, repeat this process iterating the angle, and then draw with a pen. I would recommend the flat pen edges. The lines are drawn on the screen with the size of them correlating to the distance of rays before collision. You can also render objects as sprites on screen with the distance and angle detectors, and then draw them above the pen

Please don't post on dead topics.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.