/-/S'pht-Translator-Active/-/


I tested the portal renderer, darn it.
Posted By: ehytoDate: 2/23/26 11:48 a.m.

In Response To: Re: How would old Bungie design a new Marathon? (ehyto)

I did a lot of thinking and testing about the theoretical portal renderer.

There is no way around it, I need exact portal clipping.
That means using the portal edges in NDC space to clip triangles.
The AABB is just an oversized box in NDC space and there was overdraw.
I thought if I sorted the portals and rendered them somehow the overdraw would not be noticeable.
Because I use clip space before the perspective divide, I don't need mathematical planes in world space.
The planes don't have to be extracted from the main camera frustum, but I trade mathematical planes for edges of the portal.
The problem I wanted to avoid was using too many planes.
The planes are just edges now.

I can still transform triangle vertices to NDC space, but to use them easily with Unity, I have to transform the vertices back to world space.

I don't even need the tiled renderer.

[ Post a Reply | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

Replies:

How would old Bungie design a new Marathon?ehyto 2/22/26 6:26 a.m.
     Re: How would old Bungie design a new Marathon?ehyto 2/22/26 4:16 p.m.
     Re: How would old Bungie design a new Marathon?ehyto 2/22/26 7:18 p.m.
           I tested the portal renderer, darn it.ehyto 2/23/26 11:48 a.m.

[ Post a Reply | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

 

 

Your Name:
Your E-Mail Address:
Subject:
Message:

If you'd like to include a link to another page with your message,
please provide both the URL address and the title of the page:

Optional Link URL:
Optional Link Title:

If necessary, enter your password below:

Password:

 

 

Problems? Suggestions? Comments? Email maintainer@bungie.org

Marathon's Story Forum is maintained with WebBBS 5.12.