POV-Ray : Newsgroups : povray.general : Blob syntax changed? Server Time
1 Nov 2024 05:24:03 EDT (-0400)
  Blob syntax changed? (Message 1 to 4 of 4)  
From: wade
Subject: Blob syntax changed?
Date: 3 Jan 2005 22:55:00
Message: <web.41da1273f00d7ca4e4b238f30@news.povray.org>
I used to be able to specify the color and transparency, among other
details, for each element of a blob. Sence I have installed Version 3.6.1 I
get a syntax error for the following:

sphere { <2.07528,-0.466271,1.3702>, 0.718033, 1
texture { pigment { color rgb <0.692601,0.737684,0.5> } }
pigment { color rgbt <0.69260,0.73768,0.50000,0.37680> }}
finish { ambient 1}
scale <1,1,1>
rotate <0,0,0>
translate <0,0,0>
}

Where if I change it to:

sphere { <2.07528,-0.466271,1.3702>, 0.718033, 1
}

It works. What am I doing wrong, or how do I fix this?
Thanks!
-thewade


Post a reply to this message

From: Slime
Subject: Re: Blob syntax changed?
Date: 4 Jan 2005 00:17:29
Message: <41da26e9@news.povray.org>
> I used to be able to specify the color and transparency, among other
> details, for each element of a blob. Sence I have installed Version 3.6.1
I
> get a syntax error for the following:

You should state what the syntax error *is*, and where exactly it appeared.

I think the problem is that you're specifying a finish for the whole blob,
and you have to choose between either texturing each component or the whole
blob, but not both. So try moving the finish into each of the individual
component texture blocks.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: wade
Subject: Re: Blob syntax changed?
Date: 4 Jan 2005 22:10:01
Message: <web.41db5a27612628bbe4b238f30@news.povray.org>
Oops.
My problem was that I was specifying a pigment both inside and outside of
the texture brackets.
It works now!
Sorry!


Post a reply to this message

From: wade
Subject: Re: Blob syntax changed?
Date: 4 Jan 2005 23:05:01
Message: <web.41db673f612628bbe4b238f30@news.povray.org>
Is there a limit on the number of objects that can be in a blob?
I have a script with about 50,000 lines and about 20,000 objects that doesnt
show up in rendering, but when I delete 19,990 of thoes objects I can see
something in the rendered file.
Thanks!
-thewade


Post a reply to this message

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