Rotating and Object based on diffuse texture

It would be cool to be able to rotate an object based off of its diffuse color/texture.

In the image there are 3 objects that all have the same material applied to them which is just a gradient in the diffuse slot.
Id like to control rotate the objects based on there average RBG value of the diffuse.

AttachmentSize
rotatecolor.jpg64.05 KB

Comments

Comment viewing options

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

its wirecolor solution

The material not affect the example approach because it use object wirecolor, but you can use it as base and modify it for materials.

my recent MAXScripts RSS (archive here)

JokerMartini's picture

Hey Anubis

Hey Anubis thanks for pointing me in that direction. That is a very unique approach/solution to what i was asking for. That could definitely work. Do you know off hand when making the Material the Wirecolor in the display properties if that would effect it at all?

JokerMartini

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

Anubis's picture

take a look at this

take a look at this thread:
http://www.scriptspot.com/forums/3ds-max/scripts-wanted/noise-rotation

it can helps you for the rotation part.

my recent MAXScripts RSS (archive here)

Comment viewing options

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