How to Create programmatically a Mesh

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
Analist
Posts: 1
Joined: Fri Feb 10, 2006 9:06 pm

How to Create programmatically a Mesh

Post by Analist »

Hi All,
How is possible to create a mesh giving a list of coordinates?

Many thanxs
Pazystamo
Posts: 115
Joined: Sat Dec 03, 2005 5:56 pm
Location: Lithuania
Contact:

Post by Pazystamo »

look at 03.CustomSceneNode example. it creates pyramid using drawIndexedTriangleList.
My project in forum- ATMOsphere - new dynamic sky dome for Irrlicht
pat-rizio
Posts: 20
Joined: Thu Jan 05, 2006 10:59 am

Post by pat-rizio »

I think you could take a look even here and create a mesh by yourself following CreateCube() method example.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Also you could create a .x file "programatically" which is what i attempted to do, but creating a whole maze that way didn't work for me for some reason, only half of it ended up displaying... Probably had an error in my method which outputted the vertices to the .x file!

What i did after that was to create seperate .x files, one for wall, one for floor etc. Then use them to build up the maze from in the program.
Image Image Image
Post Reply