Message 1 of 2
Material from image file with parameters (including rotation)

Not applicable
09-05-2013
10:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Has anyone an example code of creating material from image file including the setting of parameters like seen in the materials dialog. I need to set the rotation angle along with the U/V tile and U/V offsets at the same time. This example shows part but does not do rotation.
http://adndevblog.typepad.com/autocad/2012/05/setting-u-and-v-tile-scale-of-a-newly-created-material...
I am trying to make the image fit a rotated face that is usually of the same proportions as the image.