Re: fbsubtexload() problem

New Message Reply Date view Thread view Subject view Author view

Ran Yakir (rany++at++netvision.net.il)
Sat, 25 May 1996 19:59:27 +0300 (IDT)


> Hi,
>
> When I use
>
> fbsubtexload(0,0,
> TX_TEXTURE_0, SPOT,
> 0.0f, 1.0f, 0.0f, 1.0f,
> 1);
>
> on an RE2 running Irix5.3, the screen locks up (mouse point is still active
> and there's no response from the windows or the window manager (mwm)),
> and after a while I'm logged out.
>
> The SPOT texture is defined by
>
> process_image("spotlight.rgb",256,256, buf256);
> texdef2d(SPOT, 4, 256,256, buf256, 0, texprops);
>
> float texprops[] = { TX_MINFILTER, TX_BILINEAR,
> TX_MAGFILTER, TX_BILINEAR,
> TX_WRAP, TX_REPEAT,
> TX_NULL };
>
> Any suggestions on what could be wrong? Thanks a lot!

If I remember correctly, the 'flags' argument in the fbsubtexload() command
- which you set to 1, tells fbsubtexload(0 to act in one of a several
special cases. flags=1 means that the texture chunk you are loading is a 8
bit intensity texture tile of size 64x64. Try settiong 'flags' to zero.

Ran

 __ | Ran Yakir
 /_) _ __ \ / _ / o __ | 28 Ben Gurion St.
/ )_ (_(_) ) \/ (_(_/<_(_)( | Hod Hasharon 54200
              _/ | Israel
-------------------------------------+--------------------------------
At Home : | At Work :
| BVR Technologies
  Voice : +972-9-989974 | Voice : +972-3-5715671
  Fax : +972-9-422149 | Fax : +972-3-5715668
  E-mail : rany++at++netvision.net.il | E-mail : rany++at++bvr.co.il

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
            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:52:55 PDT

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