Cull problem

New Message Reply Date view Thread view Subject view Author view

Randy Stiles (stiles++at++aic.lockheed.com)
Fri, 12 Nov 93 12:17:10 PST


   Date: 12 Nov 1993 14:08:32 U
   From: "Chris Pratico" <chris_pratico++at++maca.sarnoff.com>

                         Cull problem
   I have created a grid as a pfGeoSet of unit size 1 during the initialization
   period of my application process. Later, within my simulation loop, I scale
   the DCS parent of this GeoSet to various sizes.

   The problem is that the grid appears to be culled to the original dimensions of
   the GeoSet (i.e.: as if the grid were still a unit size of 1). Although when
   it is drawn to the screen it appears to be scaled to the proper dimensions.
   As a result the grid disappears from the screen as if it were always a grid of
   dimension size 1.

   Has anyone seen this problem? Is there someway I can work around this (ie.
   have an object never cull)? I have tried everything and can't seem to figure
   out why this is happening.

I believe you want to rescale the bounding box, since it culls using this.
The box stays the same size unless you tell it to be dynamic or you
rescale it yourself each time.

man pfNodeBBox - use arg PFN_BMODE_DYNAMIC

-Randy

# Randy Stiles (stiles++at++aic.lockheed.com)
# Office: 415.354.5256, Fax: 415.354.5235
# Lockheed AI Center, Orgn 9620 Bldg 254F
# 3251 Hanover St., Palo Alto, CA 94304


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:05 PDT

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