POV-Ray : Newsgroups : povray.binaries.images : Help with light problem? : Re: Help with light problem? Server Time
1 Oct 2024 07:22:33 EDT (-0400)
  Re: Help with light problem?  
From: Christoph Hormann
Date: 4 Sep 2000 16:27:42
Message: <39B405FB.668058E8@schunter.etc.tu-bs.de>
Chris Huff wrote:
> 
> As for your problem:
> superellipsoid {<0, 0>
> 
> This may be a problem later. According to the POV-Ray documentation,
> "The roundedness value Round determines the roundedness of the edges and
> has to be greater than zero and smaller than one."
> This isn't your real problem, though. The problem is here:
> 
> texture {T_Wood1}
> finish {phong 1 phong_size 300} <---this makes a new texture layer!
> 
> I assume you tried to change the finish of the T_Wood1 texture, but what
> you really did was make a layered texture, putting a different finish on
> the second layer, which used the default texture for it's pigment and
> normal. Since the default pigment is opaque black, your superellipsoid's
> wood texture gets covered up with a black texture using the finish you
> specified.
> To change the finish of the T_Wood1 texture, you need to put the new
> finish *inside* the texture block:
> texture {T_Wood1
>     finish {phong 1 phong_size 300}
> }
> 

I first thought you were right, but with

superellipsoid {
<0,0> 
scale <1,3,100> translate <40,1,0>
texture {T_Wood1 
    finish {phong 1 phong_size 300}      
}
} 

it stays black because of the the zero parameters.  It doesn't matter in the
end, because both things should be changed.

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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