![]() |
|
|
#1 |
|
Registered User
Join Date: Jul. 26th, 2009
Posts: 29
|
Taking photographs
Is there a way for the player character to take pictures (using a camera, digital maybe) for getting a photo (a bitmap), saving it and retrieving it? In other words, taking a screenshot and manipulating it as described before? I believe that Bioshock accomplished using the UT3 engine. Any help is appreciated.
Also like to know how to setup an overlay for camera mechanics including zooming and foucsing. And also to have a "photo album" of pictures taken. |
|
|
|
|
|
#2 |
|
The answer I'm afraid, is no. It's not possible in UT3.
__________________
|
|
|
|
|
|
|
#3 |
|
Well, the camera Idea would work simply by creating a weapon that executes the "shot" command on fire. Putting that screenshot back ingame could prove difficult though.
Maybe render to texture could be used too, to use the picture ingame. Maybe a combination of both. |
|
|
|
|
|
|
#4 | |
|
It's not possible to import image files at runtime, not to mention that screenshots fail he important import condition to have power of 2 dimensions.
Using a SceneCapture2DActor with corresponding TextureRenderTarget2D you can capture a scene to a texture-like object. Using a ScriptedTexture you can draw to a texture-like object. You can combine the two techniques to get something that looks like an actual screenshot.
__________________
<elmuerte> you shouldn't do all-nighters, it's a waste of time and effort <TNSe> nono <TNSe> its always funny to find code a week later you dont even remember writing <Pfhoenix> what's worse is when you have a Star Wars moment <Pfhoenix> "Luke! I am your code!" "No! Impossible! It can't be!" |
||
|
|
|
|
|
#5 | |
|
Registered User
Join Date: Jul. 26th, 2009
Posts: 29
|
Quote:
|
|
|
|
|
|
|
#6 |
|
Make sure you have the latest scripts, then look at Engine/classes/ScriptedTexture.uc
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|