ScriptSpot home

VRayMat Resampler

Downloads

Release history (1)
  • Version 1.2Listed version

    Listing updated

    No download linked to this version

Other files (2)
3ds Max compatibility
See original listing claims
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.2
From original requirements
2010 or newer
Original version requirement
2010+
Other software required
VRay2+
Author’s update date
Legacy votes
3
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

barigazy

Branko Živković

More by this author

.............................................................................................................................................................. version 1.2

Whit this tool you can easely control subdivision value according to Relection or Reflaction glossiness values.
Idea by John O’Connell

Setup & notes


Support materials which are considered in resampling process:

* VRay2SidedMtl
* Shellac
* VrayMtlWrapper
* VRayBlendMtl
* VrayOverrideMtl
* VrayCarPaintMtl
* VrayFastSSS2
* VrayFlakesMtl
* Multimaterial
* CompositeMaterial
* Blend
* TopBottom
* Shell_Material

Resampling can be done on Scene Materials, Selected Objects Materials
or Material Editor Materials separately.

...Update v1.1
- user can now choose which material property want to be considered in
resampling process. (requested by ice-boy)
...Update v1.2
- fixed some minor bugs

Comments (24)
trixian

Getting an error

This is under W7, 3ds max Design 2014 (latest updates), VRay 2.40.04.
Running the script directly (.ms) or via my menu (.mcr) throws this error:
--Unknown property: "flake_subdivs" in Material #83:VRayFlakesMtl

So obviously the script is not handling the VrayFlakesMtl properly.

Reply to trixian
Branko Živković

@trixian
Send me test scene. I use same version of max and VRay

3dwannab

Save settings as default option?

Hi, Just what I was looking for, thank you so much. Just wondering if you could incorporate save default settings in the script.

 

EDIT: It's okay, I just modified the line to:

local minSmpl = 8, difference = 64, defVals = clalcVals minSmpl difference


EDIT: Is it possible to affect materials in the slate material editor window or even better yet a .mat file? I'm just going round checking all my material libraries. Thanks.

Alex

Tested 1.2

Hello again. It's my report caused 1.2 release :)
Today I tried "crazy multiplying" when counters hits 1000 and beyond. Max hangs for two minutes in good case, but much more often it hangs for forever, leaving me no other choice but to kill the process. CPU load during this is 40-50% on i7 2700k. No other tasks on the machine at this time except browser and skype. I've tested reflection & refraction only and scene materials only.
Yes, there is limit of 1000subdivs in settings, but user can multiply to thousands by mistake. Maybe there should be a limiter of 1000 directly in script...
(All described is about .ms version)
vray 2.4 , max 2012 x64, win 7

locb

How?

How we can use this when glossy controled by texture? Just type it by hande?

Reply to locb
Branko Živković

Quality of texture and contrast value affect also on quality of glossines.
But this tool can't predict different pixel color value of texture assigned in map slot. I was planned to add feature which will find average pixel color value and based on that define other parameters. But this will be very long ei. slow calculation. Maxscript is not good for that chalange.

List of fixed bugs in 1.2 ?

Hi Barigazy,

Where can a list of fixed bugs in 1.2 version can be found please ?
Thank you

Reply to tOm
Branko Živković

It's very small fix of Override material nothing more. One of the user sended me PM
to fix variable problem.

tOm

How to remove old v1.0 ?

Hi,
I first installed v1.0 on 3dsmax 2013. Then I installed v1.1. And now I have 2 toolbars for your script each time I start 3dsmax (both run the v1.1 script).
I went to Customize user Interface and I deleted both the 2 toolbars but they always come back each time I start 3dsmax !
Is there a way to do a clean uninstall of the script so I can do a new install and have only one toolbar instead of two ?

Thank you in advance,

Thank you it worked :)
I had the .mcr in this folder:
C:\Users\Nom\AppData\Local\Autodesk\3dsMaxDesign\2013 - 64bit\ENU\usermacros

Branko Živković

...update 1.1

@ice-boy
I hope this is what you require on CGTalk

Guto

Unable to convert-undefined to type: material

Hello. Does anyone know what is this? I get this error when I try to convert the subdivisions on Vray. I'd be really glad if I can get this script to work. Cheers.

Reply to Guto
Branko Živković

First of all:
#1_Which version of VRay do U use? If U use version below 2.0 ignore 2nd and 3rd question because script not supports old versions of VRay.
#2_Send me in email screenshot of listener to see whole error message.
#3_Explain whay U tried to cause this error>

JokerMartini

You misspelled the title in your artwork image.

Shouldn't it be ReSampler not Resamler, matching the tool's dialog title

tOm

Toolbar ?

Thank you for this wonderful script, you did a great job: it works very fine as expected and it's going to save me a huge load of time !!
Just one thing though: it would be nice to be able to assign the script to a toolbar.
Otherwise, perfect !

Reply to tOm
Branko Živković

You mean macro script. Sure
Download *.mcr version

Reply to tOm
Branko Živković

Don't be. I just added it after your request.
Cheers!