Log in

View Full Version : model Vertexes


iowa101
08-21-10, 10:24 AM
how do you get a model in game when it has no vertexes, it's a model i've been working on for fun and it's pretty good, it has open space for weapons, and is designed to be about 10meters off the waters surface, and be able to dive to a maximum depth of 3500ft.
(actually it belongs in space but thats not the point)

these are clues of what im trying to get in game.

heres another hint,

it's called dominion.

http://a.imageshack.us/img412/8676/dominion.jpg

Nisgeis
08-21-10, 11:33 AM
how do you get a model in game when it has no vertexes

You can't have a model with no vertices, as it wouldn't have any geometric data and wouldn't exist. That model you show there has 42,359 vertices, so what is the problem you are having?

iowa101
08-21-10, 12:02 PM
i don't know exactly. i try to import the model which is obj format into s3d, but it gives this error message

http://a.imageshack.us/img833/1846/error2c.jpg

and i must have missed read it sorry.

Nisgeis
08-21-10, 12:09 PM
Hmmm, I've never seen that error, so I'm not sure what went wrong. Index would suggest some sort of animation or something like that - does the file name you are trying to import end in any numbers?

iowa101
08-21-10, 12:11 PM
the daring is on hold due to lack of bottom hull area, so i thought i'd post this ship which i admit is quite different as it's meant for space not the ocean, but if you know what it's from you'll know why.

but it turns out that wont go in either, not sure why but ok, i just keep trying it and see what happens.

iowa101
08-22-10, 12:01 AM
no the file name is dominion.obj, but it does have animations i believe but i dont know how to get rid off them.

peabody
08-22-10, 03:49 AM
Hmmm, I've never seen that error, so I'm not sure what went wrong. Index would suggest some sort of animation or something like that - does the file name you are trying to import end in any numbers?

Nisgeis,

I have had that same error after exporting from Blender after editing an existing object and trying to keep the material/textures of the original. I don't have any idea why either, but the model I used didn't have any animations that I know of. All the animated parts were separate objects in the .dat file.
I don't know enough to be any help, except for being almost positive there were no animations involved with the error.

Peabody

iowa101
08-22-10, 04:34 AM
im not sure but it doesnt have a texture yet, so i cant say if that contributes to the error.

Seeadler
08-22-10, 01:07 PM
Maybe the obj file is not correct, face indices in OBJ Format starts with 1 instead of 0. If you can make the model.obj for download I can take a look.

iowa101
08-22-10, 03:16 PM
ok mate ill post in ten mins

http://rapidshare.com/files/414496306/dominion.7z

Madox58
08-22-10, 07:11 PM
Without seeing your files,
I think I know the problem.
The Verts and Normals are mixed in the obj file.

Open it with Notepad.
If you see something like this.......

vn -0.159476 0.832179 0.531079
v -0.000302 0.002111 0.000229
vn -0.731135 0.495238 0.469235
v -0.001705 0.001193 0.000218
vn -0.627004 0.779001 -0.004775
v -0.001090 0.001784 0.000224
vn -0.994166 0.107571 -0.007858
v -0.002031 0.000405 0.000213
vn 0.626833 -0.779146 0.003529
v 0.001298 -0.001867 0.000215
vn 0.994173 -0.107597 0.006625
v 0.002239 -0.000488 0.000226
vn 0.309144 -0.950995 -0.006160
v 0.001019 -0.002056 -0.013196
vn -0.453663 -0.891096 -0.011727

That's the problem.

Mesh Lab is a good program but it screws the obj file format for S3D.
That's how I found this problem.

I open the obj in RH and save and the problem is corrected.

iowa101
08-23-10, 05:11 AM
not to sound stupid (because that's already know lol)

rh= rhino3d or something else

iowa101
08-23-10, 05:52 AM
right i save but the error still pops up.

do i save as or just save

Madox58
08-23-10, 05:56 AM
Sorry.
RH = Right Hemisphere's Deep Exploration.

What program are you useing to do the 3D work?
:hmmm:

iowa101
08-23-10, 06:06 AM
well i downloaded rhino lol, it sorted the problem but now it gives me a new error

ill' post a screen in a sec

http://a.imageshack.us/img405/3628/60612690.jpg

Seeadler
08-23-10, 06:13 AM
I loaded it into 3DSMax and it has many duplicate faces some with normals inside and some with normals outside and they are z-fighting. There are to many of these duplicate faces to edit them manually, it might be easier to create a new model from it's source and make sure that only one object is created/exported.

iowa101
08-23-10, 06:16 AM
not being funy, but i have no idea how to do any of this, i have only just started taking intrest into modelling and i learn at a snails pace lol, i need someone to help if they can, redoing a model may sound easy but its not

iowa101
08-23-10, 11:48 AM
guys, if you say rebuild a model would that mean redoing the hole thing from scratch.

because the ship has no plans, not layouts that i know of, so if theres an easier way to rebuild without destroying what i have.
can you let me know and also give me a list of softwares that would allow me to do so.

i have rhino3d and it has a rebuild mesh app, but i not sure if that would work to be honest.
what do you think....

thanks for any advice on this :yeah:

Seeadler
08-23-10, 12:13 PM
guys, if you say rebuild a model would that mean redoing the hole thing from scratch.
From where did you get this model or did you exported it from a particular game?

The one who has created this model or exported it from a game not done it in a clean way. The model is available several times in this file, each with different orientations of the face normals. This can be corrected only manually in hours within a 3D app by selecting all unnecessary faces and delete them.

tater
08-23-10, 12:28 PM
I want new ships in game, and only started trying last week or so.

I started with a simple merchant, and it's still hard. My suggestion would be to try something more manageable to learn, rather than starting with an aircraft carrier.

iowa101
08-23-10, 02:33 PM
it's not an aircraft carrier tarter, and i downloaded it from sketchup, me and a friend have been taking of un-needed weapons ans just basically removing several things the actual thing shouldn't have.

so how do i remove the un-needed parts of the model, and what would i use.

Seeadler
08-23-10, 03:59 PM
and i downloaded it from sketchup, me and a friend have been taking of un-needed weapons ans just basically removing several things the actual thing shouldn't have.
Then perhaps you and your friend did something wrong while converting from Sketchup (skp/dae) format into OBJ format which results in doubled and tripled faces.

so how do i remove the un-needed parts of the model, and what would i use.
A 3D app like 3DS Max, Blender, Maya etc. wich can read OBJ format and select faces to delete or flip their normals but it might be easier to make a correct conversion of the Sketup format.

Madox58
08-23-10, 04:21 PM
What programs are you currently useing to work with the files?
Do you download them in obj format or convert them yourself?
Misfit Model is a nice free 3D program if you need one.
http://www.misfitcode.com/misfitmodel3d/

Be aware that many models at Sketchup are hacks converted from Lord knows where.
So may have been messed up a long time ago.

iowa101
08-23-10, 11:51 PM
right, i downloaded it from sketchup, used something to convert it, not sure what it was. then found out i can use rhino which can read all file types and convert them.

so i used that that to try and correct it.

didn't work. any ideas on how to get rid of the extra faces or what ever they are.

Yosarian
08-24-10, 06:33 AM
any ideas on how to get rid of the extra faces or what ever they are.
You an need an application where you can select a single face of your model and display it normal orientation (commonly it's a tiny line in the middle of the face pointing to the inside or outside). If the multiple faces are all in the same location, it's very hard to find out the faces with normals pointing inside unless the application can switch between these faces (3DS Max and Mays can do this).

And the whole work could be very very time consuming, in extreme cases it may take hours or days. Based on your screenshot your model has 32752 faces and each face has to be select individually and investigate if it can be deleted or not ...32752 click's ;)

Like the others already mentioned, it is easier to build yourself a new model in the way SH4 needs it and not convert models which may have been accompanied by other with modelling errors.

Madox58
08-25-10, 08:53 PM
With out seeing the file in question,
(It was password protected)
I can't help you any further.
Deleting things is not an option for you as you don't have
the needed knowledge to do it anyway.
Not slamming you, just stateing a fact.

Give me a link to the ORIGINAL file you downloaded.
And I can then look closer at it.

iowa101
08-26-10, 02:42 AM
http://sketchup.google.com/3dwarehouse/details?mid=264f414862e338dea543a9825ada1bf2&prevstart=24

Madox58
08-26-10, 07:51 AM
The sketchup versions are very bad.
The Collada version is in somewhat better shape.
But still would require alot of manual work to correct to SH standards.
I ran it through Deep X then MeshLab
(Removeing duplicate faces and verts)
and cleaned it up some.
It' still needs alot of work though.
It would also need to be resized after the hard work is done.
Scaler is great for the resizeing job.

iowa101
08-26-10, 08:11 AM
thank you for the help mate, i going away for a while, got a call about ten mins ago.

im being sent to stay with a freind of family, most likely several days. im not sure where, but it's because of a 'lets say difficult situation' so i'll talk to you guys later when im back in my own country.