Page 1 of 1

Two momentary problems

Posted: Sun Jun 10, 2007 11:51
by Enjay
Not entirely convinced these are bugs, but I just thought I'd check why they are happening.

The first is to do with teleporting. Sometimes when teleporting I can see the briefest flash of another location in the map. I had to use FRAPS to grab these screenshots because it happens too quickly to grab manually. Anyway, the first screenshot is just before entering the teleport, the last is the exit for the teleport but the screenshot in the middle is the view I had for a tic or two whilst teleporting. It shouldn't be there and I can see no obvious reason for it to be - no teleport locations there etc. This is not specific to this map BTW.

Image

And seeing as how I was using FRAPS, here's the video.

http://www.zen64060.zen.co.uk/images/teleport.wmv

The second thing is to do with camera textures. I have a level where a computer monitor is switched off when the player enters a room and the player can activate it using a script. The view from a camera is allocated to the camera texture in an open script at level startup. The computer is switched on by changing the texture on the computer screen line to the camera texture using "setlinetexture". This works but sometimes I can momentarily see the half-black/half-pink effect of an uninitialised camera texture before the camera view is painted on the wall. I have noticed that putting the camera texture on a wall in a control sector right from startup (where the player never sees it) seems to remove the problem. I just wanted to check that this was expected behaviour.

Posted: Sun Jun 10, 2007 15:30
by Graf Zahl
The first one looks like an interpolation problem although I have never seen it myself.
The second one can't be fixed. The camera texture needs one frame to initialize and if you have just placed it there is a good chance you will see the uninitialized texture for this first frame. Your workaround is exactly what I would have suggested to remove the effect.