Fog

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!

Fog

Postby Ian » Sat Oct 08, 2016 4:38 am

Fogging works pretty well in most games. But I unexpectedly found this

Image

And the real hardware ..

Image

I thought originally there was something missing from the 2D code with regards to fog, but now I think it's something else. Must be one of the unimplemented fog parameters 'scroll fog' or something we have overlooked in the viewport code.
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Fog

Postby Ian » Sat Oct 08, 2016 8:21 am

Well it turns out in the screenshot above the fog was simply missing because the value was negative >_<
The model 3 seems to ignore the sign for fog gradients.

The missing 2D fog, I'm about 90% sure is the scrollFog parameter in the viewport. I think it's a transparency value that's used to blend a colour over the bottom 2D layer.
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Fog

Postby Jiterdomer » Sat Oct 08, 2016 11:10 am

From what I saw in a non-emulated video, an example of it was in this video:

https://youtu.be/wKBbwUtmmPY (Go to 5:34, the darkness of the video was actually from the user's capture card)

What Sega did to these 2D backgrounds to emulate fog effects is just cycling random colors to corresponding stages in the hardware itself rather than just making the whole background being photoshopped to white or darken the still backgrounds on the game's rom (Dural's Jeffrey stage which was showcased in that video), which Sega wanted to put Model 3 hardware to the test.
Feel the heartbeat of my machine through this tight seat. I feel every motion of my machine
Image
User avatar
Jiterdomer
 
Posts: 627
Joined: Mon Sep 26, 2011 6:37 pm
Location: Los Angeles, California


Return to The Dark Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron