Removing a LOD using pfLODState

New Message Reply Date view Thread view Subject view Author view

From: Will Bene (w.j.bene++at++larc.nasa.gov)
Date: 11/09/2000 10:48:47


I have a 3 LOD database and want to have Performer
ignore the highest LOD. For example, given a
database with LODs like:

   LOD 0 -> switch in = 17000, switch out = 0
   LOD 1 -> switch in = 34000, switch out = 17000
   LOD 2 -> switch in = 68000, switch out = 34000

make it behave as a 2 LOD database over ranges 0-68000
where the coarsets 2 LODs are utilized:
 
   LOD 0 -> switch in = ?????, switch out = 0
   LOD 1 -> switch in = 68000, switch out = ?????

I have tried setting the RANGEOFFSET and RANGESCALE
for a pfLODState and calling pfChannel::setLODState but
my offset and range factors appear to be wildly off.

What am I missing here?

Will

  

-- 

William J. Bene Science and Technology Corporation 10 Basil Sawyer Drive Hampton, VA 23666-1393 w.j.bene++at++larc.nasa.gov (757) 766-8240


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Nov 09 2000 - 10:41:16 PST

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