POV-Ray : Newsgroups : povray.unix : colour-problem Server Time
31 Oct 2024 19:30:56 EDT (-0400)
  colour-problem (Message 1 to 2 of 2)  
From: Remco de Korte
Subject: colour-problem
Date: 29 Aug 1999 08:08:39
Message: <37C923FF.CB5903E7@xs4all.nl>
I'm new to this group because I alway use POV on Win-systems. I have a scene
that rendered fine on those systems but when I tried to render it on a
Unix-system it crashes.
Supposedly there's something wrong with a pigment-statement.
When it is simply:

  pigment{Red}

everythings fine, but when that is changed to :

  pigment{rgb<col.x+rand(rr)/10,col.y+rand(rr)/10,col.z+rand(rr)/10>}

or some variations on that form (taking a 3d-vector col and adding a 3d-vector
with random-values to it) POV gives an error-message.
Is there anyone here that can confirm or explain this?

Regards,

Remco


Post a reply to this message

From: Jon A  Cruz
Subject: Re: colour-problem
Date: 29 Aug 1999 12:01:12
Message: <37C959D8.20A3095B@geocities.com>
Remco de Korte wrote:

> I'm new to this group because I alway use POV on Win-systems. I have a scene
> that rendered fine on those systems but when I tried to render it on a
> Unix-system it crashes.
> Supposedly there's something wrong with a pigment-statement.
> When it is simply:
>
>   pigment{Red}
>
> everythings fine, but when that is changed to :
>
>   pigment{rgb<col.x+rand(rr)/10,col.y+rand(rr)/10,col.z+rand(rr)/10>}
>
> or some variations on that form (taking a 3d-vector col and adding a 3d-vector
> with random-values to it) POV gives an error-message.
> Is there anyone here that can confirm or explain this?
>

In general it helps greatly to include the actual error message.
It might just be that you need to add color.

pigment{color rgb<col.x+rand(rr)/10,col.y+rand(rr)/10,col.z+rand(rr)/10>}

Although the crashing is interesting. Again, an exact error is useful.

--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

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