Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: 3di on 2016-06-01, 03:55:11

Title: render to texture script
Post by: 3di on 2016-06-01, 03:55:11
Hi

Can anyone create a script which:

Creates a layer called baked
Creates a layer called un-baked
Moves all original layers into "un-baked" layer (keeping hierarchy)
renders selected object/objects to texture (including reflection/refraction based on active camera)
generates a standard material for each and applies the rendered texture to the diffuse with map id set to user specified number.  (corona material is no good for fbx export)
duplicates each object and sets all polys to mat id 1
assigns the new standard materials to the duplicate objects
moves duplicate objects to "Baked" layer
hides "un-baked" layer.


Cheers

Michael.