POV-Ray : Newsgroups : povray.advanced-users : Is this a bug? : Is this a bug? Server Time
30 Jul 2024 10:19:55 EDT (-0400)
  Is this a bug?  
From: Nieminen Juha
Date: 3 Sep 1999 12:05:59
Message: <37cff1e7@news.povray.org>
Someone discovered this bug in povray.newusers. I'm confirming that it
really is a bug before posting a bug report.

  When rendering the following scene povray issues the warning "No pigment
type given" although there are no objects without pigment in the scene.
  If the 'material' statement is removed and 'Test' is used as 'texture'
instead, the warning disappears.

camera { location -z*5 look_at 0 }
light_source { <100,100,-100> 1 }

#declare Test=
  material
  { texture { pigment { rgb x } }
  }

union
{ sphere { -x,2 material { Test } }
  sphere { x,2 material { Test } }
}

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;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.