POV-Ray : Newsgroups : povray.newusers : textures and blocks/tiles : Re: textures and blocks/tiles Server Time
2 Nov 2024 17:22:02 EDT (-0400)
  Re: textures and blocks/tiles  
From: Warp
Date: 12 Nov 2003 19:59:03
Message: <3fb2d757@news.povray.org>
You can either apply the texture only once to the whole wall of stones
so that each stone will have its unique texture (the problem being that
sometimes it's too clear that there's a single texture applied to the
whole wall, which looks bad), or you can create a set of eg. 20 different
stones with different textures and then create the wall by randomly
selecting different stones and rotating/reversing them randomly.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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