Hello,

If one writes a texture to the .osg file, then the
texture is not inlined, but it's file path is written
to the .osg file.

I am wonder why the same doesn't happen to shader
programs. The shaders are inlined into the .osg file.
As from my point of view shader programs are also
resources, which might be changed without changing the
.osg file and hence be loaded differently on the next
app start.

Would it be make sense to provide a patch which do
either inline the shader code or write a file path of
the file from where the shader code was retrieved.
This should be somehow defined through the Options
object given to the reader. 

What do you think?

Best,
Art

P.S. I looked into the code and encountered that
reading of shaders from files is already supported but
writing not.




      Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: 
http://de.yahoo.com/set
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to