RE: pfLOD

New Message Reply Date view Thread view Subject view Author view

From: Gareth Morgan (gmorgan++at++sgi.com)
Date: 10/09/2000 08:09:54


A slightly inelegant solution is to, in the LOD state set:

PFLODSTATE_RANGE_RANGESCALE to 0
and the
PFLODSTATE_RANGE_RANGEOFFSET to the desired value
The LOD will display the child node based on
this offset value.

You will also have to set other values
which affect the evaluation of the LOD, in the current
LODState, and channel LOD Attrs, to 0 or 1.
(see man pages from pfLODState and pfChannel to see
what these are)

If you want to use this to create a "blended" switch
node, another solution would be to use screen door or multisample
transparency on the children of group
so that two of its children are partially visible
at any one time.

I have done this using an OpenGL call-back and the glSampleMaskSGIS command,
but not in pure Performer.

-----Original Message-----
From: Mark Evans [mailto:mrrevans++at++yahoo.com]
Sent: 09 October 2000 11:19
To: info-performer++at++sgi.com
Subject: pfLOD

Is there a way to force a pfLOD to display a certain
level of detail, regardless of what Performer decides
it is appropriate to display?

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
-----------------------------------------------------------------------
List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Oct 09 2000 - 08:10:02 PDT

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