geometry intersact with rendering volume

stella1016
Unregistered
 
Post: #1
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...Wacko

Can somebody help with this or give me any example of the solution like this type? Thanks..Wink
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  GLSL geometry- and multipass-shaders (nogo?) mcMike 3 5,601 May 2, 2008 05:51 AM
Last Post: mcMike
  Smoothing geometry via subdivision TomorrowPlusX 1 2,722 Aug 30, 2007 02:46 PM
Last Post: OneSadCookie
  GPU shadow volume extrusion with GLSL TomorrowPlusX 12 12,511 Jan 24, 2007 03:21 PM
Last Post: JoNo21
  volume rendered explosions? Falcor 2 4,162 Feb 16, 2006 08:17 PM
Last Post: Falcor
  Geometry instancing and vertex streams Puzzler183 2 2,697 Apr 16, 2005 11:00 PM
Last Post: Puzzler183