Guy Premont (silicon-worlds++at++calva.net)
Tue, 06 May 1997 10:38:10 +0200
Here I am again with my problem of video texturing. The corruption of
the video texture occurs in a scene with several textures, one of these
is taken from a video source. The video image is sometimes overwritten
by other textures.
My software is based on perfly (Performer 2.0 and IRIX5.3), and runs on
an Onyx RE2 with Sirius boards.
- First, the different objects are loaded.
- The pfSharedTexList is examimed; I look for a texture named video.rgb
and its parametes are changed into those of a video texture
(SOURCE_VIDEO, etc..)
- Then, all the textures are loaded with pduDownloadTexList.
- I finish the configuration by verifying the pfGeoStates that use the
video texture.
All the calls to the video library and configuration are done in the
draw process.
The video image is corrupted by the textures that were defined before
it. If the video texture is the first one defined in the database, it's
ok, no problems. If it is the second one defined, it is partly
overwritten by the first one. If it is the third, it is overwritten by
the first two, etc...
It seems to be a problem of texture memory allocation but I don't know
how to handle it apart from always define the video texture first...
Does somebody know how to handle this?
Thanks,
Guy Premont
===========================================
Silicon Worlds S.A.
12, rue de Chatillon 75014 Paris France
Tel: +33 (01) 53.90.11.11
Fax: +33 (01) 53.90.11.12
===========================================
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:11 PDT