Editing Bethsoft Tutorial Optimization
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category: | [[Category:Solutions]] | ||
[[Category:Building_and_Editing]] | [[Category:Building_and_Editing]] | ||
[[Category:Getting Started]] | [[Category:Getting Started]] | ||
Line 21: | Line 21: | ||
<blockquote> | <blockquote> | ||
The boxes '''"A"''' and '''"B"''' in the diagram represent two Room Markers. The black dot is the player, and the shaded triangle illustrates the player | The boxes '''"A"''' and '''"B"''' in the diagram represent two Room Markers. The black dot is the player, and the shaded triangle illustrates the player field of view. Because the player is within Room Marker '''"A"''', any objects contained within '''"A"''' will render. | ||
</blockquote> | </blockquote> | ||
Line 32: | Line 32: | ||
<blockquote> | <blockquote> | ||
In the diagram to the right, the orange line labeled '''"a"''' represents a portal linking Room Markers '''"A"''' and "'''B"'''. The portal '''"b"''' represents a portal to the the unbounded area. | In the diagram to the right, the orange line labeled '''"a"''' represents a portal linking Room Markers '''"A"''' and "'''B"'''. The portal '''"b"''' represents a portal to the the unbounded area. | ||
Because the '''a''' portal is within the player's field of view, the contents of both '''"A"''' and '''"B"''' will render. Because portal '''"b"''' cannot be seen by the player, objects beyond it will be not | Because the '''a''' portal is within the player's field of view, the contents of both '''"A"''' and '''"B"''' will render. Because portal '''"b"''' cannot be seen by the player, objects beyond it will be occluded/not render. | ||
</blockquote> | </blockquote> | ||
Line 180: | Line 180: | ||
Now we have two portals, one lined up and another off to the side. We need to attach these portals to the room markers. First, let's line up the portal that we put off to the side. | Now we have two portals, one lined up and another off to the side. We need to attach these portals to the room markers. First, let's line up the portal that we put off to the side. | ||
Move it to the doorway between the vault | Move it to the doorway between the vault enrance room and the hallway, as shown in fig 5a. You'll need to rotate it. You can toggle Snap Rotation on and rotate it that way or you can freely rotate it and change it's rotation properties by hand. But rememeber, portals need to be flush with room markers. Your portals will most likely have a Z rotation of 0, 90, -90, -180, or 180. | ||
You'll notice that my portal still has a white line pointing to the cave room marker. Don't worry about that now, we'll take care of that in a bit. Right now, we need to scale our portal to fit the doorway. Go ahead and scale yours if you haven't done so already. Compare your portal to the one in 5b. (I've hidden the vault door so you can see my portal dimensions easier). | You'll notice that my portal still has a white line pointing to the cave room marker. Don't worry about that now, we'll take care of that in a bit. Right now, we need to scale our portal to fit the doorway. Go ahead and scale yours if you haven't done so already. Compare your portal to the one in 5b. (I've hidden the vault door so you can see my portal dimensions easier). | ||
Line 213: | Line 213: | ||
image:jbrowne_Optimize_Step05f.jpeg|Fig 6b: Two links from the portal to adjacent | image:jbrowne_Optimize_Step05f.jpeg|Fig 6b: Two links from the portal to adjacent | ||
image:jbrowne_Optimize_Step05g.jpeg|Fig 6c: White links show that our rooms/portals are all linked | image:jbrowne_Optimize_Step05g.jpeg|Fig 6c: White links show that our rooms/portals are all linked | ||
image:Optimize_AddendumImg01.jpg|Fig 6d: Using | image:Optimize_AddendumImg01.jpg|Fig 6d: Using CTRL+C and selecting all portals is a useful debugging view for optimization | ||
</gallery> | </gallery> | ||
Line 263: | Line 263: | ||
</blockquote> | </blockquote> | ||
[[Bethsoft_Tutorial_Lighting|<<<BACK]]'''|---|[[Bethsoft_Tutorial_Finalize_and_Connect|NEXT>>>]] | [[Bethsoft_Tutorial_Lighting|<<<BACK]]'''|---|[[Bethsoft_Tutorial_Finalize_and_Connect|NEXT>>>]] | ||
{{Template:Bethsoft_Tutorial_TOC}} | {{Template:Bethsoft_Tutorial_TOC}} |