Octane exporter for C4D version 0.12b (current)

Forums: Octane exporter for C4D version 0.12b (current)
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

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

Postby Kassad » Sun Apr 05, 2015 1:45 pm

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

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

B->
Kassad
Licensed Customer
Licensed Customer
 
Posts: 23
Joined: Mon May 23, 2011 1:11 pm

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

Postby abstrax » Tue Apr 07, 2015 10:29 pm

abstrax Tue Apr 07, 2015 10:29 pm
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.
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
abstrax
OctaneRender Team
OctaneRender Team
 
Posts: 5069
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

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

Postby Kassad » Wed Apr 08, 2015 7:15 am

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

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

Ok for Github.

Thank you.

B->
Kassad
Licensed Customer
Licensed Customer
 
Posts: 23
Joined: Mon May 23, 2011 1:11 pm

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

Postby Kassad » Sun Apr 12, 2015 2:28 pm

Kassad Sun Apr 12, 2015 2:28 pm
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->
Kassad
Licensed Customer
Licensed Customer
 
Posts: 23
Joined: Mon May 23, 2011 1:11 pm

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

Postby abstrax » Sun Apr 12, 2015 10:17 pm

abstrax Sun Apr 12, 2015 10:17 pm
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...
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
abstrax
OctaneRender Team
OctaneRender Team
 
Posts: 5069
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

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

Postby Kassad » Mon Apr 13, 2015 8:14 am

Kassad Mon Apr 13, 2015 8:14 am
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->
Kassad
Licensed Customer
Licensed Customer
 
Posts: 23
Joined: Mon May 23, 2011 1:11 pm

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

Postby abstrax » Tue Apr 14, 2015 5:44 am

abstrax Tue Apr 14, 2015 5:44 am
That's the source code until I have put the project on some online code repository:
OctaneExportSourceCode.zip
(628.77 KiB) Downloaded 1029 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().
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
abstrax
OctaneRender Team
OctaneRender Team
 
Posts: 5069
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

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

Postby Kassad » Tue Apr 14, 2015 6:36 am

Kassad Tue Apr 14, 2015 6:36 am
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->
Kassad
Licensed Customer
Licensed Customer
 
Posts: 23
Joined: Mon May 23, 2011 1:11 pm

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

Postby Kassad » Thu Apr 16, 2015 7:45 am

Kassad Thu Apr 16, 2015 7:45 am
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->
Kassad
Licensed Customer
Licensed Customer
 
Posts: 23
Joined: Mon May 23, 2011 1:11 pm

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

Postby Kassad » Sat Apr 18, 2015 10:39 am

Kassad Sat Apr 18, 2015 10:39 am
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->
Kassad
Licensed Customer
Licensed Customer
 
Posts: 23
Joined: Mon May 23, 2011 1:11 pm
PreviousNext

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 8 guests

Fri Aug 23, 2019 3:59 pm [ UTC ]