[Patch] 3D Miscellaneous

Technical discussion for those interested in Supermodel development and Model 3 reverse engineering. Prospective contributors welcome.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: [Patch] 3D Miscellaneous

Postby Ian » Sat Aug 12, 2017 11:09 am

The brake light thing. From what I remember is some sort of transparency issue. The issue is our scene traversal is different from the hardware itself. My best guess is the hardware is doing some sort of basic scene sorting, but I've not been able to figure out what. Tried maybe 10 different things which have whilst worked, have no replicated what the hardware itself is doing.
I think it also does a depth pass on some transparent surfaces (like shadows) that totally eliminates z fighting.

I'll check out the fog thing
Ian
 
Posts: 1216
Joined: Tue Feb 23, 2016 9:23 am

Re: [Patch] 3D Miscellaneous

Postby HarryTuttle » Sat Aug 12, 2017 3:12 pm

Bart wrote:2. Sega Rally 2 brake lights. The left brake light does not illuminate when the brake pedal is placed because of some interaction with the vehicle shadow. If you turn the vehicle such that the shadow no longer obscures the entire brake light, you will see the un-obscured portion illuminated.[ ...].


Please can you post a screenshots? Here seems to work, but I'm not sure I understood the problem
sr3.jpeg
sr3.jpeg (210.59 KiB) Viewed 420 times
User avatar
HarryTuttle
 
Posts: 558
Joined: Thu Mar 09, 2017 8:57 am

Re: [Patch] 3D Miscellaneous

Postby Ian » Sat Aug 12, 2017 3:16 pm

I think it only happens on one of the cars, i can't remember which
Ian
 
Posts: 1216
Joined: Tue Feb 23, 2016 9:23 am

Re: [Patch] 3D Miscellaneous

Postby Spindizzi » Sat Aug 12, 2017 11:55 pm

Hi,
As Bart said, it seems related to shadow vehicule
Image
++
Spindizzi
 
Posts: 64
Joined: Thu Nov 17, 2016 8:55 am
Location: France

Re: [Patch] 3D Miscellaneous

Postby HarryTuttle » Sun Aug 13, 2017 1:48 pm

Here's my private build:
sr4.jpeg
sr4.jpeg (226.23 KiB) Viewed 348 times

Maybe is some custom code I added to deal with overlapping (but not stencil tagged) transparent polygons and/or the code I use to fix near / far plane corruption... I've to check the official build as soon as I merge Ian's latest commits.
User avatar
HarryTuttle
 
Posts: 558
Joined: Thu Mar 09, 2017 8:57 am

Previous

Return to The Dark Room

Who is online

Users browsing this forum: YoYo09 and 4 guests