|
23rd September 2012, 05:13 PM | #1 |
Member
Advanced member
Join Date: May 2007
Location: Deiningen, Germany
Posts: 45
|
Re: MOD: nudge in Texture Coordinate Editor
I'm using this modified code:
Code:
set nudge_dist 0.001 bind .uvedit <Up> "ac3d uv_move_relative 0 $nudge_dist" bind .uvedit <Down> "ac3d uv_move_relative 0 -$nudge_dist" bind .uvedit <Left> "ac3d uv_move_relative -$nudge_dist 0" bind .uvedit <Right> "ac3d uv_move_relative $nudge_dist 0" set nudge_far [expr $nudge_dist*10] bind .uvedit <Shift-Up> "ac3d uv_move_relative 0 $nudge_far" bind .uvedit <Shift-Down> "ac3d uv_move_relative 0 -$nudge_far" bind .uvedit <Shift-Left> "ac3d uv_move_relative -$nudge_far 0" bind .uvedit <Shift-Right> "ac3d uv_move_relative $nudge_far 0" set nudge_fine [expr $nudge_dist/10] bind .uvedit <Control-Up> "ac3d uv_move_relative 0 $nudge_fine" bind .uvedit <Control-Down> "ac3d uv_move_relative 0 -$nudge_fine" bind .uvedit <Control-Left> "ac3d uv_move_relative -$nudge_fine 0" bind .uvedit <Control-Right> "ac3d uv_move_relative $nudge_fine 0" Using the arrow-keys together with the Shift-key moves the selection 10 times as much as defined for "nudge_dist". Using the arrow-keys together with the Ctrl-key moves the selection a 10th of the defined value.
__________________
Mac Pro 8-Core - 12 GB RAM - ATI Radeon HD 5870 - VRAM 1024 MB - Mac OS X 10.6.7 - Cinema Display 20'' Whisky Air Charter - Virtual X-Plane Charter Company |
24th September 2012, 11:18 AM | #2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: MOD: nudge in Texture Coordinate Editor
great stuff!
|
24th September 2012, 11:22 AM | #3 |
Senior Member
Professional user
Join Date: Feb 2004
Location: Portland, OR
Posts: 604
|
Re: MOD: nudge in Texture Coordinate Editor
Great idea, one I've wished for for some time.
My only question is, what are the units for the nudge distance? Pixels? mm's? Or, can they be custom set?
__________________
Flight Sim Project Contributor My Gaming Rig: i5 2500K Quad-Core CPU at 3.3GHz MSI P67A-C43 mobo 4GB of PC12800 DDR3 memory Windows 7 1GB Galaxy GeForce GTX550 Ti video card GeForce 270.61 drivers (4/2011) Cougar joystick/throttle combo CH Pedals |
29th September 2012, 02:30 PM | #4 |
Senior Member
Professional user
Join Date: Nov 2007
Posts: 139
|
Re: MOD: nudge in Texture Coordinate Editor
This would be fractions of the texture size. 0.01 is 1/100 of the texture image height or width. The first key bindings were added into the defaults for AC3D 6.7. The control and shift bindings are 1/1000 and 1/10 of the texture image size.
|
|
|