Game Development Community

Panorama screenshots

by Gilles Jr Lafrance · in Torque Game Engine · 02/08/2003 (8:31 am) · 11 replies

When I was learning the engine, I had seen "panorama screenshot" somewhere. I had put it on hold having more important things to test first and had forgot about it. Now, I'm not able to find this. Was I dreaming ?

#1
02/08/2003 (9:10 am)
Increase your FOV. FOV stands for Field of Vision, it's (basically) the viewable angle that your character can see, default is 90 degrees. Prepare for ASCII demonstration...

\ /
\ /
\ /
\ /
\ /
\ /
\ P/

Now pretend P is the player and pretend that angle is 90. If you increase the FOV to, say, 150 or so, you should get a panoramic view. To get the Letterbox view look, you'll want to either photoshop the screenshot, or open up the GUI editor on the play control and add black boxes.
#2
02/08/2003 (9:21 am)
There was a script that would kick off a panorama, where it would rotate the camera, shoot, rotate, shoot. I'll check and see if it's still in there...
#3
02/08/2003 (9:26 am)
It's still a console function in the engine code as far as I'm aware.

What it would do is rotate the player view and take snapshots, totally three in all.

The problem is, it is three seperate images, so putting the three images together and aligning them up is up to you.
#4
02/08/2003 (9:38 am)
Oh, that's exactly what I want. I'm used to do panoramic photos doing panos with 8 to 12 photos, so 3 will be more than perfect. I'll try to find the console function in my docs. Thanks all for the light up.
#5
02/08/2003 (10:29 am)
Well that ASCII art totally didn't come out well.

I thought you meant simulating a panoramic view...my bad.
#6
02/08/2003 (10:33 am)
No probs Pat. It was informative also. Thanks ! I just found the console command. Will try it.

panoramaScreenShot(filename)

I'm pretty sure I had seen it exposed in script somewhere, but seems it's gone now :)

[edit]This is working, but takes 3 shots for 180 degree only :( I'll have to find where this function is to make it take 6 pics to get 360.[/edit]
#7
02/08/2003 (12:40 pm)
Well, for those interested (I like when there is a solution at the end of a thread :) ), I've found a way that do the same (so simple) but 360 degree. In F8 mode, I take 6 photos that makes all 360. I remove all my GUI first. You can see a test here where you can move with the mouse all 360 degree (VR a la "Riven"):

pano.lafbros.com

I only need to find how to remove the chathud (won't be hard) so it don't shows 6 times like in this example :)

Not really game related, but in my case, I will use this on our website to display our game in place of normal screenshots.
#8
02/08/2003 (1:18 pm)
Long live Quicktime VR :)
#9
02/08/2003 (8:18 pm)
hehe, yup :) But this example don't use Quicktime and require no browser plugin to see. I think anyone can see it, not 100% sure.
#10
04/15/2008 (9:21 am)
I have tried the command in the console: panoramaScreenShot(filename, JPEG); and can't get it to work. I could really use this function. Has anyone get it to work???
Appreciate any help out there.
#11
04/27/2008 (2:17 pm)
Haven't you written panoramaScreenShot(filename, JPEG); instead of panoramaScreenShot(filename);?