POV-Ray : Newsgroups : povray.newusers : Strange behaviour with material {} Server Time
5 Sep 2024 14:22:26 EDT (-0400)
  Strange behaviour with material {} (Message 1 to 5 of 5)  
From: Christoph Hormann
Subject: Strange behaviour with material {}
Date: 16 Oct 2000 09:25:35
Message: <39EB01D0.5AC12850@schunter.etc.tu-bs.de>
Maybe this is already a well known problem, but i'm just wondering:

union { 
  sphere { <1, 1, 1>, 0.5 material { XX } } 
  sphere { <1, 1, 0>, 0.5 material { XX } } 
  sphere { <0, 1, 1>, 0.5 material { XX } }  
  sphere { <0, 0, 0>, 0.5 material { XX } } 
}

makes povray put out:

'no pigment type given.'

when leaving away union {} or using only textures it does not create this
message. Same problem occurs with merge{}/intersection{}/difference{}.  

This does not hurt much since it renders as expected, but it's really strange.  

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Warp
Subject: Re: Strange behaviour with material {}
Date: 16 Oct 2000 09:52:44
Message: <39eb082c@news.povray.org>
Christoph Hormann <Chr### [at] schunteretctu-bsde> wrote:
: Maybe this is already a well known problem

  It is. I think it was corrected in some version of MegaPov.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Christoph Hormann
Subject: Re: Strange behaviour with material {}
Date: 16 Oct 2000 10:04:06
Message: <39EB0AD6.723EFE5D@schunter.etc.tu-bs.de>
Warp wrote:
> 
>   It is. I think it was corrected in some version of MegaPov.
> 

Well, neither in version 0.5a nor 0.6a ... Thanks anyway.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Ken
Subject: Re: Strange behaviour with material {}
Date: 16 Oct 2000 12:15:29
Message: <39EB2845.1A04AB45@pacbell.net>
Christoph Hormann wrote:
> 
> Warp wrote:
> >
> >   It is. I think it was corrected in some version of MegaPov.
> >
> 
> Well, neither in version 0.5a nor 0.6a ... Thanks anyway.

It's just a warning flag and doesn't affect the results anyway.
The only thing it might do is slow down parsing if you are using
several of these objects in a while loop and the warning is
repeated over and over again. If this is the case you may want
to turn off the warning message reporting feature.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Warp
Subject: Re: Strange behaviour with material {}
Date: 16 Oct 2000 12:24:38
Message: <39eb2bc6@news.povray.org>
Christoph Hormann <Chr### [at] schunteretctu-bsde> wrote:
: Well, neither in version 0.5a nor 0.6a ... Thanks anyway.

  Then I was wrong about megapov. The problem is known, however.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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