[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Quake MDL vs MD2...

Quake MDL vs MD2...

Discuss the creation of various model formats for Quake engines, and related matters to modeling.

Moderator: InsideQC Admins

Quake MDL vs MD2...

Postby drm_wayne » Tue Aug 05, 2014 3:41 pm

I have a question about those 2 modelformats..

I exported a Quake MDL out of MS3D which looks ok-ish, still has vectrex swimming but it looks ok-ish..
Same model gets exported as MD2, it looks VERY horrible, details are almost gone, and the animation is super ughly.

Also now i exported the same model out of 3dsmax with the MD2 exporter, and it isnt that bad like the MS3D MD2, but
still has more vectrex swimming than the MDL...

So i always thought MD2 was better and more improved unlike the old MDL, but it looks like i was wrong.
Is MD2 really worser than MDL?
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: Quake MDL vs MD2...

Postby qbism » Tue Aug 05, 2014 4:57 pm

Both formats store vertices in the same way: byte coordinates, normal index, and scale and translate factors for the model.

Ideally a modeling program would maximize coordinate space with scale and translate based on maximum extent of all animation frames. If it's some fixed scale assumption instead, md2 might swim more because of larger monsters.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Quake MDL vs MD2...

Postby leileilol » Tue Aug 05, 2014 6:27 pm

MD3 has vertex swimming too FYI.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Quake MDL vs MD2...

Postby drm_wayne » Tue Aug 05, 2014 7:20 pm

looks like there is no way around IQM or DPM...
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: Quake MDL vs MD2...

Postby Spike » Tue Aug 05, 2014 9:47 pm

as qbism says, mdl and md2 both use byte positions with origin+scale
the difference between the two is that md2 has that origin+scale on a per-frame basis while mdl is per-model.
this means that if your model moves/resizes then *EVERY SINGLE VERTEX* must move in order to stay aligned on the byte grid.

md3 is 16bit with 1/64th qu precision (iirc). if you move the verts at the extremity, nothing else needs to move. however, small movements (1/32th - 1/64th qu) will end up visibly snapped to the grid. maybe the user won't notice.

iqm has full 32bit float precision. being a skeletal format, it can be slower to render. frames are expressed as per-bone rotations or translations, as such, just moving verticies around randomly for each frame is a bad idea. you'll need to animate them properly, on a bone-by-bone basis. good luck fixing up problems after the fact. yes, you will need to be more careful with your rigging.

dpm as a format is pointless. its advantage is its obscurity, but that's basically it. use iqm. iirc, exporters for this format are somewhat compatible with halflife's smd stuff, so you may find it easier to export to if that's the you're already familiar with that (not a contradition: toolchains often make or break a format regardless of any technical merits of the format itself) .
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Quake MDL vs MD2...

Postby qbism » Wed Aug 06, 2014 11:34 pm

User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Quake MDL vs MD2...

Postby mankrip » Thu Aug 07, 2014 11:23 am

Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
/ /
User avatar
mankrip
 
Posts: 915
Joined: Fri Jul 04, 2008 3:02 am

Re: Quake MDL vs MD2...

Postby drm_wayne » Thu Aug 07, 2014 6:18 pm

User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: Quake MDL vs MD2...

Postby Eukos » Thu Aug 07, 2014 8:35 pm

It shouldn't look any different to MDL. They both work the same way in that aspect. You probably converted from MDL to MD2 which isn't exactly lossless?
User avatar
Eukos
 
Posts: 14
Joined: Fri Jul 22, 2011 3:00 pm
Location: /dev/cdrom

Re: Quake MDL vs MD2...

Postby drm_wayne » Sat Aug 09, 2014 7:39 pm

nope, exported from the SAME MODELINGPROGRAM...
User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: Quake MDL vs MD2...

Postby Ace12GA » Sat Aug 23, 2014 8:04 pm

Ace12GA
 
Posts: 56
Joined: Sat Jan 28, 2012 12:08 am

Re: Quake MDL vs MD2...

Postby drm_wayne » Tue Aug 26, 2014 4:05 pm

User avatar
drm_wayne
 
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Re: Quake MDL vs MD2...

Postby goldenboy » Tue Aug 26, 2014 6:39 pm

IQM is excellent if you're creating original models in Blender - exporting to FTE or DP is almost a one-click thing.
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Re: Quake MDL vs MD2...

Postby leileilol » Wed Aug 27, 2014 8:18 pm

His concern is convenient origin/rotate/scale adjustment which isn't a bad idea to have in the IQM pipeline.


and his models are original and he doesn't use blender.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am


Return to Modeling

Who is online

Users browsing this forum: No registered users and 1 guest