Hi all, I am new to OpenSceneGraph. My goal is to create an osg input file for use with osgviewer demonstrating some complex GLSL shaders. Since I cannot easily find documentation for the osg file format, I am posting some quick questions here. I appreciate any quick pointers, the answer does not have to be detailed, I'll figure it out.
* Which node do I need to load geometry from an external obj file? My geometry is in separate OBJ files, which I want to include in a single osg file. * Which node do I need to set the properties of a perspective camera, including the field of view? * One of my GLSL shaders uses a usampler1D sampler and a corresponding glTexImage1D with GL_LUMINANCE8UI_EXT as internal format and GL_LUMINANCE_INTEGER_EXT as format. What do I need to do to support this texture? If the Texture2D node can handle the internal format and formats above then I should be fine? * One of my GLSL shaders uses a sampler3D sampler and a corresponding glTexImage3D with GL_LUMINANCE32F_ARB as internal format and GL_LUMINANCE as format. Same question as above. Are 3D textures supported? Thanks, Ares ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33431#33431 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

