LuxC4D - LuxRender Wiki
Luxrender GPL Physically Based Renderer

LuxC4D

Personal tools

From LuxRender Wiki

Revision as of 22:58, 12 September 2009 by Abstrax (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Legacy

The "old" LuxC4D Alpha2 download link and information is available here: http://www.luxrender.net/forum/viewtopic.php?f=29&t=544




The New LuxC4D Exporter

Binaries

The latest binaries can be found here: LuxC4D_Manual

Source

The sources can be checked out from the CVS repository "exporters" (see CVS, but checkout "exporters" instead of "lux").

You can check out the repository to whatever place you want, as long it's NOT a subdirectory of your CINEMA 4D application.


Building LuxC4D on Windows

These are building instructions for building LuxC4D under Visual C 2005.

1. Build the CINEMA 4D API library (if not done already):

  • - Go to ...\CINEMA 4D\resource\_api_lib and open the file _api.sln in Visual Studio or _api_v8.vcproj, if the .sln file is not available.
  • - Build the solution for the configurations Debug and Release of the platform Win32.
  • - Close the solution again.

2. Build LuxC4D:

  • - Go into to the directory, where you unpacked the LuxC4D ZIP file and from there into ...\LuxC4D\build\vc8 and open the file LuxC4D.sln.
  • - Open the Property Manager (in the menu under "View" -> "Property Manager").
  • - In the property hierarchy, double-click on LuxC4D -> R10.5_Debug | Win32 -> PropsC4DR10.5PluginDebug (see screenshot below).
  • - In the just opened property pages dialog, select on left side Common Properties -> User Macros.
  • - Change the value of the macro C4D_ROOT to the directory of your CINEMA 4D installation. If you put in a relative path, make it relative to the solution file.
  • - Do the same for LuxC4D -> R10.5_Release | Win32 -> PropsC4DR10.5PluginRelease.
  • - Build either the release or the debug configuration. After a successful build, the plugin files are copied automatically into the CINEMA 4D plugin directory.

Vc8 c4d root cr.png

Building LuxC4D on Mac OSX

1. Build the CINEMA 4D API library (if not done already):

  • - Go to .../CINEMA 4D/resource/_api_lib and open the file _api.xcodeproj in Xcode.
  • - Build the project for the configurations Debug and Release.
  • - Close the project again.

2. Build LuxC4D:

  • - Go into to the directory, where you unpacked the LuxC4D ZIP file and from there into .../LuxC4D/build/xcode2.4 and open the file LuxC4D.xcodeproj.
  • - Left, under "Groups & Files" double-click onto LuxC4D, which will open the project info dialog of LuxC4D.
  • - Select the collection Customized Settings of the configuration R10.5_Debug.
  • - Change the value of the setting C4D_ROOT to the directory of your CINEMA 4D installation. If you put in a relative path, make it relative to the project file. (see screenshot below)
  • - Do the same for the configurtion R10.5_Release.
  • - Build either the release or the debug configuration. After a successful build, the plugin files are copied automatically into the CINEMA 4D plugin directory.

Xcode c4d root cr.png