POV-Ray : Newsgroups : povray.newusers : Texture declarations and object grouping : Re: Texture declarations and object grouping Server Time
5 Sep 2024 16:16:05 EDT (-0400)
  Re: Texture declarations and object grouping  
From: Gail Shaw
Date: 7 Feb 2001 00:53:47
Message: <3a80e2eb@news.povray.org>
The Cegorach <ceg### [at] yahoocom> wrote in message
news:a2e18tsfr93762o69mu3498gju9r2gicnj@4ax.com...
>
> When you speak of random transformations, is this achieved by a
> function with POV-Ray, such as a Do/While loop, or do you do it by
> hand?

I tend to use something like :

#declare rndTex=seed(4834);

texture {My_Marble_Texture translate
<100*rand(rnd),100*rand(rnd),100*rand(rnd)>}

Check the docs on seed and rand if not familiar with them

> I ask because I'm currently working on--you guessed--marble pillars.
> :-)

Granite pillars here, and just about finished.

Gail
********************************************************************
* gsh### [at] monotixcoza              * System.dat not found.         *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k  *
********************************************************************
* If at first you don't succeed, call it version 1.0               *
********************************************************************


Post a reply to this message

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