|
![](/i/fill.gif) |
This scene renders differently depending on whether the parametric is bound
by a sphere or a box. It should render the same in both instances unless
I'm overlooking something.
camera{
perspective
location <1.6,1.6,-3.2>
look_at <0,0,0>
}
light_source{
<5,10,-5>
color rgb<1,1,1>
}
parametric{
function{u*sin(2*pi*v)}
function{v}
function{u*cos(2*pi*v)}
<0,0>
<1,1>
contained_by{box{<-1,-1,-1><1,1,1>}}
//contained_by{sphere{<0,0,0>,1}}
accuracy 0.001
max_gradient 1.1
precompute 20,x,y,z
pigment{color rgb<1,0,0>}
}
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mike Williams wrote:
>Have you noticed that the shape is the same, it's just the brightness
>that's different? If you add "finish {ambient 1}" (and make the sphere
>slightly bigger so that it doesn't clip the shape) then the output is
>identical.
Of course I can correct the brightness, but that wasn't the point.
The difference in brightness was what I referring to, not the actual shape.
I can see no reason for it to be darker in the first place, therefore it
appears to be a bug.
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Tue, 20 Aug 2002 18:57:37 EDT, "Mike" <nomail@nomail> wrote:
> This scene renders differently depending on whether the parametric is bound
> by a sphere or a box. It should render the same in both instances unless
> I'm overlooking something.
I have not checked you rsource but I have noticed similiar thing when played
with http://abx.art.pl/pov/patches/uvparam.php. Try script listed there as is
and later with:
contained_by{sphere{0 vlength(Corner)}}
Second version shows black object. Any confirmation ? I have added this bug to
my own "patches to do" list but if there is anybody with time to investigate
it...
ABX
Post a reply to this message
|
![](/i/fill.gif) |