|
Post by shad0w on Nov 24, 2004 21:54:42 GMT -5
I have been working with the 3D functions, but i cna't figure out how to load a 3D model properly. So far, what happens is it gets loaded, but the faces aren't where they are meant to be. Also, i am using anim8or to create the models. The question is which vertexes am i meant to be using, and which pr_ thing am i meant to use? (an example would be good )
|
|
|
Post by IsmAvatar on Nov 24, 2004 23:58:35 GMT -5
How are you importing the models? GM doesn't have any built in model-loader functions or anything. You can load in textures, tho.
Have you tried some of the conversion programs that will convert a model file into GM coding?
|
|
|
Post by shad0w on Nov 25, 2004 0:06:13 GMT -5
I cant get any because the GMC is down, and they don't seem to be anywhere else.
I am importing them by using the vertex coordinates from models made in anim8or- and then using gms primitive polygon functions to draw it.
|
|
|
Post by IsmAvatar on Nov 25, 2004 10:53:56 GMT -5
One or more of the Axis may be flipped in GM, which Anim8or may not have flipped. Or vice versa. That can throw you off.
|
|
|
Post by shad0w on Nov 26, 2004 3:57:14 GMT -5
I figured it out Thanks anyway.
|
|
|
Post by TheRPGNOOb on Dec 11, 2004 21:14:01 GMT -5
Oi, I'm not too suavvy when it comes to the 3d smeg. Looking at a simple an8 box in wordpad now>exactly what goes where when translating the vertexes/texture coords to gm6? Could you post a sample script/explaination Sh4d0w? (by the by I did read the d3d section of the manual already)
|
|
|
Post by IsmAvatar on Dec 12, 2004 10:39:50 GMT -5
|
|
|
Post by TheRPGNOOb on Dec 14, 2004 18:04:28 GMT -5
I tried most of the scripts on the GM boards and a few of the user-made conversion proggies...with undesired results. The models became distorted and the texture coords wouldn't import properly (if at all). My usual smack-the-computer-upside-the-monitor approach didn't help much either .Bah humbug I say, bah humbug. Heheh, meh, maybe I'm just doing something wrong as is usualy the case. If not though, did it work for you?
|
|
|
Post by shad0w on Dec 14, 2004 21:18:53 GMT -5
Sorry for not replying, didn't realise anyone posted :S.
I have realised that my converter doesn't import the uv coordinates properly either, im working on it and will tell you if i get mine to work.
Also- i didn't get an8 models to load, i got direct x .x models to.
|
|