geometry intersact with rendering volume
I am just a beginner for OPENGL. Now I need to modify a existing (volume rendering )code, to add a geometry(say a cube) to this rendering volume(like medical image). I know this can be done by depth test. But I failed. The result seems strange. Inside the cube there is sth which should not be.
The method should be to modify the raycast part, changing the ray start point and end point. But I am still confused...
Can somebody help with this or give me any example of the solution like this type? Thanks..
The method should be to modify the raycast part, changing the ray start point and end point. But I am still confused...

Can somebody help with this or give me any example of the solution like this type? Thanks..
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| GLSL geometry- and multipass-shaders (nogo?) | mcMike | 3 | 5,076 |
May 2, 2008 05:51 AM Last Post: mcMike |
|
| Smoothing geometry via subdivision | TomorrowPlusX | 1 | 2,522 |
Aug 30, 2007 02:46 PM Last Post: OneSadCookie |
|
| GPU shadow volume extrusion with GLSL | TomorrowPlusX | 12 | 10,735 |
Jan 24, 2007 03:21 PM Last Post: JoNo21 |
|
| volume rendered explosions? | Falcor | 2 | 3,984 |
Feb 16, 2006 08:17 PM Last Post: Falcor |
|
| Geometry instancing and vertex streams | Puzzler183 | 2 | 2,471 |
Apr 16, 2005 11:00 PM Last Post: Puzzler183 |
|

