Page 1 of 1

setcameratotexture snapshot

Posted: Sat Aug 13, 2005 2:00 am
by TOGoS
It'd be neat if setting camera to texture could take 'snapshots'. That is, capture one image from the camera and then leave the texture alone. This could be done either with another arg to setcameratotexture to indicate take only one image, or by recognising a camera tid of -1 to mean stop.

On a related note, do these camera textures need to be generated every frame, or only on frames in which the player sees them?

Re: setcameratotexture snapshot

Posted: Sat Aug 13, 2005 2:07 am
by randi
TOGoS wrote:On a related note, do these camera textures need to be generated every frame, or only on frames in which the player sees them?
Only when they are onscreen are they recalculated.

Re: setcameratotexture snapshot

Posted: Sun Aug 14, 2005 12:32 am
by TOGoS
randy wrote:Only when they are onscreen are they recalculated.
Ah. Then I will use them liberally :) Snapshot mode would still be useful, tho.

Posted: Sun Jun 18, 2006 4:48 am
by Graf Zahl
These snapshots can't persist across game saves and hub travel so this feature can't be added for technical reasons.