Hello, Hoping for a bit of help.
What I've been doing: I have been using osgdem to merge a dted data geotiff with a geotiff with rgb color values into an ive terrain complex. I am using the -t flag to tell osgdem that my geotiff should be treated as a texture file. However, the rgb values in the geotiff represent scaled physical properties such as temperature. What I think I need to do: I would like to be able to access the color (and thus physical property) of each primitive once I read this ive terrain complex into an osg program. I have an osg node visitor set up that loops over the geometry of my terrain and can loop over all primitives etc, but I do not know how to access the textures and their colors from the primitives. What I think is impossible but would be ideal: What I would really like is if I could tell osgdem to assign each primitive an rgb color value instead of a texture (based on my geotiff file), but I don't think that's possible? I've been turning various osgdem flags on and off and experimenting with it, but thought i would ask the forum to see if anyone has any recommendations for me. Thanks in advance for your help. -Ethan ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43867#43867 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

