[info-performer] Adding and removing cliptextures to pipes on Onyx3

Date view Thread view Subject view Author view

From: Dorosky, Christopher G (christopher.g.dorosky++at++lmco.com)
Date: 10/16/2003 16:25:39


I can add pfMPCliptextures to pipes easily enough, one per pipe.
If I then try to get them back, in the APP, then I get the MPcliptex back.
Trying to get them back in the draw, even though pipe->getNumPfMPClipTextures() return's non-zero, always returns null pointers. Weird. The cliptexture draws fine, but the getMPCliptexture() does not work.

Anyway, I can remove the mpcliptexture from a pipe exactly once. I can them add the same mpcliptexture back. It draws fine.
If I try to do it again, then it generates an illegal instruction, or simply hangs the machine.

I checked all the pointers, and they are all the same as they are in the first call that works.

What is going on?

What are the rules for when you are allowed to attach the mpcliptextures to pipes, and when you are allowed to remove them?

Christopher Dorosky
Staff Research Engineer - Real Time Simulation, TOPSCENE
Lockheed Martin Missiles and Fire Control - Dallas
christopher.g.dorosky++at++lmco.com
972-603-2349


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Oct 16 2003 - 16:28:19 PDT