The Ocean Hunter Transparency issue

Discuss Supermodel and your favorite Model 3 games. Show off your latest threads, this is the place to see and be seen.
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!

The Ocean Hunter Transparency issue

Postby the_maq » Fri Oct 02, 2020 7:01 pm

Any luck with the transparency effects on the stingray and the umi bozo boss or whatever u call it?
Last edited by the_maq on Sat Oct 10, 2020 7:42 pm, edited 1 time in total.
the_maq
 
Posts: 11
Joined: Wed Oct 02, 2019 8:47 am

Re: The ocean hunter transparency issue

Postby Ian » Tue Oct 06, 2020 1:28 pm

No it's currently unemulated.
In fact I think it's the only thing that isn't emulated.
I know roughly how to make it work. But there in lies the problem, I don't know the exact formula they used to calculate model transparency. And that's pretty hard to work out by guess work.
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: The ocean hunter transparency issue

Postby Bart » Tue Oct 06, 2020 4:42 pm

Ian wrote:No it's currently unemulated.
In fact I think it's the only thing that isn't emulated.
I know roughly how to make it work. But there in lies the problem, I don't know the exact formula they used to calculate model transparency. And that's pretty hard to work out by guess work.


What is the effect?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: The ocean hunter transparency issue

Postby Ian » Wed Oct 07, 2020 2:52 am

Basically they are abusing the LOD tables to do per model transparency. I think it was basically a hack to add transparency dynamically to ROM models. Emergency call ambulance does this too.
Each viewport has an LOD table of like blend in / blend out values. Then the culling nodes have each have an index into this table.
The problem is I can't really make the numbers work. I know the transparency is effected by the viewport angle. Maybe the relationship is 1/angle or something. I'm not sure, I could never make it work.

The model3 isn't the only thing to do transparency like this. Many games blend out models when they reach a certain distance.
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: The ocean hunter transparency issue

Postby Bart » Wed Oct 07, 2020 10:24 am

Ah, the LOD blending. Now this is probably something we could test once I can transfer code directly from my PC rather than burning EPROMs each time.

So are they blending with an empty model to create a translucency effect?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: The ocean hunter transparency issue

Postby Ian » Wed Oct 07, 2020 12:29 pm

If we could test on hardware I might be able to figure it out
I have a rough idea how it works.
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am


Return to The Catwalk

Who is online

Users browsing this forum: No registered users and 1 guest

cron