Jean-Sébastien Guay wrote: >> BTW a working example of GLSL generic attributes is the diffraction >> shader in >> http://osgtoy.svn.sourceforge.net/viewvc/osgtoy/osgtoy/trunk/osgtoy-data/compactdisc.osg >> >> It binds a "tangent" attribute to slot 5. > > > I'll check that out. Can I just display the osg file with osgviewer, or > do I need osgToy?
Hi, The file loads into stock OSG, no osgToy library needed. Try passing your data in an unused texcoord rather than a generic attribute. Do you have ATI graphics by any chance? Their driver has had trouble w/ genering attributes. There's another version of that scene called compactdisc-texcoord.osg, the only difference being how the attributes are sent. cheers -- mew -- Mike Weiblen -- Austin Texas USA -- http://mew.cx/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
