You're right; I'm more familiar with the other method that is shown in osgdistortion in setDomeFaces / createDomeDistortionMesh. Anyway, I see that you've stuck pretty close to the original example. However, I notice that you only have one element in your color array, yet you've specified BIND_PER_VERTEX. That should be BIND_OVERALL.
Otherwise, I'm sure what to suggest, other than to make sure that you set the viewer scene to the results of createDistortionSubgraph. Tim On Tue, Nov 30, 2010 at 11:14 AM, Sajjadul Islam <[email protected]>wrote: > Hi Tim, > > When i take another look at the osgdistortion example i see that in the > function createDistortionSubgraph() there is nothing defined as you have > metioned. > > ... > > Thank you! > > Cheers, > Sajjadul > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=34247#34247 > > > > > > _______________________________________________ > 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

