Hello all, forget about this posting .... I just have moved to OpenSG 1.6 and the problem has resolved! Kind regards, Bjoern Zehner
Zitat von Björn Zehner <[EMAIL PROTECTED]>: > Dear OpenSG users, > > I would like to use the volume rendering in OpenSG with OpenGL shading la= > nguage. > I have to admit that I have difficulties to figure out how the different > components work together so I try to avoid writing my own components by > subclassing or extending etc ... > > I followed the "testSimpleVolumeNode" example checked in on sourceforge. = > I added > a ChunkMaterial (with an SHLChunk) as RenderMaterial to the DVRVolume and= > this > seems "somehow" to work. Unfortunately it seems that from my 4 component = > image > only one component makes it into the shader .... > > Going back to the original example I realized that it seems to be the sam= > e > there. It looks like the first component (red ????) is copied into the ot= > her > components. The image is declared as 4 component image. > "imageP->set(Image::OSG_RGBA_PF,res,res,res)" > > Has somebody a hint how I can fix this, or may be a better way to use sha= > ding > language with the volume rendering? > > Kind regards, > Bjoern Zehner > > -------------------------------------------- > Dr. Bjoern Zehner > UFZ Centre for Environmental Research - CHS > Permoserstra=DFe 15 > D-04318 Leipzig > Germany > Phone: +49 (0)341 235 3979 > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > -------------------------------------------- Dr. Bjoern Zehner UFZ Centre for Environmental Research - ALOE Permoserstraße 15 D-04318 Leipzig Germany Phone: +49 (0)341 235 2019 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
