/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

Today's #ScreenshotSaturday features Face Your Fears from Turtle Roc ... #virtualrealityshop #mobilevr #vrshop https://t.co/3qhSNAVNOZ
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

How to compute bvh node intersection ?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 xma   Members   

236
Like
0Likes
Like

Posted 07 September 2013 - 08:27 AM

How to compute bvh node intersection by ray ? And how to compute refraction ray intersection in aabb ? 


Edited by xma, 07 September 2013 - 08:29 AM.


#2 LorenzoGatti   Members   

4235
Like
0Likes
Like

Posted 09 September 2013 - 01:19 AM

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?

Omae Wa Mou Shindeiru


#3 xma   Members   

236
Like
0Likes
Like

Posted 09 September 2013 - 06:30 AM

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, 09 September 2013 - 06:38 AM.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.