Save this as "filename.tgs" You can then run it from within Terragen to create six images for a cubemap/skydome
Creates a perfectly seamless skydome
Creates a perfectly seamless skydome
; This script automates the process of outputting images ; which can be composited into a cubic panorama image, to ; be used to make a cubic QTVR movie or as an environment ; map. Of course you can also use this for cylindrical panos ; by only using the first 4 images rendered or deleting the ; last two sets of script commands from this file. ; ; IMPORTANT : Make sure the image is square and uncheck both ; the "Fixed height above surface" checkboxes in the Rendering ; Control window. ; ; In case it isn't obvious, the fifth image goes at the top ; of the first image, and the sixth image goes at the bottom ; of the first image. ; initanim "skydome", 1 ;CamPos 0,0,0 ; Front camh 0 camp 0 camb 0 zoom 1 frend ; Right camh 90 camp 0 camb 0 zoom 1 frend ; Back camh 180 camp 0 camb 0 zoom 1 frend ; Left camh 270 camp 0 camb 0 zoom 1 frend ; Top camh 0 camp 90 camb 0 zoom 1 frend ; Bottom camh 0 camp -90 camb 0 zoom 1 frend ; return cam to Front camh 0 camp 0 camb 0 zoom 1