POV-Ray : Newsgroups : povray.newusers : Blocks of stone Server Time
26 Dec 2024 10:36:38 EST (-0500)
  Blocks of stone (Message 1 to 4 of 4)  
From: Mock26
Subject: Blocks of stone
Date: 16 Apr 2007 16:55:01
Message: <web.4623e1aeb0b0f7117a0e9df90@news.povray.org>
Is there a simple way to create a wall of what is supposed to be quarried
stone?  I tried creating individual blocks and stacking them as would a
brick layer, but the entire wall looked to be a single piece of stone with
lines because the stone texture was one continuous pattern.  I would
appreciate any help on this.  Thanks!


Take care and have a great day....



ciao,
john.


Post a reply to this message

From: Alain
Subject: Re: Blocks of stone
Date: 16 Apr 2007 17:07:20
Message: <4623e588$1@news.povray.org>
Mock26 nous apporta ses lumieres en ce 16-04-2007 16:50:
> Is there a simple way to create a wall of what is supposed to be quarried
> stone?  I tried creating individual blocks and stacking them as would a
> brick layer, but the entire wall looked to be a single piece of stone with
> lines because the stone texture was one continuous pattern.  I would
> appreciate any help on this.  Thanks!


> Take care and have a great day....



> ciao,
> john.


You can apply the texture to each block individualy. Another option use some 
variation on the cells pattern with a repeat warp.

-- 
Alain
-------------------------------------------------
Tricks and treachery are the practice of fools, that don't have brains enough to 
be honest.
Benjamin Franklin


Post a reply to this message

From: Florian Brucker
Subject: Re: Blocks of stone
Date: 17 Apr 2007 06:58:37
Message: <4624a85d$1@news.povray.org>
As Alain already mentioned: Use a different texture on each block. To
make things easier you can use the same texture but translate it to
different offsets each time:

	#include "colors.inc"
	#include "stones.inc"

	camera {
		location <5,0,-10>
		look_at x*5
	}

	light_source { <1,1,-1>*100 rgb 2 }

	background { rgb 1 }

	// Your texture here
	#local MyTexture = texture {
		T_Stone10
		scale 2
	}

	#local Block = box {
		// Your basic block without texture
		<0.02, 0.02, -0.23>, <0.98, 0.48, 0.23>
	}

	// Random seed
	#local S = seed(54890);

	#local a = 0;
	#while (a < 10)
		object {
			Block
			translate x*a
			texture {
				// Magic: Randomly translated texture
				MyTexture
				translate <rand(S),rand(S),rand(S)>*100
			}
		}

		#local a = a + 1;
	#end


HTH,
Florian


Post a reply to this message

From: Mock26
Subject: Re: Blocks of stone
Date: 23 Apr 2007 20:00:01
Message: <web.462d483888454a5e7a0e9df90@news.povray.org>
Thank you both Alain and Florian for your help!  It is greatly appreciated!


Post a reply to this message

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