Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Re: Renegades navnode triggers (is again: unwanted X-ray vision) (Real Studio games Mailinglist archive)

Back to the thread list
Previous thread: Partially hidden polygons
Next thread: Renegades navnode triggers (was: unwanted X-ray vision)


Re: unwanted X-ray vision   -   Lars Jensen
  Re: Renegades navnode triggers (is again: unwanted X-ray vision)   -   LMSpam neuropop.com
    Re: Renegades navnode triggers (is again: unwanted X-ray vision)   -   LMSpam neuropop.com
    Re: Renegades navnode triggers (is again: unwanted X-ray vision)   -   Joseph J. Strout

Re: Renegades navnode triggers (is again: unwanted X-ray vision)
Date: 05.01.05 19:51 (Wed, 5 Jan 2005 13:51:36 -0500)
From: LMSpam neuropop.com
well that makes life easier.

I'm still having problems w/ X-Ray vision though...

I have 16 large polygons which make up the ground - from these I used
NavBuilder to create the NavMesh. So far as restricting movement of
myself and the LanceHeads (sub-classes of Robot) this is working great.
But...

if I'm in a valley looking off in the distance, i can see other ridges
and valleys through the landscape. And at specific points I can rotate
the camera and the ground will simply disappear.

Nick Kirkwood was took some screen shots here
http://nilobject.host.sk/gorilla/g1.jpg
http://nilobject.host.sk/gorilla/g2.jpg

Hither is set to 0 Yon is set to very far (2500 to 25000), and
occluders don't seem to make a difference.

Thoughts?


On Jan 5, 2005, at 10:29 AM, Joseph J. Strout wrote:

> At 8:23 AM -0500 1/5/05, <email address removed> wrote:
>
>> wow... lots to learn..
>>
>> I've added several elements to the island but forgot to assign them
>> to groups (the hazards of learning...). I don't see a way in the
>> editor to assign something to a group after the fact, but I'm
>> assuming I should edit the .levl file?
>
> No, you simply show the groups drawer (cmd-G), select the object of
> interest, and then check or uncheck the groups as desired.
>
> The fact that you can choose some groups ahead of time, and have these
> applied to newly added objects, is merely a convenience -- I never
> imagined that someone would think this is the primary way to assign
> groups, let alone the only way!
>
> Best,
> - Joe
>
> --
> REAL World 2005 - The REALbasic User Conference
> March 23-25, 2005, Austin, Texas
> <http://www.realsoftware.com/realworld>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Renegades navnode triggers (is again: unwanted X-ray vision)
Date: 05.01.05 20:41 (Wed, 5 Jan 2005 14:41:42 -0500)
From: LMSpam neuropop.com

On Jan 5, 2005, at 3:26 PM, Joseph J. Strout wrote:

> At 1:51 PM -0500 1/5/05, <email address removed> wrote:
>
>> if I'm in a valley looking off in the distance, i can see other
>> ridges and valleys through the landscape.
>
> Is this when you're standing very close to the landscape in question?
> If you move backwards a little bit, does the ground pop back into
> view? In short, does it seem that the camera is poking through the
> landscape wall, or is it something else?

This is looking from a distance. I initially thought it was because I
was stepping through the ground, but I can be standing on one hillside
looking across a valley and see the landscape on the other side of the
hill. It gets more pronounced if there happens to be a plateau on the
other side - I can then see not only the plateau, but the ridge behind
that as well...

>
>> And at specific points I can rotate the camera and the ground will
>> simply disappear.
>
> That sounds like a culling problem. Go into the CullingUtils module,
> and one at a time, comment out CullByFrustum and CullByOccluders. See
> if either of those makes a difference. That should give you a clue as
> to what's causing it.

will do

> Also, if you're using that NavNode trigger trick Jeff mentioned to
> hide groups as you walk around, make a backup copy of your level file
> and thne delete all such triggers -- that's an advanced
> performance-tuning technique, but you're still debugging. You want
> less complexity at this point, not more. :)
>
Haven't gotten to those yet...

Previously, you'd mentioned using UpdateBounds to keep moving objects
from disappearing. Would updateCullingBounds make a difference?

L

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Renegades navnode triggers (is again: unwanted X-ray vision)
Date: 05.01.05 21:26 (Wed, 5 Jan 2005 14:26:10 -0600)
From: Joseph J. Strout
At 1:51 PM -0500 1/5/05, <email address removed> wrote:

>if I'm in a valley looking off in the distance, i can see other
>ridges and valleys through the landscape.

Is this when you're standing very close to the landscape in question?
If you move backwards a little bit, does the ground pop back into
view? In short, does it seem that the camera is poking through the
landscape wall, or is it something else?

> And at specific points I can rotate the camera and the ground will
>simply disappear.

That sounds like a culling problem. Go into the CullingUtils module,
and one at a time, comment out CullByFrustum and CullByOccluders.
See if either of those makes a difference. That should give you a
clue as to what's causing it.

Also, if you're using that NavNode trigger trick Jeff mentioned to
hide groups as you walk around, make a backup copy of your level file
and thne delete all such triggers -- that's an advanced
performance-tuning technique, but you're still debugging. You want
less complexity at this point, not more. :)

Best,
- Joe