Find And Bind - Vray Hdri & Sun

13 votes
Version: 
1.0
Date Updated: 
12/02/2016

Find And Bind maxscript will scan your hdri and find the sun location.
After that,it will create V-Ray sun in this position and bind it to V-Ray Dome light.
You can rotate the rig by rotation the dome light or in the VrayHDRI map(horz rotation).

L-nio

Additional Info: 

Notes:
-Vray only
-Spherical hdri only
-design for sun&sky hdri(one strong light)

Version Requirement: 
tested on max 2015,2016
Other Software Required: 
Vray
Video URL: 
AttachmentSize
finfandbind_forvray_v1.0.mse10.72 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kisade's picture

movement unlock

go to Hierarchy panel (next to Modify) -> Link Info, untick the Locks what you want to change

rachka's picture

It's locked by default but I

It's locked by default but I use a script to unlock it. The script can be found in Blur scripts pack and it's called ObjectLock. It allows you to lock and unlock objects.

mfountouklis's picture

Question

Thanks for this awesome script!!

Just one question, i cant move the sun/dome at all.

Is there something i can deactivate that will allow me to move them? Usually thats not needed, but sometimes it is.

Milyan's picture

I havent had a chance to look

I havent had a chance to look at the script, but logically it could be that the script is using the root of the project to find the image or something like that. Could it be that the path to your HDRI is invalid or you could try to place the hdri inside of the project folder, maybe project/archives or something like that.

Milyan's

darawork@gmail.com's picture

Corona

How's the update for this script with Corona sun going?
I'll donate enough for a beer, but it has to be a Corona. :)

thecreativecontrol's picture

Hdri sequence?

This script is exactly what I'm looking for, but I'm working with a hdri sequence. Is it possible to adapt it so the script would edit the sun's location for every frame instead of just once?

JezUK's picture

Doesn't work - something has since broken it ?

I'm using 3DS Max 2017, V-Ray 3.60.04 and it doesn't work.

It creates the Dome, creates the sun, doesn't put the HDRI in the Environment Map Slot and it doesn't Bind the Sun to the HDRI.....

Something has happened to cause this to now, longer work.

3DS Max 2017 update maybe ?

igamaximus's picture

finalRender R3.6 support

Amazing script, thank you for your work.
Could you please add support for fR? It has the same light type as Vray, called fR-Dome light.
I am ready to assist with any MXS property of fR light that you might need.
Thank you very much.

anjanbarai's picture

Thanks

Thanks

banquet's picture

Some bug 3ds Max 2016 vray 3.3

-- Error occurred in wireparm(); filename: C:\Program Files\Autodesk\3ds Max 2016\scripts\scripts_collect\finfandbind_forvray_v1.0.mse; position: 5401; line: 137
--  Defined in encrypted script
--   called in mainbut.pressed(); filename: C:\Program Files\Autodesk\3ds Max 2016\scripts\scripts_collect\finfandbind_forvray_v1.0.mse; position: 9971; line: 300
--  Defined in encrypted script
>> MAXScript Rollout Handler Exception:
-- Unable to convert: Dome to type: <node> <<
 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.