|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi, I'm really stumped about this error
cone
{
<0,1,0>, 4, <0,1,0>, 0
//Texture {Polished_Chrome}
}
the yellow line highlights the closing accolade, after //ing the texture line
(the error first appeared on that line)
I've swapped the radii of the 2 caps (swapped the 4 and 0), to no avail.
(Using povray 3.6 for Windows)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 09/09/2010 03:25 PM, Marco wrote:
> Hi, I'm really stumped about this error
>
> cone
> {
> <0,1,0>, 4, <0,1,0>, 0
> //Texture {Polished_Chrome}
> }
>
> the yellow line highlights the closing accolade, after //ing the texture line
> (the error first appeared on that line)
>
> I've swapped the radii of the 2 caps (swapped the 4 and 0), to no avail.
>
> (Using povray 3.6 for Windows)
>
>
check your y-coordinate
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 09/09/2010 05:17 PM, Jim Holsenback wrote:
> On 09/09/2010 03:25 PM, Marco wrote:
>> Hi, I'm really stumped about this error
>>
>> cone
>> {
>> <0,1,0>, 4, <0,1,0>, 0
>> //Texture {Polished_Chrome}
>> }
>>
>> the yellow line highlights the closing accolade, after //ing the texture line
>> (the error first appeared on that line)
>>
>> I've swapped the radii of the 2 caps (swapped the 4 and 0), to no avail.
>>
>> (Using povray 3.6 for Windows)
>>
>>
> check your y-coordinate
ha-ha ... for that matter the whole sha-bang ... start and end points
cannot be the same!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Marco" <rpo### [at] gmailcom> wrote:
> Hi, I'm really stumped about this error
>
> cone
> {
> <0,1,0>, 4, <0,1,0>, 0
> //Texture {Polished_Chrome}
> }
>
> the yellow line highlights the closing accolade, after //ing the texture line
> (the error first appeared on that line)
>
> I've swapped the radii of the 2 caps (swapped the 4 and 0), to no avail.
>
> (Using povray 3.6 for Windows)
Povray is likewise stumped. The base and the apex are the same point, which
raises some interesting questions: In what direction is your cone pointing? Is
it a cone if it has a height of zero? Povray doesn't know, so it is asking you.
If you did want something like a cone with zero length, then you could use the
disc object.
HTH
-Reactor
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 09/09/2010 11:25 AM, Marco wrote:
> Hi, I'm really stumped about this error
>
> cone
> {
> <0,1,0>, 4,<0,1,0>, 0
> //Texture {Polished_Chrome}
> }
>
> the yellow line highlights the closing accolade, after //ing the texture line
> (the error first appeared on that line)
>
> I've swapped the radii of the 2 caps (swapped the 4 and 0), to no avail.
>
> (Using povray 3.6 for Windows)
>
>
Everybody overlooking the obvious? How about texture instead of Texture...
(And of course, I'm ignoring the fact that the two ends of the cone are the same, as
has already
been pointed out.)
-=- Larry -=-
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Hi, I'm really stumped about this error
>
> cone
> {
> <0,1,0>, 4,<0,1,0>, 0
> //Texture {Polished_Chrome}
> }
>
> the yellow line highlights the closing accolade, after //ing the texture line
> (the error first appeared on that line)
>
> I've swapped the radii of the 2 caps (swapped the 4 and 0), to no avail.
>
> (Using povray 3.6 for Windows)
>
>
The error message is about a "degenerate" cone or cylinder.
That means that both ends are at the same location. In that case, it
becomes impossible to know the orientation of the end surfaces.
Also, "Texture" is a user variable while "texture" is a reserved
keyword. It Texture have not been created in a #declare or #local, you
get an error for an undeclared variable.
What you must do is to make sure that the end positions are different.
If you realy want a zero length cone or cylinder, you should use the
disk object:
disk{<0,1,0>, Orientation, 4 [,Hole_Radius]texture{Polished_Chrome}}
"Orientation" is the direction of a line prependicular to the disk's
surface.
Alain
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Alain <aze### [at] qwertyorg> wrote:
> > Hi, I'm really stumped about this error
> >
> > cone
> > {
> > <0,1,0>, 4,<0,1,0>, 0
> > //Texture {Polished_Chrome}
> > }
> >
> > the yellow line highlights the closing accolade, after //ing the texture line
> > (the error first appeared on that line)
> >
> > I've swapped the radii of the 2 caps (swapped the 4 and 0), to no avail.
> >
> > (Using povray 3.6 for Windows)
> >
> >
>
> The error message is about a "degenerate" cone or cylinder.
> That means that both ends are at the same location. In that case, it
> becomes impossible to know the orientation of the end surfaces.
>
> Also, "Texture" is a user variable while "texture" is a reserved
> keyword. It Texture have not been created in a #declare or #local, you
> get an error for an undeclared variable.
>
> What you must do is to make sure that the end positions are different.
> If you realy want a zero length cone or cylinder, you should use the
> disk object:
>
> disk{<0,1,0>, Orientation, 4 [,Hole_Radius]texture{Polished_Chrome}}
> "Orientation" is the direction of a line prependicular to the disk's
> surface.
>
>
> Alain
Boy do I feel dumb about the 0-length cone! Thankd for being so kind to point it
out politely, everyone!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|