Thursday, October 6, 2011

multi-channel exr & 3delight

I've been rendering some multi-channel exr files lately using 3delight. Everything is right but the size of every file is around 39 MB each and some sequences are very long. The compression I'm using is zips but I still feel I'm wasting disk space.. really.

UPDATE: I *was* using opensuse 10.2 and somehow, using "zip" compression in rendermn.ini was causing errors with nuke and others. After switching to ubuntu 10.0.4 everything is perfect (small files).. and makes me feel a bit silly. So my best advice would be: use ubuntu.

A Solution? Using python and nuke to rewrite the files with all channels into a new file. Of course this comes *after* everything is rendered and as a fix.

Reading some posts at vfxtalk and nuke forum, I got this as a base for a more robust script:

cat imageconvert.py

import sys
r = nuke.nodes.Read(file = sys.argv[1])
w = nuke.nodes.Write(file = sys.argv[2])
w.setInput(0, r)
nuke.execute("Write1", 1, 5)


Thursday, September 29, 2011

Viento en Contra - Making Of

Antes que nada, este es el setlist del concierto de anoche. Todo bien, ni un hueso roto (mio, al menos).


Y les comparto este video que subieron de Cine PREMIERE:


Después del estreno vamos a actualizar el video de missing frame.

Wednesday, September 21, 2011

AtomKraft | alpha channel

So, I'm rendering some scanline stuff in nuke and I thought I should take a look using AtomRender. Is a small project with some geometry but with extreme motion blur (done with vectorBlur nodes). Anyway, I create the AtomRender node, connect it instead of scanline node and... nothing. Well, there was something but wasn't complete.


This is using AtomKraft 0.9.1, by the way. From what I know, there have been lots of things fixed and this is not an issue anymore.

Friday, September 16, 2011

La Leyenda de la Llorona

A couple of trailers for the upcoming movie La Leyenda de la Llorona by ánima estudios.




I did lighting and shading in some shots.. was a different experience (in a good way). I'll see if I can post some stuff.

Thursday, September 1, 2011

3Delight for Maya | GI effects

Ok, so you probably know how to get proper GI effects using point clouds, right? If that's not the case or you think it is a bit hard to set up, then you have to take a look at the new GI tab in 3Delight for Maya 6.0.

Wednesday, August 31, 2011

3Delight for Maya 6.0.0

Singapore – August 30th, 2011 – DNA Research announces 3Delight for Maya 6.0, the latest major evolution of our fully integrated rendering plug-in for Autodesk Maya.

Starting immediately, 3Delight for Maya will be available as a package with a new entry level pricing. This package is aimed at artists as well as small to medium sized studio who wish to work with a fast, robust, production-strength renderer that is totally integrated into Maya.

This new release improves usability and user-friendliness through improving UI improved user experience in our Maya plug-in and includes many performance and quality improvements in the core renderer.


Highlights of version 6.0


  • A new "Global Illumination" UI - This tab allows for an easy control of global illumination settings, for both ray-traced and point-based algorithms and no furthershader programming is necessary. Multi-bounce global illumination effects are easilycomputed using photon mapping.
  • Rendering Optimizations - Ray-tracing and global illumination are faster for reflections, refractions, occlusion and shadows. Users can expect accelertion up to 50% in shading intensive renders.
  • Minimal Passes and Passes Templates - This feature presents the user with a simple, uncluttered, render pass interface. Users can add features as needed for maximum sability. Such passes can then be organized in templates for rapid access.
  • More efficient Relationship Editor - Large scenes are no longer a problem for the relation-ship editor. Scenes with thousands of nodes and assignments handle seamlessly.
  • Faster scene parsing - A "scene caching" feature through RIB fragments further improves rendering performance, especially the loading time.
  • UI Improvements - Many all-around improvements to the user interface increase productivity.
  • Latest Maya support - Autodesk Maya 2012 is supported.

Read the press release for further details or the release notes for a complete list of new features and performance improvements.

And there's a new pricing scheme as well, go get your free license!

Tuesday, August 23, 2011

3Delight for Maya | renderman code nodes & linear stuff

Ok, I was getting ready for next tutorial-like post but I thought I should take another read on some posts @ 3delight's forum.

Basically, using the next function in renderman code nodes and connecting your maya file node in the input will result in a "linearized" image, right?


color sRGBToLinear( color inCol )
{
float _r,_g,_b = 0;
if( comp(inCol,0) < 0.04045 ) { _r = comp(inCol,0)/12.92; }else{ _r = pow( (comp(inCol,0)+0.055)/1.055, 2.4 ); }
if( comp(inCol,1) < 0.04045 ) { _g = comp(inCol,1)/12.92; }else{ _g = pow( (comp(inCol,1)+0.055)/1.055, 2.4 ); }
if( comp(inCol,2) < 0.04045 ) { _b = comp(inCol,2)/12.92; }else{ _b = pow( (comp(inCol,2)+0.055)/1.055, 2.4 ); }

return color(_r,_g,_b);
}


Well, it won't. There's a file called DL_globals.mel in your 3delight installation which will perform a tdlmake call on every file node. This means we'll get a prefiltered image from a srgb texture map and this is incorrect. A solution? Well, we could simply edit that file (line 3269) from


string $cmd = "tdlmake -newer -mode periodic ";


to


string $cmd = "tdlmake -colorspace srgb -newer -mode periodic ";


But we have some exr and hdr files from time to time. Then we should check if the file is in any of those formats (linear) and modify that tdlmake call. Or we could simply use tdlmake in terminal on the textures to be used, outside maya. If we have lots of files, we can use a batch script (zsh works fine).

Long story short: This can mess up with the way you're rendering and that's why it is complicated to find the perfect workflow here, in the "web". From this point, it is better to assume everything read into maya is in the correct color space.

Some links:
http://www.3delight.com/en/modules/PunBB/viewtopic.php?id=2690
http://www.3delight.com/en/modules/PunBB/viewtopic.php?id=2690
http://www.3delight.com/en/modules/PunBB/viewtopic.php?id=2210


That function, by the way, is from Nick Deboar's shaders posted here: http://www.3delight.com/en/modules/PunBB/viewtopic.php?id=3010

I'll fix some scenes and will get back with something useful (yeah, probably has been too much garbage around here for a couple of months).