EnvReflection

 v1.4

Get the reflection of a latlong environment image over a surface.
Author
Ivan Busquets
Created on: 05/09/2011
Updated on: 05/09/2011
Downloads: 1034
Login or Register

 Takes a normal pass, a position pass and a latlong image, and outputs the environment reflection on the surface (either a latlong hdri, or a Nuke scene rendered through a spherical camera, or any made up latlong to create fake reflections). Figures out camera position from the normal's exr metadata.


Usage: Connect the node's three inputs as labeled. By default, the node will try to take the camera position (needed to figure out the reflection vector) from the metadata of its first input (normal pass). This only works for EXR's rendered using renderman. If no valid metadata is found, the node will show an error message.

Alternatively, you can change the 'camera' knob to 'use camera input'. When that option is selected, you can use the optional Camera input to plug you own camera and compute the reflections from its point of view.

There's additional controls to rotate the environment if needed.

 


 

Update (March 2011) - Added source code to downloads section. Feel free to use / modify / improve. Feedback and advice on how to improve the code is always welcome!

 


Comments (22)

Diogo Girondi said:

...
yammy!

Any plans for a Win32 and 64 released? smilies/smiley.gif
June 19, 2010

fu guo said:

...
very cool and thank you very much!
August 02, 2010

Gonzalo Aravena said:

...
sounds great. thanks!!!
August 13, 2010

Ivan Busquets said:

...
Sorry I missed all those comments.
Thanks everyone for the feedback.
@Diogo: haven't compiled anything for Win yet. I'm planning to get on it soon.
Would also love to upload the source, eventually (need to ask for permission first)
August 13, 2010

Steve Kahwati said:

...
Looks awesome!
is there a windows one on the way ? :)
August 26, 2010

Oliver Markowski said:

...
hey ivan...thx a lot for the plugin...if you need help on compiling for windows,please let me know...a 5.2 version would also be cool i think...
i can compile it for you if you like...
September 15, 2010

Oliver Markowski said:

...
BTW: can u upload a 6.1 linux version?
September 15, 2010

Viktor Daniel said:

...
6.1 or 6.2 x64 version for Linux please, this one is not working, libDDimage.so conflict
January 28, 2011

Ahad Mohebbi said:

...
Thanks for your plugins, but in linux-64 Nuke crashed.
February 01, 2011

Ivan Busquets said:

...
Oops. Sorry about that. It must have gotten mixed up when I uploaded it.
Will upload again as v1.3, since I can't edit/delete previous uploads.

Thanks,
Ivan
February 01, 2011

Ivan Busquets said:

...
Ok, so Linux64 for Nuke 6.2 is finally uploaded as v1.2 (replacing the old, broken file)
Please try again and (hopefully) it should work now.

Cheers,
Ivan
February 01, 2011

Viktor Daniel said:

...
Thanks for update
February 01, 2011

joan argemi said:

...
thx m8, gràcies company!
February 02, 2011

S P said:

...
we really appreciate your plugin! But with the new version of Nuke 6.3xx it will not load an crash. Are there any plans to update it to work with Nuke 6.3xx?
many thanks....
August 17, 2011

Ivan Busquets said:

...
Hi,

The source code is available in the download section, so you can use that if you're able to compile for your platform.
For the time being, I'll upload a MacOS compiled version for Nuke 6.3. A Linux version will follow soon.

Thanks,
Ivan


August 21, 2011

INEED MONEY said:

...
it works in 6.3???
August 23, 2011

Ivan Busquets said:

...
Yes. A 6.3 version has been uploaded for both Mac OS and Linux. They should show up soon in the Downloads tab.

Thanks
August 23, 2011

INEED MONEY said:

...
Thanks a lot
August 23, 2011

S P said:

...
thats great! thank you!
August 23, 2011

Abdallah Akhdar said:

...
The win x64 version for nuke 6.3 is in a .cpp format. Do we have to compile it? Sorry for the question i'm a total noob in programming.

And thanks by the way for this excellent plug
September 06, 2011

Ivan Busquets said:

...
The last uploaded version is just the source code, not a Windows version. (don't know why it doesn't show up in the link description, though)

Yes, you'll need to compile the .cpp source for your platform. Unfortunately, I don't have access to a Windows machine to compile this on right now.
Sorry about that.

Cheers,
Ivan


September 06, 2011

Mark Holman-Harris said:

...
Has anyone compiled the 1.4v for win64?
If so could you share thx
May 03, 2012

Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.

busy