Hi Émeric, Thanks for your information. I am thinking whether it is easy way to show the volume image on web page. I also found some examples using texture2d to form volume rendering. I may try this option. Thanks.
Regards, Clement ________________________________________ From: osg-users [[email protected]] on behalf of Émeric MASCHINO [[email protected]] Sent: Thursday, 21 May 2015 18:52 To: OpenSceneGraph Users Subject: Re: [osg-users] View volume image on web Hi Clement, If by volume, you mean voxels, then you're out of luck, as OpenGL ES, which WebGL relies upon, lacks of 3D texture support [1]. This is something WebGL 2.0 is supposed to solve. In the meantime, there seems to be a trick involving GLSL [2] but I didn't look deep into the code/solution. BTW, how did you use WebGL with OSG? I know of OSG.JS [3], a JavaScript reimplementation of OSG API aiming to develop WebGL applications, but that's a totally different project. [1] https://www.khronos.org/message_boards/showthread.php/7225-3D-textures-in-WebGL [2] http://gamedev.stackexchange.com/questions/34110/how-can-i-implement-3d-textures-using-webgl [3] http://osgjs.org Émeric 2015-05-21 4:30 GMT+02:00 <[email protected]>: > Hi, > > I saved my volume image data as dds format by using osgDB::writeImage > method. Does anyone know any method to be able to show dds image on webpage? > I tried webgl and it does not work. I am not sure whether webgl supports > volume rendering or not. Thanks. > > > Regards, > Clement > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

