Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Swavi on 2023-08-11, 12:50:53

Title: Corona 9 problem with opacity in exported objects
Post by: Swavi on 2023-08-11, 12:50:53
i just export models from speedtree (obj format) and have this problem. how to fix?
Title: Re: Corona 9 problem with opacity in exported objects
Post by: romullus on 2023-08-11, 15:45:28
You need to use opacity texture that was exported from speedtree - plug it into Corona physical or legacy material's opacity slot and the issue should be solved. You may also want to check clip option next to opacity in Corona material, that might make quite significant positive impact on rendering time, depending on how well, or bad opacity texture is authored.
Title: Re: Corona 9 problem with opacity in exported objects
Post by: Swavi on 2023-08-11, 16:09:24
You need to use opacity texture that was exported from speedtree - plug it into Corona physical or legacy material's opacity slot and the issue should be solved. You may also want to check clip option next to opacity in Corona material, that might make quite significant positive impact on rendering time, depending on how well, or bad opacity texture is authored.
But when i importing mesh from speedtree, textures do not appear in material editor
Title: Re: Corona 9 problem with opacity in exported objects
Post by: romullus on 2023-08-11, 17:05:20
How do you import the mesh? Do you use some bridge plugin that exports tree model directly from speedtree to 3ds Max, or you export it to intermediary format like FBX or OBJ and then import it to 3ds Max? If it's the former, then i'm afraid i can't help you with that, you must look into its documentation to see if it's supporting Corona materials. If it's the latter, then you can hope for Autodesk physical material at best - you will need to build proper Corona materials manually, or use third party scripts to convert from Autodesk physical to Corona physical.
Title: Re: Corona 9 problem with opacity in exported objects
Post by: Swavi on 2023-08-11, 17:35:49
How do you import the mesh? Do you use some bridge plugin that exports tree model directly from speedtree to 3ds Max, or you export it to intermediary format like FBX or OBJ and then import it to 3ds Max? If it's the former, then i'm afraid i can't help you with that, you must look into its documentation to see if it's supporting Corona materials. If it's the latter, then you can hope for Autodesk physical material at best - you will need to build proper Corona materials manually, or use third party scripts to convert from Autodesk physical to Corona physical.
Yes, something too complicated it all, I just at first export from speedtree to a folder, there and textures in png and obj and then obj drag and drop into the scene. Well thanks for the help, up to some time everything was fine, maybe I'll poke something and fix it again, or maybe it's already a problem in the scene.
Title: Re: Corona 9 problem with opacity in exported objects
Post by: romullus on 2023-08-11, 18:32:13
Make sure that there is MTL file with the same name as OBJ and also check that if option to import materials is not disabled in 3ds Max OBJ import dialog window.
Title: Re: Corona 9 problem with opacity in exported objects
Post by: Swavi on 2023-08-12, 18:09:57
What if it's be fbx?
Title: Re: Corona 9 problem with opacity in exported objects
Post by: romullus on 2023-08-12, 19:37:04
FBX format can store material definitions internally, so long as you keep the textures in the same folder as FBX file, or in subfolder, proper material should be automatically created by 3ds Max importer. It will be Autodesk physical material though. If textures are located in correct place, but they does not appear in 3ds Max, that might mean that speedtree is not exporting materials with FBX file. You may need to review speedtree export settings.