Bartlomiej Bazior wrote:
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 :-) )
It's just that I need to create a working target. I will not have to
change the code a bit, just like crceate the target, put the right
compilation/linking flags, and roll..
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)?
It's very hard to test for compatibility. The first thing I'd ask you to
do is to install the latest drivers for your setup from nVidia (they
just released a new set of drivers). If you still have the problem then
we will try to investigate a bit. I'm usually do my testing in Cubase SX
and Nuendo both on PC and Mac and haven't suffered any big problem. But
I'm building a test rig with a couple of graphic cards right now (both
old and new stuff). When you say the host gets slow, do you mean moving
the Plugin window or moving the nui window inside the plugin window?
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
Ok, I have something to fix in the plugin then. I'll try and have a look
later today, it's quite easy to fix usually.
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.
I know Urs, can you put me in CC of your email when you contact him so
that we fix the pbms together?
cheers,
Bart
Thanks!
Sebastien
--
Sebastien Metrot
Lead Dev.
http://www.usbsounds.com