Jump to content

impossible behavior

Recommended Posts

Beside the driver issue with 2.5x I had a very strange behavior lately.


I created a portal mirror ( like the q3a one ) - I create a camera on surface ( its a plane ) which is looking from a orgin towards a target ( works as mirror and portal cam ).


I need to switch main camera with a portal camera because of the listener ( which would be re positioned if I just would move it in framework )... plus I have a camera render buffer to paint the camera image on surface.


The buffer is local to object and created like CreateBuffer(..., 1+2+4) iirc.


I had no issues with that - I changed to only use color buffer.


Yesterday it failed because of that ... so, how can such ever happen ?


Please note - the issue is not that I messed up my code - the issue is that the engine doesn't realized the fact. Does structures be keept in memory even if the host gets "destroid" ? How to clean/overwrite memory ( and that is hilarious ) if such can possible be the case ?

Share this post

Link to post

Hmmm, thinking about it it might be possible that I had the editor open in the background ( with its own Lua state ) and I might simply forgot to run stand alone ... getting a little paranoid. :D

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...