From: Mike H. <mho...@gr...> - 2005-11-04 17:54:57
|
Take a look at the sourcecode to Raptor, a volume renderer designed to work with Chromium: http://graphics.stanford.edu/raptor -Mike Qinghuai Gao wrote: >I saw a mail on 2005-03-28 discussing volume render and binary swap >posted by Joong-Youn Lee: > >"I found why binaryswap SPU did not work at my volume render. > It was because fragment shader was turned on and never turned off. > Thus, glDrawPixels in the binaryswap SPU never worked. > I fixed to turn off vertex and fragment shaders at end of every single >frame, and the SPU now works correctly." > >I am working on a volume render code and saw the same problem: the final >composition result is simply a copy of 4 quarters from the 4 nodes. Can >saw alpha blending on the render nodes. > >So my question to Lee is: > Did you use shader to do the volume rendering? > >In my case, I only use many planes to cut through the volume and no >shader is used. Wonder the solution above is still applicable to my case. > >Also, shader is new to me. If I need to turn off the shader, please >advice how to turn off the shader. I tried to put : > > glDisable(GL_FRAGMENT_PROGRAM_ARB); > glDisable(GL_VERTEX_PROGRAM_ARB); > >at the end of each frame but nothing changed. > >Thanks, > >Qinghuai > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Chromium-users mailing list >Chr...@li... >https://lists.sourceforge.net/lists/listinfo/chromium-users > > |