POV-Ray : Newsgroups : povray.general : error ? Server Time
2 Aug 2024 10:27:02 EDT (-0400)
  error ? (Message 1 to 3 of 3)  
From: gaom
Subject: error ?
Date: 7 Dec 2004 14:55:00
Message: <web.41b6099696c8f1adcf2ad5ad0@news.povray.org>
I have problems with use of declared names in the object definitions :

for instance :

#include "textures.inc"
plane {y, 0
 texture {
  ...
 }
 texture {
  ...
 }
}

works, but

#include "textures.inc"
plane {y, 0
 DMFWood6
}

generates an error: "No mathing } in 'plane', texture identifier found
instead.

Can anyone help me ?
I'm using POvray 3.6 for Windows


Post a reply to this message

From: Loki
Subject: Re: error ?
Date: 7 Dec 2004 15:00:00
Message: <web.41b60ba035561cf441ff36a70@news.povray.org>
You need to include the texture name in a texture block, ie

#declare T_TEST = texture {
  pigment... etc
}

plane {
  y,0
  texture { T_TEST }
}


Post a reply to this message

From: Warp
Subject: Re: error ?
Date: 7 Dec 2004 19:02:17
Message: <41b64489@news.povray.org>
gaom <nomail@nomail> wrote:
> #include "textures.inc"
> plane {y, 0
>  DMFWood6
> }

#include "textures.inc"
plane {y, 0
 texture { DMFWood6 }
}


-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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