Sign in to follow this  
VadimZabolotnov

How to compute bvh node intersection ?

Recommended Posts

LorenzoGatti    4442
Without knowing what shape your BVH nodes are, it's hard to tell how to compute something about them.
Guessing what's special about refracted rays and what's difficult about intersecting them with an AABB, if that's what you are trying to do, is even harder.
 
Maybe you can post some formulas or code to show where you are stuck. Are you writing some kind of ray tracer?

Share this post


Link to post
Share on other sites

Without knowing what shape your BVH nodes are, it's hard to tell how to compute something about them.
Guessing what's special about refracted rays and what's difficult about intersecting them with an AABB, if that's what you are trying to do, is even harder.
 
Maybe you can post some formulas or code to show where you are stuck. Are you writing some kind of ray tracer?

I want to write a real time gpgpu ray tracer with ideal soft shadows for simple objects like cubes, spheres and e.t.c. I want to project shadow figure (as analytic function) to light source plane and compute visibled from the point square of the light source . 

 

BVH nodes consists from aabb volumes (cuboids) . compute intersection for refracted ray interests for cube and cuboid. 

Edited by xma

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this