diff --git a/PointProjector/project/projectdefinition.txt b/PointProjector/project/projectdefinition.txt new file mode 100644 index 0000000..c2bb113 --- /dev/null +++ b/PointProjector/project/projectdefinition.txt @@ -0,0 +1,17 @@ +// Supported platforms +Platform=Win64;OSX + +// Type of project +Type=DLL + +// API dependencies +APIS=core.framework;cinema.framework + +// Enable some advanced classic API support; not needed for hybrid plugins +C4D=true + +// Plug-in code-style check level +stylecheck.level=3 + +// Custom ID +ModuleId=net.fkemmler.pointprojector diff --git a/res/c4d_symbols.h b/PointProjector/res/c4d_symbols.h similarity index 100% rename from res/c4d_symbols.h rename to PointProjector/res/c4d_symbols.h diff --git a/res/description/oProjector.h b/PointProjector/res/description/oProjector.h similarity index 100% rename from res/description/oProjector.h rename to PointProjector/res/description/oProjector.h diff --git a/res/description/oProjector.res b/PointProjector/res/description/oProjector.res similarity index 100% rename from res/description/oProjector.res rename to PointProjector/res/description/oProjector.res diff --git a/res/oProjector.tif b/PointProjector/res/oProjector.tif similarity index 100% rename from res/oProjector.tif rename to PointProjector/res/oProjector.tif diff --git a/res/strings_de/c4d_strings.str b/PointProjector/res/strings_de/c4d_strings.str similarity index 100% rename from res/strings_de/c4d_strings.str rename to PointProjector/res/strings_de/c4d_strings.str diff --git a/res/strings_de/description/oProjector.str b/PointProjector/res/strings_de/description/oProjector.str similarity index 100% rename from res/strings_de/description/oProjector.str rename to PointProjector/res/strings_de/description/oProjector.str diff --git a/res/strings_us/c4d_strings.str b/PointProjector/res/strings_us/c4d_strings.str similarity index 100% rename from res/strings_us/c4d_strings.str rename to PointProjector/res/strings_us/c4d_strings.str diff --git a/res/strings_us/description/oProjector.str b/PointProjector/res/strings_us/description/oProjector.str similarity index 100% rename from res/strings_us/description/oProjector.str rename to PointProjector/res/strings_us/description/oProjector.str diff --git a/source/lib/wsFunctions.cpp b/PointProjector/source/lib/wsFunctions.cpp similarity index 89% rename from source/lib/wsFunctions.cpp rename to PointProjector/source/lib/wsFunctions.cpp index ac15697..7139b95 100644 --- a/source/lib/wsFunctions.cpp +++ b/PointProjector/source/lib/wsFunctions.cpp @@ -55,7 +55,7 @@ PolygonObject* GetRealGeometry(BaseObject* op) return nullptr; // Create clone of op. We only need this for the modeling command. - BaseObject *tmpOp = static_cast(op->GetClone(COPYFLAGS_0, aliasTrans)); + BaseObject *tmpOp = static_cast(op->GetClone(COPYFLAGS::NONE, aliasTrans)); if (!tmpOp) return nullptr; @@ -106,11 +106,11 @@ Bool GeneratesPolygons(BaseObject* op) Int32 opInfo = op->GetInfo(); // Get some properties - Bool isGenerator = opInfo & OBJECT_GENERATOR; // Is dropOp a generator object? - Bool isSpline = opInfo & OBJECT_ISSPLINE; // Is it a spline? - Bool isDeformer = opInfo & OBJECT_MODIFIER; // Is it a deformer? - Bool isParticleModifier = opInfo & OBJECT_PARTICLEMODIFIER; - Bool isPolygon = opInfo & OBJECT_POLYGONOBJECT; + Bool isGenerator = (opInfo&OBJECT_GENERATOR) == OBJECT_GENERATOR; // Is dropOp a generator object? + Bool isSpline = (opInfo&OBJECT_ISSPLINE) == OBJECT_ISSPLINE; // Is it a spline? + Bool isDeformer = (opInfo&OBJECT_MODIFIER) == OBJECT_MODIFIER; // Is it a deformer? + Bool isParticleModifier = (opInfo&OBJECT_PARTICLEMODIFIER) == OBJECT_PARTICLEMODIFIER; + Bool isPolygon = (opInfo&OBJECT_POLYGONOBJECT) == OBJECT_POLYGONOBJECT; Bool isPolyInstance = op->IsInstanceOf(Opolygon); // Is it a polygon object instance? diff --git a/source/lib/wsFunctions.h b/PointProjector/source/lib/wsFunctions.h similarity index 100% rename from source/lib/wsFunctions.h rename to PointProjector/source/lib/wsFunctions.h diff --git a/source/lib/wsPointProjector.cpp b/PointProjector/source/lib/wsPointProjector.cpp similarity index 95% rename from source/lib/wsPointProjector.cpp rename to PointProjector/source/lib/wsPointProjector.cpp index c1559c4..581b464 100644 --- a/source/lib/wsPointProjector.cpp +++ b/PointProjector/source/lib/wsPointProjector.cpp @@ -1,4 +1,4 @@ -#include "c4d.h" +#include "maxon/apibase.h" #include "wsPointProjector.h" @@ -38,7 +38,7 @@ Bool wsPointProjector::ProjectPosition(Vector &position, const Vector &rayDirect Vector workPosition = collisionObjectMgI * position; // Transform position to m_collop's local space GeRayColResult collisionResult; Vector rPos(workPosition); - Vector rDir(collisionObjectMgI.TransformVector(rayDirection)); // Transform direction to m_collop's local space + Vector rDir(collisionObjectMgI.sqmat * rayDirection); // Transform direction to m_collop's local space if (_collider->Intersect(rPos, rDir, rayLength, false)) { @@ -95,10 +95,10 @@ Bool wsPointProjector::Project(PointObject *op, const wsPointProjectorParams &pa Vector rayDirection(DC); // If using parallel projection, calculate rayDirection now, as it's the same for all points - if (params._mode == PROJECTORMODE_PARALLEL) + if (params._mode == PROJECTORMODE::PARALLEL) { // Direction points along the modifier's Z axis - rayDirection = params._modifierMg.v3; + rayDirection = params._modifierMg.sqmat.v3; } // Calculate a ray length. @@ -118,7 +118,7 @@ Bool wsPointProjector::Project(PointObject *op, const wsPointProjectorParams &pa // Calculate ray direction for spherical projection // This needs to be done inside the loop, as the direction is different for each point - if (params._mode == PROJECTORMODE_SPHERICAL) + if (params._mode == PROJECTORMODE::SPHERICAL) { // Direction points from the modifier to the position of the point rayDirection = rayPosition - params._modifierMg.off; diff --git a/source/lib/wsPointProjector.h b/PointProjector/source/lib/wsPointProjector.h similarity index 82% rename from source/lib/wsPointProjector.h rename to PointProjector/source/lib/wsPointProjector.h index 813d940..0fe12b5 100644 --- a/source/lib/wsPointProjector.h +++ b/PointProjector/source/lib/wsPointProjector.h @@ -8,28 +8,29 @@ /// Modes of projection -enum PROJECTORMODE +enum class PROJECTORMODE { - PROJECTORMODE_PARALLEL = 1, - PROJECTORMODE_SPHERICAL = 2 -} ENUM_END_LIST(PROJECTORMODE); + NONE = 0, + PARALLEL = 1, + SPHERICAL = 2 +} MAXON_ENUM_LIST(PROJECTORMODE); /// Parameters for projection struct wsPointProjectorParams { - Matrix _modifierMg; ///< Global matrix of modifier - PROJECTORMODE _mode; ///< Projector mode (parallel or spherical) - Float _offset; ///< Offset attribute - Float _blend; ///< Blend attribute - Bool _geometryFalloffEnabled; ///< Geometry falloff enabled attribute - Float _geometryFalloffDist; ///< Geometry falloff distance attribute - Float32 *_weightMap; ///< Ptr to weight map - C4D_Falloff *_falloff; ///< Ptr to falloff + Matrix _modifierMg; ///< Global matrix of modifier + PROJECTORMODE _mode = PROJECTORMODE::NONE; ///< Projector mode (parallel or spherical) + Float _offset = 0.0_f; ///< Offset attribute + Float _blend = 0.0_f; ///< Blend attribute + Bool _geometryFalloffEnabled = true; ///< Geometry falloff enabled attribute + Float _geometryFalloffDist = 0.0_f; ///< Geometry falloff distance attribute + Float32* _weightMap = nullptr; ///< Ptr to weight map + C4D_Falloff *_falloff = nullptr; ///< Ptr to falloff /// Default constructor wsPointProjectorParams() : - _mode(PROJECTORMODE_PARALLEL), + _mode(PROJECTORMODE::PARALLEL), _offset(0.0), _blend(0.0), _geometryFalloffEnabled(false), diff --git a/source/main.cpp b/PointProjector/source/main.cpp similarity index 67% rename from source/main.cpp rename to PointProjector/source/main.cpp index 643be7c..750f7ff 100644 --- a/source/main.cpp +++ b/PointProjector/source/main.cpp @@ -1,4 +1,4 @@ -#include "c4d.h" +#include "maxon/apibase.h" #include "c4d_symbols.h" #include "wsPointProjector.h" #include "main.h" @@ -9,7 +9,8 @@ Bool PluginStart() { - GePrint(PLUGIN_NAME); + String pluginName = "PointProjector 1.4.4"_s; + GePrint(pluginName); if (!RegisterProjectorObject()) return false; @@ -27,7 +28,7 @@ Bool PluginMessage(Int32 id, void *data) switch (id) { case C4DPL_INIT_SYS: - return resource.Init(); // don't start plugin without resource + return g_resource.Init(); // don't start plugin without resource } return false; diff --git a/source/main.h b/PointProjector/source/main.h similarity index 100% rename from source/main.h rename to PointProjector/source/main.h diff --git a/source/object/oProjector.cpp b/PointProjector/source/object/oProjector.cpp similarity index 94% rename from source/object/oProjector.cpp rename to PointProjector/source/object/oProjector.cpp index 65b3f65..2c2ab36 100644 --- a/source/object/oProjector.cpp +++ b/PointProjector/source/object/oProjector.cpp @@ -84,22 +84,23 @@ Bool oProjector::Message(GeListNode *node, Int32 type, void *data) return false; // Get message data - DescriptionCheckDragAndDrop *msgData = (DescriptionCheckDragAndDrop*)data; + DescriptionCheckDragAndDrop* msgData = (DescriptionCheckDragAndDrop*)data; // Check if something should be dropped into PROJECTOR_LINK - if (msgData->id == PROJECTOR_LINK) + if (msgData->_descId == PROJECTOR_LINK) { // Get object that the user wants to drop - BaseObject *dropOp = static_cast(msgData->element); + BaseObject* dropOp = static_cast(msgData->_element); if (!dropOp) return true; // Allow drop if dropOp is something with geometry we can project on - msgData->result = GeneratesPolygons(dropOp); + msgData->_result = GeneratesPolygons(dropOp); // Return true, as we handled the message return true; } + break; } } @@ -115,19 +116,19 @@ DRAWRESULT oProjector::Draw(BaseObject *op, DRAWPASS drawpass, BaseDraw *bd, Bas { // Good practice: Always check if all required pointers are set if (!op || !bd || !bh) - return DRAWRESULT_ERROR; + return DRAWRESULT::FAILURE; - if (drawpass == DRAWPASS_OBJECT) + if (drawpass == DRAWPASS::OBJECT) { // Get container, skip if that doesn't work (actually, if this doesn'T work, something is really wrong!) BaseContainer *bc = op->GetDataInstance(); if (!bc) - return DRAWRESULT_ERROR; + return DRAWRESULT::FAILURE; // Get document, skip if no document set BaseDocument *doc = op->GetDocument(); if (!doc) - return DRAWRESULT_ERROR; + return DRAWRESULT::SKIP; // Set draw matrix bd->SetMatrix_Matrix(op, bh->GetMg()); @@ -139,7 +140,7 @@ DRAWRESULT oProjector::Draw(BaseObject *op, DRAWPASS drawpass, BaseDraw *bd, Bas PROJECTORMODE mode = (PROJECTORMODE)bc->GetInt32(PROJECTOR_MODE, PROJECTOR_MODE_PARALLEL); // Draw arrows in parallel mode, or star in spherical mode - if (mode == PROJECTORMODE_PARALLEL) + if (mode == PROJECTORMODE::PARALLEL) { DrawArrow(bd, Vector(50.0, 0.0, 0.0), 100.0, true); DrawArrow(bd, Vector(-50.0, 0.0, 0.0), 100.0, true); @@ -257,7 +258,7 @@ void oProjector::CheckDirty(BaseObject *op, BaseDocument *doc) UInt32 dirtyness = 0; // Flags for upcoming dirty checks - DIRTYFLAGS dirtyFlags = DIRTYFLAGS_DATA|DIRTYFLAGS_MATRIX; + DIRTYFLAGS dirtyFlags = DIRTYFLAGS::DATA|DIRTYFLAGS::MATRIX; // Iterate collision object and its parents, and add their dirty checksums dirtyness += AddDirtySums(collisionObject, false, dirtyFlags); @@ -275,7 +276,7 @@ void oProjector::CheckDirty(BaseObject *op, BaseDocument *doc) _lastDirtyness = dirtyness; // Set modifier dirty. It will be recalculated. - op->SetDirty(DIRTYFLAGS_DATA); + op->SetDirty(DIRTYFLAGS::DATA); } } @@ -317,10 +318,10 @@ Bool oProjector::GetDDescription(GeListNode *node, Description *description, DES return false; // Signalize the description has been loaded successfully - flags |= DESCFLAGS_DESC_LOADED; + flags |= DESCFLAGS_DESC::LOADED; // Add falloff description - if (!_falloff->AddFalloffToDescription(description, bc)) + if (!_falloff->AddFalloffToDescription(description, bc, flags)) return false; return SUPER::GetDDescription(node, description, flags); @@ -359,5 +360,5 @@ NodeData* oProjector::Alloc() // Register plugin Bool RegisterProjectorObject() { - return RegisterObjectPlugin(ID_PROJECTOROBJECT, GeLoadString(IDS_PROJECTOROBJECT), OBJECT_MODIFIER, oProjector::Alloc, "oProjector", AutoBitmap("oProjector.tif"), 0); + return RegisterObjectPlugin(ID_PROJECTOROBJECT, GeLoadString(IDS_PROJECTOROBJECT), OBJECT_MODIFIER, oProjector::Alloc, "oProjector"_s, AutoBitmap("oProjector.tif"_s), 0); } diff --git a/PointProjector_R16.sln b/PointProjector_R16.sln deleted file mode 100644 index 2c7ab25..0000000 --- a/PointProjector_R16.sln +++ /dev/null @@ -1,76 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PointProjector", "PointProjector_R16.vcxproj", "{21895B69-DE91-7035-0009-38CB8C5CDEA3}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cinema.framework", "..\..\frameworks\cinema.framework\project\cinema.framework.vcxproj", "{69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Intel|Win32 = Intel|Win32 - Intel|x64 = Intel|x64 - LibDebug|Win32 = LibDebug|Win32 - LibDebug|x64 = LibDebug|x64 - LibIntel|Win32 = LibIntel|Win32 - LibIntel|x64 = LibIntel|x64 - LibRelease|Win32 = LibRelease|Win32 - LibRelease|x64 = LibRelease|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Debug|Win32.ActiveCfg = Debug|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Debug|Win32.Build.0 = Debug|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Debug|x64.ActiveCfg = Debug|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Debug|x64.Build.0 = Debug|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Intel|Win32.ActiveCfg = Intel|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Intel|Win32.Build.0 = Intel|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Intel|x64.ActiveCfg = Intel|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Intel|x64.Build.0 = Intel|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibDebug|Win32.ActiveCfg = Debug|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibDebug|Win32.Build.0 = Debug|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibDebug|x64.ActiveCfg = Debug|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibDebug|x64.Build.0 = Debug|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibIntel|Win32.ActiveCfg = Intel|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibIntel|Win32.Build.0 = Intel|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibIntel|x64.ActiveCfg = Intel|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibIntel|x64.Build.0 = Intel|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibRelease|Win32.ActiveCfg = Release|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibRelease|Win32.Build.0 = Release|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibRelease|x64.ActiveCfg = Release|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.LibRelease|x64.Build.0 = Release|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Release|Win32.ActiveCfg = Release|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Release|Win32.Build.0 = Release|Win32 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Release|x64.ActiveCfg = Release|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Release|x64.Build.0 = Release|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Debug|Win32.ActiveCfg = Debug|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Debug|Win32.Build.0 = Debug|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Debug|x64.ActiveCfg = Debug|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Debug|x64.Build.0 = Debug|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Intel|Win32.ActiveCfg = Intel|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Intel|Win32.Build.0 = Intel|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Intel|x64.ActiveCfg = Intel|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Intel|x64.Build.0 = Intel|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibDebug|Win32.ActiveCfg = LibDebug|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibDebug|Win32.Build.0 = LibDebug|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibDebug|x64.ActiveCfg = LibDebug|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibDebug|x64.Build.0 = LibDebug|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibIntel|Win32.ActiveCfg = LibIntel|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibIntel|Win32.Build.0 = LibIntel|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibIntel|x64.ActiveCfg = LibIntel|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibIntel|x64.Build.0 = LibIntel|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibRelease|Win32.ActiveCfg = LibRelease|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibRelease|Win32.Build.0 = LibRelease|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibRelease|x64.ActiveCfg = LibRelease|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.LibRelease|x64.Build.0 = LibRelease|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Release|Win32.ActiveCfg = Release|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Release|Win32.Build.0 = Release|Win32 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Release|x64.ActiveCfg = Release|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/PointProjector_R16.vcxproj b/PointProjector_R16.vcxproj deleted file mode 100644 index d1d1318..0000000 --- a/PointProjector_R16.vcxproj +++ /dev/null @@ -1,208 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Intel - Win32 - - - Debug - x64 - - - Release - x64 - - - Intel - x64 - - - - {21895B69-DE91-7035-0009-38CB8C5CDEA3} - maxon - Win32Proj - - - - DynamicLibrary - Unicode - v110 - - - DynamicLibrary - Unicode - true - v110 - - - DynamicLibrary - Unicode - true - Intel C++ Compiler XE 13.0 - - - DynamicLibrary - Unicode - v110 - - - DynamicLibrary - Unicode - true - v110 - - - DynamicLibrary - Unicode - true - Intel C++ Compiler XE 13.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - PointProjector - .cdl - PointProjector - .cdl - PointProjector - .cdl - PointProjector - .cdl64 - PointProjector - .cdl64 - PointProjector - .cdl64 - - - - ./source;./source/lib;./res;./res/description;%(AdditionalIncludeDirectories) - - - - Console - - - - - ./source;./source/lib;./res;./res/description;%(AdditionalIncludeDirectories) - - - - Console - - - - - ./source;./source/lib;./res;./res/description;%(AdditionalIncludeDirectories) - - - - Console - - - - - X64 - - - ./source;./source/lib;./res;./res/description;%(AdditionalIncludeDirectories) - - - - Console - - - - - X64 - - - ./source;./source/lib;./res;./res/description;%(AdditionalIncludeDirectories) - - - - Console - - - - - X64 - - - ./source;./source/lib;./res;./res/description;%(AdditionalIncludeDirectories) - - - - Console - - - - - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3} - true - true - false - true - false - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/PointProjector_R16.vcxproj.filters b/PointProjector_R16.vcxproj.filters deleted file mode 100644 index 5c11233..0000000 --- a/PointProjector_R16.vcxproj.filters +++ /dev/null @@ -1,39 +0,0 @@ - - - - - {21895B69-DE91-7035-0000-0000CA90681B} - - - {c9bcf7f7-424e-4439-8012-f35775684187} - - - {0cb9df81-d9ec-4e8b-b166-17db46b8b9e3} - - - - - source - - - source\object - - - source\lib - - - source\lib - - - - - source - - - source\lib - - - source\lib - - - \ No newline at end of file diff --git a/PointProjector_R16.xcodeproj/project.pbxproj b/PointProjector_R16.xcodeproj/project.pbxproj deleted file mode 100644 index 316fb32..0000000 --- a/PointProjector_R16.xcodeproj/project.pbxproj +++ /dev/null @@ -1,317 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 0168E7CB1EB9DAD6005A6266 /* wsFunctions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0168E7C51EB9DAD6005A6266 /* wsFunctions.cpp */; }; - 0168E7CC1EB9DAD6005A6266 /* wsFunctions.h in Headers */ = {isa = PBXBuildFile; fileRef = 0168E7C61EB9DAD6005A6266 /* wsFunctions.h */; }; - 0168E7CD1EB9DAD6005A6266 /* wsPointProjector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0168E7C71EB9DAD6005A6266 /* wsPointProjector.cpp */; }; - 0168E7CE1EB9DAD6005A6266 /* wsPointProjector.h in Headers */ = {isa = PBXBuildFile; fileRef = 0168E7C81EB9DAD6005A6266 /* wsPointProjector.h */; }; - 0168E7CF1EB9DAD6005A6266 /* oProjector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0168E7CA1EB9DAD6005A6266 /* oProjector.cpp */; }; - A0A66833391837B5E7010000 /* main.h in Headers */ = {isa = PBXBuildFile; fileRef = A0A66833391837B5E7000000 /* main.h */; }; - A0A6683339E921D362010000 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A0A6683339E921D362000000 /* main.cpp */; }; - A0A6683339F470FF41010000 /* libcinema.framework.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A0A6683339F470FF41000000 /* libcinema.framework.a */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 28945ECC17E25C1A009BE29F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = A08C5CDEA3F470FF417B0100; - remoteInfo = "cinema.framework static library"; - }; - A0A6683339F470FF41040000 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = A08C5CDEA3F470FF417B0000; - remoteInfo = cinema.framework; - }; - A0A6683339F470FF41050000 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A08C5CDEA3F470FF41000000; - remoteInfo = cinema.framework; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 0168E7C51EB9DAD6005A6266 /* wsFunctions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wsFunctions.cpp; sourceTree = ""; }; - 0168E7C61EB9DAD6005A6266 /* wsFunctions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wsFunctions.h; sourceTree = ""; }; - 0168E7C71EB9DAD6005A6266 /* wsPointProjector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wsPointProjector.cpp; sourceTree = ""; }; - 0168E7C81EB9DAD6005A6266 /* wsPointProjector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wsPointProjector.h; sourceTree = ""; }; - 0168E7CA1EB9DAD6005A6266 /* oProjector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = oProjector.cpp; sourceTree = ""; }; - A08C5CDEA3A66833397B0000 /* PointProjector.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = PointProjector.dylib; sourceTree = BUILT_PRODUCTS_DIR; }; - A0A668333900000000000000 /* debugbase.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = debugbase.xcconfig; path = ../../frameworks/settings/debugbase.xcconfig; sourceTree = SOURCE_ROOT; }; - A0A668333900000000050000 /* releasebase.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = releasebase.xcconfig; path = ../../frameworks/settings/releasebase.xcconfig; sourceTree = SOURCE_ROOT; }; - A0A66833391837B5E7000000 /* main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = main.h; path = source/main.h; sourceTree = SOURCE_ROOT; }; - A0A6683339E921D362000000 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = source/main.cpp; sourceTree = SOURCE_ROOT; }; - A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cinema.framework.xcodeproj; path = ../../frameworks/cinema.framework/project/cinema.framework.xcodeproj; sourceTree = SOURCE_ROOT; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - A0A6683339000000000F0000 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - A0A6683339F470FF41010000 /* libcinema.framework.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0168E7C41EB9DAD6005A6266 /* lib */ = { - isa = PBXGroup; - children = ( - 0168E7C81EB9DAD6005A6266 /* wsPointProjector.h */, - 0168E7C71EB9DAD6005A6266 /* wsPointProjector.cpp */, - 0168E7C61EB9DAD6005A6266 /* wsFunctions.h */, - 0168E7C51EB9DAD6005A6266 /* wsFunctions.cpp */, - ); - name = lib; - path = source/lib; - sourceTree = SOURCE_ROOT; - }; - 0168E7C91EB9DAD6005A6266 /* object */ = { - isa = PBXGroup; - children = ( - 0168E7CA1EB9DAD6005A6266 /* oProjector.cpp */, - ); - name = object; - path = source/object; - sourceTree = SOURCE_ROOT; - }; - A0A668333900000000140000 /* libs */ = { - isa = PBXGroup; - children = ( - A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */, - ); - name = libs; - sourceTree = ""; - }; - A0A668333900000000190000 /* configurations */ = { - isa = PBXGroup; - children = ( - A0A668333900000000000000 /* debugbase.xcconfig */, - A0A668333900000000050000 /* releasebase.xcconfig */, - ); - name = configurations; - sourceTree = ""; - }; - A0A6683339000000001E0000 = { - isa = PBXGroup; - children = ( - A0A668333900000000190000 /* configurations */, - A0A668333900000000140000 /* libs */, - A0A668333900000000230000 /* products */, - A0A6683339CA90681B000000 /* source */, - ); - sourceTree = ""; - }; - A0A668333900000000230000 /* products */ = { - isa = PBXGroup; - children = ( - A08C5CDEA3A66833397B0000 /* PointProjector.dylib */, - ); - name = products; - sourceTree = ""; - }; - A0A6683339CA90681B000000 /* source */ = { - isa = PBXGroup; - children = ( - 0168E7C41EB9DAD6005A6266 /* lib */, - 0168E7C91EB9DAD6005A6266 /* object */, - A0A6683339E921D362000000 /* main.cpp */, - A0A66833391837B5E7000000 /* main.h */, - ); - name = source; - path = ../source; - sourceTree = SOURCE_ROOT; - }; - A0A6683339F470FF41280000 /* products */ = { - isa = PBXGroup; - children = ( - A0A6683339F470FF41000000 /* libcinema.framework.a */, - 28945ECD17E25C1A009BE29F /* libcinema.framework_static.a */, - ); - name = products; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - A0A6683339000000002D0000 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 0168E7CC1EB9DAD6005A6266 /* wsFunctions.h in Headers */, - 0168E7CE1EB9DAD6005A6266 /* wsPointProjector.h in Headers */, - A0A66833391837B5E7010000 /* main.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - A08C5CDEA3A6683339000000 /* PointProjector_R16 */ = { - isa = PBXNativeTarget; - buildConfigurationList = A0A668333900000000460000 /* Build configuration list for PBXNativeTarget "PointProjector_R16" */; - buildPhases = ( - A0A668333900000000320000 /* Sources */, - A0A6683339000000000F0000 /* Frameworks */, - A0A6683339000000002D0000 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - A0A6683339F470FF41370000 /* PBXTargetDependency */, - ); - name = PointProjector_R16; - productName = cinema4dsdk; - productReference = A08C5CDEA3A66833397B0000 /* PointProjector.dylib */; - productType = "com.apple.product-type.library.dynamic"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - A0A6683339000000003C0000 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0610; - ORGANIZATIONNAME = "MAXON Computer GmbH"; - }; - buildConfigurationList = A0A668333900000000410000 /* Build configuration list for PBXProject "PointProjector_R16" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = A0A6683339000000001E0000; - productRefGroup = A0A668333900000000230000 /* products */; - projectDirPath = ""; - projectReferences = ( - { - ProductGroup = A0A6683339F470FF41280000 /* products */; - ProjectRef = A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */; - }, - ); - projectRoot = ""; - targets = ( - A08C5CDEA3A6683339000000 /* PointProjector_R16 */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXReferenceProxy section */ - 28945ECD17E25C1A009BE29F /* libcinema.framework_static.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libcinema.framework_static.a; - remoteRef = 28945ECC17E25C1A009BE29F /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - A0A6683339F470FF41000000 /* libcinema.framework.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libcinema.framework.a; - remoteRef = A0A6683339F470FF41040000 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; -/* End PBXReferenceProxy section */ - -/* Begin PBXSourcesBuildPhase section */ - A0A668333900000000320000 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - A0A6683339E921D362010000 /* main.cpp in Sources */, - 0168E7CB1EB9DAD6005A6266 /* wsFunctions.cpp in Sources */, - 0168E7CF1EB9DAD6005A6266 /* oProjector.cpp in Sources */, - 0168E7CD1EB9DAD6005A6266 /* wsPointProjector.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - A0A6683339F470FF41370000 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = cinema.framework; - targetProxy = A0A6683339F470FF41050000 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - A0A6683339000000004B0000 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A0A668333900000000000000 /* debugbase.xcconfig */; - buildSettings = { - MAXON_ROOTDIR = ../../; - PRODUCT_MODULE_NAME = PointProjector; - PRODUCT_NAME = PointProjector; - USER_HEADER_SEARCH_PATHS = "./source ./source/lib ./res ./res/description $(MAXON_ROOTDIR)frameworks/cinema.framework/source/** $(inherited)"; - }; - name = Debug; - }; - A0A668333900000000500000 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A0A668333900000000050000 /* releasebase.xcconfig */; - buildSettings = { - MAXON_ROOTDIR = ../../; - PRODUCT_MODULE_NAME = PointProjector; - PRODUCT_NAME = PointProjector; - USER_HEADER_SEARCH_PATHS = "./source ./source/lib ./res ./res/description $(MAXON_ROOTDIR)frameworks/cinema.framework/source/** $(inherited)"; - }; - name = Release; - }; - A0A6683339000000005A0000 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEPLOYMENT_LOCATION = YES; - EXECUTABLE_EXTENSION = dylib; - INSTALL_PATH = /.; - }; - name = Debug; - }; - A0A6683339000000005F0000 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEPLOYMENT_LOCATION = YES; - EXECUTABLE_EXTENSION = dylib; - INSTALL_PATH = /.; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - A0A668333900000000410000 /* Build configuration list for PBXProject "PointProjector_R16" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A0A6683339000000004B0000 /* Debug */, - A0A668333900000000500000 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; - A0A668333900000000460000 /* Build configuration list for PBXNativeTarget "PointProjector_R16" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A0A6683339000000005A0000 /* Debug */, - A0A6683339000000005F0000 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; -/* End XCConfigurationList section */ - }; - rootObject = A0A6683339000000003C0000 /* Project object */; -} diff --git a/PointProjector_R18.sln b/PointProjector_R18.sln deleted file mode 100644 index 15325cd..0000000 --- a/PointProjector_R18.sln +++ /dev/null @@ -1,32 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cinema.framework", "..\..\frameworks\cinema.framework\project\cinema.framework.vcxproj", "{69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PointProjector", "PointProjector_R18.vcxproj", "{21895B69-DE91-7035-0009-38CB8C5CDEA3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Intel|x64 = Intel|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Debug|x64.ActiveCfg = Debug|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Debug|x64.Build.0 = Debug|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Intel|x64.ActiveCfg = Intel|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Intel|x64.Build.0 = Intel|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Release|x64.ActiveCfg = Release|x64 - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3}.Release|x64.Build.0 = Release|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Debug|x64.ActiveCfg = Debug|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Debug|x64.Build.0 = Debug|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Intel|x64.ActiveCfg = Intel|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Intel|x64.Build.0 = Intel|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Release|x64.ActiveCfg = Release|x64 - {21895B69-DE91-7035-0009-38CB8C5CDEA3}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/PointProjector_R18.vcxproj b/PointProjector_R18.vcxproj deleted file mode 100644 index 90ae8d9..0000000 --- a/PointProjector_R18.vcxproj +++ /dev/null @@ -1,128 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - Intel - x64 - - - - {21895B69-DE91-7035-0009-38CB8C5CDEA3} - maxon - Win32Proj - - - - DynamicLibrary - Unicode - v120 - - - DynamicLibrary - Unicode - true - v120 - - - DynamicLibrary - Unicode - true - v120 - - - - - - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - PointProjector - .cdl64 - PointProjector - .cdl64 - PointProjector - .cdl64 - - - - X64 - - - ./source;./source/lib;./res;./res/description;%(AdditionalIncludeDirectories) - - - - Console - - - - - X64 - - - ./source;./source/lib;./res;./res/description;%(AdditionalIncludeDirectories) - - - - Console - - - - - X64 - - - ./source;./source/lib;./res;./res/description;%(AdditionalIncludeDirectories) - - - - Console - - - - - {69BF9B7D-7EB2-7FC5-0009-38CB8C5CDEA3} - true - true - false - true - false - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/PointProjector_R18.vcxproj.filters b/PointProjector_R18.vcxproj.filters deleted file mode 100644 index 0caf74d..0000000 --- a/PointProjector_R18.vcxproj.filters +++ /dev/null @@ -1,39 +0,0 @@ - - - - - {21895B69-DE91-7035-0000-0000CA90681B} - - - {5307b143-fd99-427b-831a-b35d1540f8ca} - - - {96443207-7483-49e6-824e-c24b91e3b852} - - - - - source - - - source\lib - - - source\object - - - source\lib - - - - - source - - - source\lib - - - source\lib - - - \ No newline at end of file diff --git a/PointProjector_R18.xcodeproj/project.pbxproj b/PointProjector_R18.xcodeproj/project.pbxproj deleted file mode 100644 index 8421200..0000000 --- a/PointProjector_R18.xcodeproj/project.pbxproj +++ /dev/null @@ -1,423 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 0190185A1DCB48F7000D41F4 /* wsPointProjector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 019018561DCB48F7000D41F4 /* wsPointProjector.cpp */; }; - 0190185B1DCB48F7000D41F4 /* wsPointProjector.h in Headers */ = {isa = PBXBuildFile; fileRef = 019018571DCB48F7000D41F4 /* wsPointProjector.h */; }; - 0190185C1DCB48F7000D41F4 /* oProjector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 019018591DCB48F7000D41F4 /* oProjector.cpp */; }; - 01F3FE681E3657240040DDE0 /* wsFunctions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 01F3FE661E3657240040DDE0 /* wsFunctions.cpp */; }; - 01F3FE691E3657240040DDE0 /* wsFunctions.h in Headers */ = {isa = PBXBuildFile; fileRef = 01F3FE671E3657240040DDE0 /* wsFunctions.h */; }; - A0A66833391837B5E7010000 /* main.h in Headers */ = {isa = PBXBuildFile; fileRef = A0A66833391837B5E7000000 /* main.h */; }; - A0A6683339E921D362010000 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A0A6683339E921D362000000 /* main.cpp */; }; - A0A6683339F470FF41010000 /* libcinema.framework.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A0A6683339F470FF41000000 /* libcinema.framework.a */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 28945ECC17E25C1A009BE29F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = A08C5CDEA3F470FF417B0100; - remoteInfo = "cinema.framework static library"; - }; - A0A6683339F470FF41040000 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = A08C5CDEA3F470FF417B0000; - remoteInfo = cinema.framework; - }; - A0A6683339F470FF41050000 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A08C5CDEA3F470FF41000000; - remoteInfo = cinema.framework; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 016C387C1E1FFA350065EF9A /* c4d_symbols.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = c4d_symbols.h; path = res/c4d_symbols.h; sourceTree = ""; }; - 016C387D1E1FFA3E0065EF9A /* oProjector.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = oProjector.h; path = res/description/oProjector.h; sourceTree = ""; }; - 016C387E1E1FFA3E0065EF9A /* oProjector.res */ = {isa = PBXFileReference; lastKnownFileType = text; name = oProjector.res; path = res/description/oProjector.res; sourceTree = ""; }; - 016C38811E1FFA600065EF9A /* c4d_strings.str */ = {isa = PBXFileReference; lastKnownFileType = text; name = c4d_strings.str; path = res/strings_de/c4d_strings.str; sourceTree = ""; }; - 016C38821E1FFA6A0065EF9A /* oProjector.str */ = {isa = PBXFileReference; lastKnownFileType = text; name = oProjector.str; path = res/strings_de/description/oProjector.str; sourceTree = ""; }; - 016C38831E1FFA720065EF9A /* c4d_strings.str */ = {isa = PBXFileReference; lastKnownFileType = text; name = c4d_strings.str; path = res/strings_us/c4d_strings.str; sourceTree = ""; }; - 016C38841E1FFA790065EF9A /* oProjector.str */ = {isa = PBXFileReference; lastKnownFileType = text; name = oProjector.str; path = res/strings_us/description/oProjector.str; sourceTree = ""; }; - 019018561DCB48F7000D41F4 /* wsPointProjector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wsPointProjector.cpp; sourceTree = ""; }; - 019018571DCB48F7000D41F4 /* wsPointProjector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wsPointProjector.h; sourceTree = ""; }; - 019018591DCB48F7000D41F4 /* oProjector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = oProjector.cpp; sourceTree = ""; }; - 01F3FE661E3657240040DDE0 /* wsFunctions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wsFunctions.cpp; sourceTree = ""; }; - 01F3FE671E3657240040DDE0 /* wsFunctions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wsFunctions.h; sourceTree = ""; }; - 8ACD68381C66E7D100F34089 /* sanitizerbase.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = sanitizerbase.xcconfig; path = ../../frameworks/settings/sanitizerbase.xcconfig; sourceTree = ""; }; - A08C5CDEA3A66833397B0000 /* PointProjector.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = PointProjector.dylib; sourceTree = BUILT_PRODUCTS_DIR; }; - A0A668333900000000000000 /* debugbase.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = debugbase.xcconfig; path = ../../frameworks/settings/debugbase.xcconfig; sourceTree = SOURCE_ROOT; }; - A0A668333900000000050000 /* releasebase.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = releasebase.xcconfig; path = ../../frameworks/settings/releasebase.xcconfig; sourceTree = SOURCE_ROOT; }; - A0A66833391837B5E7000000 /* main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = main.h; path = source/main.h; sourceTree = SOURCE_ROOT; }; - A0A6683339E921D362000000 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = source/main.cpp; sourceTree = SOURCE_ROOT; }; - A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cinema.framework.xcodeproj; path = ../../frameworks/cinema.framework/project/cinema.framework.xcodeproj; sourceTree = SOURCE_ROOT; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - A0A6683339000000000F0000 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - A0A6683339F470FF41010000 /* libcinema.framework.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 016C387A1E1FFA200065EF9A /* resources */ = { - isa = PBXGroup; - children = ( - 016C387F1E1FFA4A0065EF9A /* strings_us */, - 016C38801E1FFA540065EF9A /* strings_de */, - 016C387D1E1FFA3E0065EF9A /* oProjector.h */, - 016C387E1E1FFA3E0065EF9A /* oProjector.res */, - 016C387C1E1FFA350065EF9A /* c4d_symbols.h */, - ); - name = resources; - sourceTree = ""; - }; - 016C387F1E1FFA4A0065EF9A /* strings_us */ = { - isa = PBXGroup; - children = ( - 016C38841E1FFA790065EF9A /* oProjector.str */, - 016C38831E1FFA720065EF9A /* c4d_strings.str */, - ); - name = strings_us; - sourceTree = ""; - }; - 016C38801E1FFA540065EF9A /* strings_de */ = { - isa = PBXGroup; - children = ( - 016C38821E1FFA6A0065EF9A /* oProjector.str */, - 016C38811E1FFA600065EF9A /* c4d_strings.str */, - ); - name = strings_de; - sourceTree = ""; - }; - 019018551DCB48F7000D41F4 /* lib */ = { - isa = PBXGroup; - children = ( - 019018561DCB48F7000D41F4 /* wsPointProjector.cpp */, - 019018571DCB48F7000D41F4 /* wsPointProjector.h */, - 01F3FE661E3657240040DDE0 /* wsFunctions.cpp */, - 01F3FE671E3657240040DDE0 /* wsFunctions.h */, - ); - name = lib; - path = source/lib; - sourceTree = SOURCE_ROOT; - }; - 019018581DCB48F7000D41F4 /* object */ = { - isa = PBXGroup; - children = ( - 019018591DCB48F7000D41F4 /* oProjector.cpp */, - ); - name = object; - path = source/object; - sourceTree = SOURCE_ROOT; - }; - A0A668333900000000140000 /* libs */ = { - isa = PBXGroup; - children = ( - A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */, - ); - name = libs; - sourceTree = ""; - }; - A0A668333900000000190000 /* configurations */ = { - isa = PBXGroup; - children = ( - 8ACD68381C66E7D100F34089 /* sanitizerbase.xcconfig */, - A0A668333900000000000000 /* debugbase.xcconfig */, - A0A668333900000000050000 /* releasebase.xcconfig */, - ); - name = configurations; - sourceTree = ""; - }; - A0A6683339000000001E0000 = { - isa = PBXGroup; - children = ( - A0A668333900000000190000 /* configurations */, - A0A668333900000000140000 /* libs */, - A0A668333900000000230000 /* products */, - 016C387A1E1FFA200065EF9A /* resources */, - A0A6683339CA90681B000000 /* source */, - ); - sourceTree = ""; - }; - A0A668333900000000230000 /* products */ = { - isa = PBXGroup; - children = ( - A08C5CDEA3A66833397B0000 /* PointProjector.dylib */, - ); - name = products; - sourceTree = ""; - }; - A0A6683339CA90681B000000 /* source */ = { - isa = PBXGroup; - children = ( - 019018551DCB48F7000D41F4 /* lib */, - 019018581DCB48F7000D41F4 /* object */, - A0A6683339E921D362000000 /* main.cpp */, - A0A66833391837B5E7000000 /* main.h */, - ); - name = source; - path = ../source; - sourceTree = SOURCE_ROOT; - }; - A0A6683339F470FF41280000 /* products */ = { - isa = PBXGroup; - children = ( - A0A6683339F470FF41000000 /* libcinema.framework.a */, - 28945ECD17E25C1A009BE29F /* libcinema.framework_static.a */, - ); - name = products; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - A0A6683339000000002D0000 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 01F3FE691E3657240040DDE0 /* wsFunctions.h in Headers */, - 0190185B1DCB48F7000D41F4 /* wsPointProjector.h in Headers */, - A0A66833391837B5E7010000 /* main.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - A08C5CDEA3A6683339000000 /* PointProjector_R18 */ = { - isa = PBXNativeTarget; - buildConfigurationList = A0A668333900000000460000 /* Build configuration list for PBXNativeTarget "PointProjector_R18" */; - buildPhases = ( - A0A668333900000000320000 /* Sources */, - A0A6683339000000000F0000 /* Frameworks */, - A0A6683339000000002D0000 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - A0A6683339F470FF41370000 /* PBXTargetDependency */, - ); - name = PointProjector_R18; - productName = cinema4dsdk; - productReference = A08C5CDEA3A66833397B0000 /* PointProjector.dylib */; - productType = "com.apple.product-type.library.dynamic"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - A0A6683339000000003C0000 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0810; - ORGANIZATIONNAME = ""; - }; - buildConfigurationList = A0A668333900000000410000 /* Build configuration list for PBXProject "PointProjector_R18" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = A0A6683339000000001E0000; - productRefGroup = A0A668333900000000230000 /* products */; - projectDirPath = ""; - projectReferences = ( - { - ProductGroup = A0A6683339F470FF41280000 /* products */; - ProjectRef = A0A6683339F470FF41020000 /* cinema.framework.xcodeproj */; - }, - ); - projectRoot = ""; - targets = ( - A08C5CDEA3A6683339000000 /* PointProjector_R18 */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXReferenceProxy section */ - 28945ECD17E25C1A009BE29F /* libcinema.framework_static.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libcinema.framework_static.a; - remoteRef = 28945ECC17E25C1A009BE29F /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - A0A6683339F470FF41000000 /* libcinema.framework.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libcinema.framework.a; - remoteRef = A0A6683339F470FF41040000 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; -/* End PBXReferenceProxy section */ - -/* Begin PBXSourcesBuildPhase section */ - A0A668333900000000320000 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 0190185C1DCB48F7000D41F4 /* oProjector.cpp in Sources */, - A0A6683339E921D362010000 /* main.cpp in Sources */, - 0190185A1DCB48F7000D41F4 /* wsPointProjector.cpp in Sources */, - 01F3FE681E3657240040DDE0 /* wsFunctions.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - A0A6683339F470FF41370000 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = cinema.framework; - targetProxy = A0A6683339F470FF41050000 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 8A256EB71D81E7D100E325D9 /* UnitySanitize */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8ACD68381C66E7D100F34089 /* sanitizerbase.xcconfig */; - buildSettings = { - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_NO_COMMON_BLOCKS = YES; - MAXON_ROOTDIR = ../../; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_MODULE_NAME = PointProjector; - PRODUCT_NAME = PointProjector; - USER_HEADER_SEARCH_PATHS = "./source ./res ./res/description $(MAXON_ROOTDIR)frameworks/cinema.framework/source/** $(inherited)"; - }; - name = UnitySanitize; - }; - 8A256EB81D81E7D100E325D9 /* UnitySanitize */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEPLOYMENT_LOCATION = YES; - EXECUTABLE_EXTENSION = dylib; - INSTALL_PATH = /.; - }; - name = UnitySanitize; - }; - 8ACD68351C66E7A300F34089 /* Sanitize */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8ACD68381C66E7D100F34089 /* sanitizerbase.xcconfig */; - buildSettings = { - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_NO_COMMON_BLOCKS = YES; - MAXON_ROOTDIR = ../../; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_MODULE_NAME = PointProjector; - PRODUCT_NAME = PointProjector; - USER_HEADER_SEARCH_PATHS = "./source ./res ./res/description $(MAXON_ROOTDIR)frameworks/cinema.framework/source/** $(inherited)"; - }; - name = Sanitize; - }; - 8ACD68361C66E7A300F34089 /* Sanitize */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEPLOYMENT_LOCATION = YES; - EXECUTABLE_EXTENSION = dylib; - INSTALL_PATH = /.; - }; - name = Sanitize; - }; - A0A6683339000000004B0000 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A0A668333900000000000000 /* debugbase.xcconfig */; - buildSettings = { - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_NO_COMMON_BLOCKS = YES; - MAXON_ROOTDIR = ../../; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_MODULE_NAME = PointProjector; - PRODUCT_NAME = PointProjector; - USER_HEADER_SEARCH_PATHS = "./source ./res ./res/description $(MAXON_ROOTDIR)frameworks/cinema.framework/source/** $(inherited)"; - }; - name = Debug; - }; - A0A668333900000000500000 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A0A668333900000000050000 /* releasebase.xcconfig */; - buildSettings = { - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - MAXON_ROOTDIR = ../../; - PRODUCT_MODULE_NAME = PointProjector; - PRODUCT_NAME = PointProjector; - USER_HEADER_SEARCH_PATHS = "./source ./res ./res/description $(MAXON_ROOTDIR)frameworks/cinema.framework/source/** $(inherited)"; - }; - name = Release; - }; - A0A6683339000000005A0000 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEPLOYMENT_LOCATION = YES; - EXECUTABLE_EXTENSION = dylib; - INSTALL_PATH = /.; - }; - name = Debug; - }; - A0A6683339000000005F0000 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEPLOYMENT_LOCATION = YES; - EXECUTABLE_EXTENSION = dylib; - INSTALL_PATH = /.; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - A0A668333900000000410000 /* Build configuration list for PBXProject "PointProjector_R18" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A0A6683339000000004B0000 /* Debug */, - 8ACD68351C66E7A300F34089 /* Sanitize */, - 8A256EB71D81E7D100E325D9 /* UnitySanitize */, - A0A668333900000000500000 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; - A0A668333900000000460000 /* Build configuration list for PBXNativeTarget "PointProjector_R18" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A0A6683339000000005A0000 /* Debug */, - 8ACD68361C66E7A300F34089 /* Sanitize */, - 8A256EB81D81E7D100E325D9 /* UnitySanitize */, - A0A6683339000000005F0000 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; -/* End XCConfigurationList section */ - }; - rootObject = A0A6683339000000003C0000 /* Project object */; -} diff --git a/README.md b/README.md index 80aa41e..83db3e0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PointProjector +# R20 version of PointProjector A simple Cinema 4D plugin that projects the points of a spline or polygon object on geometry. It is basically like Cinema's own "Project" command, but implemented as a deformer, working with both, Splines and Polygon objects, and working non-destructively. diff --git a/compile_instructions.txt b/compile_instructions.txt new file mode 100644 index 0000000..4209148 --- /dev/null +++ b/compile_instructions.txt @@ -0,0 +1,9 @@ +- download the cinema4d c++ sdk and unpack into any folder +- copy the PointProjector folder of the repository into the plugins folder in that same folder +- open /project/projectdefinition.txt + - add "plugins/PointProjector" to the end of the plugin list + - make sure the previous row ends with ";\" +- download the maxon project tool https://developers.maxon.net/?page_id=1118 +- unpack the tool and run on windows "kernel_app_64bit.exe g_updateproject= +- download and install visual studio with v140 toolkit installed (vs2015 compiler, but can be installed in vs2017) +- compile the PointProjector project in the solution. diff --git a/projectsettings.props b/projectsettings.props deleted file mode 100644 index 5bbdb97..0000000 --- a/projectsettings.props +++ /dev/null @@ -1,14 +0,0 @@ - - - - ..\.. - - - <_ProjectFileVersion>10.0.40219.1 - - - - $(MAXON_ROOTDIR) - - - \ No newline at end of file