Python Question – How to determine the last frame of a QT sequence?

Hey Guys,

Got a python question for ya. I’m trying to figure out how to determine the last frame of a quicktime that’s being created through a script (for example something like this)…

r2=nuke.nodes.Read(format="mov",file=’/path/thisFile.mov’)

It obviously defaults the frames to 1 – 1. But dragging and dropping in the file figures out the last frame, so I figure it must be a missing knob that I don’t know about.

Can anyone offer some insight how to accomplish this pretty simple task

Thanks,
Doug

Nuke to premiere hue shift/gamma shift.

Hey guys and gals,

Here’s the quick run down. Import r3d into nuke (viewing sRGB) and the colorspace on the r3d is set to linear. I like what I see. I write that out to 16bit TIFF (linear). I import that TIFF into nuke again to compare against the original red file and it looks identical. Perfect!

Now we composite some cool stuff in on the tiffs and re-export 8bit TIFF’s (sRGB) for the editor (he is using premiere pro CS4). Bring those 8-bit tiffs back into Nuke just for verification and everything is still perfect, but in premiere we’re getting a huge color/gamma shift. Everything has now become a very orangish/yellowish hue.

In nuke, we’re viewing everything with the sRGB LUT built into nuke. Whats going on when we bring it to another program!? This is killing us!! We need our final color done by the end of the weekend, but we’re stuck at this point. =[ colorspaces defeat me.

The images in the attached photo are LEFT: tiff in premiere RIGHT: r3d in premiere. 2nd image is r3d in nuke.


Nick

Attached Thumbnails

Click image for larger version

Name:	Picture 30.png
Views:	N/A
Size:	249.7 KB
ID:	9781
 

Click image for larger version

Name:	Picture 31.png
Views:	N/A
Size:	185.4 KB
ID:	9782
 

Add Project Settings value

Hi all

I would like to put a setting within the project settings to control where some read nodes are looking for the file paths, eg. look in job01 sc001 sh001 as route path. Is this possible? Im new to python so any commands that would be needed to refer to the project settings box would be great to know.

Thanks for any help

Joe.

Nuke scriptname into write node possible?

Hello nukers!

Just a quick question, as we version the output files from nuke the same way as the nuke scripts themselves , they always share the name of the nuke script.
It would be great if one could get that info from nuke itself instead of having to type it in manually each time.

I have tried $scriptName $name $fileName etc. but I can’t figure out the variable for getting the filename of the script into my write node.
Is it even possible?

cmiVFX Releases New Nuke Facial Replacement Techniques Training Video

cmiVFX Releases New Nuke Facial Replacement Techniques
High Definition Training Videos for the Visual Effects Industry

cmiVFX launches its latest Full Feature Visual FX training video in NUKE for Facial Replacement Techniques. Learn this cutting-edge technology from the masters at cmiVFX and unlock your imagination as the possibilities are limitless. Create gory skin hanging, open brain horror related scenes, talking babies who want to give financial advice, or record your spouse saying better marriage vows after the tape has been already made.

cmiVFX delivers training in real world environments for real world projects. cmiVFX demonstrates how to tackle this difficult task easily and efficiently.

When it comes to high end CG and VFX training, there is only once choice… cmiVFX! This video is available today at the cmiVFX store for a Special Introductory Offer Price!

NUKE: Facial Replacement Techniques
http://www.cmivfx.com/productpages/p…l_Replacements

What’s Included in Facial Replacement Techniques Training:
Start off by separating the talent from the green screen background, then key in sections of the head, body and core to preserve as much detail and data as possible. Utilizing the Nuke camera tracker begin the projection and mesh alignment stages before moving into painting and texturing the shot. Learn how to add in additional alterations such as grid and spline warp, muzzle flashes and displacements. The final result will be amazing and these techniques will transfer to many other projects.

•  Introduction & Overview
•  Keying for the Head, Body & Core Matte
•  Head Tracking in 3D
•  Tracking
•  Projection
•  Painting
•  Texturing
•  Additional Alterations Including:
•  Grid Warp
•  Muzzle Flashes
•  Displacements

Conclusion
Nuke is one of the most powerful tools in Visual FX and utilizing it in Facial Replacement allows the artist the ability to provide the best results. For more detailed
information on this Nuke Training Video visit: http://www.cmivfx.com/productpages/p…l_Replacements

Subscriptions
There is over a hundred New Release Training Videos in the cmiVFX Pipeline for the next year which is worth thousands of dollars if purchased alone. Include that with the hundreds of training videos currently in the cmiLibrary and the subscription is near priceless.

ACT NOW! Gain access to Every New Release and the Entire cmiLibrary with the most affordable subscription plan in Visual FX Training History for only $399 USD. For more information on our subscriptions: cmiVFX | Subscriptions_And_Pricing

cmiVFX on TWITTER:
Follow us on twitter and receive special discount codes and special offers that are sent out only to our twitter fan base. http://Twitter.com/cmivfx

About cmiVFX
cmiVFX is the leader in High Definition Video Training for the Visual Effects Community. Register for FREE and receive hours of FREE content at the cmiVFX Video-on-Demand Player. For additional information about cmiVFX, visit www.cmivfx.com. © 2010 cmiVFX | cmiStudios. All rights reserved.

camera projection help

Hi, I’m trying to learn how to use Nukes camera solve or boujou to create a projection of a patch on an object. Is there any tutorials out there that can help me? I’ve watched the tutorials on foundrys website and youtube but I need something a bit more detailed…. Nothing is ever as good as actually step by step learning :o)))

thanks

How to generate camera position from P?

Hi guys:

im trying to calculate specular while do relight in NUKE with P and N,
thus i need the vector of viewer position
im not a programmer and new to this ,i’ve just done diffuse calculating so far.
sorry if stupid questions

here are my questions:
How to generate camera position from P
How to transform P world space to camera space?
How to generate p camera space from Z depth?

somebody help me~
thanks very much!

Frank Reuter’s particles gizmo in Nuke

Hi guys,
I just wanted to know if does anybody of you know how to use particles in Nuke.
It seems like the particle system node in Nuke is a beta version.
I have downloaded the particles gizmo by Frank Reuter but I do not know how to use it. Any advice will be appreciated
Help me please.
Thanks
Ruggero

UV texturing – Basic Help with STmap

Hello Friends,

I just quickly followed a Frank tutorial on STmap
http://www.studiodaily.com/main/trai…NUKE_7574.html

And here is my result. The input is a basic cube from maya with UV’s properly laid out and I render out the RGBA and the UV pass. When I combine them inside of Nuke the texture (checkerboard) appears stretched. In fact I tried with some other UV passes and still get the same result.

I know I am missing something basic here. Would really appreciate your guidance here.

Tx,
Haf

Attached Thumbnails

Click image for larger version

Name:	vfx_talk.jpg
Views:	N/A
Size:	462.4 KB
ID:	9763
 

Queuing OS X render droplets for Nuke, AE, Maya. . .

Updated my OS X render droplet apps to queue up into terminal, so you can easily fire off AE, Maya, and Nuke renders into one terminal window and have them properly queue up one after the other.

Render Q droplets

Demo video on my site. Enjoy!