Thứ Sáu, 7 tháng 4, 2017

Rendering issue with rotated Geometry page 1

Wyse
12-13-2009, 10:37 PM
How do you determine whether a Geometry is within the viewport? It seems the computation is off, at least for rotated geometries. Here are examples of two contradictory views (currently running on New England Death Maze):

Here's the erroneous view:
364

Now if we move the viewport slightly to the left, the missing Geometry on the left shows up:
365

Makes for a rather confusing/flickering view as you're flying around.

Note that this has testPlaneScale 150, testCameraScale 55. I don't think that's the issue though, because it's only when I rotated the geometries that I got this problem.
lamster
12-13-2009, 11:20 PM
Whether a piece of geometry is rendered depends on its collision hull (whether it's actually marked collidable or not) -- if the hull intersects the view rectangle the onscreen elements should render. If the collision hull does not fully enclose the visible geometry you'll see glitchy behavior like this.

If you send the altx file to support@nimblygames.com I can take a look.

Không có nhận xét nào:

Đăng nhận xét