HI Yafes,

Do it in the similar way to what you did with the cubes, simply create
the vertex data and use a DrawElements quad strip.  See osggeometry
example.   It'd take you longer to type your email and wait for
replies than it would to write this...

Robert.

On Tue, Apr 21, 2009 at 12:22 PM, Yafes
<[email protected]> wrote:
> Hi guys,
>
> we had an assignment in school, where we should create cubes with the
>
> "vertexArray->push_back // faceArray->push_back(0)" methods.
>
> As i have now a more complex object, i would like to ask, if you know any 
> other method to create stairs like the one in my screenshot in a more easy 
> and effective way.
>
> If not i would write a bunch of lines of codes ^^
>
> thank you!
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=10510#10510
>
>
>
>
> _______________________________________________
> 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