[QUOTE=Biotoxsin;15528958]I wonder if you could use a screenshot taken like this to make a 2d skybox...[/QUOTE]
Read the whole thread. I posted exactly how to do that in the second or third post.
[B]Edit:[/B]
Actually, 5th post. Read it.
Yeah I"m leaving 30% overlap. I take six images (0, 60, 120, 180, 240, 300). Experimenting with taking 18 images. (45 up and 45 down of each)
PLEASE GIVE FULL INSTRUCTIONS HOW TO GET A PIC LIKE ABOVE FROM THE MOMENT STARTING GMod :P
Open GMod.... Load a map. Pull out the camera tool. Go to the spot you want to take the pictures from.
Put this in console:
sv_cheats 1
setang_exact 0 0
Now, press F5. Do NOT touch the mouse.
setang_exact 0 60
F5
setang_exact 0 120
F5
setang_exact 0 180
F5
setang_exact 0 240
F5
setang_exact 0 300
F5.
Now, go into photoshop (Or other software) and merge them.
AND CAPITALS DO NOT HELP YOU.
[code]
jpeg_quality 100
sv_cheats 1
fov_desired 90
fov 90
bind , "incrementvar cl_drawhud 0 1 1"
bind . "incrementvar r_drawviewmodel 0 1 1"
bind m "setang_exact 0 0; wait; jpeg"
bind n "setang_exact 0 30; wait; jpeg"
bind b "setang_exact 0 60; wait; jpeg"
bind v "setang_exact 0 90; wait; jpeg"
bind c "setang_exact 0 120; wait; jpeg"
bind x "setang_exact 0 150; wait; jpeg"
bind l "setang_exact 0 180; wait; jpeg"
bind k "setang_exact 0 210; wait; jpeg"
bind j "setang_exact 0 240; wait; jpeg"
bind h "setang_exact 0 270; wait; jpeg"
bind g "setang_exact 0 300; wait; jpeg"
bind f "setang_exact 0 330; wait; jpeg"
[/code]
This script will do it for you :-)
You should probably change your FOV before you start.
yeah I noticed it did not work very well, so I've changed it now.
Bravo good work.
I'll try the last script that Chryseus tried^^
[QUOTE=Lord Ned;15518253]Here's how my way works out (With Photostich)
[img]http://fc06.deviantart.com/fs46/f/2009/163/2/7/Pipeline_Stage_1_Panorama_by_lordned.png[/img][/QUOTE]
How did you achieve it so that the image is rounded and has no overlaps?
Fixed this cause I had a bookmark :)
My script is better then that and it takes duplicate images. So will yours.
[editline]10:14AM[/editline]
Current Script:
[code]
alias PanCamPrep "sv_cheats 1; host_timescale 0.1; r_drawvgui 0; r_drawviewmodel 0; mat_motion_blur_enabled 0; wait 5; PanCamPos01;
alias PanCamPos01 "setang_exact 0 0 0 ; wait 5; screenshot; PanCamPos02;"
alias PanCamPos02 "setang_exact 0 60 0 ; wait 15; screenshot; PanCamPos03;"
alias PanCamPos03 "setang_exact 0 120 0; wait 15; screenshot; PanCamPos04;"
alias PanCamPos04 "setang_exact 0 180 0; wait 15; screenshot; PanCamPos05;"
alias PanCamPos05 "setang_exact 0 240 0; wait 15; screenshot; PanCamPos06;"
alias PanCamPos06 "setang_exact 0 300 0; wait 15; screenshot; PanCamPos07;"
alias PanCamPos07 "setang_exact 45 300 0; wait 15; screenshot; PanCamPos08;"
alias PanCamPos08 "setang_exact -45 300 0; wait 15; screenshot; wait 10; PanCamCleanup;"
alias PanCamCleanup "host_timescale 1; r_drawvgui 1; r_drawviewmodel 1; mat_motion_blur_enabled 1;"
alias PanCamPos PanCamPrep
bind f4 PanCamPos
//------------------------------------------------------------
//----------------Panorama Preview----------------------------
//------------------------------------------------------------
alias PanCamPreview "r_drawvgui 0; r_drawviewmodel 0; setang_exact 0 0 0 ; wait 75; setang_exact 0 60; wait 75; setang_exact 0 120; wait 75; setang_exact 0 180; wait 75; setang_exact 0 240; wait 75; setang_exact 0 300; r_drawviewmodel 1; r_drawvgui 1;"
bind f6 PanCamPreview
[/code]
SEKCobra: Six images like above, combined with the "Auto" setting on Photoshop's PhotoMerge. (File->Automate->Photomerge). Then crop the top and the bottom.
There's also a script on [url]www.csfour.com[/url] under Resources to make it loop perfectly.
When i do this, i just get 1 pic with full white alpha, all three other pics have full black alpha ;(
[editline]08:08PM[/editline]
Does it save pfm at you when you use the env_cubemap thingi?
I dunno, I use Screenshot which writes TGA's in TF2. Not sure about GMod.
[QUOTE=Giraffen93;15514727]Then it won't be aligned.
[/QUOTE]
o . o
[URL=http://img15.imageshack.us/i/242n.jpg/][IMG]http://img15.imageshack.us/img15/6305/242n.jpg[/IMG][/URL]
All done by hand ^
Needed barely any stitching.
That don't appear to be 360 degrees
That doesn't loop Hypno.
So what?
The only people that really care are over critical assholes.
[I]"hay this pictures is only 340 degress D:< !!!1!11!"[/I]
Sorry if you feel you are missing out on that 20 degrees of hedgerow and blank road.
It doesn't make a perfect loop, it's not very suitable for panoramas.
[QUOTE=Chryseus;15554656][code]
jpeg_quality 100
sv_cheats 1
fov_desired 90
fov 90
bind , "incrementvar cl_drawhud 0 1 1"
bind . "incrementvar r_drawviewmodel 0 1 1"
bind m "setang_exact 0 0; wait; jpeg"
bind n "setang_exact 0 30; wait; jpeg"
bind b "setang_exact 0 60; wait; jpeg"
bind v "setang_exact 0 90; wait; jpeg"
bind c "setang_exact 0 120; wait; jpeg"
bind x "setang_exact 0 150; wait; jpeg"
bind l "setang_exact 0 180; wait; jpeg"
bind k "setang_exact 0 210; wait; jpeg"
bind j "setang_exact 0 240; wait; jpeg"
bind h "setang_exact 0 270; wait; jpeg"
bind g "setang_exact 0 300; wait; jpeg"
bind f "setang_exact 0 330; wait; jpeg"
[/code]
This script will do it for you :-)[/QUOTE]
Thank you.
how are we to execute that script again?
(Learn English, then think about the Bad Reading rating again...)
[QUOTE=Chryseus;15554656][code]
jpeg_quality 100
sv_cheats 1
fov_desired 90
fov 90
bind , "incrementvar cl_drawhud 0 1 1"
bind . "incrementvar r_drawviewmodel 0 1 1"
bind m "setang_exact 0 0; wait; jpeg"
bind n "setang_exact 0 30; wait; jpeg"
bind b "setang_exact 0 60; wait; jpeg"
bind v "setang_exact 0 90; wait; jpeg"
bind c "setang_exact 0 120; wait; jpeg"
bind x "setang_exact 0 150; wait; jpeg"
bind l "setang_exact 0 180; wait; jpeg"
bind k "setang_exact 0 210; wait; jpeg"
bind j "setang_exact 0 240; wait; jpeg"
bind h "setang_exact 0 270; wait; jpeg"
bind g "setang_exact 0 300; wait; jpeg"
bind f "setang_exact 0 330; wait; jpeg"
[/code]
This script will do it for you :-)[/QUOTE]
Those are all console commands...
[editline]05:10PM[/editline]
[QUOTE=Lord Ned;15560643]My script is better then that and it takes duplicate images. So will yours.
[editline]10:14AM[/editline]
Current Script:
[code]
alias PanCamPrep "sv_cheats 1; host_timescale 0.1; r_drawvgui 0; r_drawviewmodel 0; mat_motion_blur_enabled 0; wait 5; PanCamPos01;
alias PanCamPos01 "setang_exact 0 0 0 ; wait 5; screenshot; PanCamPos02;"
alias PanCamPos02 "setang_exact 0 60 0 ; wait 15; screenshot; PanCamPos03;"
alias PanCamPos03 "setang_exact 0 120 0; wait 15; screenshot; PanCamPos04;"
alias PanCamPos04 "setang_exact 0 180 0; wait 15; screenshot; PanCamPos05;"
alias PanCamPos05 "setang_exact 0 240 0; wait 15; screenshot; PanCamPos06;"
alias PanCamPos06 "setang_exact 0 300 0; wait 15; screenshot; PanCamPos07;"
alias PanCamPos07 "setang_exact 45 300 0; wait 15; screenshot; PanCamPos08;"
alias PanCamPos08 "setang_exact -45 300 0; wait 15; screenshot; wait 10; PanCamCleanup;"
alias PanCamCleanup "host_timescale 1; r_drawvgui 1; r_drawviewmodel 1; mat_motion_blur_enabled 1;"
alias PanCamPos PanCamPrep
bind f4 PanCamPos
//------------------------------------------------------------
//----------------Panorama Preview----------------------------
//------------------------------------------------------------
alias PanCamPreview "r_drawvgui 0; r_drawviewmodel 0; setang_exact 0 0 0 ; wait 75; setang_exact 0 60; wait 75; setang_exact 0 120; wait 75; setang_exact 0 180; wait 75; setang_exact 0 240; wait 75; setang_exact 0 300; r_drawviewmodel 1; r_drawvgui 1;"
bind f6 PanCamPreview
[/code]
SEKCobra: Six images like above, combined with the "Auto" setting on Photoshop's PhotoMerge. (File->Automate->Photomerge). Then crop the top and the bottom.
There's also a script on [url]www.csfour.com[/url] under Resources to make it loop perfectly.[/QUOTE]
So I assume these are too.
ofcourse they are, but scripts can be run with the "exec" command, I am wondering where the .txt file goes.
[code]
jpeg_quality 100
sv_cheats 1
fov_desired 90
fov 90
bind , "incrementvar cl_drawhud 0 1 1"
bind . "incrementvar r_drawviewmodel 0 1 1"
bind m "setang_exact 0 0; wait; jpeg"
bind n "setang_exact 0 30; wait; jpeg"
bind b "setang_exact 0 60; wait; jpeg"
bind v "setang_exact 0 90; wait; jpeg"
bind c "setang_exact 0 120; wait; jpeg"
bind x "setang_exact 0 150; wait; jpeg"
bind l "setang_exact 0 180; wait; jpeg"
bind k "setang_exact 0 210; wait; jpeg"
bind j "setang_exact 0 240; wait; jpeg"
bind h "setang_exact 0 270; wait; jpeg"
bind g "setang_exact 0 300; wait; jpeg"
bind f "setang_exact 0 330; wait; jpeg"
[/code]
Just enter them in the console.
[editline]05:15PM[/editline]
It's not that hard, is it?
a script is easier, and that is exactly what it is made for.
If you not see the point in that don't tell me how to do it your way.
I understand that, but you could have already done it if you'd just entered them in one by one.
Save it as a cfg in your folder and run exec name.
[QUOTE=SEKCobra;15557599]Which way have you made that theyre round and ther´re no "edges"?[/QUOTE]
I'd hate to say this is going to be impossible. Lord Ned this pic also has a potential train derailment problem.
I saved a sript a long time ago.
[url]http://pastebin.com/m358b0980[/url]
"Put it inside garrysmod/lua/autorun/panorama.lua
Then type "jpeg360" in console and don't move!"
Oh wow, i remember this thread..
[QUOTE=Giraffen93;19709245]Oh wow, i remember this thread..[/QUOTE]
Yeah me too, I remember trying to do it in L4D and it crashing on me... Then never trying again.
Sorry, you need to Log In to post a reply to this thread.