Re: Multipipe virtual clipmaps?

New Message Reply Date view Thread view Subject view Author view

Jan Barglowski (jan++at++archimedes.vislab.navy.mil)
Tue, 7 Apr 1998 09:59:26 -0700 (PDT)


Jan Barglowski wrote:
>
> Performers:
>
> I'm trying to view a virtual clipmap with my 3-pipe Onyx iR using clipfly.
> If I use only one pipe (-M 0) then everything works fine. But if I
> let it use all 3 pipes the cliptexture starts to do, well, funky
> things. The mipmap levels seem to appear at random locations and I
> get pfErrors of "Invalid Texture Load".
>
> Looking at the source to clipfly, it appears that it's setup to slave
> the cliptexture between pipes as explained in the programmer's manual.
> I've perused the clipmap docs, and see nothing that could explain this.
>
> Questions are:
>
> - is clipfly incapable of displaying a virtual clipmap on more than
> one pipe?
> - can Performer display a virtual clipmap on more than one pipe?
> - does anyone have some source snippets showing how they successfully
> set the pfuAddMPClipTexturesToPipes() in a slave fashion? Something
> a bit more specific (and less do-everything) than clipfly...
>
> Thanks for any help!

OK, I solved this one by reading the error messages more carefully...

Seems Performer calculated that with my cliptexture (888, virtual,
clipsize 1024) I would run out of texture memory. So it downsized
the clipsize to 512. Unfortunately, Performer then started to ask
for tiles with really odd sizes (832x512, for example) which didn't
exist! This caused my texture weirdness.

The fix was to edit the .ct file and set the clipsize to 512 to
begin with. Everything worked fine. I've since converted the
cliptexture to 5551 and tested with clipsize 1024 and it works
fine, too.

Whew!

jan

-- 
Jan Anthony Barglowski	              jan++at++chinalake.navy.mil
Real-time Computer Graphics           http://www1.ridgecrest.ca.us/~jan
Naval Air Warfare Center, China Lake  (760) 927-1057
=======================================================================
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:57:13 PDT

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