POV-Ray : Newsgroups : povray.general : Re: Povray bug Server Time
5 Nov 2024 20:16:06 EST (-0500)
  Re: Povray bug (Message 1 to 4 of 4)  
From: K  Tyler
Subject: Re: Povray bug
Date: 9 Aug 1998 23:33:05
Message: <35CE4D91.8CA76CEF@pacbell.net>
Steven Jones wrote:

> I think I have found a bug in Pov-Ray!  When using a surface of
> revolution object the program assumes the open keyword has been used
> even when it is absent.  Does anyone know how to get around this?

  According to the docs you may explicitly turn hollow off by
adding the words "hollow off" in your SOR statement where you
would normally place "hollow on" to achieve the opposite.

If the docs are right it's worth a try.

K.Tyler


Post a reply to this message

From: Ronald L  Parker
Subject: Re: Povray bug
Date: 10 Aug 1998 02:06:10
Message: <35cd2332.26194900@news.povray.org>
On Sun, 09 Aug 1998 18:32:02 -0700, "K. Tyler" <tyl### [at] pacbellnet>
wrote:

>Steven Jones wrote:
>
>> I think I have found a bug in Pov-Ray!  When using a surface of
>> revolution object the program assumes the open keyword has been used
>> even when it is absent.  Does anyone know how to get around this?
>
>  According to the docs you may explicitly turn hollow off by
>adding the words "hollow off" in your SOR statement where you
>would normally place "hollow on" to achieve the opposite.

open and hollow aren't the same thing.

As for the bug, it would appear that it is (or was) so.  The function
Create_Sor in sor.c does not set the closed flag.  INIT_OBJECT_FIELDS,
defined in frame.h, sets the flag to zero (along with all the other
flags.)  Thus, by default, an SOR object is not closed.  

While this was a bug in version 3.0, however, It was not present in
3.1 beta 4, and I assume that it remains gone in beta 5.  This one's
gone, ladies and gents; there's nothing to see here.


Post a reply to this message

From: Nieminen Mika
Subject: Re: Povray bug
Date: 11 Aug 1998 11:50:44
Message: <35d05a44.0@news.povray.org>
Steven Jones <ste### [at] spiderwebcomau> wrote:
: Turning hollow off doesn't make a SOR object solid!  There seems to be
: no way to make a surface of revolution object into a solid object.

  Actually there are no solid objects in povray, only surfaces :)
  If you use only primitives and CSG, the 'hollow' keyword makes absolutely
no change to the scene, regardless of where you put it.

-- 
                                                              - Warp. -


Post a reply to this message

From: Jim Kress
Subject: Re: Povray bug
Date: 11 Aug 1998 15:57:47
Message: <35d0942b.0@news.povray.org>
Is the comment about surfaces true in light of the DENSITY feature in v3.1?
Looks to me that DENSITY is usable as a volume rendering tool - not just
surfaces.

Jim

Nieminen Mika wrote in message <35d05a44.0@news.povray.org>...
>Steven Jones <ste### [at] spiderwebcomau> wrote:
>: Turning hollow off doesn't make a SOR object solid!  There seems to be
>: no way to make a surface of revolution object into a solid object.
>
>  Actually there are no solid objects in povray, only surfaces :)
>  If you use only primitives and CSG, the 'hollow' keyword makes absolutely
>no change to the scene, regardless of where you put it.
>
>--
>                                                              - Warp. -


Post a reply to this message

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