Texture loading on Onyx, Impact in OpenGl

New Message Reply Date view Thread view Subject view Author view

Tomas Moller (tompa++at++clarus.se)
Thu, 27 Jun 1996 05:25:27 -0700


Hello again!
I have an application where I am updating a texture each frame and I'd like to
download it into the texture memory.
On our Onyx, in IrisGL
          textures[i]->setFormat(PFTEX_SUBLOAD_FORMAT,PF_ON);
          textures[i]->setLoadImage(texturemap);
          textures[i]->setLoadMode(PFTEX_LOAD_SOURCE,PFTEX_SOURCE_IMAGE);
worked fine.
Now I am trying to convert to OpenGL because I want to run the app on
Impacts, InifinteReality and on Onyxes.

On the Onyx, the app hangs if
  textures[i]->setFormat(PFTEX_SUBLOAD_FORMAT,PF_ON);
is included in the code.
Anyone knows why? Is it patch154 and Performer2.0.1 I need (as pointed out in a
previous posting by Simon Hui concerning PFTEX_SOURCE_FRAMEBUFFER) ?

I also wonder what the proper way is to download a texture on an Impact? Will
the code for the Onyx work on an Impact or is there another approach?

Thanks!

/Tomas

-- 

======================================================================= 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:53:05 PDT

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