Forum

Jello Models :(

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

Jello Models :(

Postby Downsider » Sat Nov 29, 2008 7:12 pm

Just wondering if there's a lightweight model format that I can use in my engine that would get rid of the "jello effect" that's so ugly in animated models with interpolation.

I'm not sure what it's due to, but I believe it's due to 8bit positions of vertices or something?
Last edited by Downsider on Sat Nov 29, 2008 9:00 pm, edited 1 time in total.
User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby frag.machine » Sat Nov 29, 2008 8:34 pm

It's a side effect from encoding floats into bytes. Really a poor design decision IMHO, since the disk space gain is irrelevant and internally even software Quake ends up using floats to store vertices anyway. I'd suggest MD3 as a simple and well known/supported model format not suffering this problem (at least, not as much as MDL or MD2), but I suspect many people here would disagree.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Postby Downsider » Sat Nov 29, 2008 9:00 pm

Mhmm, well I'm looking to go with as little CPU intensity and blah blah as possible. The target device isn't exactly a PC.
User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby ceriux » Sun Nov 30, 2008 3:44 am

think there's a way to make quake load up regular model types like obj and such? maybe one of those would work out good?
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby leileilol » Sun Nov 30, 2008 12:44 pm

Downsider wrote:Mhmm, well I'm looking to go with as little CPU intensity and blah blah as possible. The target device isn't exactly a PC.

If it has a sucky FPU, then don't even think about MD3.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby Urre » Sun Nov 30, 2008 12:46 pm

Afaik their target is the PSP
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon

Postby Downsider » Sun Nov 30, 2008 2:04 pm

Urre wrote:Afaik their target is the PSP


Well it's not a secret. If somebody were to ask me.. :S
User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby frag.machine » Sun Nov 30, 2008 6:28 pm

Downsider wrote:Mhmm, well I'm looking to go with as little CPU intensity and blah blah as possible. The target device isn't exactly a PC.


You can try using a short instead a byte to store the compressed float. I think MD2 already does that in fact.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Postby frag.machine » Sun Nov 30, 2008 7:29 pm

Downsider wrote:Mhmm, well I'm looking to go with as little CPU intensity and blah blah as possible. The target device isn't exactly a PC.


Again, I know a lot of people will hate the idea, but have you checked the native Milkshape3D format ? Looks pretty simple to work and not exactly hungry for hardware resources.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Postby Urre » Sun Nov 30, 2008 9:20 pm

MD2 is just as Jello as MDL, unfortunately. Afaik, MD3 should do perfectly fine, as long as the renderer isn't software, which admittedly it might be on the PSP. I'm not sure, but I recall hearing something about MD3 being hard to implement on software renderers. Spike might know :P
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon

Postby Electro » Sun Nov 30, 2008 10:24 pm

The psp graphics api is fairly close to opengl. If they're doing quake in software then they're MAD.
Benjamin Darling
http://www.bendarling.net/

Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
Electro
 
Posts: 312
Joined: Wed Dec 29, 2004 11:25 pm
Location: Brisbane, Australia

Postby Downsider » Sun Nov 30, 2008 10:38 pm

Urre wrote:MD2 is just as Jello as MDL, unfortunately. Afaik, MD3 should do perfectly fine, as long as the renderer isn't software, which admittedly it might be on the PSP. I'm not sure, but I recall hearing something about MD3 being hard to implement on software renderers. Spike might know :P


Nah, its not software. It's hardware, and it IS very similar to OpenGL, in fact.

Alright, so MD3 is the format of choice. This also has tagging, right?

So, nice.

Any documentation on this format? I'm not into hit-and-miss programming.
User avatar
Downsider
 
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Postby Urre » Mon Dec 01, 2008 12:18 am

There should be lots of documentation on MD3 around
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 1 guest