Hi OSG Newbie

You can take a look to osgbillboard example which create a Geometry with
vertex, normal, and texture coord.


HTH
David Callu

2009/5/6 OSG Newbie <[email protected]>

> Hi,
>
> What I have are position array, normal array and uv coordinate array (these
> arrays don't have the same number of elements) and a list of index that
> specify each vertex's position, normal and uv coordinate by their respective
> index.
>
> I would like to construct geometry from these arrays and indexces. I know
> how to insert primitiveset (triangles), but need a way to associate each
> vertex with correct normal and uv coord.
>
> I have looked though the online tutorial here code but it didn't help in my
> case.
>
> Any sample code will be appreciated.
>
> Thank you.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=11410#11410
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to