I want to add the plugin "qEDL" or others in my program. (c++ code)
but I have no idea to start the operation with a plugin.
what should I do ?
Is anyone know how to achieve my goal? any step tutorial, example or help.
its a big problem to me ..... thanks
About Plugin import in customer program
Re: About Plugin import in customer program
If it's outside of CloudCompare, I doubt you'll be able to use the plugin 'as is'. However the qEDL plugin is actually just an (advanced) shader. So you should extract the 'shader' part out of it (see the ccEDLFilter class).
Daniel, CloudCompare admin
Re: About Plugin import in customer program
Sorry , Daniel. I do not understand how to extract the "shader",
I can just get the ccEDLfilter and set " m_glWindow->setGlFilter(edlFilter);"
but it seems not working at all.
Can you explain more detail about this?
I would appreciate it if you could sort out my question.
I can just get the ccEDLfilter and set " m_glWindow->setGlFilter(edlFilter);"
but it seems not working at all.
Can you explain more detail about this?
I would appreciate it if you could sort out my question.
Re: About Plugin import in customer program
Maybe I misunderstood the way of using plugins.
I want to know if I need a feature in one of plugins, what should I really do.
add something in my program? or some files?
I'd never used any plugin before. Hope there are some detailed description.
Thanks for reading me.
I want to know if I need a feature in one of plugins, what should I really do.
add something in my program? or some files?
I'd never used any plugin before. Hope there are some detailed description.
Thanks for reading me.
Re: About Plugin import in customer program
I added QEDL_PLUGIN.lib/.dll in my project and used ccEDLFilter class.
ccEDLFilter* edl = new ccEDLFilter();
edl->setLightDir(X,X);
edl->setStrength(X);
m_glWindow_->setGlFilter(edl);
That's all I can do now, but it doesnt work.
I want to use this plugin very much, can anyone provide me some suggestion?
ccEDLFilter* edl = new ccEDLFilter();
edl->setLightDir(X,X);
edl->setStrength(X);
m_glWindow_->setGlFilter(edl);
That's all I can do now, but it doesnt work.
I want to use this plugin very much, can anyone provide me some suggestion?