DS4.5 plugin SDK getting started?

cridgitcridgit Posts: 823
edited December 1969 in Daz SDK Developer Discussion

Hi all

After having done quite a bit of DS scripting in my time, I'd like to try a plugin SDK project. I've been through this forum and the old SDK forum archive and can't find a simple explanation on getting started, specifically the questions below. FYI I'm a long-time C++ programmer and have used MSVS and Eclipse CDT on Windows only.

1. Can I use Eclipse CDT to build a DS plugin or is it limited to MSVS?
2. Given the DS user base I assume we're expected to build 32b and 64b on Win and Mac? I assume the core code stays the same whereas the project configuration and binary compilation changes per architecture/platform.
3. What IDE do people build Mac versions in?
4. Where can I find a getting started guide or user manual - do I have to download/install RC4.5 SDK before I can read this?
5. Do I have to have DS4.5RC installed in order to use the 4.5 SDK? If the answer is yes, then can this run alongside DS4.0.37 ?



  • Richard HaseltineRichard Haseltine Posts: 20,528
    edited December 1969

    I can answer 4) and 5) - the SDK includes some sample projects (which need Visual Studio 10), and yes the SDK is for the 4.5 RC which can't be run alongside the public version. As for Mac and Windows support, that would I think be up to you - certainly if you are going to make the plugin free or sell it yourself rather than through DAZ.

  • pcicconepciccone Posts: 411
    edited December 1969

    I can answer about the Mac parts. The SDK uses Qt and if you stick to the Qt framework, which is quite extensive, you will be able to recompile on both platforms with minor effort. I develop on Mac OS and then recompile on Windows and there are no code changes for Reality. The main issue is to deal with some compiler differences. g++/CLang on Mac OS allows several options that are not available with VC++.

    IDE-wise, I don't use any. I like a good editor. I write my code in Sublime edit, which is available for Windows as well. I used TextMate before that. The IDE of choice on Mac OS is XCode, which you can download for free from Apple. It's definitely good but the editor, as with every IDE, leaves a lot to be desired.
    My build system is based on CMake, I generate the project files for XCode and VC++ from there.

    Good luck.

  • cridgitcridgit Posts: 823
    edited December 1969

    Thanks, Richard and Paulo. I guess I'll wait for 4.5 GA or at least cohabiting with 4.0.3 as I rely too much on somebody's plugin to uninstall 4.0.3 for the time being ;-)

  • foleyprofoleypro Posts: 311
    edited December 1969

    ParticleFX DS4 is compiled for DS4 of course and I have a DS4.1 Plugin compiled with the DS4.1SDK but fails to load in DS4.5 Pro version..

    I havent compiled a plugin yet but will give it a try...

    I have the 4.5 DS SDK
    I have Express Studio 2010
    I also have codeblocks-10.05mingw-setup

    Now am I to assume I install DS4.5Pro and the DS SDK4.5
    Open Express or codeBlocks and then open ParticleFX DS4.Dll as a Project..
    Then some where I will find and Option/Icon to build the PFX.dll and Hopefully it will work in DS 4.5...
    Or do I have to do something else...?

  • ReDaveReDave Posts: 815
    edited December 1969

    I'm no expert, Foley, but you'll have to set-up a number of things in Express that are far from obvious if you don't know how to set them up. I tried with Express 2008 (IIRC?), and needed help from a local expert. I have later tried installing Express 2010 and since I didn't have an expert on-hand, I failed to set it up (it looks significantly more complicated). I'd love to have a written or video tutorial on how to set-up Express myself.

  • foleyprofoleypro Posts: 311
    edited December 1969

    I agree...I would love a step by step on useing the DS SDK and express on setting up the project....

    I have the original source code I just dont have the new code Vasily did on the Plugin to make it compatible with DS4.0 32,64,Mac...

    Vasily is so slammed with work thru scopic that I havent tried...

    I guess I need to contact hime and get the new Projects...

Sign In or Register to comment.
Rocket Fuel