Corona to Vray Scene Converter.
Tested in 3Dsmax 2024, corona 11 and vray 6 update 2.1
Based on the one that comes with Vray 6.
The original script did not work correctly and the only other script available did not do things the way I wanted so I decided to modify the one that comes with vray 6.
It works for me but it might not work for you… , I did things to fit my needs but if you find issues or have suggestions please let me know.
History:
Ver 1.05
– fix: fixed a crash caused by a parameter changed in corona 10+ for the AO texture.
Ver 1.04
– add: The cleanup slate editor seems to be working fine….
– fix: few other fixes and cleanup
– fix: set defualt of vraydistance Inside Solid to ON
Ver 1.03
– fix: removed all the _vray prefix to every map, texture, material, etc. I want to keep the original names
Ver 1.02
– add: Option to not convert the Corona Color Correct map, it turns out vray actually support it if you are using CPU, for GPU you do need to convert it and the result is not 100% correct.
– fix: Render Elements where off after converting
– add: if we had a denosier enabled then we add a VRayDenoiser Render Element
– add: added a function to cleanup the slate editor of unused maps, and removed what I had added to do the same on each function but wasn’t really working
Ver 1.01
– fix/add: reworked the gt_coronaProxiesToVRay function. they were not being created as instances, also now you have the option to use existing proxies, for example if you already converted the scene and don’t want to re-export the animated
proxies which take a lot of time.
– fix: I was missing a forward declaration for (fn gt_createVRayMtl=undefined)
Ver 1.0
– add: Support for converting from CoronaMultiMap to VRayMultiSubTex
– add: Export Animated Proxies
– fix: Export all proxies, the original missed a bunch which were copies and not instances
– add: new GUI
– fix: Several random tweaks
– add: worked on the delete slate node function but it still not working 100% correct, its disabled for now.
– add: all the maps conversion in gt_createVRayTexture now have their own function, even the simple ones, so I can cleanup the nodes after conversion
– add: added gt_converfFrom_Unsupported inTexture, which just adds a color for easy identifying, it needs more work
– add: worked a bit on the map CoronaFrontBack, if there is a map in the front slot it returns that. It needs more work, I know..
– add: converts corona render elements to vray similar ones. It needs more work; some just get deleted. Just did what I need it at the time.
– fix: corona cameras with no target were crashing as it was asking for the target distance. it now checks if it’s a target camera
– add: transfer material ID to the new material
Download “CoronaToVray Converter”
Gtools_CoronaToVraySceneConverter_105.zip – Downloaded 3152 times – 37.78 KB