CGTalk > Software > Autodesk Maya
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 10-12-2012, 02:07 PM   #1
Ekenryd
Bugged
portfolio
Thomas
3d/comp
Stockholm, Sweden
 
Join Date: Feb 2010
Posts: 373
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-12-2012, 02:16 PM   #2
DeadlyNightshade
Plz...
 
DeadlyNightshade's Avatar
portfolio
Martin Dahlin
Jr. Technical Artist
King
Stockholm, Sweden
 
Join Date: Jul 2012
Posts: 922
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-14-2012, 11:54 AM   #3
f3rry
Keeping my sanity
dan fred
Afghanistan
 
Join Date: Feb 2003
Posts: 434
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-15-2012, 07:53 AM   #4
Ekenryd
Bugged
portfolio
Thomas
3d/comp
Stockholm, Sweden
 
Join Date: Feb 2010
Posts: 373
Quote:
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.

Quote:
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-15-2012, 09:40 AM   #5
DeadlyNightshade
Plz...
 
DeadlyNightshade's Avatar
portfolio
Martin Dahlin
Jr. Technical Artist
King
Stockholm, Sweden
 
Join Date: Jul 2012
Posts: 922
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-15-2012, 09:40 AM   #6
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04:41 AM.


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