Drawing an object of type "plane3D"

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
compound
Posts: 18
Joined: Sun Feb 24, 2008 12:38 pm

Drawing an object of type "plane3D"

Post by compound »

i had a search around the forum and couldn't find a defintive answer

but basically i need a flat plane with a custom number of columns / rows.

this seems to be the type im looking for, but i cant see how it is possible to assign to a scene node or just draw straight off. could someone point me in the right direction please

cheers
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Check the forum for the grid scene node (best to use the search function at the top of the page).

That may not be what you're after but could point you in the right direction if you want to render it yourself.

Or will the hillPlaneMesh not work for you (check the API/docs under scene manager)? That gives you a grid.
Image Image Image
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
compound
Posts: 18
Joined: Sun Feb 24, 2008 12:38 pm

Post by compound »

that grid node seems to be perfect for what i need, was very easy to implement and very customisable

am i right in assuming it will be possible for me to modify height values of individual verts etc at runtime?
compound
Posts: 18
Joined: Sun Feb 24, 2008 12:38 pm

Post by compound »

hmm, not too sure if this is actually what i need for this. i need to create a plane in which i can modify y params of individual sections i think this one is individual verts spanning across the whole plane. does anyone know if its possible to easily read and write verts in hillPlaneMesh ?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, hillPlaneMesh is a usual IMesh. You can access the verts using the usual methods.
compound
Posts: 18
Joined: Sun Feb 24, 2008 12:38 pm

Post by compound »

excellent, thanks a lot (again) hybrid :D
Post Reply