Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: kenc on 2017-04-10, 21:36:21
-
Hi All
I'm new to Corona and our studio is rendering with Corona. I do the studio's max scripting and I am trying to learn to script Corona. I've searching for examples but to no avail.
Using Max's VFB, I do a call to send a mesh to Render To Texture using
bake_map = render rendertype:#bakeSelected outputSize:[1024, 1024] vfb:on outputfile:("C:\someimage.png")
How do I do this in Corona?
Thanks in advance.
-
Hi, you should be able to add Corona RTT elements by following this Autodesk guide:
http://docs.autodesk.com/3DSMAX/16/ENU/MAXScript-Help/files/GUID-61344DFE-8DA6-4E19-A184-BFD9ED093EFF.htm
And using the maxscript names of elements:
Corona_Beauty
Corona_Diffuse
Corona_DiffuseColor
Corona_ReflectColor
Corona_RefractColor
Corona_Light
Corona_AO
Corona_NormalMap
Let me know if you have any trouble with that.
-
Thanks Maru
I am presently rendering to texture in MAX using Vray using maxscript.
I am using the same max script as for Vray except changing the code for Corona. The corona VFB does come up but it continuous is calculating Geometry.
As a test, I manually setup Max's RTT dialog using Corona Light channel. Set rendering time to 3 minutes, but after an hour still nothing is showing in the VFB and keeps calculating geometry.
-
Sorry forgot to post this
Corona version: 1.5 (hotfix 2)
-
I have figured it out. Thank you.
-
Corona_Beauty, Corona_Diffuse, Corona_DiffuseColor, Corona_ReflectColor, Corona_RefractColor, Corona_Light, Corona_AO, Corona_NormalMap
Has this list being added to since this? Such as displacement? Thanks.
-
Corona_Beauty, Corona_Diffuse, Corona_DiffuseColor, Corona_ReflectColor, Corona_RefractColor, Corona_Light, Corona_AO, Corona_NormalMap
Has this list being added to since this? Such as displacement? Thanks.
Sorry, I don't understand the question. Can you rephrase it?
-
I was hoping for a Corona_HeightMap or similar to render out a greyscale bitmap as opposed to a normal map output'd with Corona_NormalMap.
-
For 3D displaced geometry or for 2D bump/normal maps?
-
For 3D displaced geometry or for 2D bump/normal maps?
2D bump/normal maps, but both types would be great.
I'm writing a script for a client to export to a program that doesn't have support for normal maps believe it or not.
-
We will see what can be done here, however this is not a common request, and generally 3ds Max texture baking is quite an obscure tool.
-
Okay thanks. It may be the case that that Shapespark program may introduce it in the meantime.