POV-Ray : Newsgroups : povray.beta-test : non hollow flat disc : non hollow flat disc Server Time
2 Nov 2024 05:18:18 EDT (-0400)
  non hollow flat disc  
From:
Date: 11 Jan 2002 04:00:57
Message: <mi9t3uophkvlv9hfah5uv7enn2pamhuvd7@4ax.com>
POV 3.5 b 9.icl on PII 233 128 MB with NT 4 Sp 6

when I write such simple one-line scene:

   disc{100*z,-z 50 pigment{color rgb 1}finish{ambient 1}}

then parser parses ok and renderer renders fine
but when I change normal to z

   disc{100*z,z 50 pigment{color rgb 1}finish{ambient 1}}

then renderer work the same but parser says warning:
"Camera is inside a non-hollow object."

I have tested what min_extent and max_extent returned for both

#include "strings"
#local L1=disc{100*z,z 50 pigment{color rgb 1}finish{ambient 1}}
#local L2=disc{100*z,-z 50 pigment{color rgb 1}finish{ambient 1}}
#debug concat(VStr(min_extent(L1)),"\n")
#debug concat(VStr(min_extent(L2)),"\n")
#debug concat(VStr(max_extent(L1)),"\n")
#debug concat(VStr(max_extent(L2)),"\n")

So what is wrong ?

ABX


Post a reply to this message

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