|
|
In article <3D5### [at] scifi-fantasycom>,
"Timothy R. Cook" <tim### [at] scifi-fantasycom> wrote:
> Alf Peake wrote:
> > blob{
> > sphere{ -x/2, 1, 1 pigment{ red 1 } }
> > sphere{ x/2, 1, 1 pigment{ green 1 } }
> > }
> >
> > Pov 3.5 (and 3.1) complain no pigment type given. Am I missing
> > something simple? I've only just noticed this while updating an old
> > 3.1 scene but docs 6.5.1.1 seem to say above is legal.
>
> A sphere needs X, Y, Z, radius, and colour. What you
> have there is being interpreted as the first four of
> those.
That is not even close to correct. Spherical blob components take a
vector for the center and a float radius, like the sphere primitive, and
an additional strength float value. You can also specify a texture for
individual components. You do not specify a color, but you can specify
only the pigment of a texture. This is exactly what is specified here.
This warning (not an error) is caused by the fact that the blob shape on
the whole doesn't have a texture defined. This is usually a mistake, so
it produces a warning. The components themselves have textures, so it
will render fine.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|