Dynamic Textures

New Message Reply Date view Thread view Subject view Author view

Magnus (e93_mda++at++it.kth.se)
Thu, 23 Mar 95 16:43:24 +0100


Hi!

I am rather new to the Performer (a week or so...) so i migth have
missed some details (which i doubt). When I try to make an texture
dynamic (updatable by my program) so that the texture changes on
allready drawn objects. This is said to be possible according to the
manuals by useing the PFTEX_FAST_DEFINE and ON state. However,
whenever I try to draw an object which has an texture which is fast
defined the program exits. When I do not fast define the object every
thing works. I have used an 128 x 128 pixel object in RGBA mode. The
update routine is oversimple - add one to green color. This works with
an pfTexImage put with an slow speed - even for an Onyx!

Is this an bug or is it some detail I have missed? I have used shared
memory. Non shared memory does not make any noticable difference.
Any example code would be appriciated.

Magnus Danielson
KTH/IT
Sweden


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:51:07 PDT

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