Like the topic, is it possible? Or is it possible to access the vrmat's properties from a script, so that I can make a converter myself?
Announcement
Collapse
No announcement yet.
Converting .vrmat to Modo V-Ray material?
Collapse
X
-
In the .vrmat file. Here's an example:
<Asset url="/SuperTex/BRDFVRayMtl/translucency_color" type="texture" layout="" renderer="vray">
<plugin>
<vrayplugin name="TexCombineColor" type="texture">
<parameters>
<parameter handler="default" name="color" type="color">
<value><r>1.2</r><g>1.2</g><b>1.2</b></value>
</parameter>
<parameter handler="default" name="texture" type="acolor texture">
<value></value>
</parameter>
<parameter handler="default" name="texture_multiplier" type="float">
<value>1.0</value>
</parameter>
</parameters>
</vrayplugin>
</plugin>
</Asset>
Originally posted by vlado View PostWhich RGB values?
Best regards,
Vlado
Comment
-
Originally posted by Monkeybrother View PostThat example is from a testing material I made myself in 3ds max. I just tried again in both max 2014 and 2015, if I set a color to 255,255,255, it comes out as 1.2 in the .vrmat file.
Best regards,
VladoI only act like I know everything, Rogers.
Comment
-
Hi,
Could you send us .vrmat file, please?
Also I would like to ask you do couple of steps and then test conversion again.
1. Open MaxScriptEditor from MaxScript main menu
2. File->Open... from <C:>\Program Files\Autodesk\3ds Max <2013,2015..>\scripts\Startup select vraymtlexport.ms and open it.
3. Press Ctrl + E or Tools->Evaluate All
Do the same (step 2 and 3) for vrvismatconvertor.ms
Best regards,
Anna
Originally posted by Monkeybrother View PostIn the .vrmat file. Here's an example:
<Asset url="/SuperTex/BRDFVRayMtl/translucency_color" type="texture" layout="" renderer="vray">
<plugin>
<vrayplugin name="TexCombineColor" type="texture">
<parameters>
<parameter handler="default" name="color" type="color">
<value><r>1.2</r><g>1.2</g><b>1.2</b></value>
</parameter>
<parameter handler="default" name="texture" type="acolor texture">
<value></value>
</parameter>
<parameter handler="default" name="texture_multiplier" type="float">
<value>1.0</value>
</parameter>
</parameters>
</vrayplugin>
</plugin>
</Asset>
Comment
-
Sure. Where do you want me to send it?
I did exactly what you described and the file came out the same, with 1.2 values.
Originally posted by anna.zaharieva View PostHi,
Could you send us .vrmat file, please?
Also I would like to ask you do couple of steps and then test conversion again.
1. Open MaxScriptEditor from MaxScript main menu
2. File->Open... from <C:>\Program Files\Autodesk\3ds Max <2013,2015..>\scripts\Startup select vraymtlexport.ms and open it.
3. Press Ctrl + E or Tools->Evaluate All
Do the same (step 2 and 3) for vrvismatconvertor.ms
Best regards,
Anna
Comment
-
Send it to anna@chaosgroup.com . Thanks!
And one more test, please
First evaluate vrvismatconvertor.ms and then vraymtlexport.ms.
Test conversion again.
Originally posted by Monkeybrother View PostSure. Where do you want me to send it?
I did exactly what you described and the file came out the same, with 1.2 values.
Comment
-
Originally posted by Monkeybrother View PostLike the topic, is it possible? Or is it possible to access the vrmat's properties from a script, so that I can make a converter myself?
The importer will probably have to resort to using nodal shading for more complex materials though. But first we need to get nodal shading working in V-Ray for MODO.
Greetings,
Vladimir NedevVantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help
Comment
Comment