setcameratotexture snapshot

Moderator: GZDoom Developers

Post Reply
User avatar
TOGoS
Posts: 131
Joined: Sat Nov 22, 2003 12:33 am
Location: Wisconsin
Contact:

setcameratotexture snapshot

Post 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?
User avatar
randi
Site Admin
Posts: 7746
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: setcameratotexture snapshot

Post 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.
User avatar
TOGoS
Posts: 131
Joined: Sat Nov 22, 2003 12:33 am
Location: Wisconsin
Contact:

Re: setcameratotexture snapshot

Post 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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

These snapshots can't persist across game saves and hub travel so this feature can't be added for technical reasons.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”