POV-Ray : Newsgroups : povray.general : Terragen and POV-Ray Server Time
1 Aug 2024 14:31:55 EDT (-0400)
  Terragen and POV-Ray (Message 1 to 6 of 6)  
From: Jon Berndt
Subject: Terragen and POV-Ray
Date: 30 Oct 2005 19:57:29
Message: <43656bf9$1@news.povray.org>
Speaking of Terragen ...

I've got an aerospace vehicle that I have rendered and would like to place
it in a Terragen scene. What I've done in the past is to use Gimp to select
the image very carefully using the "Fuzzy" selected feature, etc. It
actually doesn't work so bad. I was wondering, though, if someone else has a
good technique to place a POV-ray object (such as an aircraft) into another
image (such as a Terragen image). I'll try and post my example in the
.images group this evening, just for grins.

Regards,

Jon Berndt


Post a reply to this message

From: Mike Williams
Subject: Re: Terragen and POV-Ray
Date: 30 Oct 2005 21:19:03
Message: <4Q4tbPA46XZDFwJX@econym.demon.co.uk>
Wasn't it Jon Berndt who wrote:
>Speaking of Terragen ...
>
>I've got an aerospace vehicle that I have rendered and would like to place
>it in a Terragen scene. What I've done in the past is to use Gimp to select
>the image very carefully using the "Fuzzy" selected feature, etc. It
>actually doesn't work so bad. I was wondering, though, if someone else has a
>good technique to place a POV-ray object (such as an aircraft) into another
>image (such as a Terragen image). I'll try and post my example in the
>.images group this evening, just for grins.

You could paint the Terragen scene onto a background plane as an
image_map that exactly fills the screen. (The methods in
incdemo/screen.pov might possibly be useful for positioning). And create
your vehicle in front of it.

finish {ambient 1} to prevent shadows being cast onto the backdrop.

There was a recent thread somewhere dealing with how to preserve the
gamma.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Alain
Subject: Re: Terragen and POV-Ray
Date: 30 Oct 2005 22:36:03
Message: <43659123$1@news.povray.org>
Jon Berndt nous apporta ses lumieres en ce 2005-10-30 19:56:
> Speaking of Terragen ...
> 
> I've got an aerospace vehicle that I have rendered and would like to place
> it in a Terragen scene. What I've done in the past is to use Gimp to select
> the image very carefully using the "Fuzzy" selected feature, etc. It
> actually doesn't work so bad. I was wondering, though, if someone else has a
> good technique to place a POV-ray object (such as an aircraft) into another
> image (such as a Terragen image). I'll try and post my example in the
> .images group this evening, just for grins.
> 
> Regards,
> 
> Jon Berndt
> 
> 
You can use forester. It's made to plant POV trees, flowers, houses and other in a
treagen generated 
landscape. It convert the teragen terrain into a POV Ray mesh. Once it's done, you can
add any 
object you want, place the camera anywhere, move the "sun"...

-- 
Alain
-------------------------------------------------
'I hate quotations.' -- Ralph Waldo Emerson


Post a reply to this message

From: Stefan Persson [azynkron]
Subject: Re: Terragen and POV-Ray
Date: 31 Oct 2005 09:26:35
Message: <4366299b$1@news.povray.org>
I think your best shot is to make a "sky box".
In Terragen, place the camera centered in the scene.
Tip: Just enter the values manully for the camera position.
Adjust the camera so it has a 1/1 aspect ratio, i.e.
640x640 or whatever values you want.
Render one image in each direction, that is
0, 90, 180, -90. Just change the direction values
for the camera. Make sure that the camera target
stays at the same level for every direction.
Last, but not least, render one picture with
a vertical pitch. You don't need to render the
ground.
Tip: Name the images something like "Front", "Left",
"Back", and "Right".. or anything you like.. as long as you
can remember wich direction they represent.

Now you have 5 images.

Make a box that has equal sides but is very thin.
Copy the box 5 times so that you have a open cube
to the ground. Make sure that you place them so that
they don't have gaps. Map the different images to the different
boxes and make you own ground. You should turn the
illumination values for the images all the way up. You also need
to position your own lights according to the sun in Terragen.

I also usually places a ground fog in the scene with a value that is as
close as possible to the haze in the images. This makes a seamless
passing from your ground to the skybox.

The point of this setup is that if you have reflective or
refractive materials in the scene, they will treat the
background correctly.

If you need help, just ask. :)

"Jon Berndt" <jsb### [at] hal-pcdotorg> wrote in message
news:43656bf9$1@news.povray.org...
> Speaking of Terragen ...
>
> I've got an aerospace vehicle that I have rendered and would like to place
> it in a Terragen scene. What I've done in the past is to use Gimp to
select
> the image very carefully using the "Fuzzy" selected feature, etc. It
> actually doesn't work so bad. I was wondering, though, if someone else has
a
> good technique to place a POV-ray object (such as an aircraft) into
another
> image (such as a Terragen image). I'll try and post my example in the
> .images group this evening, just for grins.
>
> Regards,
>
> Jon Berndt
>
>


Post a reply to this message

From: Thomas de Groot
Subject: Re: Terragen and POV-Ray
Date: 1 Nov 2005 08:01:57
Message: <43676745@news.povray.org>
using the alpha_channel...?
... and then post process...?

Thomas


Post a reply to this message

From: Jon Berndt
Subject: Re: Terragen and POV-Ray
Date: 1 Nov 2005 21:57:45
Message: <43682b29$1@news.povray.org>
"Thomas de Groot" <t.d### [at] internlnet> wrote in message
> using the alpha_channel...?
> ... and then post process...?
>
> Thomas

The alpha channel?

Jon


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.