Still centered on the card or at the origin?
If you write geo it looses the transformations but would be at whatever
position it was at. So its baked the position. Then its transforms are at 0,0,0
however that is world position.
3 ways to do the same thing. Maybe its the transformGeo method you want, but if
you are after a local axis vs world axis I find Nuke is not so helpful here, as
you only have the jack for local axis which means you cant adjust its local
position through a node and tyoe in exact positions except using the 3rd method
below and do your local transforms on the first transform (as indicated)
Dont know if thats any help, (note my background is NOT 3D so I may have
approached this all arse over tit.)
Cheers
Howard
set cut_paste_input [stack 0]
version 7.0 v6
BackdropNode {
inputs 0
name BackdropNode1
tile_color 0x7171c600
note_font_size 42
selected true
xpos -234
ypos -103
bdwidth 103
bdheight 404
}
BackdropNode {
inputs 0
name BackdropNode2
tile_color 0x8e8e3800
note_font_size 42
selected true
xpos -1
ypos -75
bdheight 291
}
BackdropNode {
inputs 0
name BackdropNode3
tile_color 0xaaaaaa00
note_font_size 42
selected true
xpos 176
ypos -83
bdwidth 104
bdheight 403
}
CheckerBoard2 {
inputs 0
name CheckerBoard1
selected true
xpos -224
ypos -23
}
Cube {
cube {-0.5 -0.5 -0.5600000024 0.5 0.5 0.5}
translate {-25.89999962 3.690000057 -0.8700000048}
rotate {39.89070898 102.8261689 8.307258559}
name Cube1
selected true
xpos -224
ypos 77
}
WriteGeo {
file ~/Desktop/test.obj
file_type obj
name WriteGeo1
selected true
xpos -224
ypos 138
}
push $cut_paste_input
ReadGeo2 {
file /Users/whitebeam/Desktop/test.obj
rotate {56 0 0}
name ReadGeo1
selected true
xpos -231
ypos 222
}
CheckerBoard2 {
inputs 0
name CheckerBoard2
selected true
xpos 7
ypos -22
}
Cube {
cube {-0.5 -0.5 -0.5600000024 0.5 0.5 0.5}
translate {-25.89999962 3.690000057 -0.8700000048}
rotate {39.89070898 102.8261689 8.307258559}
name Cube2
selected true
xpos 7
ypos 76
}
TransformGeo {
rotate {56 0 0}
name TransformGeo1
selected true
xpos 7
ypos 151
}
CheckerBoard2 {
inputs 0
name CheckerBoard3
selected true
xpos 185
ypos -17
}
Cube {
name Cube3
selected true
xpos 185
ypos 83
}
TransformGeo {
name TransformGeo4
label "Use as a local transfrom"
selected true
xpos 185
ypos 129
}
TransformGeo {
translate {-25.89999962 3.690000057 -0.8700000048}
rotate {39.89070898 102.8261689 8.307258559}
name TransformGeo3
selected true
xpos 185
ypos 207
}
TransformGeo {
rotate {56 0 0}
name TransformGeo2
selected true
xpos 185
ypos 274
}
________________________________
From: Matan Arbel <[email protected]>
To: Howard Jones <[email protected]>; Nuke user discussion
<[email protected]>
Sent: Tuesday, 14 May 2013, 9:44
Subject: Re: Freeze transformation in nuke
How should a write geo do it?
A write geo will write the object again.
I wondered if there's an easy way to freeze the transformation. Lets say I have
a card at 2.3,1,4
And it's rotations are 12.32 , 18 , 180.
I want it to stay in the same place but the transformations to reset to 0,0,0,
Can I do this with the write geo without having to export an fbx?
Sorry for the noob questions :)
On Tuesday, May 14, 2013, Howard Jones wrote:
would writeGeo do it?
>
>
>H
>
>________________________________
> From: Matan Arbel <[email protected]>
>To: Nuke user discussion <[email protected]>
>Sent: Tuesday, 14 May 2013, 9:30
>Subject: [Nuke-users] Freeze transformation in nuke
>
>
>
>Hey all.
>
>
>
>
>One thing I can't get my head around.
>In 3d programs u have the option to freeze/delete history if a transformation
>so u can animate things more easily.
>
>
>In nuke the use of axis or transformGeo nodes is a pain since u have have to
>connect your nodes from 0,0,0 of the world.
>
>
>Is there a script or a simple way to achieve it in nuke?
>
>
>Thanks all.
>
>--
>Sent from Gmail Mobile
>
>_______________________________________________
>Nuke-users mailing list
>[email protected], http://forums.thefoundry.co.uk/
>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
--
Sent from Gmail Mobile_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users