PDA

View Full Version : PowerTile: Maxscript


Psan
07-11-2005, 05:15 AM
Here is a new script I wrote which renders randomly tiled textures and has two layers, one with opacity. So you can create better and noval textures using simple images.
<br /><a href="http://www.sanjaypadmane.com/Scripts/PowerTileV1.ms" target="_blank">Download</a>
<br />Just an example of what it does--
<br /><img src="http://www.sanjaypadmane.com/Scripts/PTexa.jpg" border="0">
<br />
<br />And a screenshot--
<br /><img src="http://www.sanjaypadmane.com/Scripts/Powertile.gif" border="0">
<br />
<br />You can save and feedback the output into image#1 again and can produce even more variety. Hope it will be of some use.
<br /> <img border="0" src="smileys/smiley1.gif" border="0">

3d_devil
07-11-2005, 11:31 AM
thankz for sharin that script man!!!<img src="smileys/smiley4.gif" border="0"><br>
<br>
let me experiment with it n c what all i can get from it!!<br>



<edited><editID>3d_devil</editID><editDate>38663.0012268519</editDate></edited>

anjali
11-11-2005, 04:03 PM
Hey Psan,<br>
<br>
Interesting script, can u give more details bt it.<br>

Psan
11-11-2005, 04:54 PM
Its simple really.
<br />You can make 5 kinds of textures -
<br />
<br />1] Select some pic in layer 1, of which you want a tiled texture. Set the tiling (and rotation if required).
<br />Hit render and you can see the plain old uniform tiles.
<br />
<br />2] In layer 2, select "Use Image#1", and set the ranges.
<br />Renders randomly scattered tiles over the plain tiles. No repeating tiles ....... good for grass, sand etc.
<br />
<br />3] In layer 2, select some other pic to tile it randomly on top of first layer. Gives a variety of textures from a two pics. Like random black spots on white etc.
<br />
<br />4] In layer 2, select an opacity map to tile the second pic on first layer but with an opacity map. Gives overlapped tiles e.g. leaves on the ground or moss on the brick wall or rust on a metal....without repitition.
<br />
<br />5] Use the final render as layer 1, combine more pics to get even better and complex textures of any size.