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.
Attachment | Size |
---|---|
tilefp.jpg | 181.95 KB |
Comments
Thanks! I had no idea about
Thanks! I had no idea about those I will investigate..
You can either create one via the SDK or use OSL.
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters