Page 2 of 3

Re: Converting Octane Materials back to C4D counterparts

Posted: Thu Jul 16, 2020 8:07 pm
by franchus
AndyReuter wrote:I'm lost on this one. How do you use a script like this??
Hey Andy, I already replied to you mail, but here you have also the same reply plus the .py file:
To run a user script you need to go to Extensions / user scripts/ Run script inside C4D

there are a few things to keep in mind:
1) Octane needs to be running on that machine if not C4D won't be able to read the info inside the octane material
2) the images inside the octane node editor must be inside an image texture node not a bitmap node. The script converts native octane to c4d and the bitmap node is a c4D object.
3) You need to have the octane materials you want to convert selected in the material manager.

Re: Converting Octane Materials back to C4D counterparts

Posted: Fri Oct 23, 2020 11:10 pm
by mmelchiorre
life saver! thanks francus!

Re: Converting Octane Materials back to C4D counterparts

Posted: Fri Apr 30, 2021 2:22 pm
by DEmpire
Did anyone have any luck getting this to work? I brought the above code into a text file and saved it with .py extension. Used script manager to run it in C4D with materials selected but nothing happened. Console is reporting some formatting errors like "IndentationErrors" but I suspect it's more than just that. Curious if anyone got this working and had any tips?

Thank you in advance

Re: Converting Octane Materials back to C4D counterparts

Posted: Wed Jun 23, 2021 7:34 pm
by Sabour7
Any Luck on the convertion?

Re: Converting Octane Materials back to C4D counterparts

Posted: Sun Aug 08, 2021 8:38 pm
by randymills
Has anyone had any luck using this script? I'm in C4D S24 and using the latest version of Octane Enterprise for C4D (2020.2.4)...

I found this script that worked very nicely for anyone looking for a solution: https://gumroad.com/l/fPcMB

NOTE: You will need to edit the Octane_Roundtrips2.py to change all "xrange" to "range" to get it to work on the latest version of C4D (shoutout to Billy Silver for this one)

Re: Converting Octane Materials back to C4D counterparts

Posted: Tue Jun 21, 2022 12:39 pm
by MountStone
Absolutely a lifesaver! Thank you very much for the hint with xrange and range!

Re: Converting Octane Materials back to C4D counterparts

Posted: Thu Mar 16, 2023 3:34 pm
by Kalua
Thanks, guys!
I have tried it but with no luck.
The command doesn't seem to respond.
Something seemed to be processed... but no results.
C4D R25, Octane 2022.1 R8
I am willing to pay for a usable converter like this... but so far haven't found anyone interested in doing it.

Regards,

EDIT: Just made it work with R20! Really impressive! It Works great.
Can't make it work neither on R25 or R2023.
Maybe someone knows what it takes to upgrade this.

Re: Converting Octane Materials back to C4D counterparts

Posted: Thu Mar 23, 2023 4:29 am
by Kalua
I found out the issue.
Python upgraded from v2 to v3 in R23.
I used 2to3.py to update it.
It works nicely with R23 and up now.
Thnaks everybody for sharing this.

Re: Converting Octane Materials back to C4D counterparts

Posted: Sun Apr 23, 2023 7:33 pm
by poclin
Hi Everyone.

Thanks a lot for this very usefull script.I have a quick question. Do you have an idea to add channel displacement conversion? I tried to re-edit the script but without success (I am new to python).

Re: Converting Octane Materials back to C4D counterparts

Posted: Mon May 01, 2023 10:13 am
by Kalua
poclin wrote:Hi Everyone.

Thanks a lot for this very usefull script.I have a quick question. Do you have an idea to add channel displacement conversion? I tried to re-edit the script but without success (I am new to python).
No idea. I only updated the script to work on R23+.
This is just a good way to batch a conversion and save big time on big scenes if you ever need to export a scene.
Regards,