POV-Ray : Newsgroups : povray.newusers : smoothness of ellipsoids Server Time
1 Nov 2024 15:27:24 EDT (-0400)
  smoothness of ellipsoids (Message 1 to 5 of 5)  
From: Michael
Subject: smoothness of ellipsoids
Date: 25 Apr 2005 13:00:01
Message: <web.426d21d9e2399406152aee5a0@news.povray.org>
Hi,

I am trying to make a small figure with 7 ellipsoids.Unfortunately, the
boundaries of my ellipsoids are not really smooth.

My source code is basically:

#include "colors.inc"
//-----------------------------------------//
  background { color White }
  camera {
    location <0, 0,15>
    look_at  <0,0,-1>
  }

  light_source { <15, 15, 19> color White}
//-----------------------------------------//

  quadric {
    <8/9, 1/49, 1/6>,
    <0, 0, 0>,
    <0, 0, 0>,
    -1
  texture {pigment { color rgb <1,0,0> }}
  }
//-----------------------------------------//

I am on Mac OS X and use POV-Ray 3.6.0

Sorry, but I couldn't find any help on the web, but I think that I probably
"just" need to increase some "magic number".

Can anyone please help me?
Michael


Post a reply to this message

From: Slime
Subject: Re: smoothness of ellipsoids
Date: 25 Apr 2005 13:31:04
Message: <426d2958$1@news.povray.org>
> I am trying to make a small figure with 7 ellipsoids.Unfortunately, the
> boundaries of my ellipsoids are not really smooth.


Looks smooth to me. Are you rendering with anti-aliasing?

By the way, I think you could just use a scaled sphere for a slightly faster
render.

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


Post a reply to this message

From: Michael
Subject: Re: smoothness of ellipsoids
Date: 25 Apr 2005 16:45:00
Message: <web.426d558c708e0b18702662700@news.povray.org>
>
> Looks smooth to me. Are you rendering with anti-aliasing?
>

No, I didn't, but that is exactly what is was looking for, even though
I have no idea what it does.

Could you maybe explain it? What is "treshhold", "recursion depth"
and "jitter".

Thanks a lot for the help!


Post a reply to this message

From: Slime
Subject: Re: smoothness of ellipsoids
Date: 25 Apr 2005 17:43:52
Message: <426d6498$1@news.povray.org>
> Could you maybe explain it? What is "threshhold", "recursion depth"
> and "jitter".

I probably can't explain it any better than "3.1.2.8.4  Anti-Aliasing
Options" in the documentation, but the idea is, for every pixel in the
image, POV-Ray shoots one ray into the scene. It takes the color that the
ray sees and uses that as the color for the pixel. If this color differs
from the color of an adjacent pixel by more than "threshold," then both
pixels will have more rays shot into them; for anti-aliasing method 1 (the
default), this will be "recursion depth" x "recursion depth" rays within the
area of the pixel. The results of these are averaged together to get the new
pixel color. If "jitter" is set to a value greater than zero, then each of
these new rays will be randomly jittered from their normal position, which
helps avoid distracting patterns in some cases.

Simply using +A0.2 (threshold of .2) will generally give you pretty good
anti-aliasing.

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


Post a reply to this message

From: Michael
Subject: Re: smoothness of ellipsoids
Date: 26 Apr 2005 04:05:01
Message: <web.426df52f708e0b18152aee5a0@news.povray.org>
I see...

Once again, thanks a lot!


Post a reply to this message

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