POV-Ray : Newsgroups : povray.binaries.images : A bad height-field (first binary post. pliz tell if wrong) Server Time
16 Nov 2024 02:24:47 EST (-0500)
  A bad height-field (first binary post. pliz tell if wrong) (Message 1 to 10 of 21)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Noé Falzon
Subject: A bad height-field (first binary post. pliz tell if wrong)
Date: 22 Aug 2003 05:43:59
Message: <1g03c5r.1ugst2b961wgfN%PASDEPUBnoe.falzon@tiscali.fr>
As you can see it, this part of height-field is a bit too much
pixellised (we see big squares on the slopes). Unfortunately, when I use
a better defined grayscale image, I don't have enough memory to render
it.
Does someone have an idea ?


-- 
"Je ne deteste que les bourreaux" -- Albert Camus



Post a reply to this message


Attachments:
Download 'reve.jpg' (207 KB)

Preview of image 'reve.jpg'
reve.jpg


 

From: Hughes, B 
Subject: Re: A bad height-field (first binary post. pliz tell if wrong)
Date: 22 Aug 2003 06:10:55
Message: <3f45ec2f@news.povray.org>

news:1g03c5r.1ugst2b961wgfN%PASDEPUBnoe.falzon@tiscali.fr...
> As you can see it, this part of height-field is a bit too much
> pixellised (we see big squares on the slopes). Unfortunately, when I use
> a better defined grayscale image, I don't have enough memory to render
> it.
> Does someone have an idea ?

Add the keyword 'smooth' to the HF statement. Other than higher resolution
that's about all I know to do (When I remember to use it myself! Long story,
recent event.)

Bob H.


Post a reply to this message

From: Chris Johnson
Subject: Re: A bad height-field (first binary post. pliz tell if wrong)
Date: 22 Aug 2003 06:25:47
Message: <3f45efab@news.povray.org>
The smooth keyword sometimes helps, and sometimes doesn't. Often a
height-field needs to be generated in 16-bit to avoid artifacts (see pov-ray
documentation).

-Chris


Post a reply to this message

From: JC (Exether)
Subject: Re: A bad height-field (first binary post. pliz tell if wrong)
Date: 22 Aug 2003 09:01:41
Message: <3f461435@news.povray.org>
Buy some more memory or another computer ...  :-)

Apart from smooth keyword and using a higher resolution hf image, I 
don't see anything else.

Depending on the shape you want (btw, I couldn't read attached image) 
you can also try isosurfaces with adequate noise3D + f_granite for 
example. It takes more time to render but uses less memory. It's also 
perfectly smooth whatever the resolution.

JC


> As you can see it, this part of height-field is a bit too much
> pixellised (we see big squares on the slopes). Unfortunately, when I use
> a better defined grayscale image, I don't have enough memory to render
> it.
> Does someone have an idea ?
> 


Post a reply to this message

From: Aaron Gillies
Subject: Re: A bad height-field (first binary post. pliz tell if wrong)
Date: 22 Aug 2003 09:04:44
Message: <3f4614ec$1@news.povray.org>
Noe:

Hmm ...  Are you already using the smooth keyword on this?
There is some rather odd artifacting going on.

I would actually turn smooth off and try to optimize the look
of the "mountain" using trees, texture, etc.  Toss a bunch of
green things on the naturally flat places.  Use a texture that has
a normal map containing different uses of granite at a larger
scale, for example.  Also, vary the color on the surface.

You can hide a lot of problems this way.

Aaron






news:1g03c5r.1ugst2b961wgfN%PASDEPUBnoe.falzon@tiscali.fr...
> As you can see it, this part of height-field is a bit too much
> pixellised (we see big squares on the slopes). Unfortunately, when I use
> a better defined grayscale image, I don't have enough memory to render
> it.
> Does someone have an idea ?
>

> --
> "Je ne deteste que les bourreaux" -- Albert Camus
>

>
>
>


Post a reply to this message

From: Shay
Subject: Re: A bad height-field (first binary post. pliz tell if wrong)
Date: 22 Aug 2003 10:27:34
Message: <3f462856$1@news.povray.org>

news:1g03c5r.1ugst2b961wgfN%PASDEPUBnoe.falzon@tiscali.fr...

| Does someone have an idea ?
|

Height-fields themselves are pretty half-455ed, and making one from an
image_map only adds another layer of half-455ness. I'm not suggesting
that your effort is in any way half-455ed. The image map you have
generated is quite nice, but even an isosurface created from an image
map is going to be jagged unless the image map is *huge*.

The first step towards getting a decent looking mountain will be to
describe a similar looking map with functions. That will solve your
resolution problems without using any memory. Once you have the
function, you can create an isosurface if you have the patience for it
to render.

If memory is a problem at all, then a high-resolution height-field like
this isn't going to leave much memory for additional elements in the
scene. Doesn't matter anyway, generalized algorithms like the
height-field give 5h!++y results, and increasing the resolution to
stupid levels only makes them somewhat less 5h!++y, not good. My
suggestion would be to create a medium resolution height-field and to
then add a granite or similar normal.

 -Shay


Post a reply to this message

From: Noé Falzon
Subject: Re: A bad height-field (first binary post. pliz tell if wrong)
Date: 22 Aug 2003 11:56:03
Message: <1g03tnq.ihl98hcm907bN%PASDEPUBnoe.falzon@tiscali.fr>
Thanks for all your comments.
Actually, there is already the smooth keyword. I ill increase the
resolution of my greyscale image, even if I don't have enough memory to
render it ;)


-- 
"Je ne deteste que les bourreaux" -- Albert Camus



Post a reply to this message

From: Aaron Gillies
Subject: Re: A bad height-field (first binary post. pliz tell if wrong)
Date: 22 Aug 2003 12:14:38
Message: <3f46416e$1@news.povray.org>
I would offer to render it for you (I have 512 Mb memory), but my machine
is struggling through an image with lots of focal blur at the moment ...

> Actually, there is already the smooth keyword. I ill increase the
> resolution of my greyscale image, even if I don't have enough memory to
> render it ;)
>


Post a reply to this message

From: Shay
Subject: Re: A bad height-field (first binary post. pliz tell if wrong)
Date: 22 Aug 2003 13:06:22
Message: <3f464d8e$1@news.povray.org>

news:1g03tnq.ihl98hcm907bN%PASDEPUBnoe.falzon@tiscali.fr...

| I ill increase the
| resolution of my greyscale image, even if I don't have
| enough memory to render it ;)
|

*sigh* Another one gone over to brute force. You'll find that road
doesn't take you very far.

 -Shay


Post a reply to this message

From: Slime
Subject: Re: A bad height-field (first binary post. pliz tell if wrong)
Date: 22 Aug 2003 15:26:45
Message: <3f466e75$1@news.povray.org>
These artifacts are caused by a bug in the height field smoothing algorithm.
Simply put, it causes flat areas to become "too flat" (vertical normals are
weighted more heavily than other normals). I discovered and fixed the bug in
Slime-POV ( http://www.slimeland.com/slimepov/ ), and I believe the fix made
it into MegaPov 1.0. In addition, I think the bugfix will be in POV-Ray
3.5.1, but there's no ETA on that right now.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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