Hi,
> It might sound "clever" and "efficient" but it would be crazy to maintain. You're right, maintenance is probably harder with that ! > If you can find one really compelling and essential reason A real situation I've encountered (but not essential...) : switching betewwen LDR and HDR rendering : LDR shaders where looking for normalized values and HDR don't. (I didn't write these crazy shaders, and it was probably a bad idea to keep this) > If we are storing data from the array in a buffer object then to have some of > the details of how it's stored not completed contained in the Array is a bit > odd. => very good reason, and in my opinion, the best one to have these parameteres on the osg::Array class. Thank you! Cheers, Aurelien ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54384#54384 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
