POV-Ray : Newsgroups : povray.binaries.images : Help with light problem? : Re: Help with light problem? Server Time
2 Nov 2024 16:48:23 EDT (-0400)
  Re: Help with light problem?  
From: Chris Huff
Date: 4 Sep 2000 15:52:03
Message: <chrishuff-1BBBCC.14534404092000@news.povray.org>
In article <01c01690$aa7b8fa0$ae1ba1d0@mk>, "CreeD" <meshe@nqi.net> 
wrote:

> See attached pic.  Notice the superellipsoid doesn't show up?
> How can I fix this without changing the lighting of the scene 
> dramatically?

As someone else mentioned, that is a lot of code to demonstrate a simple 
problem. You could have trimmed it down to a simple checkered plane and 
your superellipsoid.

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}
}

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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