Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] Corona Goodies - User Contributions => Topic started by: John_Do on 2024-03-07, 18:21:59

Title: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: John_Do on 2024-03-07, 18:21:59
Hi everyone,

I've added the support for our beloved render engine to Quixel Bridge.

Details are on my Gumroad page, let me know if you have questions but it should be pretty straightforward, it just works.

Quixel Bridge Importer for Corona Renderer (C4D) on Gumroad (https://pierredubertrand.gumroad.com/l/coronabridge)

Features in v0.3
- complete Megascans maps support including even metalness, translucency, transmission, fuzziness
- combo channel map support ( AO+Albedo, Normal + Bump )
- decals support, loaded as Corona Decal
- exact displacement scale, acquired from the asset's metadata
- new settings added for greater control over the material creation process and to improve displacement management

(https://i.imgur.com/3RldRLN.jpeg)
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: Beanzvision on 2024-03-08, 16:00:55
Excellent work John, thanks for taking the time to do such a thing :)
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: tuami on 2024-03-08, 17:03:32
great, i will definitely try it out when i find the time
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: John_Do on 2024-03-15, 13:40:58
I've just added support for decals 😎

(https://i.imgur.com/yOLOtOu.jpeg)

Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: micz on 2024-03-19, 19:50:14
Hi, when do you plan to update?
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: John_Do on 2024-03-19, 21:05:10
Hi micz, the update will come within the week.

I've added few other things in addition to decals, I'll keep you posted here or through Gumroad if you bought the plugin.
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: micz on 2024-03-19, 22:09:22
I bought, it works great and I want more ;)
What will happen when Quixel releases an update? Will Ctrl+C, Ctrl+V in the code be enough?
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: John_Do on 2024-03-20, 09:23:36
I bought, it works great and I want more ;)
What will happen when Quixel releases an update? Will Ctrl+C, Ctrl+V in the code be enough?

Thanks !

In the short term don't expect any update to Bridge since the last C4D plugin update was in September 2022 (https://forums.unrealengine.com/t/bridge-plugin-release-notes/1337003/1) ( it is more or less the same with the other plugins).

Later this year, Megascans will become part of FAB, a new 3d asset marketplace from Epic. They will launch new tools to get the most out of the new platform, but I don't know which software will be supported and how well. More info here (https://quixel.com/blog/2023/3/22/announcing-a-new-chapter-for-quixel).
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: MircoTosti Studio on 2024-03-20, 10:42:14
Purchased... fantastic tnx!!!!!
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: micz on 2024-03-22, 11:01:43
0.3 => great job!
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: CBAS VISUAL on 2024-04-08, 09:02:31
Hey, nice plugin !!
Just one question, how can I force the use of the normal map instead of the bump map during export?
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: John_Do on 2024-04-08, 09:57:56
Hey, nice plugin !!
Just one question, how can I force the use of the normal map instead of the bump map during export?

Hey thanks !

You can disable the Bump channel in the export settings, as well as any other texture type you don't want to import :

(https://i.imgur.com/zbZ0z27.gif)

Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: CBAS VISUAL on 2024-04-08, 10:08:52
hmmm, doesn't work
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: John_Do on 2024-04-08, 11:03:56
hmmm, doesn't work

Nah it works, I've tested it before answering ;)

But in your case I guess there is no normal map in this texture set. The plugin can load only what is in the folder and what is enabled in the export settings.

So please check the textures available in the folder with "go to files" in the context menu. If the normal map is missing, re-download the asset ensuring the normal map channel is checked in the download settings.

(https://i.imgur.com/QH6gMKS.png)
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: CBAS VISUAL on 2024-04-08, 13:19:21
yes the texture is download.
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: John_Do on 2024-04-08, 13:53:10
yes the texture is download.

Thanks, have you checked the textures' folder ? Sometimes some channels in the texture set are not downloaded.

I've tried the same asset on my side, every bump configuration is supported and works as intended, as you can see in the attached record.

If it still doesn't work, check the console and let me know if it outputs something unusual (Extension > Console > Python (0/0))
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: Stefan-L on 2024-04-08, 14:25:58
sounds like great plugin, just bought it, thanks John!
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: CBAS VISUAL on 2024-04-08, 14:41:10
Code: [Select]
Quixel Bridge Plugin::Received data from Bridge.
{'minLOD': 'lod0', 'scriptFilePath': None, 'message': 'export', 'version': 1, 'resolution': '4K', 'resolutionValue': 4096, 'category': 'Floor', 'type': 'surface', 'id': 'vl0gfdalw', 'name': 'Concrete Floor Tiles', 'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw', 'exportAs': 'default', 'textureFormat': 'image/jpeg', 'meshFormat': '', 'previewImage': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_Preview.png', 'averageColor': '#000000', 'tags': ['gray', 'yellow', 'white', 'rdt', 'construction', 'pool', 'flooring', 'urban', 'city', 'concrete plates', 'squares', 'grout', 'ground', 'tiles', 'clean', 'flat', 'pale', 'smooth', 'new'], 'activeLOD': 'high', 'categories': ['surface', 'concrete', 'smooth'], 'isExternal': False, 'exportPath': '', 'namingConvention': {'texture': '$mapName_$resolution_$lod_$id', 'model': '$name_$lod_$variation_$id', 'folder': '$name_$id'}, 'folderNamingConvention': 'Concrete Floor Tiles_vl0gfdalw', 'mapNameOverride': {'albedo': 'Albedo', 'ao': 'AO', 'bump': 'Bump', 'cavity': 'Cavity', 'curvature': 'Curvature', 'diffuse': 'Diffuse', 'displacement': 'Displacement', 'fuzz': 'Fuzz', 'gloss': 'Gloss', 'mask': 'Mask', 'metalness': 'Metalness', 'normal': 'Normal', 'opacity': 'Opacity', 'roughness': 'Roughness', 'specular': 'Specular', 'thickness': 'Thickness', 'translucency': 'Translucency', 'transmission': 'Transmission'}, 'meta': [{'key': 'scanArea', 'name': 'Scan Area', 'value': '3x3 m'}, {'key': 'height', 'name': 'Height', 'value': '0.028 m'}, {'key': 'tileable', 'name': 'Tileable', 'value': True}, {'key': 'tiling_directions', 'name': 'Tiling Directions', 'value': ['x', 'y']}, {'key': 'texelDensity', 'name': 'Texel Density', 'value': '5461 px/m'}, {'key': 'calibration', 'name': 'Calibration', 'value': 'GretagMacbeth ColorChecker Color Rendition Chart'}, {'key': 'scanner', 'name': 'Scanner', 'value': 'MKX'}], 'materials': [], 'textureSets': [], 'workflow': 'specular', 'origin': 'megascans', 'isModularAsset': False, 'guid': 'fed65e21-5ada-8628-6811-f0f0c94ecc56', 'components': [{'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_4K_Albedo.jpg', 'type': 'albedo', 'resolution': '4K', 'format': 'jpg', 'name': 'vl0gfdalw_4K_Albedo.jpg', 'nameOverride': 'Albedo_4K__vl0gfdalw.jpg', 'colorSpace': 'sRGB', 'physicalSize': '3x3'}, {'resolution': '4K', 'type': 'ao', 'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_4K_AO.jpg', 'format': 'jpg', 'name': 'vl0gfdalw_4K_AO.jpg', 'nameOverride': 'AO_4K__vl0gfdalw.jpg', 'colorSpace': 'sRGB', 'physicalSize': '3x3'}, {'resolution': '4K', 'type': 'bump', 'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_4K_Bump.jpg', 'format': 'jpg', 'name': 'vl0gfdalw_4K_Bump.jpg', 'nameOverride': 'Bump_4K__vl0gfdalw.jpg', 'colorSpace': 'Linear', 'physicalSize': '3x3'}, {'resolution': '4K', 'type': 'displacement', 'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_4K_Displacement.exr', 'format': 'exr', 'name': 'vl0gfdalw_4K_Displacement.exr', 'nameOverride': 'Displacement_4K__vl0gfdalw.exr', 'colorSpace': 'Linear', 'physicalSize': '3x3'}, {'resolution': '4K', 'type': 'gloss', 'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_4K_Gloss.jpg', 'format': 'jpg', 'name': 'vl0gfdalw_4K_Gloss.jpg', 'nameOverride': 'Gloss_4K__vl0gfdalw.jpg', 'colorSpace': 'Linear', 'physicalSize': '3x3'}], 'meshList': [], 'packedTextures': [], 'lodList': [], 'meshVersion': 1, 'components-billboard': [], 'isCustom': False}
Quixel Bridge Plugin::Importing Concrete Floor Tiles
Quixel Bridge Plugin::Successfully imported Concrete Floor Tiles


The console when i import a material.

I tried with the b&w bump map, it worked. Not with the normal map. Something strange.
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: John_Do on 2024-04-08, 15:37:49
Code: [Select]
Quixel Bridge Plugin::Received data from Bridge.
{'minLOD': 'lod0', 'scriptFilePath': None, 'message': 'export', 'version': 1, 'resolution': '4K', 'resolutionValue': 4096, 'category': 'Floor', 'type': 'surface', 'id': 'vl0gfdalw', 'name': 'Concrete Floor Tiles', 'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw', 'exportAs': 'default', 'textureFormat': 'image/jpeg', 'meshFormat': '', 'previewImage': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_Preview.png', 'averageColor': '#000000', 'tags': ['gray', 'yellow', 'white', 'rdt', 'construction', 'pool', 'flooring', 'urban', 'city', 'concrete plates', 'squares', 'grout', 'ground', 'tiles', 'clean', 'flat', 'pale', 'smooth', 'new'], 'activeLOD': 'high', 'categories': ['surface', 'concrete', 'smooth'], 'isExternal': False, 'exportPath': '', 'namingConvention': {'texture': '$mapName_$resolution_$lod_$id', 'model': '$name_$lod_$variation_$id', 'folder': '$name_$id'}, 'folderNamingConvention': 'Concrete Floor Tiles_vl0gfdalw', 'mapNameOverride': {'albedo': 'Albedo', 'ao': 'AO', 'bump': 'Bump', 'cavity': 'Cavity', 'curvature': 'Curvature', 'diffuse': 'Diffuse', 'displacement': 'Displacement', 'fuzz': 'Fuzz', 'gloss': 'Gloss', 'mask': 'Mask', 'metalness': 'Metalness', 'normal': 'Normal', 'opacity': 'Opacity', 'roughness': 'Roughness', 'specular': 'Specular', 'thickness': 'Thickness', 'translucency': 'Translucency', 'transmission': 'Transmission'}, 'meta': [{'key': 'scanArea', 'name': 'Scan Area', 'value': '3x3 m'}, {'key': 'height', 'name': 'Height', 'value': '0.028 m'}, {'key': 'tileable', 'name': 'Tileable', 'value': True}, {'key': 'tiling_directions', 'name': 'Tiling Directions', 'value': ['x', 'y']}, {'key': 'texelDensity', 'name': 'Texel Density', 'value': '5461 px/m'}, {'key': 'calibration', 'name': 'Calibration', 'value': 'GretagMacbeth ColorChecker Color Rendition Chart'}, {'key': 'scanner', 'name': 'Scanner', 'value': 'MKX'}], 'materials': [], 'textureSets': [], 'workflow': 'specular', 'origin': 'megascans', 'isModularAsset': False, 'guid': 'fed65e21-5ada-8628-6811-f0f0c94ecc56', 'components': [{'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_4K_Albedo.jpg', 'type': 'albedo', 'resolution': '4K', 'format': 'jpg', 'name': 'vl0gfdalw_4K_Albedo.jpg', 'nameOverride': 'Albedo_4K__vl0gfdalw.jpg', 'colorSpace': 'sRGB', 'physicalSize': '3x3'}, {'resolution': '4K', 'type': 'ao', 'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_4K_AO.jpg', 'format': 'jpg', 'name': 'vl0gfdalw_4K_AO.jpg', 'nameOverride': 'AO_4K__vl0gfdalw.jpg', 'colorSpace': 'sRGB', 'physicalSize': '3x3'}, {'resolution': '4K', 'type': 'bump', 'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_4K_Bump.jpg', 'format': 'jpg', 'name': 'vl0gfdalw_4K_Bump.jpg', 'nameOverride': 'Bump_4K__vl0gfdalw.jpg', 'colorSpace': 'Linear', 'physicalSize': '3x3'}, {'resolution': '4K', 'type': 'displacement', 'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_4K_Displacement.exr', 'format': 'exr', 'name': 'vl0gfdalw_4K_Displacement.exr', 'nameOverride': 'Displacement_4K__vl0gfdalw.exr', 'colorSpace': 'Linear', 'physicalSize': '3x3'}, {'resolution': '4K', 'type': 'gloss', 'path': 'D:\\CLOUD-RENDU3D\\MEGASCAN\\Downloaded\\surface\\concrete_smooth_vl0gfdalw\\vl0gfdalw_4K_Gloss.jpg', 'format': 'jpg', 'name': 'vl0gfdalw_4K_Gloss.jpg', 'nameOverride': 'Gloss_4K__vl0gfdalw.jpg', 'colorSpace': 'Linear', 'physicalSize': '3x3'}], 'meshList': [], 'packedTextures': [], 'lodList': [], 'meshVersion': 1, 'components-billboard': [], 'isCustom': False}
Quixel Bridge Plugin::Importing Concrete Floor Tiles
Quixel Bridge Plugin::Successfully imported Concrete Floor Tiles


The console when i import a material.

I tried with the b&w bump map, it worked. Not with the normal map. Something strange.

Please check your DM !
Title: Re: Quixel Bridge Importer for Corona Renderer (C4D)
Post by: Nejc Kilar on 2024-04-16, 09:24:01
I'll be getting this! Thank you so much for working on it!