Digital Art Zone

 
     
DS4.5 plugin SDK getting started?
Posted: 18 July 2012 01:27 AM   [ Ignore ]
Active Member
RankRank
Total Posts:  901
Joined  2009-12-07

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 ?

Thanks

 Signature 

PoseMaster for DAZ Studio and PoseMaster People Pack now sold at Rendo.

Profile
 
 
Posted: 18 July 2012 05:25 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  13696
Joined  2003-10-09

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.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 19 July 2012 05:31 PM   [ Ignore ]   [ # 2 ]
Member
Avatar
Rank
Total Posts:  166
Joined  2005-05-06

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.

 Signature 

Paolo/Pret-a-3D
Get Reality for DAZ Studio
http://www.facebook.com/RealityPlugIn
http://twitter.com/preta3d
https://plus.google.com/106625816153304163119

Profile
 
 
Posted: 21 July 2012 07:26 PM   [ Ignore ]   [ # 3 ]
Active Member
RankRank
Total Posts:  901
Joined  2009-12-07

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 wink

 Signature 

PoseMaster for DAZ Studio and PoseMaster People Pack now sold at Rendo.

Profile
 
 
Posted: 25 August 2012 09:59 AM   [ Ignore ]   [ # 4 ]
Active Member
Avatar
RankRank
Total Posts:  294
Joined  2003-10-10

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…?

 Signature 

As Always B3D
..........................
My radio Station…
http://www.pandora.com/?sc=qm81447313#/
.........................
http://www.foleypromagic.com
http://www.michaelhershman.com
http://www.artwanted.com/foleypro
http://foleypro.deviantart.com/
http://home.comcast.net/~foleypro

Profile
 
 
Posted: 28 August 2012 04:02 PM   [ Ignore ]   [ # 5 ]
Active Member
Avatar
RankRank
Total Posts:  803
Joined  2007-01-08

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.

Profile
 
 
Posted: 28 August 2012 05:11 PM   [ Ignore ]   [ # 6 ]
Active Member
Avatar
RankRank
Total Posts:  294
Joined  2003-10-10

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…

 Signature 

As Always B3D
..........................
My radio Station…
http://www.pandora.com/?sc=qm81447313#/
.........................
http://www.foleypromagic.com
http://www.michaelhershman.com
http://www.artwanted.com/foleypro
http://foleypro.deviantart.com/
http://home.comcast.net/~foleypro

Profile