Opengl Line strip in irrlicht (equivalent)

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
pandoragami
Posts: 226
Joined: Wed Jan 26, 2011 5:37 pm
Contact:

Opengl Line strip in irrlicht (equivalent)

Post by pandoragami »

Is there a way to use line strips in irrlicht similar to opengl. I'm mentioning this page http://www.falloutsoftware.com/tutorials/gl/gl3.htm
where they talk about strips. What other primitives are available besides spheres and cubes in irrlicht?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You can use any primitive type supported by the driver. All OpenGL types are supported under OpenGL. Just use draw3dVertexPrimitiveList and set the proper type. Spheres and cubes are meshes, no geometry base types. We also have plain and bumpy planes, terrain, and arrows as standard meshes. See the geometry creator interface.
pandoragami
Posts: 226
Joined: Wed Jan 26, 2011 5:37 pm
Contact:

Post by pandoragami »

See the geometry creator interface.
I'm not sure where to find that???
whisp
Posts: 17
Joined: Sat Jan 09, 2010 1:58 pm

Post by whisp »

Used the class-list in the docu to find it. It's irr::scene::IGeometryCreator.
Post Reply