Re: Cliptexture (running very slow)

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose.asd.sgi.com)
Sun, 11 May 1997 01:00:32 -0700


+>---- On May 9, 3:28pm, Charles Parker wrote:
> Subject: Cliptexture (running very slow)
->
->Hi,
->
->Can anyone tell me why my application runs very slow when I clip
->texture it and how do I fix it. I'm using 15.2 flight loader. My database (56,000
->polygons) achieves 60 Hz (app takes 0.5ms) when not clip textured.
->If I use the same clip texture on a single polygon I can achieve
->60Hz (app take ~2ms). When I clip texture the database the app takes
->over 200ms.

Is this in perfly? The trouble is probably the clipcenter callback that is
auto-centering the cliptexture based on eye position and the closest point in the
database. The app traversal to find the approprate point can take some
time.

Two hints here:

1) a mulit-channel perfly bug in 2.1, this traversal would get executed for every
        channel instead of just the master channel
2) you can set a simplified version of the database for the traversal
        (such as just a bounding box) for the pfuNewClipCenterNode() API.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (415) 933 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/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 2.0b2 on Mon Aug 10 1998 - 17:55:12 PDT

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