About Store Forum Documentation Contact



Post Reply 
Mesh editor from file with another structure...
Author Message
FadeToBlack Offline
Member

Post: #1
Mesh editor from file with another structure...
Hi community,
i'm trying to create a model viewer for MESH using esenthel... I have exported with a program an structure, but i think that is wrong.... Can anyone help me?

The structure of a simple mesh file (money) is this:
PHP Code:
X = 154 37 113 190
Y 
= 0 0 0 128
Z 
= 143 195 160 189

X 
= 143 195 160 189
Y 
= 0 0 0 128
Z 
= 154 37 113 190

X 
= 143 195 160 61
Y 
= 0 0 0 128
Z 
= 154 37 113 190

X 
= 154 37 113 62
Y 
= 0 0 0 128
Z 
= 143 195 160 189

X 
= 154 37 113 62
Y 
= 0 0 0 128
Z 
= 143 195 160 61

X 
= 143 195 160 189
Y 
= 0 0 0 128
Z 
= 154 37 113 62

X 
= 154 37 113 190
Y 
= 0 0 0 128
Z 
= 143 195 160 61

X 
= 143 195 160 61
Y 
= 0 0 0 128
Z 
= 154 37 113 62

X 
= 9 195 160 61
Y 
= 11 153 139 61
Z 
= 9 195 160 189

X 
= 9 195 160 189
Y 
= 145 153 139 61
Z 
= 9 195 160 189

X 
= 9 195 160 189
Y 
= 145 153 139 61
Z 
= 9 195 160 61

X 
= 9 195 160 61
Y 
= 11 153 139 61
Z 
= 9 195 160 61

X 
= 143 195 160 189
Y 
= 0 0 0 128
Z 
= 154 37 113 62

X 
= 143 195 160 61
Y 
= 0 0 0 128
Z 
= 154 37 113 62

X 
= 154 37 113 62
Y 
= 0 0 0 128
Z 
= 143 195 160 61

X 
= 154 37 113 62
Y 
= 0 0 0 128
Z 
= 143 195 160 189

X 
= 143 195 160 61
Y 
= 0 0 0 128
Z 
= 154 37 113 190

X 
= 143 195 160 189
Y 
= 0 0 0 128
Z 
= 154 37 113 190

X 
= 154 37 113 190
Y 
= 0 0 0 128
Z 
= 143 195 160 189

X 
= 154 37 113 190
Y 
= 0 0 0 128
Z 
= 143 195 160 61

X 
= 0 0 0 0
Y 
= 0 0 128 191
Z 
= 0 0 0 0

X 
= 0 0 0 0
Y 
= 0 0 128 191
Z 
= 0 0 0 0

X 
= 0 0 0 0
Y 
= 0 0 128 191
Z 
= 0 0 0 0

X 
= 0 0 0 0
Y 
= 0 0 128 191
Z 
= 0 0 0 0

X 
= 0 0 0 0
Y 
= 0 0 128 191
Z 
= 0 0 0 0

X 
= 0 0 0 0
Y 
= 0 0 128 191
Z 
= 0 0 0 0

X 
= 0 0 0 0
Y 
= 0 0 128 191
Z 
= 0 0 0 0

X 
= 0 0 0 0
Y 
= 0 0 128 191
Z 
= 0 0 0 0

X 
= 93 196 71 62
Y 
= 140 16 118 63
Z 
= 13 195 71 190

X 
= 13 195 71 190
Y 
= 140 16 118 63
Z 
= 215 195 71 190

X 
= 202 194 71 190
Y 
= 140 16 118 63
Z 
= 26 196 71 62

X 
= 26 196 71 62
Y 
= 140 16 118 63
Z 
= 80 195 71 62

X 
= 184 201 8 190
Y 
= 229 183 104 63
Z 
= 194 19 202 62

X 
= 184 201 8 62
Y 
= 6 184 104 63
Z 
= 249 18 202 62

X 
= 249 18 202 62
Y 
= 6 184 104 63
Z 
= 184 201 8 62

X 
= 27 19 202 62
Y 
= 6 184 104 63
Z 
= 184 201 8 190

X 
= 130 202 8 62
Y 
= 229 183 104 63
Z 
= 94 19 202 190

X 
= 130 202 8 190
Y 
= 195 183 104 63
Z 
= 5 20 202 190

X 
= 5 20 202 190
Y 
= 195 183 104 63
Z 
= 130 202 8 190 

Thanks to all grin
12-21-2010 03:39 PM
Find all posts by this user Quote this message in a reply
FadeToBlack Offline
Member

Post: #2
RE: Mesh editor from file with another structure...
I have discovered this structure:

PHP Code:
1X = ??
2X = ??
3X = X Start
4X 
= X End

1Y 
= ??
2Y = ??
3Y = X Start
4Y 
= X End

1Z 
= ??
2Z = ??
3Z = Z Start
4Z 
= Z End 

Anyone can help me?
12-22-2010 08:19 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: Mesh editor from file with another structure...
I really don't understand what you're trying to achieve.
12-22-2010 08:27 PM
Find all posts by this user Quote this message in a reply
FadeToBlack Offline
Member

Post: #4
RE: Mesh editor from file with another structure...
>.< i know, it's really hard to explain...

I have a game that has MESH files, i search an MESH Viewer/Editor for this files but i don't have found anything... So i want to create my viewer for this files using esenthel... First i must know what is the structure of the files, and for this I ask you to help...

I'm really desperate, i work on this files from about 3 months ...

Please help me ç_ç
I have C++ pseudocode of the function that load this file... Can you help me? ç_ç
(This post was last modified: 12-22-2010 09:03 PM by FadeToBlack.)
12-22-2010 08:46 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Mesh editor from file with another structure...
well the format (what you pasted here) doesn't seem sensible, so dont know about it
12-22-2010 09:22 PM
Find all posts by this user Quote this message in a reply
FadeToBlack Offline
Member

Post: #6
RE: Mesh editor from file with another structure...
This is an example of bow:
http://www.megaupload.com/?d=7WEGEVFW

if you think it is too difficult then I give up...
12-22-2010 09:28 PM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #7
RE: Mesh editor from file with another structure...
You don't mean .mesh files.. right? If so, Esenthel can view those (it's even the standard in-game). :x

If you want to use .mesh files in a game, you turn them into .obj files including all the info (mesh, material, physics,..) you need.

Thát, or I'm completely misunderstanding you. :/
12-22-2010 09:35 PM
Find all posts by this user Quote this message in a reply
FadeToBlack Offline
Member

Post: #8
RE: Mesh editor from file with another structure...
the files are in another game with another engine, i want to display this files with esenthel...
but now i have found an editor for this files... I try to understando how this editor load this files... Thanks to all, i love this forum xD
(This post was last modified: 12-22-2010 09:42 PM by FadeToBlack.)
12-22-2010 09:40 PM
Find all posts by this user Quote this message in a reply
Post Reply