|
|
> Does anyone have any ideas about how to lay out a large area of standard 1-foot
> square linoleum floor tiles?
> I'm mostly concerned with 1) providing for a slight unevenness where the floor
> tiles meet edge to edge, and getting a random orientation of the texture for
> each tile.
>
> Is there a way to modify the brick pigment pattern to obtain a grid,
>
> or would the best bet be to iterate a thin box across the area with a normal to
> give an uneven edge in the z-plane? Maybe clip the tile with a crud-textured
> box to simulate the dirt buildup in the cracks...
>
>
I'd go for a cells pattern.
First, declare your base pattern going from <0,0> to <1,1> on the X-Z
plane. DON'T use the once keyword. You WANT the patern to repeat.
Next, create a cells pattern as follow:
#declare My_Tiles= texture{cells
texture_map{
[0.25 texture{Base_Tiles}]
[0.25 texture{Base_Tiles rotate 90*y}]
[0.50 texture{Base_Tiles rotate 90*y}]
[0.50 texture{Base_Tiles rotate 180*y}]
[0.75 texture{Base_Tiles rotate 180*y}]
[0.75 texture{Base_Tiles rotate 270*y}]
}
}
Next, you only need to properly scale this texture to fit your scene.
If you translate that pattern 1 unit verticaly, you'll get a totaly
different set of rotations.
Alain
Post a reply to this message
|
|