[SOLVED] Reading indices from a mesh with Triangle Strips

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
cegprakash
Posts: 41
Joined: Thu Feb 27, 2014 10:55 am

[SOLVED] Reading indices from a mesh with Triangle Strips

Post by cegprakash »

How can I identify whether my (OBJ model's)IMesh's indices are in the form of Triangle List or of the form Triangle Strips?

I need to convert the Triangle Strips into Triangle List from which I've to construct an adjacency matrix.
Last edited by cegprakash on Fri Jul 11, 2014 2:42 pm, edited 1 time in total.
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Reading indices from a mesh constructed with Triangle St

Post by hendu »

They are always an array of tris, because irr does not support meshes of other types. That support is only in my version.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Reading indices from a mesh constructed with Triangle St

Post by hybrid »

In case they are stored differently in a mesh file they are converted by the loader.
Post Reply