Re: How large can a simple texture be?

New Message Reply Date view Thread view Subject view Author view

Jean-Claude Bachmann (jean-claude.bachmann++at++artemedia.de)
Wed, 19 Nov 1997 17:23:19 +0100


Francois Sillion wrote:

> Hi,
>
> I am trying to use rectangular textures with sizes on the
> ordre of 2048x256, or 4096x512.
>
> On my O2, both Performer and OpenGL stop displaying the texture
> on the objects when the size becomes larger than 1024 on the side:
> But there is no complaint by either library, which makes it difficult
> for me to understand what's going on.
>
> a 1024^2 imag works fine, on the other hand a 256x2048 imag does
> not appear...
>
> --> is there any way to find out at run-time whether a given size
> will work? what exactly is happening, and who is responsible
> for the limitation? it seems that on an iR board the larger
> textures work OK, but I thought on the O2 there was no limit on
> texture memory, besides a 2048x256 texture is smaller than an 1024^2
> texture...

Look at the function pfQuerySys() and the token PFQSYS_MAX_TEXTURE_SIZE

J.C.

begin: vcard
fn: Jean-Claude Bachmann
n: Bachmann;Jean-Claude
org: Artemedia Productions GmbH
adr: ;;Hardenbergplatz 2;10623 Berlin;;;Germany
email;internet: jean-claude.bachmann++at++artemedia.de
title: Software Development Department
tel;work: +49 [0]30 25443 - 0
tel;fax: +49 [0]30 25443 - 400
tel;home: +49 0172 - 219 13 76
note: http://www.artemedia.de/
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard

=======================================================================
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:56:13 PDT

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