![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
so.. that is okay right??
i should do the mountains now??
im not quite sure how to make the mountains using height_fields though :(
where can i find the image files for height_field?
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
web.46c334ba4683e64799fead9e0@news.povray.org...
> so.. that is okay right??
>
> i should do the mountains now??
> im not quite sure how to make the mountains using height_fields though :(
>
> where can i find the image files for height_field?
That's the hardest : you'll have to make them.
Have you well understood that the whitest the pixel of the image is, the
highest the heigh_field?
A simple solution is to run a paint software and use a blurred brush to
paint clear zones on a black background.
Then save your image and use it as image for your height_field.
You'll have to follow a try and error way I guess
Marc
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <web.46c2da8ebc1e6cbb99fead9e0@news.povray.org>,
"k1s3k1" <k1s### [at] gmail com> wrote:
> im very new to POV-Ray and I have an assignment which is due next month.
>
> I want to make an image of a photo something like this,
> http://www.dskendall.com/images/199812.jpg
>
> Can anyone help me get started? Is it a difficult task to do?
have a look here : <http://www.imagico.de/lotw/index.html>
--
klp
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"M_a_r_c" <jac### [at] wanadoo fr> wrote:
>
> That's the hardest : you'll have to make them.
> Have you well understood that the whitest the pixel of the image is, the
> highest the heigh_field?
> A simple solution is to run a paint software and use a blurred brush to
> paint clear zones on a black background.
> Then save your image and use it as image for your height_field.
> You'll have to follow a try and error way I guess
> Marc
So.. with the image, black background and white blurred brush?
If possible, can anyone give me an example of the image? :)
Thanks
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
web.46c33b024683e64799fead9e0@news.povray.org...
> "M_a_r_c" <jac### [at] wanadoo fr> wrote:
> If possible, can anyone give me an example of the image? :)
>
> Thanks
>
Here is a very fast done example... put the image in the same folder as the
.pov file
Marc
camera {
location <-2, 0.5, -4.0>*.6
direction 1.5*z
right x*image_width/image_height
angle 100
look_at <-.4, 0.5, 0.0>
}
sky_sphere {
pigment {
gradient y
color_map {
[0.0 rgb <0.6,0.7,1.0>]
[0.7 rgb <0.0,0.1,0.8>]
}
}
}
light_source {
<0, 0, 0> // light's position (translated below)
color rgb <1, 1, 1> // light's color
translate <-30, 30, -30>
}
// ----------------------------------------
#declare P_Rock = pigment { color rgb <1,0.3,0.1>}
plane {
y, 0
pigment {P_Rock} }
// uses image color index as height, extends along X-Z axes
// from <0 0 0> to <1 1 1>
height_field {
png // the file type to read (tga/pot/pgm/ppm/png/sys)
"new-1.png"
// the file name to read
smooth
pigment {P_Rock}
translate <-.5,-.02,-.5>
scale <5,1,5>
}
Post a reply to this message
Attachments:
Download 'new-1.png' (61 KB)
Preview of image 'new-1.png'
![new-1.png](/povray.newusers/attachment/%3C46c34456%40news.povray.org%3E/new-1.png?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
k1s3k1 wrote:
> ...
> If possible, can anyone give me an example of the image? :)
>
> Thanks
>
You can find a quickie demo in the scenes directory (a collection of
examples to study/play with) that is installed with POV-Ray. Look for
crater.pov and crater_dat.pov in the objects directory. Read the
comments at the beginning of crater.pov for the instructions on
rendering this example -- you have to render crater_dat first.
-=- Larry -=-
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
kurtz le pirate nous apporta ses lumieres en ce 2007/08/15 13:43:
> In article <web.46c2da8ebc1e6cbb99fead9e0@news.povray.org>,
> "k1s3k1" <k1s### [at] gmail com> wrote:
>
>> im very new to POV-Ray and I have an assignment which is due next month.
>>
>> I want to make an image of a photo something like this,
>> http://www.dskendall.com/images/199812.jpg
>>
>> Can anyone help me get started? Is it a difficult task to do?
>
> have a look here : <http://www.imagico.de/lotw/index.html>
>
>
>
This is prety advanced stuff, and, as it makes heavy use of randomness, it's
harn do acheive specific results.
--
Alain
-------------------------------------------------
Q. What's the difference between Batman and Bill Gates?
A. When Batman fought the Penguin, he won.
-- J. Levine
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
thanks Marc you helped me so much! i quite understand it now.. :)
By the way, is it possible to make the ground a big curvy, not flat? Because
of rocks etc.. And how do i add shrubs ?
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
k1s3k1 nous apporta ses lumieres en ce 2007/08/16 20:53:
> thanks Marc you helped me so much! i quite understand it now.. :)
>
> By the way, is it possible to make the ground a big curvy, not flat? Because
> of rocks etc.. And how do i add shrubs ?
>
>
>
You can use a very large, possibly flatened sphere. This will make it gently
curve down from the center.
For example:
sphere{0, 10000 scale<5,0.01,5> translate -100*y}
It's possible to use an isosurface to do the same, with the benefit that you can
alter the actual shape, but with a slower rendering speed.
--
Alain
-------------------------------------------------
You know you've been raytracing too long when you have ever brought your
computer to its knees by mistakenly launching 64 simultaneous frames to be
traced, while trying to maximizing the benefits of parallelizing them.
Carsten Whimster
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
46c4f5c4$1@news.povray.org...
> You can use a very large, possibly flatened sphere. This will make it
> gently curve down from the center.
> For example:
> sphere{0, 10000 scale<5,0.01,5> translate -100*y}
>
> It's possible to use an isosurface to do the same, with the benefit that
> you can alter the actual shape, but with a slower rendering speed.
>
An other easy alternative, now that k1s3k1 has understood height_fields is
to use a 2nd one made from a image created by POVRay.
It is sometimes easy to use the procedural textures to create images for
height_fields.
I post 2 small example files in povray.binaries.scene-files (see topic
"Rocky ground")
Marc
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |