POV-Ray : Newsgroups : povray.beta-test : "No pigment type given" in blobs : "No pigment type given" in blobs Server Time
2 Nov 2024 09:19:15 EDT (-0400)
  "No pigment type given" in blobs  
From: Warp
Date: 17 Dec 2001 16:14:46
Message: <3c1e6046@news.povray.org>
Just a minor annoyance, but I think that it still is a bug:

  When all the components of a blob have a pigment, there shouldn't be any
reason to issue the warning "no pigment type given" even though the blob
itself has no pigment. However, povray does issue it.
  Example:

camera { location -z*10 look_at 0 angle 35 }
light_source { <100,200,-300>, 1 }

blob
{ sphere { -x,2,4 pigment { rgb x } }
  sphere { x,2,4 pigment { rgb y } }
}


-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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