Re: [osg-users] Creating Stairs, better way?

2009-04-21 Thread Robert Osfield
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, Ya

[osg-users] Creating Stairs, better way?

2009-04-21 Thread Yafes
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