POV-Ray : Newsgroups : povray.beta-test : non hollow flat disc Server Time
30 Jul 2024 12:24:36 EDT (-0400)
  non hollow flat disc (Message 1 to 10 of 22)  
Goto Latest 10 Messages Next 10 Messages >>>
From:
Subject: non hollow flat disc
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

From: Thorsten Froehlich
Subject: Re: non hollow flat disc
Date: 11 Jan 2002 06:34:10
Message: <3c3ecdb2$1@news.povray.org>

Skiba <abx### [at] babilonorg>  wrote:

> "Camera is inside a non-hollow object."
> So what is wrong ?

There is a camera somewhere on the disc, so there is nothing wrong.  You
only have to move the camera out of the way by adding one to the scene
rather than using the default position.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From:
Subject: Re: non hollow flat disc
Date: 11 Jan 2002 06:40:21
Message: <mgjt3uornocnc4j408f96qtgs5cg1qhrtj@4ax.com>
On Fri, 11 Jan 2002 12:34:08 +0100, "Thorsten Froehlich" <tho### [at] trfde>
wrote:
> There is a camera somewhere on the disc, so there is nothing wrong.

Seems you not read my reports carefully and makes always mistakes at first
reading :-)

I send whole scene. It contains _only_ disc and no light_source or camera
definition. So camera is default and it is at <0,0,0> and looks along z. Disc
has center at 100*z and radius 50. In any orientation it can't contain <0,0,0>.
And bounding report from last example shows it not contains <0,0,0>

ABX


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: non hollow flat disc
Date: 11 Jan 2002 08:01:26
Message: <3c3ee226@news.povray.org>

Skiba <abx### [at] babilonorg>  wrote:

> Seems you not read my reports carefully and makes always mistakes at first
> reading :-)
>
> I send whole scene. It contains _only_ disc and no light_source or camera
> definition. So camera is default and it is at <0,0,0> and looks along z. Disc
> has center at 100*z and radius 50. In any orientation it can't contain
> <0,0,0>. And bounding report from last example shows it not contains <0,0,0>

You are right, it isn't on the disc (I did not check your scene, that would
take too much time if I would check every scene posted - sorry!).  However,
I don't get the warning when rendering either of the two examples, so there
must be something else in your scene, maybe via an include header INI
option?

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From:
Subject: Re: non hollow flat disc
Date: 11 Jan 2002 08:31:31
Message: <d4pt3uc215d74d4cql76af96psjao1odvl@4ax.com>
On Fri, 11 Jan 2002 14:01:21 +0100, "Thorsten Froehlich" <tho### [at] trfde>
wrote:
> However,
> I don't get the warning when rendering either of the two examples, so there
> must be something else in your scene, maybe via an include header INI
> option?

It is not changed standard instalation.
And when I comment this disc or just remove it from scene then renderer returns
standard warning: No objects in scene. Default camera is placed properly becouse
discapear on image. So there must be something wrong. You test it with Mac,
right ? Can anybody confirm my report with windows? For me behaviour is
identical in both win compile versions.

ABX


Post a reply to this message

From: Christoph Hormann
Subject: Re: non hollow flat disc
Date: 11 Jan 2002 09:15:48
Message: <3C3EF387.5C8EFD2B@gmx.de>

> 
> It is not changed standard instalation.
> And when I comment this disc or just remove it from scene then renderer returns
> standard warning: No objects in scene. Default camera is placed properly becouse
> discapear on image. So there must be something wrong. You test it with Mac,
> right ? Can anybody confirm my report with windows? For me behaviour is
> identical in both win compile versions.

I don't get a warning here (WinNT, beta 9)


-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From:
Subject: Re: non hollow flat disc
Date: 11 Jan 2002 09:20:16
Message: <s0tt3u4im5dfg2e292hhocac3hsa2cqtp4@4ax.com>
On Fri, 11 Jan 2002 15:15:35 +0100, Christoph Hormann <chr### [at] gmxde>
wrote:
> I don't get a warning here (WinNT, beta 9)

with both -z and z as disc normal ?

strange, what processor ?
I'll check 95 at home.

ABX


Post a reply to this message

From:
Subject: Re: non hollow flat disc
Date: 11 Jan 2002 09:47:22
Message: <maut3u8cmlndkji4fo5uu6nl1cj123863r@4ax.com>
On Fri, 11 Jan 2002 15:15:35 +0100, Christoph Hormann
<chr### [at] gmxde> wrote:
> I don't get a warning here (WinNT, beta 9)

I just checked it on different machine with fresh instalation
and it still appear there:

// PLATFORM

POV 3.5 b 9, WinNT 4 on P4 with 2 GB of RAM

// WHOLE SCENE

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

// INI SETTING

list: [512x384, No AA]
input: +FN +GAout.txt +W4 +H3

// OUTPUT

Parsing Options
  Input file: D:\ins\abx\test.pov (compatible to version 3.5)
  Remove bounds........On  Split unions........Off
  Library paths: C:\Program Files\POV-Ray for Windows v3.5\INCLUDE
    C:\WINNT\Fonts
Output Options
  Image resolution 4 by 3 (rows 1 to 3, columns 1 to 4).
  Output file: spline.png, 24 bpp PNG
  Graphic display......On  (type: 0, palette: 3, gamma:  2.2)
  Mosaic preview......Off
  CPU usage histogram.Off
  Continued trace.....Off  Allow interruption..Off  Pause when done.....Off
  Verbose messages.....On
Tracing Options
  Quality:  9
  Bounding boxes.......On  Bounding threshold: 3 
  Light Buffer.........On  Vista Buffer.........On  Draw Vista Buffer...Off
  Antialiasing........Off
Animation Options
  Clock value....   0.000  (Animation off)
Redirecting Options
  All Streams to console..........On  and file out.txt
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On


Parsing...

Creating bounding slabs.
Scene contains 1 frame level objects; 0 infinite.

Displaying...
Rendering...
  -:--:-- Rendering line    1 of    3. Warning: Camera is inside a non-hollow object.
Fog and participating media
may not work as expected.
       
  -:--:-- Rendering line    2 of    3.        
  -:--:-- Rendering line    3 of    3.        

Done Tracing
Statistics for D:\ins\abx\gods\spline.pov, Resolution 4 x 3
----------------------------------------------------------------------------
Pixels:              12   Samples:              12   Smpls/Pxl: 1.00
Rays:                12   Saved:                 0   Max Level: 1/5
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Disc                                12               7     58.33
----------------------------------------------------------------------------
Calls to Noise:                  0   Calls to DNoise:             10
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Smallest Alloc:                 25 bytes   Largest:            12056
Peak memory used:            62789 bytes
----------------------------------------------------------------------------


ABX


Post a reply to this message

From: Anders K 
Subject: Re: non hollow flat disc
Date: 11 Jan 2002 10:01:11
Message: <3c3efe37$1@news.povray.org>
I can confirm this.

POV-Ray 3.5 beta 9, Windows 98, Athlon 700, 256 MB.

Anders

--
light_source{6#local D#macro B(E)#macro A(D)#declare#declare C=mod(E
D);E=(E-C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(C<3)
}cylinder{0(C=<1 2>).2translate<D+C*A(2)A(4)#else}intersection{torus
{1 .2}box{-2y}rotate<1 0C>*90translate<D+1A(2)*2+1#end-2 13>pigment{
rgb x}finish{specular 1}#end#end#end=-8;1B(445000298)B(519053970)B(
483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}


Post a reply to this message

From: Tom Melly
Subject: Re: non hollow flat disc
Date: 11 Jan 2002 10:04:45
Message: <3c3eff0d@news.povray.org>

news:maut3u8cmlndkji4fo5uu6nl1cj123863r@4ax.com...
>
> I just checked it on different machine with fresh instalation
> and it still appear there:
>
> // PLATFORM
>
> POV 3.5 b 9, WinNT 4 on P4 with 2 GB of RAM
>
> // WHOLE SCENE
>
> disc{100*z,z 50 pigment{color rgb 1}finish{ambient 1}}
>

I can confirm this error under W2K 3.5 b9 icl win32

Also, note that the following gives the same error (mainly making sure that
defaults are the defaults - but a hole in the disc makes no difference):

// perspective (default) camera
camera {
  location  0
  look_at   <0.0, 0.0,  10.0>
}
disc{<0,0,100>,z, 50, 45 pigment{color rgb 1}finish{ambient 1}}

Disc seems to be behaving like a plane (adding hollow to disc fixes the problem
with or without hole).

One other point - adding bounding and clipping to the disc makes no
difference...


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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