question

家洛 卢 avatar image
家洛 卢 asked ·

vray to arnold

I am a newcomer to maxscript, I am trying to write a max to vray material converter, using max's scene converter. Some errors have occurred and the texture conversion rules I defined cannot be successful. My reference is the official vray conversion script. Anyone can help me, thank you.vray-to-arnold.zip

vray-to-arnold.zip (17.5 KiB)
1 comment
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Oh, it is vray to arnold not max to vray

0 Likes 0 · ·
Mads Drøschler avatar image
Mads Drøschler answered ·

Updated:

Corona to Arnold material now added.

- Diffuse color
- Diffuse texture
- Specular
- Bump to Normal, an additional bump2D node is created in the process.

Let me know if float values needs some massaging to get identical looks.

https://github.com/gkmotu/ArnoldSceneConverterScripts3DSMAX

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

I got an initiative, a guy actually double bumped me to get it going for Vray to Arnold.
The scene converter script here works as intended, but no slots are wired up.
https://github.com/gkmotu/ArnoldSceneConverterScripts3DSMAX/blob/master/VrayMaterial_To_ArnoldMaterial.ms


I will add diffuse and bump slot and resubmit an updated script tonight.

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

You always help me when I need help, thank you.

0 Likes 0 · ·
Mads Drøschler avatar image
Mads Drøschler answered ·

-Fix a missing translation conversion between Vray refraction to Arnold transparency, so glass should in theory convert fine now?
- Added Vray Light Material to Arnold Material
- Vray HDRI map to Arnold Image ( an extended OSL version with full feature set support will surface at a point )


vraystatus.png (67.8 KiB)
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

The Vray to Arnold PRESET file ( and actual files ) now looks like this.

Including a rule to convert any Legacy max Color Correct node to Arnold Color Correct if it exists in the Vray shader hirachy. The Arnold CC node is way superior.
Also added VrayDirt to Arnold Ambient Occlusion conversion of a VrayDirt exists.

Not all slots and functionalities of the 2 slots are hooed up yet, but most basic use cases should be portable for now.

Its also worth to note that the preset file includes a Legacy 3dsmax Bitmap to Arnold image node conversion to get rid of the many performace hits the old map introduces.

I will also make a scripted rule so a user can decide wether it should be Arnold image node or OSL image node later on.


qwe.jpg (98.5 KiB)
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

Added 2 additonal Vray nodes.


- Vray2SidedMtl To Arnold two sided material
- VrayNormalMap To Arnold Normal map

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

Updated the Corona to Arnold material script:

It currently supports these features and slots.

  • Diffuse RGB color
  • Specular RGB color
  • Transmission RGB color
  • Opacity RGB color
  • Base float
  • Reflect float
  • Transmission float
  • Diffuse texture
  • Specular texture
  • Roughness texture
  • Transmission texture
  • Transmission extra roughness texture
  • Opacity texture
  • IOR texture
  • Emission texture
  • Diffuse map on/off
  • Specular map on/off
  • Transmission on/off
  • Specular map on/off
  • Opacity map on/off
  • Extra roughness map on/off
  • Opacity map on/off
  • Emission map on/off
  • Anisotropy map on/off
  • rotation map on/off
  • Anisotropy float
  • Anisotropy rotation float
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

Updated the Vray to Arnold material script:

It currently supports these features and slots.

  • Diffuse RGB Color
  • Diffuse texture
  • Diffuse map on/off
  • Diffuse roughness float
  • Roughness texture
  • Diffuse roughness map on/off
  • Emission color
  • Emission float
  • Emission texture
  • Emission map on/off
  • Specular RGB Color
  • Specular roughness float
  • Specular texture
  • Specular map on/off
  • Specular roughness texture
  • Specular rouhness map on/off
  • Specular IOR
  • Metalness float
  • Metalness texture
  • Metalness map on/off
  • Opacity texture
  • Opacity map on/off
  • Normal texture
  • Normal map on/off
  • Transmission RGB color
  • Transmission texture
  • Transmission map on/off
1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

yessssssssssss :)

0 Likes 0 · ·
Mads Drøschler avatar image
Mads Drøschler answered ·

Updated the Vray to Arnold material script.

- Specular RGB color
- Specular Roughness float
- Specular Roughness texture map

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

Updated:


- Added Metalness support.
- Added Diffuse Roughness support.


https://github.com/gkmotu/ArnoldSceneConverterScripts3DSMAX/blob/master/VrayMaterial_To_ArnoldMaterial.ms

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

Updated the Vray to Arnold material convertion script with 3 points.

- Diffuse Color
- Diffuse slot support
- Opacity map slot support
- Vray bump slot gets converted to Arnold normal, with an additonal Normal 2D node generated automatically. Let me know if the bump value translate correctly.

https://github.com/gkmotu/ArnoldSceneConverterScripts3DSMAX/blob/master/VrayMaterial_To_ArnoldMaterial.ms

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.