POV-Ray : Newsgroups : povray.newusers : Problems using POVRaybuilt-in textures !!?? Server Time
5 Nov 2024 11:18:02 EST (-0500)
  Problems using POVRaybuilt-in textures !!?? (Message 1 to 3 of 3)  
From: eric
Subject: Problems using POVRaybuilt-in textures !!??
Date: 19 Aug 1999 11:30:19
Message: <37bc230b@news.povray.org>
When I try to use the Golds.inc and/or woods.inc which come with POVRay 3.1,
I got error messages.
PovRay looks like not understanding statements of these files such as :
"#declare GoldBase = <1.00, 0.875, 0.575>;  // mine again

// This set shifts the color toward orange by subtracting
// bluegreen from the base color.
#declare CVect1 = GoldBase  - <0.00, 0.20, 0.40>;"

 or things like 'translate -2*x' and '<0.5,0.5,1>*0.66'

With these statements, I have errors on '*' (which disapeear if I
replace -2*x by <-2,0,0>' for instance) and on the '-' of the substraction.

I don't understand these errors since I perfectly use the same kind of
statements in my own .POV (and they exist on other people's files).

What do you think of this problem ?


Post a reply to this message

From: Chris Huff
Subject: Re: Problems using POVRaybuilt-in textures !!??
Date: 19 Aug 1999 11:46:42
Message: <37BC2710.80E3F078@compuserve.com>
First: This probably belongs in povray.general, definitely not
povray.programming.
Second: What exactly are the error messages you are getting? And are you
doing anything before you include these files?


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Problems using POVRaybuilt-in textures !!??
Date: 19 Aug 1999 13:49:28
Message: <37bc43a8@news.povray.org>
In article <37bc230b@news.povray.org> , "eric" <ski### [at] hotmailcom>
wrote:

> When I try to use the Golds.inc and/or woods.inc which come with POVRay 3.1,
> I got error messages.
> PovRay looks like not understanding statements of these files such as :
> "#declare GoldBase = <1.00, 0.875, 0.575>;  // mine again
>
> // This set shifts the color toward orange by subtracting
> // bluegreen from the base color.
> #declare CVect1 = GoldBase  - <0.00, 0.20, 0.40>;"
>
>  or things like 'translate -2*x' and '<0.5,0.5,1>*0.66'
>
> With these statements, I have errors on '*' (which disapeear if I
> replace -2*x by <-2,0,0>' for instance) and on the '-' of the substraction.
>
> I don't understand these errors since I perfectly use the same kind of
> statements in my own .POV (and they exist on other people's files).
>
> What do you think of this problem ?

Try setting the version directive as first line in your scene file:

#version 3.1


    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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