|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello,
How can I get rid of the " blocky" appearance of the heightfield
foreground surface,and get a smooth mountain surface in the foreground?
The heightfield is made in GeoFrac2000.
This is the code in Pov-Ray 3.5:
#include "colors.inc"
#include "textures.inc"
camera{
location <0, 1, -10>
look_at 0
angle 30
}
light_source{ <1000,600,-1000> White }
light_source{ <1000,600,-1000> White }
height_field {
tga "Mountain.tga"
smooth
pigment { White }
translate <-.5, -.5, -.5>
scale <17, 1.75, 17>
}
sky_sphere { pigment { gradient <0,1,0>
color_map { [0.00 rgb <1.0,1.0,1.0>]
[0.30 rgb <0.0,0.1,1.0>]
[0.70 rgb <0.0,0.1,1.0>]
[1.00 rgb <1.0,1.0,1.0>]
}
scale 2
} // end of pigment
} //end of skysphere
Thanks,
H.Frik
Post a reply to this message
Attachments:
Download 'iso-8859-1' (4 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"HFrik" <fri### [at] zonnetnl> wrote in message news:3e23c67f@news.povray.org...
<snip>
Not sure if it's the problem, but check section 9.9.3 in the docs. Basically,
you may need to add "double_illuminate" to your height-field block.
If that doesn't work, try posting the image you're using for the hf to this
group - it might be deficient in either its resolution or colour-depth.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tom Melly wrote:
> Not sure if it's the problem, but check section 9.9.3 in the docs. Basically,
> you may need to add "double_illuminate" to your height-field block.
I don't think double_illuminate is the problem here. To me it just looks
like the height field needs hogher resolution.
/ Martin
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
What is the resolution and color depth of the height field image?
Also, you can eliminate having two light sources in the same location by
assigning the light source the color "White * 1.4" instead.
--
-David
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>"Dave Blandston" <gra### [at] earthlinknet> schreef in bericht
news:3e2405b2@news.povray.org...
>What is the resolution and color depth of the height field image?
This is the heightmap
The heightmap image is 1024 X 1024.
H.Frik
Post a reply to this message
Attachments:
Download 'iso-8859-1' (2 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
why not try Slime-POV?
Slime has implemented some nifty algorithms which help with hf smoothing.
jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> why not try Slime-POV?
> Slime has implemented some nifty algorithms which help with hf smoothing.
FYI, I believe Mega-POV 1.0 also contains the fix that I developed for this
in Slime-POV.
But yes, your height field is definitely suffering from the artifacts that
Slime-POV was made to fix.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I see a couple problems with this scene: First, there is something weird
about your height field image. I substituted it in a scene I know looks
good, and your height field still looked bad. Besides the blockiness you
mentioned, the rendered image looks generally "washed out."
Second, I substituted a height field image that I know is good (800x600,
24-bit) and rendered your scene, and still got a little of that blockiness
in front (see attached image). That indicates a problem with the way POV
renders height fields. It seems to be more pronounced by your camera
position.
My suggestions: Make sure GeoFrac2000 is saving your height field image in a
non-lossy format. I see that your final image is a tga, but did you convert
it from jpg? My other suggestion would be to try using Slime-POV, which
James Taylor has also suggested. I remember some dramatic images recently
posted to this group that demonstrated a huge improvement in height field
rendering using this patch.
--
-David
"HFrik" <fri### [at] zonnetnl> wrote in message news:3e241b33@news.povray.org...
This is the heightmap
The heightmap image is 1024 X 1024.
H.Frik
Post a reply to this message
Attachments:
Download 'HFrik.jpg' (24 KB)
Preview of image 'HFrik.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
First: could you *please* not post in html? tnx
The problem you have, is the same problem I talked about almost a year ago (
http://news.povray.org/povray.binaries.images/22627/ ) : POV-Ray doesn't
interpolate very well between height_field normals.
I'm afraid Slime-POV will not be a complete solution to your problem. It might
look a bit smoother, but Slime-POV too has problems with smooth height_fields,
as can be seen on the image taken frome Slime-POV's website:
http://www.slimeland.com/slimepov/smoothhffinal.jpg : the individual "patches"
are visible. They wouldn't be visible if you used smooth_triangles.
See attached image: on the left you see a Slime-POV heightfield using
smart_triangulation and smooth 2, on the right you see a mesh of
smooth_triangles, both using a resolution of 40*40. For some reason I couldn't
create the same shape (function images seem to work completely different than
pattern images in MegaPOV 0.7), but you can still see that smooth height_fields
look "patchy".
So Slime: your Slime-POV certainly is an improvement on the official POV-Ray,
but I'm afraid it's not good enough yet :-/
cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK http://www.povplace.be.tf
Post a reply to this message
Attachments:
Download 'heightfield.png' (28 KB)
Preview of image 'heightfield.png'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Zeger Knaepen" <zeg### [at] studentkuleuvenacbe> schreef in bericht
news:3e2459d0@news.povray.org...
> First: could you *please* not post in html? tnx
ow, I was going to remove this line, because it didn't sound very friendly, but
I forgot :-/
sowwy! It's not *that* bad if you post in html! :)
cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK http://www.povplace.be.tf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|