Suggestion for enhancement: TriangleSceneNode

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
Yarcanox
Posts: 33
Joined: Sat Apr 14, 2007 11:23 pm

Suggestion for enhancement: TriangleSceneNode

Post by Yarcanox »

Creating a terrain is easy, loading a static mesh is no problem and a moving camera takes you just two minutes.
But if you want to have a single textured triangle, the basis of every model or terrain - so you would think it would be the easiest thing -, it gets damn complicated.

As there is no vb.net code or even c# code (the code file is empty), I need to translate the Custom Scene Node myself to vb.net. I failed, still waiting for anyone who knows vb.net and can help me.

A built-in triangle scene node would be VERY useful for the first steps, as the beginner has no idea of how using modelers, level editors etc., and with a triangle scene node, it would be easy just to create a cube, a fence or whatever. I would suggest three 3d vectors and a material parameter as properties.
I'm not a native English speaker.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You can just use a simple MeshSceneNode. The mesh contains your triangle structure. However, you can only use triangle strips. Otherwise you have to create your own scene node to call the generic drawVertexPrimitive method.
Yarcanox
Posts: 33
Joined: Sat Apr 14, 2007 11:23 pm

Post by Yarcanox »

The mesh contains your triangle structure.
as I said, I need a model program or level editor for that. its just hard for newbies to get started with them, why not adding a triangle node?
and sometimes (as in my case) I want to add triangles manually to build something, because this is way faster than learning how to deal with a modeler.

of course it is possible without a triangle scene node, but even creating a triangle with native opengl is easier than this custom scene node poop (sorry) that does not even provide a working .NET code and makes it nearly impossible for newbies to get it running!
I'm not a native English speaker.
Post Reply