Page 11 of 13

Re: Octane exporter for C4D version 0.12b (current)

PostPosted: Sun Apr 05, 2015 1:45 pm
by Kassad
Hi again,

I'm interested by the code source.
Thank you.

B->

Re: Octane exporter for C4D version 0.12b (current)

PostPosted: Tue Apr 07, 2015 10:29 pm
by abstrax
Kassad wrote:Hi again,

I'm interested by the code source.
Thank you.

B->

Ok, let me clean up the code and put it on Github or Bitbucket on the weekend.

Regarding your original question: You didn't mention that you are on OSX. The problem is probably that the export plugin put the parameters into quotes and current versions don't seem to like that on OSX. Will try it out in the coming days.

Re: Octane exporter for C4D version 0.12b (current)

PostPosted: Wed Apr 08, 2015 7:15 am
by Kassad
Hi Again,

Indeed, I also think that the problem is related to the quotes.

Ok for Github.

Thank you.

B->

Re: Octane exporter for C4D version 0.12b (current)

PostPosted: Sun Apr 12, 2015 2:28 pm
by Kassad
Hi again,

I tried to compile the C4D R12 SDK on a Mac Yosemite with the new XCode and had a lot of errors.
I'm more familiar with the Visual studio compiler, but I think the new Xcode is incompatible with that SDK version.
I also noticed that the integrated plugin for C4D Mac is only for version R13 and up...
So I have to export my files with your exporter (not working with version 2.2) save it under version 1.55 and reopen it with version 2.2...

A little boring :)

B->

Re: Octane exporter for C4D version 0.12b (current)

PostPosted: Sun Apr 12, 2015 10:17 pm
by abstrax
Kassad wrote:Hi again,

I tried to compile the C4D R12 SDK on a Mac Yosemite with the new XCode and had a lot of errors.
I'm more familiar with the Visual studio compiler, but I think the new Xcode is incompatible with that SDK version.
I also noticed that the integrated plugin for C4D Mac is only for version R13 and up...
So I have to export my files with your exporter (not working with version 2.2) save it under version 1.55 and reopen it with version 2.2...

A little boring :)

B->

The project I have set up for the export plugin uses Xcode 3.2, which you can still download, but I'm not sure if you can install it on recent Mac OSX versions. When I compiled the Mac version I was using OSX 10.6.

Sorry, for the delay, but I didn't have time to put up the source code yet. Will do that in the coming days. Will also have a look at fixing the arguments. Would need to dust off an old MacBook for that...

Re: Octane exporter for C4D version 0.12b (current)

PostPosted: Mon Apr 13, 2015 8:14 am
by Kassad
Hi again,

I will try to download and install an old version of XCode (3.2) but I'm not sure it will run on Yosemite.

I hope you can modify the exporter to run with Octane version 2.2 on Yosemite

Meanwhile, I tried to write a python exporter but have problems to convert the camera rotation to Octane target and Up vector.
Do you have any formula?

Waiting to look in your codes :)

Thank you for your patience.

B->

Re: Octane exporter for C4D version 0.12b (current)

PostPosted: Tue Apr 14, 2015 5:44 am
by abstrax
That's the source code until I have put the project on some online code repository:
OctaneExportSourceCode.zip
(628.77 KiB) Downloaded 1493 times


It's the Mercurial repository - with the latest changes from uhm 2012... Some things have changed since 0.12b, but you will see.

The Xcode is probably broken, but I didn't have time to re-activate my old MacBook yet to fix the project. The Visual Studio build should work. The build system is similar to LuxC4D (see http://www.luxrender.net/wiki/LuxC4D). One thing I do is compiling the C4D SDK as static libraries and then link against those libraries.

The camera parameters are created in OEConverter::launchOctane().

Re: Octane exporter for C4D version 0.12b (current)

PostPosted: Tue Apr 14, 2015 6:36 am
by Kassad
Many thanks :)

No problem for the Windows version.

But as I just read my mails on Windows and play games :)
I'll try to install an old XCode on Mac or rewrite it in python.

B->

Re: Octane exporter for C4D version 0.12b (current)

PostPosted: Thu Apr 16, 2015 7:45 am
by Kassad
Hi again,

Just for Info:
As expected, the old XCode doesn't install correctly on Yosemite.

I now try to recompile the C4D R12 SDK using the new XCode 6.3 and the Base SKD 10.5. extracted from XCode 3.2.6
I'm not familiar with Mac XCode, but I thing that XCode 3.2.6 used GCC the new XCode 6.3 don't!!!
So I have some errors in recompiling the C4D R12 SDK.

I ask MAXON the price for an upgrade from C4D R12 to C4D R16 but it's too expensive form me (~2300€)

I'm also work on a Python exporter and I found in your code the formula to convert C4D Camera to Octane. :)

But (artistic side), if you have time to adapt your exporter to Octane 2.21 on Mac, I'll be happy.

Thank you for the help.

B->

Re: Octane exporter for C4D version 0.12b (current)

PostPosted: Sat Apr 18, 2015 10:39 am
by Kassad
Hi again,

I finally found a way to recompile Octane 0.13 on Mac Yosemite with XCode 6.3 for C4D R12 :)

The export work fine with Octane 1.55 but have the same "quote" problem with version 2.22

Looking now inside your code OEConverter::launchOctane to correct the problem.

Thank you again.

B->