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:
154 37 113 190
0 0 0 128
143 195 160 189

143 195 160 189
0 0 0 128
154 37 113 190

143 195 160 61
0 0 0 128
154 37 113 190

154 37 113 62
0 0 0 128
143 195 160 189

154 37 113 62
0 0 0 128
143 195 160 61

143 195 160 189
0 0 0 128
154 37 113 62

154 37 113 190
0 0 0 128
143 195 160 61

143 195 160 61
0 0 0 128
154 37 113 62

9 195 160 61
11 153 139 61
9 195 160 189

9 195 160 189
145 153 139 61
9 195 160 189

9 195 160 189
145 153 139 61
9 195 160 61

9 195 160 61
11 153 139 61
9 195 160 61

143 195 160 189
0 0 0 128
154 37 113 62

143 195 160 61
0 0 0 128
154 37 113 62

154 37 113 62
0 0 0 128
143 195 160 61

154 37 113 62
0 0 0 128
143 195 160 189

143 195 160 61
0 0 0 128
154 37 113 190

143 195 160 189
0 0 0 128
154 37 113 190

154 37 113 190
0 0 0 128
143 195 160 189

154 37 113 190
0 0 0 128
143 195 160 61

0 0 0 0
0 0 128 191
0 0 0 0

0 0 0 0
0 0 128 191
0 0 0 0

0 0 0 0
0 0 128 191
0 0 0 0

0 0 0 0
0 0 128 191
0 0 0 0

0 0 0 0
0 0 128 191
0 0 0 0

0 0 0 0
0 0 128 191
0 0 0 0

0 0 0 0
0 0 128 191
0 0 0 0

0 0 0 0
0 0 128 191
0 0 0 0

93 196 71 62
140 16 118 63
13 195 71 190

13 195 71 190
140 16 118 63
215 195 71 190

202 194 71 190
140 16 118 63
26 196 71 62

26 196 71 62
140 16 118 63
80 195 71 62

184 201 8 190
229 183 104 63
194 19 202 62

184 201 8 62
6 184 104 63
249 18 202 62

249 18 202 62
6 184 104 63
184 201 8 62

27 19 202 62
6 184 104 63
184 201 8 190

130 202 8 62
229 183 104 63
94 19 202 190

130 202 8 190
195 183 104 63
5 20 202 190

5 20 202 190
195 183 104 63
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