Custom TextureMap

Is there more custom access to textureMap plugin creation than extending an existing class as shown here? http://help.autodesk.com/view/3DSMAX/2015/ENU/?guid=__files_GUID_26D082D...

What I would like to do is extend the Tiles (Bricks) textureMap and add a map slot for a gradient ramp to have a gradient tile texture. Ive been able to get to get some similar functionality with PFlow using techniques shown here: https://www.youtube.com/watch?v=KN-teDDx-lM

I imagine I would need to have a 2D array of points at the center of each tile, and check the intersection of each point with the gradient map, then clamp the color to a value. The mix map is able to access overlapping textures by masking them, is there any way to access this or similar functionality?

Attached is a visual of what I have in my head, but using forestPack. This functionality would also be helpful for creating mosaic textures.

AttachmentSize
tilefp.jpg181.95 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ljennings's picture

Thanks! I had no idea about

Thanks! I had no idea about those I will investigate..

Swordslayer's picture

 

You can either create one via the SDK or use OSL.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.