POV-Ray : Newsgroups : povray.general : Should STURM cause artifacts? Server Time
16 Nov 2024 09:22:03 EST (-0500)
  Should STURM cause artifacts? (Message 1 to 3 of 3)  
From: Severi Salminen
Subject: Should STURM cause artifacts?
Date: 8 Feb 2004 05:18:27
Message: <40260cf3$1@news.povray.org>
I'm trying to model a simple glass bottle. SOR would be a fine way to do it 
but I get some odd artifacts whenever I add STURM keyword (see the scene 
below). So can STURM cause these black specks or is it a result of some 
other thing?

------------------------------

global_settings{ max_trace_level 50 }

camera {
        location <5,45,-20>
        look_at <0,15,0>
}

light_source { <30,50,-50> 1 }

plane{ y,-10
        pigment { checker rgb 1 rgb 0 scale 10 }
}

sor {
     6, <5,-1>, <5,0>, <4.5,16>, <1.5,22>, <1.5,30>, <1.5,31>
     sturm
     pigment { rgbf 1 }
     interior { ior 1.5 }
}


Post a reply to this message

From: Hughes, B 
Subject: Re: Should STURM cause artifacts?
Date: 8 Feb 2004 06:45:12
Message: <40262148@news.povray.org>
"Severi Salminen" <sev### [at] NOT_THISsibafi> wrote in message
news:40260cf3$1@news.povray.org...
> I'm trying to model a simple glass bottle. SOR would be a fine way to do
it

lathe is actually better for bottles because sor is only a singular surface
which can't wrap in on itself.

> but I get some odd artifacts whenever I add STURM keyword (see the scene
> below). So can STURM cause these black specks or is it a result of some
> other thing?

I'd say it is due to sturm, yes. Exactly why it happens, I couldn't tell
you. Adding more points usually helps. That Sturmian root solver can clean
up the surface when the camera is parallel to sor (not above or below) or if
there are troublesome point placements.

There has been plenty discussed (and changed?) about it in the past,
ultimately I'm not sure if a 100% perfect solution can exist to prevent
speckling in every instance. However, it is rather interesting that such a
basic shape can be so mangled by the addition of sturm. Perhaps someone with
experience about that bit of program code knows the details concerning this
behavior; whether right or wrong or simply unavoidable unless the code is
changed? Chances are there's a lot of talk about it to be found too, I just
don't remember the last time it was an issue.

Bob H.

> global_settings{ max_trace_level 50 }
>
> camera {
>         location <5,45,-20>
>         look_at <0,15,0>
> }
>
> light_source { <30,50,-50> 1 }
>
> plane{ y,-10
>         pigment { checker rgb 1 rgb 0 scale 10 }
> }
>
> sor {
>      6, <5,-1>, <5,0>, <4.5,16>, <1.5,22>, <1.5,30>, <1.5,31>
>      sturm
>      pigment { rgbf 1 }
>      interior { ior 1.5 }
> }


Post a reply to this message

From: Christopher James Huff
Subject: Re: Should STURM cause artifacts?
Date: 8 Feb 2004 15:53:41
Message: <cjameshuff-34F237.15535708022004@news.povray.org>
In article <40260cf3$1@news.povray.org>,
 Severi Salminen <sev### [at] NOT_THISsibafi> wrote:

> I'm trying to model a simple glass bottle. SOR would be a fine way to do it 
> but I get some odd artifacts whenever I add STURM keyword (see the scene 
> below). So can STURM cause these black specks or is it a result of some 
> other thing?

It could. It's a different solving method, and better in many ways, but 
it isn't perfect. It's quite conceivable that you have some situation 
where it is failing but where the non-sturmian method works...or at 
least appears to work.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

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