dagens andre aktiviteter:

det startede med en idé til en anden farve end den kedelige grå standard...

og resultatetet er ganske overbevisende..!

[egentlig er rækkefølgende omvendt...] via campath genererede jeg 1335 frames som efterfølgende blev splejset sammen i JPGVideo til en 55 sekunder lang videosekvens i 640x480... [mest som et eksperiment]... men jeg er ret fascineret af terænet her lavet via the gimp's impresionist-filter...


thaw-atmosfæren i en ren verden...
men det koster i renderingstid...

samme atmosfære men fra en anden vinkel og med et standard-landskab...

forøg højden til 40 units og kvadratet bliver ganske iøjnefaldende...
her er et andet problem: den sorte krumning skyldes at "himlen" er for lille i forhold til z-højden [50 units] -->

problemet kan løses på denne måde:

default-størrelsen [sky size] er 4096 - hvis den forøges som her [til det dobbelte] vil den dække hele horisonten... prisen er en lidt længere renderingstid, men ikke meget...


dette er den nyeste version af programmet, men der mangler en del fasciliteter i forhold til forgængeren...

...som umiddelbart er meget intuitiv at arbejde med [man klikker sig igennem sin kamerabane punkt for punkt]... der er en glimrende preview-mulighed [både på kortet i 2D og som ren 3D i eget vindue]... og det er enkelt at ændre på filmens "hastighed" [dvs antallet af frames - det kan fordobles hvorved hastigheden halveres etc.]... [fordelen ved den nye version er muligvis, at det med den er muligt at genere scripts til et hav af andre programmer..?]...


jeg havde forventet mig en del af dette terræn, men, men, men... det skyldes formentlig en fejl i campath-scriptet [som jeg ikke orker at checke nærmere nu]...
1) Camera Position
To place the camera at the exact centre of the terrain,
subtract 1 from the terrain size and divide by 2 (i.e. 128 for a 257 terrain,
256 for a 513 terrain, &c). Switch to Terrain Units and type this value into
the Camera Position and the Target position boxes. You should see Head, Pitch
and Bank reset to 0, -90 and 0 respectively.
2) Camera Height (I've just
done a little math to check this - LOL!) Set the Zoom to maximum. Clicking the
Camera Settings button shows that this gives a Zoom factor of 32. Never mind
about the math (the formula for calculating the Field of View angle is in John
McClusky's tutorial on the Planetside site). What you need to do is multiply the
terrain size less 1 (i.e. 256, 512, &c) by half the Zoom number - in this
case 16 - and type this number into the z(alt) box. Put zero into the
corresponding Target Position box. Your field of view now covers the terrain
exactly at the level of 0. If parts of the terrain at the edge are higher than
0, they will be clipped slightly, and if less than 0 they won't quite fill the
view (you'll see some edge). I'd suggest 'normalizing' your terrain so that the
Water Level is zero.
Render this at 1024 x 1024 and you will have a map
with the least possible parallax and no need to trim to size. For better
resolution, you may prefer to do a larger square render (1260 x 1260 is the max
for the unregistered version) and resize, but that's up to you!
Note that
in order to get the best possible colours and to eliminate shadows, you should
set the Sun Altitude at 90 and reduce all the Haze settings to 0.
basic
planet guide
in the terrain window find the button under the terrain plan -
this will get you in the "landscape settings" window, at the bottom of witch
you'll see a "planetairy context" part, check the box next to "render curved
terrain" and set the planet radius to something small (tipically 4 for default
256 terrains)
next set your camera on a high altitude and make sure its
looking down - render, and there's your planet - you can add all the normal
terragen features to your planet in the normal way - these are just the basics
to planet rendering, and should help you on your way.
Panorama :
Little tutorial
In the window "Rendering Control": remove the cross on "Fixed
height above surface"
In "Settings Camera" you put the "zoom" at 1 (by defect
it is to 1,414)
In "Camera Orientation" you put "head" at 0 for the first
image (the 2 adjustments at side do not change)
In "Settings" always put the
athmospere to the maximum and "cloud shading" towards the 3/4 and validate
"ultra".
Then render the image (always in 640 X 480 ) - (when finished, you
name the image " image 1 ")
For the 2nd image, similar, only one modification
: in "Camera Orientation" you put "head" at 90 - (when finished, you name the
image " image 2 ")
For the 3rd image it is similar, only one modification :
in "Camera Orientation" you put "head" at 180 (when finished, you name the image
" image 3 ")
And in the 4th image, put at -90. (when finished, you name the
image " image 4 "). That' s all
And then with a software of final improvement
(PSP), you determine a new file which will have a format of 2560 X 480,then you
paste the 4 images side by side . The image 1, then just near the 1, you paste
the image 2, and the 3 and the 4.
At the junction between 2 images, it is
necessary to make final improvements with PSP (or another).
As you see, it is
not a professional method ...
The way those types of
images are done is you set the camera zoom to 1 (90°) and the camera pitch to
zero. Set the camera heading to zero and render an image. Then set the camera
heading to 90 (be sure the pitch remains at zero throughout) and render. Then
180 and 270, rendering two more images. Finally, paste the images end-to-end in
your paint program.
To render planet curvature
1) In the Landscape
dialog, click on the button showing the width of the terrain (e.g. "7680
metres").
2) In the lower half of the "Landscape Settings" dialog (Planetary
context), change the Radius to something quite small (smaller than the width of
the terrain - e.g. 3km ) and check the Render Curved Terrain box.
3) Set your
camera height at maybe twice the radius (e.g. 6000m) or more and place it
roughly in the centre of the terrain, looking straight down (pitch = -90).
4)
Do a preview render and adjust the camera height and modify the scale height of
the terrain (Scale By 10% or 5% or something, depending on how bumpy your planet
is) as required.
5) If your planet has no atmosphere, set all the atmosphere
settings to 0%



det lykkedes endelig at finde ud af hvordan man laver panoramabilleder i terragen... (1) er et rent landskab uden manipulation, (2) har fået indlagt vand og surface layer "martian dessert"... (3) er lavet med udgangspunkt i labyrinten vist længere nede på siden...
og det lykkedes også at få styr på hvordan man arbejder med teksturer i samme program...

start med at ændre indstillingerne i denne menu som vist [remove bumpiness]...

resultatet kommer til at se således ud...

klik på tex-knappen for at fremkalde denne menu og klik efterfølgende på +-knappen...

og vælg som vist her...

for at aktivere den nødvendige plug-in...

start med at vælge den ønskede teksturfil [bmp] og angiv en værdi i sektionen Tiling... slut med klik på OK...

og her er en alternativ udgave:

resultatet er ganske forbløffende [man kommer uvægerligt til at tænke på tekstiler, dyner eller lignende]...

tre billeder lavet v.h.a. gimpens filtre og brugt som basis for terræner i terragen... 2 og 3 skaber en labyrintisk verden som vist herunder [det kan være svært at visualisere effekten eftersom terragen tolker de hvide elementer i billedet som "vægge" - hvor mine øjne ser det omvendte]...
.png)
terrænets højde bør være som vist herunder og kameraet placeres mindst tre gange så højt [NB at det nødvendiggør en forstørret sky] solens vinkel og højde spiller også en rolle [man kan overveje eventuelt at fjerne skyggerne i terrænet for at få et tydeligere billede]...



panorama-indstillinger: camera orientation head 0, 90, 180 og 270... camera settings zoom 1,0 (VIGTIGT! = 90 grader)...

det fjerde panorama er nok det jeg umiddelbart er mest tilfreds med selvom skyerne kunne være bedre... [det er også lavet i en mega-version på 5120x960 pixels]...
ovenstående screendumps viser indstillinger for henholdsvis (2) sideview og (3) topview... [klokken er 19.04, det er torsdag den 10. juni 2004...]
[fredag kl. 12.49:] med disse indstillinger er det muligt at generere et billede som viser hele landskabet set fra et toppunkt [z = 155tgu]...

"T-cross" head: 0, 90, 180, 270 (a,b,c,d) - pitch: 90, -90 (top, bund)...
![]() |
|||
![]() |
![]() |
![]() |
![]() |
![]() |