Important information: this site is currently scheduled to go offline indefinitely by end of the year.

.obj to Source Engine 2 .vmdl

Post questions about game models here, or help out others!
Post Reply
Ahri
beginner
Posts: 25
Joined: Wed Apr 11, 2012 4:23 pm
Has thanked: 1 time

.obj to Source Engine 2 .vmdl

Post by Ahri »

Can anyone figure out how to convert .obj models and their texture files to the Source Engine 2 Format .vmdl?

Tutorial to download the Source Engine:
https://developer.valvesoftware.com/wik ... hing_Tools
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: .obj to Source Engine 2 .vmdl

Post by shakotay2 »

iirc Source SDK can import SMD files. There's also an obj2smd converter available (for static models only).
Did you take into consideration to try it this way for SE2?
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Ahri
beginner
Posts: 25
Joined: Wed Apr 11, 2012 4:23 pm
Has thanked: 1 time

Re: .obj to Source Engine 2 .vmdl

Post by Ahri »

shakotay2 wrote:iirc Source SDK can import SMD files. There's also an obj2smd converter available (for static models only).
Did you take into consideration to try it this way for SE2?
SE2 Files are different, it doesnt work. You cant use SMD Files in SE2. You can import .obj Files, also TGA, but you can't apply the Textures on the Models correctly so you have to convert the .obj model and .tga texture into a .vmdl file to have the model + working textures on the right position.
User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 438
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 189 times
Contact:

Re: .obj to Source Engine 2 .vmdl

Post by cra0 »

VMDL is just a link container it doesn't store anything but metadata which links

-vmesh_c
-vphys_c

etc

I'm currently reversing the vmesh_c format which actually stores the mesh data in a VBO/IBO and material parameters.
Ahri
beginner
Posts: 25
Joined: Wed Apr 11, 2012 4:23 pm
Has thanked: 1 time

Re: .obj to Source Engine 2 .vmdl

Post by Ahri »

So you basically still need another file for the textures?(.vmat files)
Maybe someone could write a script for Noesis that exports model files into vmdl and vmat files which can be used in Hammer.
User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 438
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 189 times
Contact:

Re: .obj to Source Engine 2 .vmdl

Post by cra0 »

Ahri wrote:So you basically still need another file for the textures?(.vmat files)
Maybe someone could write a script for Noesis that exports model files into vmdl and vmat files which can be used in Hammer.
Why you can make vmdls using the model editor and it accepts fbx, smd, dmx I don't see any reason why there should be a script just convert your obj into an fbx then import it :roll:
Ahri
beginner
Posts: 25
Joined: Wed Apr 11, 2012 4:23 pm
Has thanked: 1 time

Re: .obj to Source Engine 2 .vmdl

Post by Ahri »

cra0 wrote:
Ahri wrote:So you basically still need another file for the textures?(.vmat files)
Maybe someone could write a script for Noesis that exports model files into vmdl and vmat files which can be used in Hammer.
Why you can make vmdls using the model editor and it accepts fbx, smd, dmx I don't see any reason why there should be a script just convert your obj into an fbx then import it :roll:
My problem is that i cant import the textures and bring them in the right position. Or dies the fbx file includes textures? Will give it a try.
Post Reply