0

I am constructing a ray tracing algorithm , i know that the first step is to develop camera and view plane specifications. Now is the next step performing rasterization algorithm on image before a BVH tree is constructed so that intersection tests can be performed?

Kindly Guide

1
  • What image do you have available to rasterise? Jun 13 '13 at 12:19
2

That I'm aware, intersection tests are done using the geometry prior to having the individual pixels. You don't need to worry about rasterization until near the end when you're trying to determine what color a pixel should have based on what you've discovered. And really, you're talking about a sort of antialiasing. In ray tracing, that basically amounts to jostling the camera by very small amounts and averaging the pixel colors so that you end up with pixels that better reflect what you're raytracing.

Strictly speaking, you don't need this in order to have a ray tracer. You should focus on getting an image first. Once you have that, then you can apply antialiasing on the image data obtained.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.