Created
July 29, 2011 02:44
-
-
Save dbr/1113030 to your computer and use it in GitHub Desktop.
Projecting env-map into geo, and making animated env-map from this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /Applications/Nuke6.2v1-32/NukeX6.2v1.app/../Nuke6.2v1.app/Contents/MacOS/Nuke6.2v1 -nx | |
version 6.2 v1 | |
define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?> | |
<layout version="1.0"> | |
<window x="0" y="22" w="1440" h="874" screen="0"> | |
<splitter orientation="1"> | |
<split size="910"></split> | |
<splitter orientation="1"> | |
<split size="40"></split> | |
<dock id="" hideTitles="1" activePageId="Toolbar.1"> | |
<page id="Toolbar.1"></page> | |
</dock> | |
<split size="866"></split> | |
<splitter orientation="2"> | |
<split size="424"></split> | |
<dock id="" activePageId="Viewer.1"> | |
<page id="Viewer.1"></page> | |
</dock> | |
<split size="424"></split> | |
<dock id="" activePageId="DAG.1"> | |
<page id="DAG.1"></page> | |
<page id="Curve Editor.1"></page> | |
<page id="DopeSheet.1"></page> | |
</dock> | |
</splitter> | |
</splitter> | |
<split size="526"></split> | |
<splitter orientation="2"> | |
<split size="424"></split> | |
<dock id="" activePageId="Properties.1"> | |
<page id="Properties.1"></page> | |
</dock> | |
<split size="424"></split> | |
<dock id="" activePageId="Script Editor.1"> | |
<page id="Script Editor.1"></page> | |
</dock> | |
</splitter> | |
</splitter> | |
</window> | |
</layout> | |
} | |
Root { | |
inputs 0 | |
frame 3 | |
last_frame 24 | |
format "2048 1556 0 0 2048 1556 1 2K_Super_35(full-ap)" | |
proxy_type scale | |
proxy_format "1024 778 0 0 1024 778 1 1K_Super_35(full-ap)" | |
} | |
BackdropNode { | |
inputs 0 | |
name BackdropNode1 | |
tile_color 0x4ca300 | |
label "Env map" | |
note_font_size 22 | |
xpos 152 | |
ypos -615 | |
bdheight 180 | |
} | |
BackdropNode { | |
inputs 0 | |
name BackdropNode2 | |
tile_color 0x7171c600 | |
label "Use animated map" | |
note_font_size 22 | |
xpos -253 | |
ypos 146 | |
bdwidth 212 | |
bdheight 303 | |
} | |
Camera2 { | |
inputs 0 | |
translate {0 1.049999952 10.80000019} | |
rotate {-3.663000107 -4.662000179 0} | |
name Camera8 | |
xpos -243 | |
ypos 379 | |
} | |
Phong { | |
inputs 0 | |
name Phong1 | |
xpos -225 | |
ypos 251 | |
} | |
Sphere { | |
name Sphere1 | |
xpos -225 | |
ypos 275 | |
} | |
Camera2 { | |
inputs 0 | |
translate {{curve i x1 0 x24 0} {curve i x1 0 x24 2.599999905} {curve i x1 5 x24 -3.5}} | |
projection_mode spherical | |
name Camera1 | |
label "spherical projection\nAnimated to hero object pos" | |
xpos -224 | |
ypos 49 | |
} | |
Camera2 { | |
inputs 0 | |
rotate {-90 0 0} | |
focal 18 | |
haperture 36 | |
vaperture 36 | |
name Camera7 | |
label "\[value rotate]" | |
xpos 1381 | |
ypos -373 | |
} | |
CheckerBoard2 { | |
inputs 0 | |
name CheckerBoard1 | |
xpos 162 | |
ypos -535 | |
} | |
Reformat { | |
type "to box" | |
box_width 2048 | |
box_height 1024 | |
box_fixed true | |
name Reformat1 | |
xpos 162 | |
ypos -463 | |
} | |
Dot { | |
name Dot1 | |
xpos 196 | |
ypos -411 | |
} | |
set N27d22180 [stack 0] | |
Dot { | |
name Dot2 | |
xpos 450 | |
ypos -411 | |
} | |
set N1c5cc170 [stack 0] | |
Dot { | |
name Dot4 | |
xpos 727 | |
ypos -411 | |
} | |
set N17813320 [stack 0] | |
Dot { | |
name Dot3 | |
xpos 986 | |
ypos -411 | |
} | |
set N26a847c0 [stack 0] | |
Dot { | |
name Dot5 | |
xpos 1230 | |
ypos -411 | |
} | |
set N27dc0970 [stack 0] | |
Dot { | |
name Dot6 | |
xpos 1530 | |
ypos -411 | |
} | |
SphericalTransform { | |
input "Lat Long map" | |
output Cube | |
out_rx {{parent.Camera7.rotate.x}} | |
out_ry {{parent.Camera7.rotate.y}} | |
out_rz {{parent.Camera7.rotate.z}} | |
fix true | |
name SphericalTransform6 | |
xpos 1496 | |
ypos -331 | |
} | |
Project3D { | |
inputs 2 | |
name Project3D7 | |
xpos 1371 | |
ypos -294 | |
} | |
Camera2 { | |
inputs 0 | |
rotate {90 0 0} | |
focal 18 | |
haperture 36 | |
vaperture 36 | |
name Camera6 | |
label "\[value rotate]" | |
xpos 1081 | |
ypos -373 | |
} | |
push $N27dc0970 | |
SphericalTransform { | |
input "Lat Long map" | |
output Cube | |
out_rx {{parent.Camera6.rotate.x}} | |
out_ry {{parent.Camera6.rotate.y}} | |
out_rz {{parent.Camera6.rotate.z}} | |
fix true | |
name SphericalTransform5 | |
xpos 1196 | |
ypos -331 | |
} | |
Project3D { | |
inputs 2 | |
name Project3D6 | |
xpos 1071 | |
ypos -294 | |
} | |
Camera2 { | |
inputs 0 | |
rotate {0 270 0} | |
focal 18 | |
haperture 36 | |
vaperture 36 | |
name Camera5 | |
label "\[value rotate]" | |
xpos 837 | |
ypos -373 | |
} | |
push $N26a847c0 | |
SphericalTransform { | |
input "Lat Long map" | |
output Cube | |
out_rx {{parent.Camera5.rotate.x i}} | |
out_ry {{parent.Camera5.rotate.y i}} | |
out_rz {{parent.Camera5.rotate.z i}} | |
fix true | |
name SphericalTransform4 | |
xpos 952 | |
ypos -331 | |
} | |
Project3D { | |
inputs 2 | |
name Project3D5 | |
xpos 827 | |
ypos -294 | |
} | |
Camera2 { | |
inputs 0 | |
rotate {0 180 0} | |
focal 18 | |
haperture 36 | |
vaperture 36 | |
name Camera4 | |
label "\[value rotate]" | |
xpos 578 | |
ypos -373 | |
} | |
push $N17813320 | |
SphericalTransform { | |
input "Lat Long map" | |
output Cube | |
out_rx {{parent.Camera4.rotate.x}} | |
out_ry {{parent.Camera4.rotate.y}} | |
out_rz {{parent.Camera4.rotate.z}} | |
fix true | |
name SphericalTransform3 | |
xpos 693 | |
ypos -331 | |
} | |
Project3D { | |
inputs 2 | |
name Project3D4 | |
xpos 568 | |
ypos -294 | |
} | |
Camera2 { | |
inputs 0 | |
rotate {0 90 0} | |
focal 18 | |
haperture 36 | |
vaperture 36 | |
name Camera3 | |
label "\[value rotate]" | |
xpos 301 | |
ypos -373 | |
} | |
push $N1c5cc170 | |
SphericalTransform { | |
input "Lat Long map" | |
output Cube | |
out_rx {{parent.Camera3.rotate.x}} | |
out_ry {{parent.Camera3.rotate.y}} | |
out_rz {{parent.Camera3.rotate.z}} | |
fix true | |
name SphericalTransform2 | |
xpos 416 | |
ypos -331 | |
} | |
Project3D { | |
inputs 2 | |
name Project3D3 | |
xpos 291 | |
ypos -294 | |
} | |
Camera2 { | |
inputs 0 | |
focal 18 | |
haperture 36 | |
vaperture 36 | |
name Camera2 | |
label "\[value rotate]" | |
xpos 47 | |
ypos -361 | |
} | |
push $N27d22180 | |
SphericalTransform { | |
input "Lat Long map" | |
output Cube | |
out_rx {{parent.Camera2.rotate.x i}} | |
out_ry {{parent.Camera2.rotate.y i}} | |
out_rz {{parent.Camera2.rotate.z i}} | |
fix true | |
name SphericalTransform1 | |
xpos 162 | |
ypos -319 | |
} | |
Project3D { | |
inputs 2 | |
name Project3D2 | |
xpos 37 | |
ypos -282 | |
} | |
MergeMat { | |
inputs 2 | |
name MergeMat1 | |
xpos 37 | |
ypos -223 | |
} | |
MergeMat { | |
inputs 2 | |
name MergeMat2 | |
xpos 37 | |
ypos -154 | |
} | |
MergeMat { | |
inputs 2 | |
name MergeMat3 | |
xpos 37 | |
ypos -110 | |
} | |
MergeMat { | |
inputs 2 | |
name MergeMat4 | |
xpos 37 | |
ypos -60 | |
} | |
MergeMat { | |
inputs 2 | |
name MergeMat5 | |
xpos 37 | |
ypos -17 | |
} | |
Cube { | |
inputs 0 | |
cube {-0.5 -0.02600000054 -0.5350000262 0.4180000126 0.3199999928 0.5} | |
translate {0 -2.220000029 0} | |
uniform_scale 20 | |
name Cube1 | |
label "Set geo" | |
xpos -131 | |
ypos -51 | |
} | |
ApplyMaterial { | |
inputs 2 | |
name ApplyMaterial1 | |
xpos -131 | |
ypos -17 | |
} | |
set N25d9520 [stack 0] | |
Reformat { | |
inputs 0 | |
type "to box" | |
box_width 2048 | |
box_height 1024 | |
box_fixed true | |
name Reformat2 | |
xpos -21 | |
ypos 38 | |
} | |
ScanlineRender { | |
inputs 3 | |
output_motion_vectors_type accurate | |
name ScanlineRender1 | |
xpos -131 | |
ypos 70 | |
} | |
push 0 | |
Environment { | |
inputs 2 | |
mirror true | |
name Environment1 | |
xpos -121 | |
ypos 226 | |
} | |
Scene { | |
inputs 2 | |
name Scene1 | |
xpos -121 | |
ypos 310 | |
} | |
push 0 | |
ScanlineRender { | |
inputs 3 | |
output_motion_vectors_type accurate | |
name ScanlineRender2 | |
xpos -131 | |
ypos 414 | |
} | |
push $N25d9520 | |
Viewer { | |
frame 3 | |
input_process false | |
name Viewer1 | |
xpos -10 | |
ypos 478 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment