Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: mp5gosu on 2014-09-12, 00:21:39

Title: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2014-09-12, 00:21:39
Corona Tools 1.0

Released for Alpha A3.

Support thread for CoronaTools.

Find the tools here: http://www.roberthitzer.de/projects/coronatools/
Due to the updated road map, this project will not be continued.

The tool will be updated for R20+ the next couple of months.
Title: Re: Cinema 4D Corona Material Converter
Post by: Marvey on 2014-09-12, 00:24:48
wow mg5gosu, i was waiting for it!! Amazing will speedup so much all the process of creating materials!
keep the good work!
regards
Title: Re: Cinema 4D Corona Material Converter
Post by: Han on 2014-09-12, 01:46:36
Previously conducted tests glossy materials
Corona Material Converter 3d max. Maybe this somehow useful to you, if I can help you let me know.

Corona_glossy https://www.dropbox.com/s/2vkjwkqwzpsaaw3/Corona_glossy.tif?dl=0
Vray_glossy  https://www.dropbox.com/s/crdggpjfoad72b1/Vray_glossy.tif?dl=0
Title: Re: Cinema 4D Corona Material Converter
Post by: tomislavn on 2014-09-12, 08:08:11
This is beautiful! :) Amazing work, can't wait to try it out!
Title: Re: Cinema 4D Corona Material Converter
Post by: useruser on 2014-09-12, 08:46:47
great!
thank you! :)
Title: Re: Cinema 4D Corona Material Converter
Post by: hankusp on 2014-09-12, 09:30:34
Great news !!!
Thank you
Title: Re: Cinema 4D Corona Material Converter
Post by: gootman on 2014-09-12, 09:45:05
It`s really cool!!! So, yours plugin will can to convert Corona materials from 3DSMax?
Title: Re: Cinema 4D Corona Material Converter
Post by: tomislavn on 2014-09-12, 12:06:47
It`s really cool!!! So, yours plugin will can to convert Corona materials from 3DSMax?

Standard cinema materials and vray for cinema materials to cinema corona material.
Title: Re: Cinema 4D Corona Material Converter
Post by: gootman on 2014-09-12, 12:18:59
It`s really cool!!! So, yours plugin will can to convert Corona materials from 3DSMax?

Standard cinema materials and vray for cinema materials to cinema corona material.

Ou.. I understand..)
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2014-09-15, 13:06:05
First release, see first post. :)
Title: Re: Cinema 4D Corona Material Converter
Post by: tomislavn on 2014-09-15, 13:11:47
First release, see first post. :)

Thank you! :) I will check it out tonight with some of my scenes in c4d r15.
Title: Re: Cinema 4D Corona Material Converter
Post by: koldi on 2014-09-15, 14:44:30
Thanks a lot for this one. Would you say using standard 1.9 vray mats is safe now, or rather stick to navite c4d when using your plugin? I got projects to finish with vray but I cant wait to continue started ones with corona. Good work anyway.
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2014-09-15, 14:53:36
Thanks a lot for this one. Would you say using standard 1.9 vray mats is safe now, or rather stick to navite c4d when using your plugin? I got projects to finish with vray but I cant wait to continue started ones with corona. Good work anyway.

Since VrayMaterials aren't supported yet, it's quite safe. ;)
Currently, only C4D standard materials are supported. I'm currently implementing the vray conversion template, so its release will be in the next few days. After that, additional C4D+Vray materials templates will be implemented. After C4D + Vray conversion is working 100%, Octane will follow. (Since C4D & Vray are the most common used ones)
Title: Re: Cinema 4D Corona Material Converter
Post by: Marvey on 2014-09-15, 17:57:52

Since VrayMaterials aren't supported yet, it's quite safe. ;)
Currently, only C4D standard materials are supported. I'm currently implementing the vray conversion template, so its release will be in the next few days. After that, additional C4D+Vray materials templates will be implemented. After C4D + Vray conversion is working 100%, Octane will follow. (Since C4D & Vray are the most common used ones)

Lovely mp5gosu i will wait for the vray conversion since i dont use AR engine for so long, but for who was using AR they can test already your nice tool! Wainting for the vray conversion to be avaiable, thank for your efforts!
regards
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2014-09-19, 22:49:48
Update 1.1 arrived. :)
Title: Re: Cinema 4D Corona Material Converter
Post by: Marvey on 2014-09-20, 15:13:46
nice mp5gosu!
Title: Re: Cinema 4D Corona Material Converter
Post by: pBarrelas on 2014-09-21, 15:06:29
Many thanks for taking the time to make this material converter! Greta job!
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2014-10-11, 13:27:08
Update arrived, see 1st post. :)
Title: Re: Cinema 4D Corona Material Converter
Post by: Marvey on 2014-10-11, 14:20:27
First and fast impression, just tried to convert a scene just to test, seems very nice, just noticed some names in the conversion got mixed (names with the material settings), for exemple in vray i got 2 materials, one with the name tree1 and other with tree2 after conversion the material with the name tree1 was the tree2 and the tree2 was the tree1, some others names got correctly converter others not.. other thing i noticed was the translucid materials (2sided vray materials), seems the conversion only activate the translucid channel and put there the color and texture, no difuse,  reflect, bump etc was activated, it is possible to get a better conversion of the translucid materials? other thing is the bump scale conversion, till today i dont understand yet very well the scale of the corona bump, but i noticed the corona scale  after conversion is exactly the same as vray, i have the feeling corona use a lower scale, since my tests till today with bump show me that i need to reduce the scale of bump to get a real material bump. Another thing is the opacity channel, i read the notes and yes i know is not doing the conversion yet, so will love to see it able to convert the opacity in the next builds. After all good work! it is already a big help, anyway i hope you continue improve the converter and if possible fix the things i said, no idea if is possible but i hope so :)
best regards
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2014-10-11, 14:33:39
First and fast impression, just tried to convert a scene just to test, seems very nice, just noticed some names in the conversion got mixed (names with the material settings), for exemple in vray i got 2 materials, one with the name tree1 and other with tree2 after conversion the material with the name tree1 was the tree2 and the tree2 was the tree1, some others names got correctly converter others not.. other thing i noticed was the translucid materials, seems the conversion only activate the translucid channel and put there the color and texture, no difuse,  reflect, bump etc was activated, it is possible to get a better conversion of the translucid materials? other thing is the bump scale conversion, till today i dont understand yet very well the scale of the corona bump, but i noticed the corona scale  after conversion is exactly the same as vray, i have the feeling corona use a lower scale, since my tests till today with bump show me that i need to recude the scale of bump to get a real material bump. Another thing is the opacity channel, i read the notes and yes i know is not doing the conversion yet, so will love to see it able to convert the opacity in the next builds. After all good work! it is already a big help, anyway i hope you continue improve the converter and if possible fix the things i said, no idea if is possible but i hope so :)
best regards

Hi, thanks for the input.
Names usually don't get confused, but it might seem so as Blend and 2Sided Materials only use 1st slot for conversion. Therefore, for example the 2Sided Material will inherit parameters from the material of the first link - it will even inherit its name which is practically not correct, I'm gonna fix this. :) I know, it's a solution with a few drawbacks, but it will be changed once Corona offers Mix Materials.

Translucent materials: Translucency inherits the Diffuse texture from the first material's diffuse channel as this gives the very best results. (Btw, it's the same way as it is done in the converter for Max)
However, all material parameters are only convertible to a certain degree and especially translucency is such a case where it comes to massive drawbacks.

Bump scale ist broken. As I was thinking about to implement a scale factor, this is nearly impossible. This would count for ANY scale parameter in any shader. But I'm pretty sure, this is going to be fixed soon.

Thanks for input again. :)

edit: Found a bug that was causing Material Name Mismatch. Will be fixed in next version. :)
Title: Re: Cinema 4D Corona Material Converter
Post by: Marvey on 2014-10-13, 13:48:36
Thank you for your work mp5gos!
regards
Title: Re: Cinema 4D Corona Material Converter
Post by: dimka11 on 2014-10-19, 17:22:44
Version 1.2 not work in r16
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2014-10-19, 17:33:07
Okay, I'll have a look into it tomorrow.
Title: Re: Cinema 4D Corona Material Converter
Post by: Dex on 2014-10-19, 17:40:36
Open Corona Material Converter 1.2 . Uncheck  "convert Cinema 4d Materials" & "Convert Vray Materials". Press the CONVERT button. Then turn on Vray if you need vray converted or Turn on Cinema4d materials. Try a Convert again.

The conversion worked again for me!

Great plugin mp5gosu. You are a clever dude, you will save users many hours. Appreciate all your hard work.
Title: Re: Cinema 4D Corona Material Converter
Post by: Marvey on 2014-10-19, 22:46:37
Version 1.2 not work in r16

Strange here R16 v1.2 with no probs to run the script.
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2014-11-02, 12:10:09
Version 1.2 not work in r16

Bug found, fix will follow with the next update. Thanks for the report anyways. :)

edit: Temporary solution applied

Quote
1.21
Fixed: R16 Reflectance conversion error resolved

Download here: http://www.roberthitzer.de/projects/cmc/
Title: Re: Cinema 4D Corona Material Converter
Post by: Marvey on 2014-11-02, 15:27:50
thank you
Title: Re: Cinema 4D Corona Material Converter
Post by: alekba on 2014-11-06, 05:45:37
As far as I know the ideal material converter does not exist, there are always remain some details to fine tune. Your plugin does a great job, it would be good to be included in a future version of Corona. Thanks for this.
Title: Re: Cinema 4D Corona Material Converter
Post by: xcut0r on 2014-11-23, 04:37:01
where's the "thumbs up" button when needed? :D

great job there @mp5gosu !! thanks for this men, its very very usefull !! :)


cheers

xcut0r
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2014-12-27, 18:21:44
A quick headsup:
Since migrating to C++ Base, I'm making good progress.
However, the next update will probably take a while because I decided to overhaul the Converter. That means, that in the future you will not only be able to convert materials, but also whole scenes. Things planned on upcoming releases: A SceneConverter, LightLister and some other handy tools.
The current version of the Material Converter will receive an update though - to allow conversion of R16 reflectance layers.

So stay tuned. :)
Title: Re: Cinema 4D Corona Material Converter
Post by: Marvey on 2014-12-28, 17:15:15
very nice, waiting for it! thanks
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2014-12-31, 13:45:09
Mini-Update arrived, see 1st post.
Title: Re: Cinema 4D Corona Material Converter
Post by: Marvey on 2014-12-31, 14:45:28
mp5 can you please check the download link, the file in the download has this name: "cmc121.zip" it is the last one but the name is wrong?
thanks
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2014-12-31, 14:58:57
mp5 can you please check the download link, the file in the download has this name: "cmc121.zip" it is the last one but the name is wrong?
thanks

Woops. :F
Sorry, corrected.
Title: Re: Cinema 4D Corona Material Converter
Post by: Marvey on 2014-12-31, 19:42:54
cool, thanks ;)
Title: Re: Cinema 4D Corona Material Converter
Post by: kosmos3d on 2015-01-04, 10:35:00
Hi.
It doesn't work at all neither in c4d 16 or 15.
this is output in console:
------------------------------
CMC: Converting Material "Nuovo"
CMC: Material type: Cinema 4D Material
Traceback (most recent call last):
  File "h:\Program Files\MAXON\CINEMA 4D R15\plugins\CoronaMatConverter\core\converterdlg.py", line 55, in Command
  File "h:\Program Files\MAXON\CINEMA 4D R15\plugins\CoronaMatConverter\converter\converter.py", line 112, in convertMaterials
  File "h:\Program Files\MAXON\CINEMA 4D R15\plugins\CoronaMatConverter\converter\converter.py", line 90, in iterateMaterials
  File "h:\Program Files\MAXON\CINEMA 4D R15\plugins\CoronaMatConverter\converter\corona.py", line 154, in transfer
AttributeError: 'module' object has no attribute 'CORONA_MATERIAL_ALPHA'

My configuration is:
OS: win 8.1
C4D: 15.037 (also tried in R16: same message)
Corona: A1.2
Also noticed that my OS is on c:\ and not on h:\ as shown in output message.

Hope this can be useful.
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2015-01-04, 11:03:49
Thank you, I'll take a look into it and will release a fix today.
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2015-01-04, 11:35:20
Hi.
It doesn't work at all neither in c4d 16 or 15.
this is output in console:
------------------------------
CMC: Converting Material "Nuovo"
CMC: Material type: Cinema 4D Material
Traceback (most recent call last):
  File "h:\Program Files\MAXON\CINEMA 4D R15\plugins\CoronaMatConverter\core\converterdlg.py", line 55, in Command
  File "h:\Program Files\MAXON\CINEMA 4D R15\plugins\CoronaMatConverter\converter\converter.py", line 112, in convertMaterials
  File "h:\Program Files\MAXON\CINEMA 4D R15\plugins\CoronaMatConverter\converter\converter.py", line 90, in iterateMaterials
  File "h:\Program Files\MAXON\CINEMA 4D R15\plugins\CoronaMatConverter\converter\corona.py", line 154, in transfer
AttributeError: 'module' object has no attribute 'CORONA_MATERIAL_ALPHA'

My configuration is:
OS: win 8.1
C4D: 15.037 (also tried in R16: same message)
Corona: A1.2
Also noticed that my OS is on c:\ and not on h:\ as shown in output message.

Hope this can be useful.

Is it possible, that you didn't install 1.2 properly?
Please double-check at the Corona About-Dialog.
Btw, you should update your C4D-installation to the most recent version.
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2015-01-04, 12:45:14
I applied a fix, re-download if you experience any issues.
Title: Re: Cinema 4D Corona Material Converter
Post by: Seik on 2015-01-13, 14:05:37
Can we have a "retro" function to convert Corona Materials to Standard Cinema 4D Materials?
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2015-01-13, 14:35:35
Can we have a "retro" function to convert Corona Materials to Standard Cinema 4D Materials?

Yes. But this will take quite a while. I'm currently rewriting the plugins and extending it to a Scene Converter. After that's done, I'll add the possibility to convert to Cinema 4D Scenes.
Title: Re: Cinema 4D Corona Material Converter
Post by: Seik on 2015-01-13, 14:43:07
Great. Thanks.
Do de best to develop for OSX too guys ;)
Title: Re: Cinema 4D Corona Material Converter
Post by: Dex on 2015-01-16, 19:36:04
Thanks for releasing v1.3.

Just a small thing. Click on the '?', Help and about shows v1.2.
Title: Re: Cinema 4D Corona Material Converter
Post by: pBarrelas on 2015-05-12, 11:52:25
mp5gosu, many thanks for releasing this plugin. It's a real time saver!
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2015-05-12, 12:28:08
You're welcome.
Version 2.0 is already being worked on. Scene Converter works good so far. There are still some things to do until next release. Hopefully, in the next weeks I'l be able to release the new version.
Title: Re: Cinema 4D Corona Material Converter
Post by: Karol Nord on 2015-05-12, 12:36:38
Any chance to see this work in R14? It would be incredibly helpful to make the switch to corona.
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2015-05-12, 12:48:29
R14 support is planned, but the lowest point on my priority list. ;)
Title: Re: Cinema 4D Corona Material Converter
Post by: pBarrelas on 2015-05-21, 10:58:35
I noticed that when converting Vray materials that are using the Vray Bitmap Loader, the script translates it to the Corona material. Any chance of the script being able to get rid of it?
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2015-05-21, 11:51:52
I noticed that when converting Vray materials that are using the Vray Bitmap Loader, the script translates it to the Corona material. Any chance of the script being able to get rid of it?

Yes, this is fixed.
Title: Re: Cinema 4D Corona Material Converter
Post by: pBarrelas on 2015-05-21, 13:09:18
I noticed that when converting Vray materials that are using the Vray Bitmap Loader, the script translates it to the Corona material. Any chance of the script being able to get rid of it?

Yes, this is fixed.
Thanks a lot Robert. I didn't knew version 1.3 was out!
Good job!
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2015-05-21, 13:11:46
I noticed that when converting Vray materials that are using the Vray Bitmap Loader, the script translates it to the Corona material. Any chance of the script being able to get rid of it?

Yes, this is fixed.
Thanks a lot Robert. I didn't knew version 1.3 was out!
Good job!

This isn't fixed in 1.3 though. :)
I'm still porting everything to C++. The Python version can be seen as obsolete. The new tools will take me some more time as Corona advances quite fast. :)
Title: Re: Cinema 4D Corona Material Converter
Post by: pBarrelas on 2015-05-21, 13:17:47
I downloaded the latest version from your website but in the "about" section it still says Version 1.2. Is this correct?
Yes, it's good that Corona advances this fast but I guess that when you're porting plugins from Python to C++, this my be a pain in the neck :)
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2015-06-02, 11:39:25
I downloaded the latest version from your website but in the "about" section it still says Version 1.2. Is this correct?
Yes, it's good that Corona advances this fast but I guess that when you're porting plugins from Python to C++, this my be a pain in the neck :)

Current is 1.3 - 1.2 is just a typo. :)
My company "allowed" me  to work on the converter fullt-time now, so I'm making progress more quickly. A first testbuild went out to some testers yesterday - yet there's still a lot to do.
With the next public release, I can actually make sure that all features are supported. IES, SSS, Multipass ,etc.
And yes, porting to unmanged code is definitely a pain in the neck. :)
Title: Re: Cinema 4D Corona Material Converter
Post by: pBarrelas on 2015-06-02, 12:27:48
I downloaded the latest version from your website but in the "about" section it still says Version 1.2. Is this correct?
Yes, it's good that Corona advances this fast but I guess that when you're porting plugins from Python to C++, this my be a pain in the neck :)

Current is 1.3 - 1.2 is just a typo. :)
My company "allowed" me  to work on the converter fullt-time now, so I'm making progress more quickly. A first testbuild went out to some testers yesterday - yet there's still a lot to do.
With the next public release, I can actually make sure that all features are supported. IES, SSS, Multipass ,etc.
And yes, porting to unmanged code is definitely a pain in the neck. :)

Thanks a lot for the good news!
Title: Re: Cinema 4D Corona Material Converter
Post by: mp5gosu on 2015-06-11, 19:19:23
Preview available, see 1st post. :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: tiagobrazil on 2015-06-12, 16:41:22
How to install?
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-06-12, 19:10:38
How to install?

Simply drop the content into your plugins folder.
Title: Re: Cinema 4D Corona Scene Converter
Post by: smz on 2015-06-12, 22:53:40

R15: http://www.roberthitzer.de/projects/coronatools/coronatoolsr15_beta.zip (http://www.roberthitzer.de/projects/coronatools/coronatoolsr15_beta.zip)
R16: http://www.roberthitzer.de/projects/coronatools/coronatoolsr16_beta.zip (http://www.roberthitzer.de/projects/coronatools/coronatoolsr16_beta.zip)
erroneous version numbers
I have
- Cinema R16 - plugin version R15. It works correctly.
plugin version R16 It does not work.

Thank you for the plugin!!
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-06-12, 23:47:58

R15: http://www.roberthitzer.de/projects/coronatools/coronatoolsr15_beta.zip (http://www.roberthitzer.de/projects/coronatools/coronatoolsr15_beta.zip)
R16: http://www.roberthitzer.de/projects/coronatools/coronatoolsr16_beta.zip (http://www.roberthitzer.de/projects/coronatools/coronatoolsr16_beta.zip)
erroneous version numbers
I have
- Cinema R16 - plugin version R15. It works correctly.
plugin version R16 It does not work.

Thank you for the plugin!!

Are you on latest R16? Is Corona installed properly?
Title: Re: Cinema 4D Corona Scene Converter
Post by: smz on 2015-06-13, 05:45:11

Are you on latest R16? Is Corona installed properly?
Cinema 4D R16.038
C:\Program Files\MAXON\CINEMA 4D R16\plugins\CoronaTools

---------------------------------
set Update 050
now it works. :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: pBarrelas on 2015-06-15, 16:27:00
One thing that the conversion isn't taking care of, is that the Normal Channel from a C4D material should go to the Bump Channel from a Corona material. Probably this is already planned for the C++ version.
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-06-15, 16:28:29
One thing that the conversion isn't taking care of, is that the Normal Channel from a C4D material should go to the Bump Channel from a Corona material. Probably this is already planned for the C++ version.

Good point! Will be implemented.
Actually, I totally forgot about it. :D
Title: Re: Cinema 4D Corona Scene Converter
Post by: pBarrelas on 2015-06-17, 11:23:59
I can confirm that the plugin for R16 doesn't work and freezes C4D. I installed the R15 version to work with my R16 install and it works.
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-06-17, 12:21:02
I can confirm that the plugin for R16 doesn't work and freezes C4D. I installed the R15 version to work with my R16 install and it works.
Please update to R16.050. ;)

Btw, I'll take care of all R16 versions for future releases...
Title: Re: Cinema 4D Corona Scene Converter
Post by: Karol Nord on 2015-06-18, 10:49:05
still hoping for that r14 compatibility with vray support! ;)
Title: Re: Cinema 4D Corona Scene Converter
Post by: pBarrelas on 2015-06-18, 12:13:44
Quote
Please update to R16.050. ;)

Btw, I'll take care of all R16 versions for future releases...
I've got R16.050 installed!
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-06-18, 13:09:16
Could you send me the scene then please?
Title: Re: Cinema 4D Corona Scene Converter
Post by: Visual Pie Workroom on 2015-06-18, 17:08:48
Are there any plans to make Vray 2 sided converting materials ?
Doesn't work((
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-06-18, 18:49:09
Are there any plans to make Vray 2 sided converting materials ?
Doesn't work((

Doesn't work because it's disabled for now.
Vray conversion will be available with the next update.
Title: Re: Cinema 4D Corona Scene Converter
Post by: Visual Pie Workroom on 2015-06-18, 23:19:24
Are there any plans to make Vray 2 sided converting materials ?
Doesn't work((

Doesn't work because it's disabled for now.
Vray conversion will be available with the next update.
nice
Title: Re: Cinema 4D Corona Scene Converter
Post by: adildil on 2015-06-22, 01:09:50
need vray converter pleaaaaaaase
Title: Re: Cinema 4D Corona Scene Converter
Post by: digitalmarley on 2015-07-08, 21:00:35
Hi your plugin is very valuable so thank you for creating this. I've noticed that with Corona Alpha 3 for C4d, it includes a 'scene converter' that also does material conversion. Is this the same as your plugin because the material converter 1.3 does not work in the new alpha build at all. If they are the same plugin, thats great that its included in the new build.

Problem i am having with 'scene converter' material conversion hangs forever on most conversions. I am using C4d V16 build 16.050 so i'm up to date. Its typically in files with lots of materials. One or two and it works immediately...any more than 10, and it hangs forever. I've left it running over-night so i know i'm not being impatient.

What other factors might cause the scene converter's material conversion to hang? Long material names or long file names for the textures?

Any help you can provide would be appreciated.

DM
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-07-08, 21:11:47
Hi,

there are some problems with C4D shaders that are not supported by Corona. I plan to add a filter for unsupported shaders, but with the current build it's easy to crash Corona with certain shader-setups. This has to be handled by Corona as you are able to crash Corona even if you do it manually.
However, I'm going to add more failure checks to support stability.

Even with 2000 materials, it takes less than a half-second on my machine.

The MaterialConverter is just a script and deprecated, therefore it should not be used anymore. (Use it as long as you want to convert Vray materials though as in the current build of the scene converter, there's no vray support yet - follows with the next update)

Title: Re: Cinema 4D Corona Scene Converter
Post by: digitalmarley on 2015-07-08, 21:20:59
Thanks for the quick reply! Are there any particular types of shaders you know of that  i can filter manually in the meantime? I have to hurry on this project! Strangely they are all simple c4d materials, created by C4d when importing a DAE model. Nothing fancy like dirt shaders, luminance or even reflections. In fact they are all pretty much just Diffuse channels with the occasional JPG texture in the image slot.

Any thoughts?

DM
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-07-08, 21:26:58
Can you provide a stripped file with only materials in the scene via PN? No textures, no objects.
This way I can at least check if it is caused by Corona or by the converter.
Title: Re: Cinema 4D Corona Scene Converter
Post by: digitalmarley on 2015-07-08, 21:34:23
Absolutely. Here's the simplest of the 5 files i have to convert, just the materials and the linked textures. As you can see its crashing with just the 16 or so textures and all except thje glass is just a diffuse channel.

My other files have thousands!

Thank you so much for your attention and help,

DM
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-07-08, 21:49:04
Thanks. Bug found. I made a mistake. Will release a fix tomorrow. :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: digitalmarley on 2015-07-08, 21:49:50
You are awesome! Thank you!
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-07-08, 22:08:13
You are awesome! Thank you!

Quicker than expected. This should fix your problem: http://www.roberthitzer.de/projects/coronatools/coronatools_r16_beta_1.rar
Title: Re: Cinema 4D Corona Scene Converter
Post by: digitalmarley on 2015-07-08, 22:45:45
it worked perfectly!!!! you are a great developer! I will now test more complex files, see what happens and let you know!

DM
Title: Re: Cinema 4D Corona Scene Converter
Post by: digitalmarley on 2015-07-08, 23:16:32
OK ive tested a file with 228 textures, and a file with 2091 textures, and they both converted in seconds. Whatever you did was a lifesaver!

Thanks again and promote that plugin beta update immediately!

DM
Title: Re: Cinema 4D Corona Scene Converter
Post by: _David_ on 2015-07-13, 22:19:28
Thanks for your work on this. It's going to be very useful for converting Vray materials/scenes. I'm a bit behind with Cinema version r14 though so will have to be patient
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-07-13, 22:24:37
Yes.
The next version is almost finished. So R14 is getting a bit closer. :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: mlon on 2015-08-21, 23:12:17
r14 yea! :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: Karol Nord on 2015-09-16, 12:44:48
so how's this r14 support coming along? :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: Dex on 2015-09-16, 12:57:52
+1 Great job with the scene converter, really appreciate your hard work.  I would love the hear how it is coming along, and when the latest version will be released with Vray support.
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-09-16, 13:08:49
+1 Great job with the scene converter, really appreciate your hard work.  I would love the hear how it is coming along, and when the latest version will be released with Vray support.

Hi. Thanks for those kind words. Due to the current lack of sparetime and the recent summer, things take a bit longer than expected. The next version will definitely come with Vray-Support.
I'm currently adding support for R17 & GI portals and additional stuff. So no e.t.a. yet, sorry.

I'll update this thread accordingly whenever I release an update. :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: Marvey on 2015-09-17, 12:44:29
thats would be perfect! thanks!
Title: Re: Cinema 4D Corona Scene Converter
Post by: Dex on 2015-09-18, 12:48:19
Thanks for your reply. I'm sure the C4d corona forum would help if asked. Can you create donationware software?
Don't want to be a pain in the ****, but can I ask..... you think it would be available before the new year? :D
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-09-18, 13:55:38
Thanks for your reply. I'm sure the C4d corona forum would help if asked. Can you create donationware software?
Don't want to be a pain in the ****, but can I ask..... you think it would be available before the new year? :D

The converter won't be donationware. Chances are good that there will be an update before 2016 as the core features are implemented yet.
Title: Re: Cinema 4D Corona Scene Converter
Post by: Dex on 2015-09-18, 15:45:06
I'm probably doing something wrong here!
Using the latest scene converter on a standard c4d material with an alpha applied. It inverts the alpha channel. So I end up with the areas I want to keep invisible. Where would I find the alpha channel properties in the corona material so I can invert it?  I can't quite work out how to use the alpha within the layerset! Thanks
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-09-20, 21:01:21
I'll take a look into it.


A quick heads up:
Vray support is now almost almost complete. The last thing I'm going to add is environment conversion.
After that's done (and probably the documentation), I'll release an update - hopefully until end of the week. :)


So stay tuned. :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: Dex on 2015-09-21, 12:04:43
Thanks so much. I really appreciate your hard work.
If you could have a look at the alpha channel issue, that would be great. It's probably something stupid I'm doing!!
Not an issue or bug, but I would prefer to see the converted textures have less specular by default (that's just my preference). :)

Keep up the great work.

Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-10-10, 11:41:54
1.0 released.

Please see 1st post. :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: Dex on 2015-10-10, 16:19:58
Thanks very much for the update. I will test it out properly over the next few weeks.
I'm still having issues with the alpha channel. The alpha is inverted! (please see the previous message).  Is anyone else having issues?
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-10-10, 17:47:32
Alpha works fine here. Can you provide an example file?
Title: Re: Cinema 4D Corona Scene Converter
Post by: Rhodesy on 2015-10-12, 12:59:08
Thanks for this tool mp5gosu, a great way to quickly switch over maps and lights. Good work.
Title: Re: Cinema 4D Corona Scene Converter
Post by: Marvey on 2015-10-12, 15:56:58
indeed! very nice thanks!
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-10-18, 21:06:52
Thanks very much for the update. I will test it out properly over the next few weeks.
I'm still having issues with the alpha channel. The alpha is inverted! (please see the previous message).  Is anyone else having issues?

There's indeed an issue with alpha on Vray materials. Unfortunately, Corona is missing an "Invert" checkbox. I'm afraid you'll have to wait for it to be implemented. :(

Btw, I forgot to implement bumpmap-conversion for Vray materials. :D
Update will follow tonight, including support for rounded edges-shader.
Title: Re: Cinema 4D Corona Scene Converter
Post by: Dex on 2015-11-05, 19:30:09
Do you know if the corona development team have implemented the invert button in the new Corona version A4.1?
Any inside knowledge when it will be 4.1 will be released? :D
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2015-11-05, 19:31:20
I don't know anything, sorry. :D
Title: Re: Cinema 4D Corona Scene Converter
Post by: Visual Pie Workroom on 2016-04-24, 10:21:52
Hi! any further development plans coronatools?
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2016-04-24, 12:32:53
Not this year, sorry.
Title: Re: Cinema 4D Corona Scene Converter
Post by: Marvey on 2016-06-23, 00:47:21
ouch thats bad news :(
Title: Re: Cinema 4D Corona Scene Converter
Post by: anton taf on 2016-08-05, 00:17:03
Hello and thanks for the tools.
I have one question. Is it possible somehow to convert backwards all corona materials to c4d materials?
The reason I want to do this is mainly because I would like to export my scene or some objects in FBX file, but with corona materials it loses all the texture maps. Or if you know a way to export my scene with all texture information in my geomeries. Thanks
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2016-08-05, 07:37:10
Hi,

it's not that easy, even the way it is right now. When converting,  the tool has to consider not only textures, but shaders of certain types that must be analyzed and brought into the correct context.
So no, the advantage of reverse conversion is too little, it wouldn't defy the effort if implementing such functionality...
Title: Re: Cinema 4D Corona Scene Converter
Post by: shane_w on 2016-10-03, 22:19:41
Now that the OS X version is in Alpha would it be possible for a Mac compile of your plugin?

Thanks,

-Shane
Title: Re: Cinema 4D Corona Scene Converter
Post by: leo3d on 2016-12-07, 13:56:04
Hello

Would you plane to support substance shader ? Cause we loose some informations (Reflection & bump)
Title: Re: Cinema 4D Corona Scene Converter
Post by: nightwalker on 2017-01-12, 14:24:43
Thanks for a great job! Any chance to have this tool for Mac os x?
Title: Re: Cinema 4D Corona Scene Converter
Post by: mascal on 2017-01-13, 16:45:24
.... please,  OS X version :-) !!!!
Title: Re: Cinema 4D Corona Scene Converter
Post by: Marvey on 2017-01-16, 11:53:04
any news about some update for this amazing tool? thanks!
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2017-01-16, 13:03:40
Currently not. I planned to wait fot final release. Expect in around somewhere in summer.
This includes an OSX version of course. :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: leo3d on 2017-01-16, 14:46:13
substance shader support will be very nice quickly ;)
Title: Re: Cinema 4D Corona Scene Converter
Post by: Marvey on 2017-01-18, 18:05:16
Currently not. I planned to wait fot final release. Expect in around somewhere in summer.
This includes an OSX version of course. :)

amazing mp5gosu! thanks!
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2017-01-18, 20:46:19
By the way, I'm currently investigating. ;)
Edit: There's actually a corona scene converter on the devs roadmap. So probably no need to update this one. :(
Title: Re: Cinema 4D Corona Scene Converter
Post by: julianofurgeri on 2017-01-20, 20:58:25
Waiting for Mac version = )
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: remydedez on 2017-04-12, 18:31:38
yes mac version please !!!! ;)
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: burnin on 2017-04-12, 20:51:09
Until further notice, read the title:  [DISCONTINUED] Cinema 4D Corona Scene Converter

and the original (first) post:

Quote
Due to the updated road map, this project will not be continued.

:)
« Last Edit: 2017-01-27, 20:43:28 by mp5gosu »

and few posts above:

Quote
By the way, I'm currently investigating. ;)
Edit: There's actually a corona scene converter on the devs roadmap. So probably no need to update this one. :(

tho, i agree, with 3rd party exporter some work would be taken off the dev. team & users/testers could do more helping, advising, sharing experience

Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2017-05-24, 10:34:12
Yes, I see. Will evaluate this usage of this converter and consider if a complete rewrite makes sense.
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: iacdxb on 2017-08-14, 13:45:03
Hi, this converter which vrayforc4d version support, I am using VrayforC4D 3.4 (3.5 beta)

In forum... its update gone till version 1.2+ , download shows only 1.1, is this the last version for Mac OS ?


Thanks.

...
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2017-08-14, 13:52:17
Hi, this converter which vrayforc4d version support, I am using VrayforC4D 3.4 (3.5 beta)

Thanks.

...

I'm currently working on it. No eta. though.
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: iacdxb on 2017-08-14, 19:26:51
Thanks for reply.
Hope it will be ready soon.

Thanks

...
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: iacdxb on 2017-08-17, 17:35:46


...
Title: Corona Tools C4d for Mac
Post by: theksx on 2017-10-09, 18:27:17
Hi Robert,

I only would to ask if you're planning to develope Corona Tools compatible with macOS.

Thanks!
Title: Re: Corona Tools C4d for Mac
Post by: mp5gosu on 2017-10-10, 07:06:52
Hi Robert,

I only would to ask if you're planning to develope Corona Tools compatible with macOS.

Thanks!

Yes.
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: archirobi on 2017-11-12, 16:47:51
I'm using the R17... I just copied the folder in the plugins folder but it doesn't work :(
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: iacdxb on 2018-01-20, 03:11:17
Looking for Mac... at least some basic materials to convert....!!!

...
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: chvlad on 2018-02-23, 12:33:22
Yes, for MAC please
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: mrittman on 2018-03-22, 18:53:19
Hey Robert,

I used your great plugin to convert a scene. I noticed the displacement didn't come through quite right however. I know it's been discontinued, but is there any chance at all you'd be making any future updates past version 1.1?

Thanks man!
Matt
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2018-03-22, 19:05:23
Hey Matt,

I'm afraid, there's currently no plan to update it, for the following reasons:
Corona is still in development and changes are quite hevy to keep track of.
Corona is awaiting a node-based material system. So there is another point I have to consider in order to make it work with the converter.
And finally: Corona will have its own native scene converter in the future.

Cheers
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: mrittman on 2018-03-22, 19:17:42
Okay that's totally understandable :) I can't even imagine the work involved in making a plugin like this. Thanks again!
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: kraphik3d on 2018-08-10, 14:56:49
I know this is discontinued but I use it almost daily. Is there some limitation for object or polycount? Converter freezes but after deleting some objects I try again and it works.
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2018-08-10, 15:02:30
I know this is discontinued but I use it almost daily. Is there some limitation for object or polycount? Converter freezes but after deleting some objects I try again and it works.

This is most likely happening because of assigned materials, etc. What C4d version do you use?
If you are able to share the scene in question, that'd be very welcome.
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: kraphik3d on 2018-09-21, 14:49:34
I know this is discontinued but I use it almost daily. Is there some limitation for object or polycount? Converter freezes but after deleting some objects I try again and it works.

This is most likely happening because of assigned materials, etc. What C4d version do you use?
If you are able to share the scene in question, that'd be very welcome.
I use r19. I work with archviz projects. There may be large amount of polygons in scene but material count is not very high.
I work under nda and unfortunately cannot share these projects.
Title: Re: [DISCONTINUED] Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2020-09-01, 09:25:58
Good news everyone. Recovered the source files and will start updating the tool again soon. :)
Title: Re: Cinema 4D Corona Scene Converter
Post by: BigAl3D on 2020-09-01, 14:12:32
Good to hear. The devs don't seem to think this is a useful tool. Will your tool hand materials with Reflectance correctly?
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2020-09-01, 15:01:32
Good to hear. The devs don't seem to think this is a useful tool. Will your tool hand materials with Reflectance correctly?

It's a bit complicated to calculate reflectance correctly because there's always differences in the rendering equations. So at least, there's an approximation.
There's definitely going some research into that, I assume a sample-based lookup table might give nice results. :)

Will see how it works out.
Title: Re: Cinema 4D Corona Scene Converter
Post by: Cinemike on 2020-09-01, 16:18:37
Great to hear. Any converter is better than none and a good converter is an invaluable help.
I converted plant materials the other day, from the content browser. They were in this silly MAXON PBR material format where everything is crammed into reflectance (diffuse, bump, reflections ...) and the Corona material converter failed to take them apart and re-assemble them into a Corona material.
Would be great to have a solution for such cases, too.
Title: Re: Cinema 4D Corona Scene Converter
Post by: BigAl3D on 2020-09-02, 17:06:42
@Cinemike Yeah, I stopped trying to use the Convert Scene button. It's easier to create a Corona material and copy the assets from the C4D version. The converter is completely useless. Why even put the damn button in there at all? There are many other "features" that still don't work. How many years with this go on?
Title: Re: Cinema 4D Corona Scene Converter
Post by: haffy on 2020-09-14, 12:12:44
This plugin sounds amazing, but I can't get it to work in R23.

Is  this correct, drag the content to ../plugins/ folder and start C4D?
Where should I se it?
Title: Re: Cinema 4D Corona Scene Converter
Post by: mp5gosu on 2020-09-14, 12:16:55
This plugin sounds amazing, but I can't get it to work in R23.

Is  this correct, drag the content to ../plugins/ folder and start C4D?
Where should I se it?

There's no plugin for R20+ available yet.
Title: Re: Cinema 4D Corona Scene Converter
Post by: leonkerpel on 2020-09-29, 12:06:48
that's nice to hear! if there could also be a function to convert (back) to standard c4d material that would be even more awesome. I know U render has that option.
Title: Re: Cinema 4D Corona Scene Converter
Post by: BigAl3D on 2020-09-29, 16:41:25
Corona was supposed to also convert Vray materials as well. That was before Chaos bought them. They are similar in nature, but nothing for that option either.
Title: Re: Cinema 4D Corona Scene Converter
Post by: kraphik3d on 2021-03-25, 08:45:21
@BigAI3D

In order to convert vrayforc4d scene and materials into corona renderer you need to have vrayforc4d installed.
Plugin is working ok but you need to adjust shaders manually as they are not the same render engine.
You can also use Corona renderer native converter. Not sure if corona renderer converter or plugin is better though because both do the
same but I think plugin has better options for more experienced users like myself. For example you can only convert selected material
in plugin options and you don´t have to convert all materials at once but only those you need to have for rendering.

I call conversion between render engines "hands on the pocket" conversions because these are
not all very handy and not 100% conversion.

Title: Re: Cinema 4D Corona Scene Converter
Post by: BigAl3D on 2021-04-01, 17:01:32
@kraphik3d Good to hear, but I guess it only makes sense if you are switching from Vray to Corona and already have assets to convert. I was hoping to be able to find Vray materials and convert them to Corona. Not the end of the world. Thanks for the info.
Title: Re: Cinema 4D Corona Scene Converter
Post by: kraphik3d on 2021-04-21, 12:55:08
@BigAl3D

Typically in customer production there is some use for scene converter when converting some furniture models with
basic c4d materials into corona shaders.

Sometimes it is useful when I have purchased some assets from Evermotion which are in vray format.
First one is converted with built in converter without any manual work and second is converted with scene converter plugin with some manual work.

Last one is original vrayforc4d version.

Of course conversion is not straightforward and you have to remake some materials.

Title: Re: Cinema 4D Corona Scene Converter
Post by: Copper on 2024-01-17, 11:50:41
Hi, does anyone know if there are any plugins to convert Vray scenes to corona in cinema R25?
Title: Re: Cinema 4D Corona Scene Converter
Post by: Beanzvision on 2024-01-17, 15:46:25
Currently we are working on a better scene converter to bridge this gap. But currently, you might be able to use the following plugins: VRay to C4D then C4D to Corona using our scene converter.
https://www.kosmos3d.it/vraytoc4d/