ScriptSpot

Forum topic · General Scripting

Rotating and Object based on diffuse texture

By JokerMartini · 2010-11-17

Description

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.

Attachments
Comments (3)

its wirecolor solution

Anubis · 2010-11-18

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

JokerMartini · 2010-11-18

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