Re: Clipmap Config Files

New Message Reply Date view Thread view Subject view Author view

Richard McDonald (richard++at++gossamar.paradigmsim.com)
Thu, 10 Jul 1997 10:54:02 -0500


On Jul 10, 4:34pm, Tze Lin Ong wrote:
> Subject: Clipmap Config Files
> Hi all,
>
> Has anyone tried clipmapping with 5551-format tiles (or any other format, for
> that matter)? I'm having a little trouble finding out what to specify in my
> image cache (.ic) and clip texture (.ct) files for the texture format.
>
> I thought the answer would be:
>
> ic_version1.0/ct_version1.0

OK here.

> ext_format PFTEX_PACK_8

Try ext_format PFTEX_UNSIGNED_SHORT_5_5_5_1
This has worked for me.

> int_format GL_RGB5_A1_EXT
> img_format PFTEX_RGBA
> <etc>
>
> ...but perfly reports, among others,
>
> PF Warning(2): Normal Read of file map.256.r000.c000.raw5551
> failed
> PF Warning: Only Read 32768 of 65536 Texels

Also, How big is your file? Presuming that its 256 on a side, for 5551, it
should be 131072 bytes. If you've compressed it any (eg rle, jpeg.etc), then
Performer won't know to decompress.

> ...and so on for all the other clip levels. I've consulted the man pages for
> pfTexture and glDrawPixels, etc, but to no avail.
>
> Can anybody shed some light on this?
>
> Thanks v much, in advance!
>
> Cheers,
> tzelin
>
>
> --
> ______________________________________________________________________
> Ong Tze Lin Silicon Graphics ASEAN Headquarters
> 89 Science Park Drive #03-03 to 06
> Systems Engineer The Rutherford, Singapore 118261
> Vissim/Defence Ind. Mktg. Tel: 65-7773088 Fax: 65-7793650
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Tze Lin Ong

Hope this was helpful,

-- 
--

Richard McDonald ___________________________________________________________

richard++at++paradigmsim.com Paradigm Simulation, Inc. voice: (972) 960-2301 14900 Landmark Blvd Ste 400 fax: (972) 960-2303 Dallas, TX 75240-6725 ___________________________________________________________ ======================================================================= 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:36 PDT

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