Custom 3D mesh

Submit here any suggestion
wock
Posts: 20
Joined: Tue Aug 25, 2009 7:41 pm

Custom 3D mesh

Post by wock » Tue Aug 25, 2009 10:29 pm

Hi,
Well I think this question will concern "jerome" only,
I haven't seen this question on the forum so here I am,
I sometimes do 3d modeling with blender and when I saw there were files like "waves.mesh" etc. I thought maybe I should try and open them in blender to see if i could make the waves higher and other stuff like that, waiting for the new version :P
I managed to find scripts to open and edit the .mesh files with blender but when I want to import them in the game it crashes with the error:

Error #: 9
Function: MeshSerializer::importMesh
Description: Cannot find serializer implementation for current version [MeshSerializer_v1.40]
.
File: \ogredev\dagon\ogremain\src\ogremeshserializer.cpp
Line: 106
Stack unwinding <<beginning of stack>>


wich seems to be the error thrown if the .mesh file is corrupted

so I wondered if it was a security or if the .mesh files I created really were unusable in the game.
Anyway, first, do you mind if people customize the 3d models?

If the answer is no, can I ask you wich software you used for creating the models?

Very nice graphic and gameplay work by the way :wink:

tegwen
Posts: 109
Joined: Wed Jun 17, 2009 10:46 am

Post by tegwen » Wed Aug 26, 2009 10:36 am

Maybe you can check that , it seems they 've got the same problem as yours
http://forum.rigsofrods.com/index.php?t ... ;topicseen
http://forum.rigsofrods.com/index.php/topic,929.0.html

wock
Posts: 20
Joined: Tue Aug 25, 2009 7:41 pm

Post by wock » Wed Aug 26, 2009 10:51 am

hmm, very interesting, thx :D
so now I need to find out wich version of the ogre tools Jerome used for the game...

wock
Posts: 20
Joined: Tue Aug 25, 2009 7:41 pm

Post by wock » Wed Aug 26, 2009 11:56 am

looks like its the same version (1.2.3)
Its working! :D
Thank you very much tegwen!

Next step: understanding how the game uses the meshes :roll:

tegwen
Posts: 109
Joined: Wed Jun 17, 2009 10:46 am

Post by tegwen » Wed Aug 26, 2009 12:39 pm

Cool !, I just used google you know ;)
Keep us in touch with your progresses it's would be very interesting to customize models. I tried to import the models in 3dsmax some time ago to modify/replace them without any success.. :(

wock
Posts: 20
Joined: Tue Aug 25, 2009 7:41 pm

Post by wock » Wed Aug 26, 2009 1:40 pm

As I'm very impatient I made this huge wave:

http://www.sendspace.com/file/lj95to

find the folder "models" and paste/replace the file (don't forget to backup the original one!!!!)

I made it very quickly, it's full of bugs (the guy gets under it or stuff like that :roll: ) but it's still fun :lol:


Edit:
better one: http://www.sendspace.com/file/o5k0o3

put back the original "houle" if you changed it, and paste/replace "houle2"

and...
yeeha! :lol:
Image

tegwen
Posts: 109
Joined: Wed Jun 17, 2009 10:46 am

Post by tegwen » Wed Aug 26, 2009 3:17 pm

Wow, you did it man ! Is it fully fonctionnal ? (colisionwise I mean )
It feels like Jaw :)

wock
Posts: 20
Joined: Tue Aug 25, 2009 7:41 pm

Post by wock » Wed Aug 26, 2009 4:09 pm

You can ride it but you need speed.
If you get to slow the guy falls under the wave.
If you do fall under it just sail like if you were on regular water and you'll get out of the wave.
Then try to catch another one :lol:

I'm currently trying to make barrels :idea:

George Levandis
Posts: 156
Joined: Wed May 13, 2009 2:51 pm
Location: Volos-Greece
Contact:

Post by George Levandis » Wed Aug 26, 2009 4:23 pm

Hi,i have blender too.I have a question.How did you edited the height of the wave.If you tell me i can make some 3d models for the game.Then i can upload them.

wock
Posts: 20
Joined: Tue Aug 25, 2009 7:41 pm

Post by wock » Wed Aug 26, 2009 5:26 pm

To edit the .mesh files with blender you will need:
-http://www.ogre3d.org/forums/viewtopic.php?t=45922
(blender exporter)

- http://people.freenet.de/3-D-Man-Zone/d ... mporter.py
(importer, got on: http://www.ogre3d.org/forums/viewtopic.php?f=8&t=9135)

-http://sourceforge.net/project/download ... i&89692520
(tools to convert .mesh files in .xml files)


1) Paste the importer and exporter files in the script folder of blender
2) Install the command line tools wherever you want
3) Run blender:
delete all the default objects
import > ogre 3d mesh importer
always put scale at 100%
specify where is your ogre xml converter
choose your .mesh file
"ok"
wait a little
exit
the object should be in blender

to export:
export> ogre meshes> deactivate "export materials" > activate" xml converter " and "fix y axis" , go in preferences to specify where is the xml converter

you're done

Jerome
Site Admin
Posts: 1035
Joined: Tue Apr 04, 2006 7:43 pm
Location: Munich, Germany
Contact:

Post by Jerome » Wed Aug 26, 2009 6:18 pm

I am using 1.2.4.

Congratulations guys for figuring this by yourselves. Of course you can modify the 3D objects for fun, no problem! :wink:

But you just saw how difficult it is to ride such a huge wave, not so funny as smaller ones :?

maximeT
Posts: 10
Joined: Mon Aug 24, 2009 1:39 pm

Post by maximeT » Wed Aug 26, 2009 7:26 pm

j'ai la version 1.21 du jeu et je n'arrive pas a surfer ce superbe swell meme full speed :( pouvez vous m'aider ?

wock
Posts: 20
Joined: Tue Aug 25, 2009 7:41 pm

Post by wock » Thu Aug 27, 2009 11:38 am

Explique un peu plus ce qui se passe parceque là je vois pas trop quoi te dire :roll:

tegwen
Posts: 109
Joined: Wed Jun 17, 2009 10:46 am

Post by tegwen » Thu Aug 27, 2009 1:43 pm

Ah, Wock t'es français :)
Ca sera plus simple pour converser !
Je te demanderai surement de l'aide pour convertir des meshes et les avoir ingame.A deux on devrait pouvoir faire quelquechose de bien, j'ai pas mal d'expérience en 3d mais sur 3dsmax et Zbrush.
Last edited by tegwen on Mon Aug 31, 2009 11:30 am, edited 1 time in total.

maximeT
Posts: 10
Joined: Mon Aug 24, 2009 1:39 pm

Post by maximeT » Thu Aug 27, 2009 2:00 pm

je passe a travers la vague :?

Post Reply