Top "Raytracing" questions

Ray tracing is a physics-based method for simulating photorealistic 3D scenes.

How to do ray tracing in modern OpenGL?

So I'm at a point that I should begin lighting my flatly colored models. The test application is a test …

opengl graphics raytracing opengl-3
How to do ray plane intersection?

How do I calculate the intersection between a ray and a plane? Code This produces the wrong results. float denom = …

c++ raytracing
Why are KD-trees so damn slow for nearest neighbor search in point sets?

I am using CGAL's (the latest) KD-tree implementation for searching nearest neighbors in point sets. And also Wikipedia and other …

c++ data-structures raytracing kdtree cgal
Why do we use CPUs for ray tracing instead of GPUs?

After doing some research on rasterisation and ray tracing. I have discovered that there is not much information on how …

gpu cpu hardware raytracing rasterizing
Ray tracing box intersections

So I'm back with another ray tracing question. My code renders spheres all fine and dandy, but cubes aren't really …

c++ vector-graphics raytracing cubes
raytracing with CUDA

I'm currently implementing a raytracer. Since raytracing is extremely computation heavy and since I am going to be looking into …

cuda raytracing
How to move a camera using in a ray-tracer?

I am currently working on ray-tracing techniques and I think I've made a pretty good job; but, I haven't covered …

c++ camera transformation raytracing
When are structs the answer?

I'm doing a raytracer hobby project, and originally I was using structs for my Vector and Ray objects, and I …

c# performance struct raytracing struct-vs-class
Literature and tutorials for writing a ray tracer

I am interested in finding recommendations on books on writing a raytracer, simple and clear implementations of ray tracing that …

language-agnostic graphics raytracing
How to implement Depth of Field in Ray Tracer?

Can someone help me with the depth of field implementation in Ray Tracer please? I am using a simple pin-hole …

c++ raytracing depth