Hi Enrico,

On Fri, 2005-01-21 at 06:18, Enrico Borrione wrote:
> hi all,
> i am thinking about some SHLShader handling:
> in order to fast switch between a shader and another 
> i have to check whether the geometry i have in the scene 
> matches the parameters of the shader.
> In order to do this, i need to query the Geometry node and
> check if the various streams are available.
> So i should be able to tell OpenSG something like:
> 
> Do you have the normals? and the texture coordinates? How 
> many of them?

I can't think of a shortcut or anything, you'll just have to see whether
the specific attribute is NullFC or not.

Yours

        Dirk




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to