[Nuke-users] Re: UVProject not sticking?

2012-09-20 Thread thoma
Thanks Ivan!  How did I not think to use the axis.



___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Re: [Nuke-users] Re: UVProject not sticking?

2012-09-20 Thread Ivan Busquets
You can try reading that FBX into an Axis node instead. Usually you
should be able to get the local transforms for any given object. If
there's parented transforms, you can chain up different Axis nodes to
replicate the same hierarchy you had in Maya.

That failing... try StickyProject ;-)


On Thu, Sep 20, 2012 at 3:06 PM, thoma
 wrote:
> ahhh yes. I guess i was remembering UVproject as having a bit more
> functionality than it does. In that case...not having used stickyProject,
> does anyone know how to get transformational data out of an fbx that doesn't
> include it in the dropdowns? I have some geo with an animated parent
> transform in maya but the parent node/transformation matrix doesn't show in
> nuke. It only is accessible by enabling 'all objects' and 'read transform
> from file' on the fbx node. Is there any way to pull it out? (in this case
> to make my own little sticky projection)
>
> Thanks
> Thomas
>
> ___
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


[Nuke-users] Re: UVProject not sticking?

2012-09-20 Thread thoma
ahhh yes.  I guess i was remembering UVproject as having a bit more 
functionality than it does.  In that case...not having used stickyProject, does 
anyone know how to get transformational data out of an fbx that doesn't include 
it in the dropdowns?  I have some geo with an animated parent transform in maya 
but the parent node/transformation matrix doesn't show in nuke.  It only is 
accessible by enabling  'all objects' and 'read transform from file' on the fbx 
node.  Is there any way to pull it out? (in this case to make my own little 
sticky projection)

Thanks
Thomas



___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Re: [Nuke-users] Re: UVProject not sticking?

2012-09-20 Thread Ivan Busquets
Hi Thoma,

My problem is that I'm using an FBX with animated geo
>

If I understand correctly your situation, I'm not sure UVProject has ever
worked the way you expect it to.

I think UVProject does do its job correctly. The reason you don't get your
textures to "stick" is that your UV-baking is happening for each frame of
the animated geo. As in, on every frame, UV project is doing its job
correctly, but on the next frame the baked UVs will be replaced again (with
those corresponding to the projection onto the new position of the geo).
The wording is a bit confusing, but hope it makes sense.

If you want to bake UVs based on the projection at a certain reference
frame (and therefore have the textures stick to the animated geo), you can
try StickyProject from Nukepedia.

http://www.nukepedia.com/plugins/3d/stickyproject/

Hope that helps.

Ivan


On Thu, Sep 20, 2012 at 11:15 AM, thoma
wrote:

> **
> Hi Deke,
>
> I can't post exactly what I'm working on but I'll provide a general
> illustration of what I'm talking about below. My problem is that I'm using
> an FBX with animated geo and the transforms for that geo aren't accessible
> seperately within nuke. Plus it's the principle that this node doesn't seem
> to work anymore! So before anyone says it - my real world scenario doesn't
> allow for the parented projector camera example below
>
> *Code:*
>
> set cut_paste_input [stack 0]
> version 6.3 v4
> BackdropNode {
>  inputs 0
>  name BackdropNode3
>  tile_color 0x99ff
>  note_font_size 25
>  selected true
>  xpos -3153
>  ypos 2802
>  bdwidth 1339
>  bdheight 760
> }
> Camera2 {
>  inputs 0
>  name Camera12
>  selected true
>  xpos -2278
>  ypos 3327
> }
> push $cut_paste_input
> Axis2 {
>  translate {{curve i x1 0 x20 0.2} {curve i x1 0} {curve i x1 0 x20 0}}
>  name Axis3
>  selected true
>  xpos -2278
>  ypos 3046
> }
> set N2f2977d0 [stack 0]
> push $N2f2977d0
> Camera2 {
>  name Camera13
>  selected true
>  xpos -2311
>  ypos 3147
> }
> CheckerBoard2 {
>  inputs 0
>  name CheckerBoard4
>  selected true
>  xpos -2152
>  ypos 3030
> }
> RotoPaint {
>  curves {AnimTree: "" {
>  Version: 1.2
>  Flag: 0
>  RootNode: 1
>  Node: {
>   NodeName: "Root" {
>Flag: 512
>NodeType: 1
>Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1024 S 0 578
>NumOfAttributes: 11
>"vis" S 0 1 "opc" S 0 1 "mbo" S 0 1 "mb" S 0 1 "mbs" S 0 0.5 "fo" S 0 1
> "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "pt" S 0 0
>   }
>   NumOfChildren: 1
>   Node: {
>NodeName: "Bezier1" {
> Flag: 576
> NodeType: 3
> CurveGroup: "" {
>  Transform: 0 0 S 1 120 0 S 1 120 0 S 1 120 0 S 1 120 1 S 1 120 1 S 1
> 120 0 S 1 120 1274.83 S 1 120 730.333
>  Flag: 0
>  NumOfCubicCurves: 2
>  CubicCurve: "" {
>   Type: 0 Flag: 8192 Dim: 2
>   NumOfPoints: 36
>   0 S 1 120 0 S 1 120 2 0 0 S 1 120 1524 S 1 120 880 0 0 S 1 120 0 S 1
> 120 -2 0 0 S 1 120 4 S 1 120 -2 0 0 S 1 120 1434 S 1 120 944 0 0 S 1 120 -4
> S 1 120 2 0 0 S 1 120 34 S 1 120 32 0 0 S 1 120 1206 S 1 120 870 0 0 S 1
> 120 -34 S 1 120 -32 0 0 S 1 120 14 S 1 120 10 0 0 S 1 120 1128 S 1 120 800
> 0 0 S 1 120 -14 S 1 120 -10 0 0 S 1 120 32 S 1 120 20 0 0 S 1 120 1062 S 1
> 120 762 0 0 S 1 120 -32 S 1 120 -20 0 0 S 1 120 -8 S 1 120 8 0 0 S 1 120
> 1016 S 1 120 632 0 0 S 1 120 8 S 1 120 -8 0 0 S 1 120 -8 S 1 120 4 0 0 S 1
> 120 1042 S 1 120 606 0 0 S 1 120 8 S 1 120 -4 0 0 S 1 120 -14 S 1 120 -8 0
> 0 S 1 120 1178 S 1 120 582 0 0 S 1 120 14 S 1 120 8 0 0 S 1 120 -14 S 1 120
> -4 0 0 S 1 120 1206 S 1 120 596 0 0 S 1 120 14 S 1 120 4 0 0 S 1 120 -212 S
> 1 120 30 0 0 S 1 120 1352 S 1 120 644 0 0 S 1 120 212 S 1 120 -30 0 0 S 1
> 120 -4 S 1 120 -28 0 0 S 1 120 1594 S 1 120 676 0 0 S 1 120 4 S 1 120 28 0
> 0 S 1 120 6 S 1 120 -6 0 0 S 1 120 1556 S 1 120 772 0 0 S 1 120 -6 S 1 120
> 6 0
>  }
>  CubicCurve: "" {
>   Type: 0 Flag: 8192 Dim: 2
>   NumOfPoints: 36
>   0 S 1 120 0 S 1 120 2 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120 0 S 1 120
> -2 0 0 S 1 120 4 S 1 120 -2 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120 -4 S 1 120
> 2 0 0 S 1 120 34 S 1 120 32 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120 -34 S 1 120
> -32 0 0 S 1 120 14 S 1 120 10 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120 -14 S 1
> 120 -10 0 0 S 1 120 32 S 1 120 20 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120 -32 S
> 1 120 -20 0 0 S 1 120 -8 S 1 120 8 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120 8 S
> 1 120 -8 0 0 S 1 120 -8 S 1 120 4 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120 8 S 1
> 120 -4 0 0 S 1 120 -14 S 1 120 -8 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120 14 S
> 1 120 8 0 0 S 1 120 -14 S 1 120 -4 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120 14 S
> 1 120 4 0 0 S 1 120 -212 S 1 120 30 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120 212
> S 1 120 -30 0 0 S 1 120 -4 S 1 120 -28 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120
> 4 S 1 120 28 0 0 S 1 120 6 S 1 120 -6 0 0 S 1 120 0 S 1 120 0 0 0 S 1 120
> -6 S 1 120 6 0
>  }
>  NumOfAttributes: 44
>  "vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S
> 0 0 "bo" S 0 0 "ao

Re: [Nuke-users] Re: UVProject not sticking?

2012-09-20 Thread Howard Jones
 all
 toolbar_source_transform_scale {1 1}
 toolbar_source_transform_center {320 240}
 colorOverlay 0
 lifetime_type "all frames"
 lifetime_start 120
 lifetime_end 120
 motionblur_shutter_offset_type centred
 source_black_outside true
 createNewTrack {{-1} "-1\t(none)\t-1" "1000\tNew Track Layer\t1000"}
 name RotoPaint15
 selected true
 xpos -1234
 ypos 1429
}
Card2 {
 control_points {3 3 3 6 

1 {-0.5 -0.5 0} 0 {0.166865 0 0} 0 {0 0 0} 0 {0 0.166865 0} 0 {0 0 0} 0 
{0 0 0} 
1 {0 -0.5 0} 0 {0.166716 0 0} 0 {-0.166716 0 0} 0 {0 0.166865 0} 0 
{0 0 0} 0 {0.5 0 0} 
1 {0.5 -0.5 0} 0 {0 0 0} 0 {-0.166865 0 0} 0 {0 0.166865 0} 0 {0 0 0} 0 
{1 0 0} 
1 {-0.5 0 0} 0 {0.166865 0 0} 0 {0 0 0} 0 {0 0.166716 0} 0 {0 
-0.166716 0} 0 {0 0.5 0} 
1 {0 0 0} 0 {0.166716 0 0} 0 {-0.166716 0 0} 0 {0 0.166716 0} 0 {0 
-0.166716 0} 0 {0.5 0.5 0} 
1 {0.5 0 0} 0 {0 0 0} 0 {-0.166865 0 0} 0 {0 0.166716 0} 0 {0 
-0.166716 0} 0 {1 0.5 0} 
1 {-0.5 0.5 0} 0 {0.166865 0 0} 0 {0 0 0} 0 {0 0 0} 0 {0 -0.166865 0} 0 
{0 1 0} 
1 {0 0.5 0} 0 {0.166716 0 0} 0 {-0.166716 0 0} 0 {0 0 0} 0 {0 
-0.166865 0} 0 {0.5 1 0} 
1 {0.5 0.5 0} 0 {0 0 0} 0 {-0.166865 0 0} 0 {0 0 0} 0 {0 -0.166865 0} 0 
{1 1 0} }
 name Card4
 selected true
 xpos -1234
 ypos 1476
}
UVProject {
 inputs 2
 render_mode textured
 frustum_culling true
 name UVProject4
 selected true
 xpos -1234
 ypos 1534
}
TransformGeo {
 translate {{curve i x1 0 x20 0.4} {curve i x1 0 x20 0.2} {curve i x1 
-4.70424 x20 -4.5042}}
 name TransformGeo1
 selected true
 xpos -1234
 ypos 1603
}
push 0
ScanlineRender {
 inputs 3
 output_motion_vectors_type accurate
 name ScanlineRender6
 selected true
 xpos -1234
 ypos 1664
}



 
Howard



>
> From: thoma 
>To: nuke-users@support.thefoundry.co.uk 
>Sent: Thursday, 20 September 2012, 19:15
>Subject: [Nuke-users] Re: UVProject not sticking?
> 
>
>Hi Deke,
>
>I can't post exactly what I'm working on but I'll provide a general 
>illustration of what I'm talking about below.  My problem is that I'm using an 
>FBX with animated geo and the transforms for that geo aren't accessible 
>seperately within nuke.  Plus it's the principle that this node doesn't seem 
>to work anymore!  So before anyone says it - my real world scenario doesn't 
>allow for the parented projector camera example below
>
>
>Code:  
>
>
>set cut_paste_input [stack 0]
>version 6.3 v4
>BackdropNode {
> inputs 0
> name BackdropNode3
> tile_color 0x99ff
> note_font_size 25
> selected true
> xpos -3153
> ypos 2802
> bdwidth 1339
> bdheight 760
>}
>Camera2 {
> inputs 0
> name Camera12
> selected true
> xpos -2278
> ypos 3327
>}
>push $cut_paste_input
>Axis2 {
> translate {{curve i x1 0 x20 0.2} {curve i x1 0} {curve i x1 0 x20 0}}
> name Axis3
> selected true
> xpos -2278
> ypos 3046
>}
>set N2f2977d0 [stack 0]
>push $N2f2977d0
>Camera2 {
> name Camera13
> selected true
> xpos -2311
> ypos 3147
>}
>CheckerBoard2 {
> inputs 0
> name CheckerBoard4
> selected true
> xpos -2152
> ypos 3030
>}
>RotoPaint {
> curves {AnimTree: "" {
> Version: 1.2
> Flag: 0
> RootNode: 1
> Node: {
>  NodeName: "Root" {
>   Flag: 512
>   NodeType: 1
>   Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1024 S 0 578 
>   NumOfAttributes: 11
>   "vis" S 0 1 "opc" S 0 1 "mbo" S 0 1 "mb" S 0 1 "mbs" S 0 0.5 "fo" S 0 1 
>"fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "pt" S 0 0 
>  }
>  NumOfChildren: 1
>  Node: {
>   NodeName: "Bezier1" {
>    Flag: 576
>    NodeType: 3
>    CurveGroup: "" {
>     Transform: 0 0 S 1 120 0 S 1 120 0 S 1 120 0 S 1 120 1 S 1 120 1 S 1 120 
>0 S 1 120 1274.83 S 1 120 730.333 
>     Flag: 0
>     NumOfCubicCurves: 2
>     CubicCurve: "" {
>      Type: 0 Flag: 8192 Dim: 2
>      NumOfPoints: 36
>      0 S 1 120 0 S 1 120 2 0 0 S 1 120 1524 S 1 120 880 0 0 S 1 120 0 S 1 120 
>-2 0 0 S 1 120 4 S 1 120 -2 0 0 S 1 120 1434 S 1 120 944 0 0 S 1 120 -4 S 1 
>120 2 0 0 S 1 120 34 S 1 120 32 0 0 S 1 120 1206 S 1 120 870 0 0 S 1 120 -34 S 
>1 120 -32 0 0 S 1 120 14 S 1 120 10 0 0 S 1 120 1128 S 1 120 800 0 0 S 1 120 
>-14 S 1 120 -10 0 0 S 1 120 32 S 1 120 20 0 0 S 1 120 1062 S 1 120 762 0 0 S 1 
>120 -32 S 1 120 -20 0 0 S 1 120 -8 S 1 120 8 0 0 S 1 120 1016 S 1 120 632 0 0 
>S 1 120 8 S 1 120 -8 0 0 S 1 120 -8 S 1 120 4 0 0 S 1 120 1042 S 1 120 606 0 0 
>S 1 120 8 S 1 120 -4 0 0 S 1 120 -14 S 1 120 -8 0 0 S 1 120 1178 S 1 120 582 0 
>0 S 1 120 14 S

Re: [Nuke-users] Re: UVProject not sticking?

2012-09-18 Thread Deke Kincaid
can you post an example with checkerboards?

-deke

On Tue, Sep 18, 2012 at 9:46 AM, thoma wrote:

> **
> Has anyone gotten an answer to this one? Those workarounds are helpful but
> should we really need them at all when the functionality of UVproject was
> fine before? I'm having the same issues - essentially UVproject behaving
> the same way as Project3D - and I'm pretty certain that the last time i
> used the node it was working as advertised (sticky projection with new
> frustrum derived UVs). Unless I'm simply doing it wrong I'm thinking
> bug report?
>
> ___
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

[Nuke-users] Re: UVProject not sticking?

2012-09-18 Thread thoma
Has anyone gotten an answer to this one?  Those workarounds are helpful but 
should we really need them at all when the functionality of UVproject was fine 
before?  I'm having the same issues - essentially UVproject behaving the same 
way as Project3D - and I'm pretty certain that the last time i used the node it 
was working as advertised (sticky projection with new frustrum derived UVs).  
Unless I'm simply doing it wrong I'm thinking bug report?



___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users