more primitives!

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
beginner

more primitives!

Post by beginner »

hi,
how can i obtain more primitives like sphere, tetraeder, cylinder ( cone ), torus, teapot, armchair... ?

i'd like especially the sphere.
Isometric God
Posts: 69
Joined: Sun Oct 12, 2003 3:42 pm
Location: Germany

Post by Isometric God »

are you sure that the teapot is a primitive ?? Why don't you create a model in 3ds and load it into memory using Irrlicht ?
stampsm
Posts: 142
Joined: Mon Nov 10, 2003 5:52 pm
Location: Las Vegas

Post by stampsm »

if you can't afford 3d studio use anim8or it is free and can export .3ds
www.anim8or.com
beginner

Post by beginner »

no, its no fun having to import a sphere or torus.
i rather meant: is there a way having the engine create primitives other than a cube for me.
scalable complexity would be nice too...

am i asking too much?
Isometric God
Posts: 69
Joined: Sun Oct 12, 2003 3:42 pm
Location: Germany

Post by Isometric God »

For primitives yes. For meshes NO. Just my 2 cents ..
stampsm
Posts: 142
Joined: Mon Nov 10, 2003 5:52 pm
Location: Las Vegas

Post by stampsm »

well i just figured out how to modify the custom scene node to show different shapes how to show wireframe and how to texture them (still working on how to get the textures to show up properly)
when i finish i could write a custom scene node to show different primatives
with a format like
createPrimatives(parent,scene manager,id,texture,primative,wireframe);
i'll start working on it after i figure out my texture problem
see ya
zoschfrosch
Posts: 11
Joined: Sat Nov 22, 2003 11:03 pm

Post by zoschfrosch »

Hi stampsm,

I'm very interested in your results. I want to create a space scene, this is very easy if you have sphere nodes with satellite fotos from earth or other planets as textures.
I would be happy if you could notify me when your code works :)
Post Reply