C++ XSI plugins and Fabric Engine

2016-01-30 Thread Andruha Prostrelov
I'm noticed that there is no examples on "how to implement Fabric Engine into XSI C++ Plugins" Is that possible ? Can someone provide link or some code to understand. The only one example from Fabric SDK is "Hello World" C++ script. So far i know that Fabric 2.0 adds dfoSoftimageOp to object

Re: C++ XSI plugins and Fabric Engine

2016-01-30 Thread Andruha Prostrelov
https://vimeo.com/groups/1792/videos/50290984 this video is close enough but all links to src or blog post are broken. maybe someone have examples shown in it ? 2016-01-30 19:15 GMT+03:00 Andruha Prostrelov <prostre...@gmail.com>: > I'm noticed that there is no examples on "ho

Re: C++ XSI plugins and Fabric Engine

2016-01-30 Thread Andruha Prostrelov
Thank you Steven. Already have it. I guess its way too complex example and its hard to figure out how should i use this example of "how to implement Fabric Engine into your DCC" in my problem "how to use\invoke Fabric Engine from Softimage C++ plugins". I know that SpliceSoftimage git thread

OGL geometry components & subdivide lvl > 0

2016-01-22 Thread Andruha Prostrelov
I develop simple tool that should create and slide edge segments while user perform Tool_Drag() callback. So far i know two approaches for this: 1st: Through CustomTool_Draw() callback mimic new edge_segments slide via OGL LINE\STRIPE primitive movements. This way i didn't perform any

Re: Pass struct from Tool to Operator

2015-12-17 Thread Andruha Prostrelov
gt; On Thu, Dec 10, 2015 at 9:01 AM, Andruha Prostrelov <prostre...@gmail.com> > wrote: > >> I am looking for the way to pass a "struct" from Tool Class to the >> CustomOperator_Update() callback. >> I saw two approaches to this in SDK. First one should w

Re: Pass struct from Tool to Operator

2015-12-17 Thread Andruha Prostrelov
If i use Plugin's UserData i have a problem with releaseing memory. struct myStruct{ XSI::CLongArray polyData; XSI::CValueArray edgeSegmentsArray; } SICALLBACK XSILoadPlugin( PluginRegistrar& in_reg ){ PlugData * pDataPtr = new PlugData ;

Re: VS2012 Debugg CString CValue

2015-11-23 Thread Andruha Prostrelov
ogMessage() (eg; >> Object.FullName.GetAsText() or CString.GetAsciiString() ). >> >> I would need to see an example of your CLongArray issue to comment on it >> as I've never run into that issue. >> >> Matt >> >> >> >> >> >> >>

Re: VS2012 Debugg CString CValue

2015-11-23 Thread Andruha Prostrelov
The friend of mine provide me with this variant: #include std::string my_debug_string( src_edges.GetAsText().GetAsciiString()); During debugg session you monitor my_debug_string var

VS2012 Debugg CString CValue

2015-11-21 Thread Andruha Prostrelov
Hello list =) My name is Andrew and i am XSI enthusiast. Since i develop pluggins in C++ i often debugg values through Application().LogMessage function. But i can't reach this log messages when i am in debugg process. And without this LogMessage function i have a problem debugging CString