Killer.Penguin Posted February 11, 2014 Share Posted February 11, 2014 I need to add extensions to some classes and recompile Unigine for some specific use. For example, I need to extend ObjectParticle class to be able to do some special shapes. However, I couldn't find any source code for it in: [unigine SDK/source/app\main/main_vc2008.vcproj] Am I looking at the right place? Best, Link to comment
ulf.schroeter Posted February 11, 2014 Share Posted February 11, 2014 Obviously not, it is part of the engine source tree (source/engine/...). Simplest way to find it is to use "find in files" feature of your IDE or editor. Link to comment
Killer.Penguin Posted February 11, 2014 Author Share Posted February 11, 2014 Well, i don't see it even with search, that's why I'm here. T_T I don't see engine source code anywhere, (source/engine/ folder doesn't exist) is this because of my licensing option? Couldn't remember which one I paid for, been awhile... If I don't have the engine source code licensing, is there anyway that I can I add features to the particle class? Link to comment
Killer.Penguin Posted February 11, 2014 Author Share Posted February 11, 2014 Hmmm it seems like we haven't bought the object code license but that's still under consideration though. For now, is there any way else to create my own extension class and add it to the editor? (I want to be able to attach it to a node, edit its parameters and save them along with the .node file.) Link to comment
ulf.schroeter Posted February 11, 2014 Share Posted February 11, 2014 This seems to be in general possible with new Node-/ObjectExternal available with latest SDK release (though it will not be possible to subclass existing Object.... classes, but only to define completely your own implementations). At least in the source license version of the SDK there are some small samples Unigine-Sim-SDK-2014-01-31\source\samples\Api\Nodes\NodeExtern Unigine-Sim-SDK-2014-01-31\source\samples\Api\Nodes\ObjectExtern Link to comment
binstream Posted February 11, 2014 Share Posted February 11, 2014 Your company has purchased binary only license, in order to introduce such extensions you need either use ObjectExtern or purchase the license upgrade, please contact licensing@unigine.com for that. Link to comment
Killer.Penguin Posted February 12, 2014 Author Share Posted February 12, 2014 Oh ok haha,... we're waiting for your PS4 licensing price actually. We'll try to keep it simple til then. Will try the new SDK for now. Thx. Link to comment
Recommended Posts