POV-Ray : Newsgroups : povray.general : surface front/back Server Time
7 Aug 2024 17:23:10 EDT (-0400)
  surface front/back (Message 1 to 3 of 3)  
From: Mark Harris
Subject: surface front/back
Date: 8 Jul 2001 12:43:25
Message: <3b488dad$1@news.povray.org>
I'm using POV-Ray 3.1g.  The documentation includes an example of a surface
of revolution (see "Surface of Revolution Object" under the help index) for
creating a goblet.  The image shown in the help file shows both front and
back sides of the object reflecting, but when I run the same code I get
reflection from the front only.
Is there some magic configuration option for enabling reflection from both
sides of a surface?  What am I missing?

Thanks,

Mark Harris


Post a reply to this message

From: Bill DeWitt
Subject: Re: surface front/back
Date: 8 Jul 2001 16:09:09
Message: <3b48bde5$1@news.povray.org>
"Mark Harris" <mh### [at] csappstateedu> wrote :
>
> Is there some magic configuration option for enabling reflection from both
> sides of a surface?  What am I missing?

    I just looked at it and it's not you, it's the sample code. They seem to
have forgotten to use the "open" command after the point list. That leaves a
cap on the surface which is reflecting the bluish gray background.

    <3.0,  10.0>,
    <4.0,  11.0>
    open

    ^^^^ add that and it should help.


Post a reply to this message

From: Jérôme Grimbert
Subject: Re: surface front/back
Date: 12 Jul 2001 14:07:45
Message: <3B48AFAC.7F8AE911@free.fr>
Mark Harris wrote:
> 
> I'm using POV-Ray 3.1g.  The documentation includes an example of a surface
> of revolution (see "Surface of Revolution Object" under the help index) for
> creating a goblet.  The image shown in the help file shows both front and
> back sides of the object reflecting, but when I run the same code I get
> reflection from the front only.
> Is there some magic configuration option for enabling reflection from both
> sides of a surface?  What am I missing?

the "open" keyword, if I understand correctly your question.
As provided in the help file, the sor is ended with an horizontal
disc at both end.


Post a reply to this message

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