Page 1 of 1
Got the plane (Screen Shots included)
Posted: Sat Jul 16, 2005 3:49 am
by Dan
anyone have a .mesh format plane (flat 4sided) w/ 1000 vets
if you do please post it
i don't really care if it has a texture i just want to try out something that i am making
(i don't really have the 3d utilities to make it)
thx
Edit: i was able to use blender to make a plane
Re: anyone have a .mesh format plane (flat 4sided) w/ 1000 v
Posted: Sat Jul 16, 2005 4:43 am
by Mr.Bloodworth
Dan wrote:anyone have a .mesh format plane (flat 4sided) w/ 1000 vets
if you do please post it
i don't really care if it has a texture i just want to try out something that i am making
(i don't really have the 3d utilities to make it)
thx
No dot mesh, but i can make you a 3DS, or OBJ.
And do you mean 1000 vertcies or polygons?
Posted: Sat Jul 16, 2005 8:00 am
by baxissimo
Not having "the 3d utilities" shouldn't stop you. Everything you need is freely available.
Here's what you need to do:
Step 1: Download Blender from
http://www.blender3d.org
Step 2: Download Blender to Ogre Exporter from
http://www.ogre3d.org under the Dowloads -> Tools section.
Step 3: In Blender make a plane (space-bar -> "Add" -> "Plane")
Step 4: Subdivide to your liking (W key followed by 1 key will do it)
Step 5: Run Ogre exporter to generate a .mesh.xml file.
Step 6: Run OgreXMLConverter on the .mesh.xml to make a .mesh
Or better yet, seeing as how you are probably a programmer and not a 3d artist (one can at least hope), use the OgreXMLConverter to convert any .mesh to XML and examine the resulting format. From there it should be pretty trivial to figure out how to write a simple script in python, or whatever your favorite language happens to be, that will generate the necessary <mesh> and <geometry> and <faces>, etc blocks. It's a pretty simple format for something basic like you want with just one submesh and one or no materials.
One more alternative: build the mesh from scratch programmatically in Ogre. The Water demo basically builds a tesselated plane as its first step. Then it perturbs the Z coords to make waves, but you can leave that part out.
Hope that helps!
Posted: Sat Jul 16, 2005 2:35 pm
by Dan
thx Mr.Bloodworth, and baxissimo that will help (i guess i need to learn blender better

) ill try to make one myself
Posted: Sat Jul 16, 2005 3:45 pm
by monster
i finally got one made
Posted: Sat Jul 16, 2005 5:16 pm
by Dan
Thx for the response Monster, but i need a .mesh file for the way that i do my collision (triangle ray) and i got a plane made
Posted: Sat Jul 16, 2005 10:06 pm
by nfz
Dan: once you get Ogre to create the plane for you, you can use the mesh serializer to export it for you to a .mesh file:
http://www.ogre3d.org/docs/api/html/cla ... rializera2
Posted: Sun Jul 17, 2005 1:52 am
by baxissimo
monster wrote:What about Ogre::MeshManager::createPlane?
Cheater!
Just kidding. Yeh, that sounds like the way to go. Probably a better idea than spending a week trying to learn Blender

.
@dan - are you sure your collision scheme really
requires that you load the plane from a .mesh? How could that be? Whether you call MeshManager::getSingleton().createPlane() or load a .mesh from a file, the result is an Ogre::Mesh in memory.
Posted: Sun Jul 17, 2005 6:03 am
by Dan
well, i didn't know that, but i made a plane in blender
Here is a screenshot of the simple plane
This is another screenshot after the penguin wore a path into the snow
At least i was able to start to make what i wanted
Posted: Sun Jul 17, 2005 6:25 am
by discipline
Hey lookin good! That penguin must have been walking for quite a while!
Posted: Sun Jul 17, 2005 7:06 am
by :wumpus:
Lol, cool penguin
Posted: Sun Jul 17, 2005 2:56 pm
by joi
Keep it up!