Page 1 of 1

How I can extract a model from a map?

Posted: Sun Nov 14, 2010 1:40 pm
by Eljoax
Is possible convert a bsp in a model?

Posted: Sun Nov 14, 2010 2:10 pm
by leileilol
Darkplaces has a 'modeldecompile' console command to do just that. It makes a obj out of anything!

Posted: Sun Nov 14, 2010 2:16 pm
by Eljoax
leileilol wrote:Darkplaces has a 'modeldecompile' console command to do just that. It makes a obj out of anything!
ok, I try it

Posted: Sun Nov 14, 2010 2:50 pm
by mankrip
Extracting submodels like doors and such out of the world's BSP would be nice; I don't remember if QuArK can do it, but its map editor allows for opening pre-compiled BSPs and drawing new brushes over them, which makes it easier to create identical models.

Posted: Sun Nov 14, 2010 3:08 pm
by Eljoax
leileilol wrote:Darkplaces has a 'modeldecompile' console command to do just that. It makes a obj out of anything!
don' work.
says ''empty model or sprite''

Posted: Sun Nov 14, 2010 5:02 pm
by Downsider
Perhaps a modified version of VBSP could do this? That would be pretty useful, eh?

Posted: Sun Nov 14, 2010 5:26 pm
by Eljoax
Eljoax wrote:
leileilol wrote:Darkplaces has a 'modeldecompile' console command to do just that. It makes a obj out of anything!
don' work.
says ''empty model or sprite''
EDIT: Work perfectly¡

But i have a problem whit the skin :(

Posted: Sat Nov 20, 2010 1:01 am
by ceriux
can you export the whole map as a obj? it would be nice for scaling prop models to fit how your wanting them to.

Posted: Sat Nov 20, 2010 1:13 am
by leileilol
that's what modeldecompile is for! When I mean anything I damn well mean anything.


ALSO: DON'T FORGET NOESIS, THE MODEL IMPORTSTEALFROMJAPANESECONSOLEGAMESANDMAKEGMODRAGDO- I mean STUDY tool! That can open BSPs and export OBJ files as well but i'm not sure if its scale is relative to quake units.

Posted: Sat Nov 27, 2010 3:07 am
by pj17903
Eljoax wrote:
Eljoax wrote:
leileilol wrote:Darkplaces has a 'modeldecompile' console command to do just that. It makes a obj out of anything!
don' work.
says ''empty model or sprite''
EDIT: Work perfectly¡

But i have a problem whit the skin :(
I'm having the same problem - trying to export a simple .map file, and getting the error "empty model or sprite" - how did you get around it?

Posted: Sat Nov 27, 2010 11:38 pm
by Rich
leileilol wrote:that's what modeldecompile is for! When I mean anything I damn well mean anything.


ALSO: DON'T FORGET NOESIS, THE MODEL IMPORTSTEALFROMJAPANESECONSOLEGAMESANDMAKEGMODRAGDO- I mean STUDY tool! That can open BSPs and export OBJ files as well but i'm not sure if its scale is relative to quake units.
It can export Q1/HL/Q3 BSP's fully intact with textures and texture references, to any supported output format. You could even go bsp->mdl, if you'd like to see a hilarious tragedy. (well, unless your BSP geometry is small enough to exist within the limited vertex precision)

Scale also remains identical to the original BSP scale, unless you specify otherwise with the -scale option.