[info-performer] Bounding with switches, and pfGetCullResult

New Message Reply Date view Thread view Subject view Author view

From: Dorosky, Christopher G (christopher.g.dorosky++at++lmco.com)
Date: 06/11/2002 07:31:11


Here are two separate questions.

1. For some reason, a pfGroup that has only pfSwitches for children,
includes the geometry for
the pfSwitches that are both in some state of on, and PFSWITCH_OFF, in the
bsphere calculations.

Why is switched off geometry included? Is there any way to override this in
the bsphere calculations?

2. pfGetCullResult seems to behave very erratically in the pre-cull. Is it
perhaps getting the previous frame's cull result, since this one hasn't been
calculated yet?

IE.

precullCallback
{
if(pfGetCullResult()==(PFIS_FALSE))
{
return PFTRAV_PRUNE;
}
else
{
do something else
}

The point is to do some pre cull calculations if and only if the object
passes the cull (I am not doing post cull for display list reasons).
If I yaw at high rate, with this on, objects seem to disappear at the edges
for a frame, whereas if the PRUNE is changed to CONT, then everything is
normal.

I am running at least version 2.2.10, whatever comes with IRIX 6.5.12, in
the 2.2 release, on an Onyx2.

Thanks,

Christopher Dorosky
Lead Electronic Systems Engineer - Real Time Simulation, TOPSCENE
Lockheed Martin Missiles and Fire Control - Dallas
christopher.g.dorosky++at++lmco.com
972-603-2349


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jun 11 2002 - 07:41:24 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.