Hi Oliver,

On 5/2/07, Oliver Schoenborn <[EMAIL PROTECTED]> wrote:

Thanks Robert, but this doesn't work, since the writer saves the source
code of the shaders in the osg file, whereas I would want to have only the
shader file names so the shaders can be modified independently. Also, I
wouldn't want the user to have to know low-level OSG stuff like DataVariance
etc.


You could try using file "myshader.vert" etc in the .osg file, it might just
work.  You don't need DataVariance stuff, the OSG will just use defaults if
the values are in the file.


Is there docs for creating readers?


The source code :-)


If not, what is the *simplest* reader that I could use as example? Thanks,



The logo plugin might be simplest.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to