Project UV in objects local space

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 10 October 2012   #1
Project UV in objects local space

Anyone know of a way or a script that let me project a planar-uv in the objects local space? I.e if I have rotated an object so that the Y-axis point at a certain angle I want the UV planar projection to use that axis instead.

Thanks
 
Old 10 October 2012   #2
Set the "Fit projection" to "Best Plane"
__________________
Nightshade UV Editor (script for Maya) - Extends Maya's default UV Texture Editor with additional tools.
 
Old 10 October 2012   #3
dup,put it back to 0 0 0, do your planar proj and transfer attribute (UV) back to rotated object
__________________
Nothing last forever
 
Old 10 October 2012   #4
Originally Posted by DeadlyNightshade: Set the "Fit projection" to "Best Plane"


According to the manual, that seems to take the normal average of the selection. I want it to use the objects pivot.

Originally Posted by f3rry: dup,put it back to 0 0 0, do your planar proj and transfer attribute (UV) back to rotated object


Yes, that's what I did, was just looking for a quicker way to do it when you have several objects. Thanks anyway. Maybe I'll write some simple script later that does exacly that and post it here.
 
Old 10 October 2012   #5
Planar mapping > project from camera.
But then you need to find a way to place the camera (or a new one) on the vector that is the Y axis on the object.

With the MEL xform -command you can fetch the Y-axis from the object. Then using that vector in combination with the translate location of the object, you can calculate a second point along that vector. Once you know that point you place a camera there and set "focus of interest" to your object.

It's doable but is gonna take some time unless you are very familiar with MEL.
__________________
Nightshade UV Editor (script for Maya) - Extends Maya's default UV Texture Editor with additional tools.
 
Old 10 October 2012   #6
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 06:17 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.