View Full Version : Is it possible to access image- filter- plugins from within the SDK?
Elmar Moelzer
04-08-2003, 10:57 AM
Hello
How do I get a list of installed image- filter plugins from within the SDK.
I want to make a list simillar to the one in the image- processing- panel and use (despite our own), the other filters that come wth LW or 3rd- parties. How do I get a list of them and how do I access them. I cant find anything about this in the SDK- docs (anyone able to point me into the right direction?)
Thanks
CU
Elmar
Lightwolf
04-10-2003, 04:53 AM
Originally posted by Elmar Moelzer
How do I get a list of installed image- filter plugins from within the SDK.
Hi Elmar,
I told you I'd answer :D
AFAIK this isn't possible. I guess the only way around it would be:
* parse lwext3.cfg to find all image filter plugins
* call the .p files directly, providing the the infrastructure that LW provides.
This is how the old Stealthnet accessed image loaders for the preview. I think QV3 by Ernie Wright used a similar approach for image saving. Mind you, it won't be cross platform.
No a very viable path, I agree.
You can however let the user clone the image and process it using filters, and then access the processed image data.
pixmap = evaluate( image, time ) in LWImageList might help you here.
Cheers,
Mike
Elmar Moelzer
04-10-2003, 10:26 AM
Hey Lightwolf!
Thanks for the reply. I am not to happy with that though. The problem is that we dont want to apply the filters to an Image...
CU
Elmar
Lightwolf
04-10-2003, 10:53 AM
Originally posted by Elmar Moelzer
Hey Lightwolf!
Thanks for the reply. I am not to happy with that though. The problem is that we dont want to apply the filters to an Image...
Hi Elmar,
Hey, I don't like it that way either :) I see what you want though, well, I can guess...
I assume there is no way around that except for calling the .p files directly, which is a major pain in the a**, agreed.
BTW, I dig your volumetric renderer. I'm working on one right now as well, for a different purpose though.
Elmar Moelzer
04-10-2003, 11:19 AM
I'm working on one right now as well, for a different purpose though
You have got to tell me more about it!
CU
Elmar
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.