V-Ray tools

Hello,

I’ve collected together the tools that we have released outside of the official V-Ray installations (the VRayFur styler, VRayColor2Bump, VRayBump2Normal, blendimg) along with recompiles for 3ds Max 2012 at

Best regards,
Vlado

Thanks Vlado :wink:

Cheers,
Thomas

Thanks! You’re the man :slight_smile:
Any time to release those LUT files for VFB yet?

thanks a lot
well done

Vlado, thank you very much. It is really appreciated

thanks alot

vlado, where can i find the maxscript parameters to access vray camera DOF and Mblur, stereohelper on/off, shademap mode, etc.
id like to make a maxscript utility to speed up shademap process

You can get all the parameters of everyting in max by using the showproperties function:

Examples:

Showproperties (VrayPhysicalCamera())
Showproperties renderers.current
showproperties (VRayStereoscopic())
showproperties (VrayMtl())

etc…

thank you dave, that was very helpful!

i have just made a complete vray cam and shademap helper, a utility i will release in a couple days

could you help me, id like to know the code on how to select the current selection (camera) target

so i have a cam selected and want to select the target do u know how thats possible?

thanks

Easy…

getnodebyname (($.name) + “.target”)

thanks dave ill try that, i did get it to work with select o.target

////////

question, how can i access vray renderer through max script?

vray camera no problem,

but now im trying to control some render settings with maxscript

on spn_Region changed val do
                    (
                     for o in renderers.current do o.system_region_x = val
                    )

the renderers.current does not work


 fn updateControls =
		   (
				local theSelectedRenderer = getrenderers.current
				-- local enableInViewport = 0

				local min = 0
				local max2 = 0
				local noise2 = 0
				local adaptive2 = 0
				local samples = 0
				local chk_stamp = 1
				local multi = 0
				local memory2 = 0
				local region = 0
				local gamma = 0

				for o in theSelectedRenderer do

					(
						if o.twoLevel_baseSubdivs > spn_Min do spn_Min = o.twoLevel_baseSubdivs
						if o.twoLevel_fineSubdivs > spn_Max do spn_Max = o.twoLevel_fineSubdivs
						--if o.f_number > spn_Noise do spn_Noise = o.f_number
						if o.dmc_earlyTermination_amount > spn_Adaptive do spn_Adaptive = o.dmc_earlyTermination_amount
						if o.dmc_earlyTermination_minSamples > spn_Samples do spn_Samples = o.dmc_earlyTermination_minSamples

						if o.system_frameStamp_on do chk_stamp+=1 

						if o.dmc_subdivs_mult > spn_Multi do spn_Multi = o.dmc_subdivs_mult
						if o.system_raycaster_memLimit > spn_Memory do spn_Memory = o.system_raycaster_memLimit
						if o.system_region_x  > spn_Region do spn_Region = o.system_region_x 
						if o.colorMapping_gamma > spn_Gamma do spn_Gamma = o.colorMapping_gamma
						-- if o.enableViewportMesh do  enableInViewport+=1
					)

				)
					on spn_Region changed val do
					(
					 for o in renderers.current do o.system_region_x  = val
					)

it doesnt seem to be the same method controlling vray cam than renderer

Showproperties (VrayPhysicalCamera())
Showproperties renderers.current

?

any help appreciated

on spn_Region changed val do
(
for o in renderers.current do o.system_region_x = val
)

That won’t work… renderers.current returns the object Vray renderer… not an array of values to loop through… you can get all the properties by using:
showproperties renderers.current

and then all you need to do is write…
renderers.current.system_region_x = val

I usually use this:
vr = renderers.current

so that when writing a long script I only have to write
vr.system_region_x = val
etc

VrayFur Styler:
I cant find a way to install it or use it?
I guess I am missing here something…

And are there anywhere practical Video Tutorials that shows how to create things with Fur and the Styler?

There is a quick overview here: https://www.youtube.com/watch?v=8yWTN1Li8kg

Best regards,
Vlado

Any possibility I can get VRayFur styler for 3ds Max 2022?

Is VrayFur Styler going to be available any time soon for Max 2022 and preferably Max 2023 too as well, which is due in the next weeks ?

Yes. We’ll upload an updated version of the archive in the docs with additional instructions related to the 3ds Max’s “plugin package” format change.