MAMEWorld Central >> News
View all threads Index   Flat Mode Flat  

Bart T.
Reged: 01/07/06
Posts: 194
Send PM
Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy
02/15/11 09:29 PM


Right. I haven't looked for it yet, but there is certainly a setting that controls shading -- flat shading is supported by the hardware. I do have some cube and sphere data to look at. The cubes would be flat shaded and the spheres smooth shaded, so I may be able to use them to figure out the shading parameters.

Here's what I do know:

- There is a crude vertex sharing capability, but it only allows polygons to reuse vertices from the previous poly. The obvious thing to do is to average the normals for shared vertices, but this hardly has any effect.

- Separately-stored adjacency matrices and vertex normals can be ruled out (or does anyone have information to the contrary?)

- It is not sufficient to search only polygons within a limited window (say +/- 32 polys) to detect adjacent faces. The whole model has to be scanned for smooth shading to look right in most cases.

- As far as I can tell, although there may be a bit or two that controls shading in the polygon header, there really isn't anything that indexes vertex normals.

- Likewise, there is no room for vertex normals in the vertex data itself, which consists of 4 32-bit words: x, y, z, and u and v (16 bits each). I thought it could be hiding in the lower 3 bits of the U and V data, because I once observed that ignoring the 3-bit fraction has no noticeable effect on texturing, but I'm starting to become convinced that it is totally unrelated to normals or polygon linkage.


Lost World has a rippling water effect in the intro which requires smooth shading and requires the entire mesh to be scanned. Might be a good test case because it's guaranteed to have smooth shading enabled.

EDIT: At one point, I thought it was strange that polygon normals are in 2.22 format. It seems like it could be done with far less precision. Logically, I looked here for possible clues, but it doesn't seem like there's anything in there...


Bart

Edited by Bart Trzynadlowski (02/15/11 09:40 PM)







Entire thread
Subject Posted by Posted on
* Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T. 02/14/11 05:34 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Cyberzinho Punk  02/21/11 07:16 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Jitterdoomer  02/19/11 04:12 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/19/11 04:44 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Nomax  02/17/11 05:00 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/17/11 09:28 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy R. Belmont  02/17/11 07:38 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy ranger_lennier  02/18/11 03:25 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Shoegazr  02/17/11 03:12 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Jitterdoomer  02/15/11 05:36 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy CptGuapo  02/15/11 01:28 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy AnimalBear  02/15/11 02:47 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy MAMu_  02/14/11 06:06 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/14/11 06:21 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy JustSaiyanPaul  02/23/11 02:40 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy karadaniano  02/23/11 07:58 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy JustSaiyanPaul  02/23/11 02:00 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy keshbach1  02/23/11 08:44 PM
. * Wrong ... RetroLover  02/24/11 10:00 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy JustSaiyanPaul  02/23/11 11:52 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy bdam  02/24/11 12:28 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy CiroConsentino  02/24/11 01:35 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy R. Belmont  02/24/11 04:17 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Ziggy100  02/24/11 01:12 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy R. Belmont  02/24/11 07:58 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy JustSaiyanPaul  02/24/11 02:30 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy CaH4e3  02/15/11 01:43 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/15/11 05:58 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy CaH4e3  02/15/11 06:50 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/15/11 07:00 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy AndyGeezer  02/18/11 03:07 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/18/11 08:35 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy R. Belmont  02/18/11 09:41 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/18/11 09:45 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy VirtuaIceMan  02/21/11 04:08 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy CaH4e3  02/15/11 07:09 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/15/11 07:14 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/15/11 06:53 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy CaH4e3  02/15/11 06:58 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/15/11 07:02 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy CaH4e3  02/15/11 08:03 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/15/11 08:38 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy R. Belmont  02/16/11 06:08 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Stranno  02/16/11 10:37 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy pjay  02/16/11 11:07 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/16/11 11:36 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy MAMu_  02/18/11 12:59 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy pjay  02/17/11 01:43 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy drewcifer  02/15/11 09:09 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/15/11 09:29 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy AnimalBear  02/15/11 04:31 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy MAMu_  02/14/11 07:25 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy drewcifer  02/14/11 08:30 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Naibo  02/17/11 01:15 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy StilettoAdministrator  02/17/11 08:48 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Bart T.  02/14/11 11:29 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Solstar  02/14/11 10:29 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Cable  02/14/11 11:53 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy StilettoAdministrator  02/14/11 07:51 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Malice  02/14/11 03:02 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Kitsune Sniper  02/14/11 03:58 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Moose  02/15/11 10:03 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Malice  02/15/11 07:29 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy etabeta  02/14/11 04:18 PM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy Outrun2006  02/14/11 09:46 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy fortuna_chan  02/14/11 06:03 AM
. * Re: Supermodel WIP Update: LeMans 24, Fighting Vipers 2, and Star Wars Trilogy iq_132  02/14/11 05:58 AM

Extra information Permissions
Moderator:  John IV, Tafoid 
2 registered and 34 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 14181


Quantcast