Hi
I have a simplest box in 3dsmax with single material,it have 8 vertices but after loading it in Ogre, Ogre show me 24 vertex count in mesh vertexData->vertexCount!
How it can happen?
is Ogre spliting the mesh into polygons and then render it?
if yes, how can i achieve my original 8 vertices?
Thank you for any help.
H.Ahmadi
Meshes take more vertex count in Ogre ?
-
ahmadi
- Gnome
- Posts: 312
- Joined: Sat Nov 26, 2005 4:03 pm
Meshes take more vertex count in Ogre ?
_________________________________
Best regards
Ahmadi
Best regards
Ahmadi
-
haffax
- OGRE Retired Moderator

- Posts: 4823
- Joined: Fri Jun 18, 2004 1:40 pm
- Location: Berlin, Germany
- x 8
Re: Meshes take more vertex count in Ogre ?
Yes, 4 vertices per cube face, 6 sides == 24 vertices.
Each vertex can only have one normal. When you only use 8 vertices, which face direction should the normal represent?
This has nothing to do with Ogre but with how 3d realtime graphics works. You can put all faces into the same smoothing group or however it is called in your modelling tool. But then the result in Ogre won't look like a cube but more like a very coarse sphere due to lighting.
Each vertex can only have one normal. When you only use 8 vertices, which face direction should the normal represent?
This has nothing to do with Ogre but with how 3d realtime graphics works. You can put all faces into the same smoothing group or however it is called in your modelling tool. But then the result in Ogre won't look like a cube but more like a very coarse sphere due to lighting.
-
ahmadi
- Gnome
- Posts: 312
- Joined: Sat Nov 26, 2005 4:03 pm
Re: Meshes take more vertex count in Ogre ?
I very tried to do that with 3DSMax, After changing "smoothing group" and "normals" i just success to export the 8 vertices box to ogre with 20 vertices!haffax wrote:Yes, 4 vertices per cube face, 6 sides == 24 vertices.
Each vertex can only have one normal. When you only use 8 vertices, which face direction should the normal represent?
This has nothing to do with Ogre but with how 3d realtime graphics works. You can put all faces into the same smoothing group or however it is called in your modelling tool. But then the result in Ogre won't look like a cube but more like a very coarse sphere due to lighting.
Can you help me more that how can i export a 8 vertices box from 3DSMax to Ogre without any change and with 8 vertices?
Appearance of the box is not important, because i don't want to render it
Thank you for your helps.
_________________________________
Best regards
Ahmadi
Best regards
Ahmadi
-
Skatt
- Gnoblar
- Posts: 13
- Joined: Thu Nov 11, 2010 10:22 am
- x 1
Re: Meshes take more vertex count in Ogre ?
Why wouldn't you just manually define the object instead then?
-
jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
Re: Meshes take more vertex count in Ogre ?
Because it was two years ago? 
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
chaosavy
- Silver Sponsor

- Posts: 578
- Joined: Mon Jun 15, 2009 8:29 pm
- x 64
Re: Meshes take more vertex count in Ogre ?
maybe Skatt has a time machine, and went back into the past, read this post, thought of the good response. Then returned, remmember that he forgot to reply, then replied, however making the critical mistake of replying in the present (reletive to me typing right now)
Visit http://www.VoidDestroyer.com to check out my space sim project - Void Destroyer
-
Skatt
- Gnoblar
- Posts: 13
- Joined: Thu Nov 11, 2010 10:22 am
- x 1
Re: Meshes take more vertex count in Ogre ?
Lol, sorry. I didn't really pay attention to how old the post was. I was actually wondering if manually defining the object would be the best option here though.