fokiact.blogg.se

Hugin tutorial
Hugin tutorial






hugin tutorial
  1. #HUGIN TUTORIAL FULL#
  2. #HUGIN TUTORIAL FREE#

Open this folder and create in it a new text file called panorama.pto. Now exit flightgear, look for saved screenshots in png format and follow the next step.Ĭopy all the eight screenshots in a new folder named as you want. When the required screenshots are taken, the original view is restored. You will see the camera changing heading and pitch automatically. When in the game press the F3 key and wait. Now you are ready to start Flightgear but in order to use efficiently this script and the provided Hugin file you need to set the video format to 4/3 (800圆00, 1024x768, 1200x900, 1600x1200.). PopupTip("Error writing screenshot '" ~ path ~ "'", 600, button) īy #, to stop that message mess with view. PopupTip("Screenshot written to '" ~ path ~ "'", 3) Setprop("/sim/freeze/clock", freezecvalue) Īlso, You would want to comment out next strings at gui.nas file Setprop("/sim/freeze/master", freezemvalue) Setprop("/sim/current-view/pitch-offset-deg", pitchvalue) Setprop("/sim/current-view/heading-offset-deg", headingvalue) Setprop("/sim/current-view/field-of-view", fovvalue) Setprop("/sim/menubar/visibility", menubarvalue)

hugin tutorial

Settimer(scr_ticks, tick_time, tick_time) Print ("screen taken with heading= ", heading_deg, " and pitch= ", pitch_deg) Var success = fgcommand("screen-capture") Print ("taking screen with heading= ", heading_deg, " and pitch= ", pitch_deg) Var takescreen = func(heading_deg, pitch_deg) Setprop("/sim/current-view/pitch-offset-deg", pitch_deg) Setprop("/sim/current-view/goal-pitch-offset-deg", pitch_deg) Setprop("/sim/current-view/heading-offset-deg", heading_deg) Setprop("/sim/current-view/goal-heading-offset-deg", heading_deg) Var rotatescreen = func(heading_deg, pitch_deg) Setprop("/sim/current-view/field-of-view", 120) Setprop("/sim/menubar/visibility", 'false') Pitchvalue=getprop("/sim/current-view/pitch-offset-deg") Headingvalue=getprop("/sim/current-view/heading-offset-deg") Znearvalue=("sim/rendering/camera-group/znear") įovvalue=getprop("/sim/current-view/field-of-view") įreezemvalue=getprop("/sim/freeze/master") įreezecvalue=getprop("/sim/freeze/clock") Menubarvalue=getprop("/sim/menubar/visibility") To do this, open the file keyboard.xml that you can find in the fgdata folder with a text editor and look for the following section: The easier way is to bind the following nasal script to a keyboard key (The F3 key that is used by default to take screenshots). To get rid of the popup window telling you that the screenshots was saved, you can follow this guidance: Taking the required screenshots

#HUGIN TUTORIAL FULL#

Also I've created a standard Hugin file to assemble this screenshots into a full spherical panorama. This script can be binded to a keyboard key. To make the process easier I've created a nasal script that capture automagically the required screenshots.

#HUGIN TUTORIAL FREE#

I suggest to use Hugin: it's free and very powerful. In order to take panorama in flightgear you need:








Hugin tutorial