POV-Ray : Newsgroups : povray.general : Random textures : Re: Random textures Server Time
5 Aug 2024 04:15:45 EDT (-0400)
  Re: Random textures  
From: ingo
Date: 10 Dec 2002 16:39:58
Message: <Xns92E0E77C971Dseed7@povray.org>
in news:Xns### [at] 204213191226 Helen wrote:

> Is there any way to choose textures for some random objects defined
> in a macro?
> 

Declare the textures you want to choose from, then put the texture-names 
in an array and use the "Rand_Array_Item" from "arrays.inc". See chapter 
7.1 from the docs.

Ingo


Post a reply to this message

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