Sebastien Metrot :
I've just been lazy and made the default "dynamic debug" target work as
is. I will try to find some time to fix the three others :-). But I
confirm that it works as this is the way I use NGL and NUI inside a VST
plugin. By the way, I can also confirm that NGL and NUI works very fine
when used as the toolkits for plugins in ProTools (HTDM & RTAS, mac and
pc), Sonar4 (DirectX and DXi), VST and VSTi (mac and pc), AudioUnit
(Mac), MAS (Mac), and Maya in both Dynamic and Static versions.
Good to hear it. Although I think the problem lies in nglPlugin class
and not in actual example vst plugin (but there's a good chance that I'm
wrong :-) )
I'll post a message when the static version of the VST plugin example is
fixed, unless you beat me to it and send a patch here ;-).
Well if I knew how to fix it, I would make a patch, but unfortunately I
don't have a clue :-(
I would also ask about the performance of nui/ngl. When I "fire up" that
example plug and start to move the editor window I get a massive cpu
consumption (even 90% on my AthlonXP 2600 with Geforce 3 based graphic
card)!!! I'm little worried of what it's going to be with more complex
interfaces. The good news is that with very demanding song arrangements
nui gui doesn't interfere with audio engine (meaning no clicks and
dropouts during simultaneous playback and editor window draging) - only
gui gets less responsive. But still I thought, that using OpenGL would
ease CPU % a bit. I wanted to check how this looks in your plugins, but
I couldn't find any PC demos to download :-/
So I'm actually curious, have you had any problems with this (for
example users complaining on performance)?
Another thing. I get some unusual behaviour with this vst example wich I
think is related to nui or ngl. When I open plugin window for the first
time everything is fine, but when I close the editor and reopen it, I
get this: http://www.ckmedia.pl/~fev/stuff/err.png
Also it seems, that this plugin "confilcts" with latest u-he
(www.u-he.com) plugins - Filterscape and Podolski. When I first load
nui/ngl example and then one of the Filterscape plugins, the gui is not
properly drawn in the latter. There are no additional artifacts on the
nui plugin side, but it's too simple example to definetely say that u-he
plugins don't have influence on nui plugins. You said, that nui/ngl is
used in your latest projects, so I thought, that you may be intrested in
this info. It's propably worth to mention, that u-he plugins also use
libpng,zlib, freetype and anti grain geometry. Anyway I'm also going to
inform Urs Heckmann (the man behind u-he plugs) about this issue.
cheers,
Bart
--
"When the only tool you know is a hammer,
every problem looks like a nail."