Page 5 of 7

Re: FreeframeGL ShaderLoader

Posted: Sun Mar 29, 2015 00:05
by docoptic
This is great, thanks for sharing. I've had success compiling plugins using the Mac OSX build, however Resolume does not acknowledge it in the Effects list if you change the name of the FFGL plugin. Works fine if you leave the name as default: ShaderMaker.bundle.

Any other Mac users had success with renaming? It would be nice to have more than one Shadertoy FFGL plugin available in the Effects list to create a deck full of these. Hoping it's just some newbie error on my end.

Re: FreeframeGL ShaderLoader

Posted: Sun Mar 29, 2015 01:14
by leadedge
Just to be clear. Are you also changing both the ID and Name in "PluginInfo" within "ShaderMaker.cpp"?

Re: FreeframeGL ShaderLoader

Posted: Sun Mar 29, 2015 03:32
by docoptic
Yes, I am. There was a workaround posted that involves saving the same file in different folders which works if anyone else is having this issue and wants to start bulding a set.

Re: FreeframeGL ShaderLoader

Posted: Sun Mar 29, 2015 07:38
by leadedge
Is there a link to that workaround post?

Re: FreeframeGL ShaderLoader

Posted: Sun Mar 29, 2015 09:21
by docoptic

Re: FreeframeGL ShaderLoader

Posted: Sun Mar 29, 2015 17:36
by Joris
I don't think you can get away with just renaming the .bundle file like that.

When renaming Product Name in the Target Build Settings before building, things seem to go okay for me.
Screen Shot 2015-03-29 at 18.35.07.png

Re: FreeframeGL ShaderLoader

Posted: Sun Mar 29, 2015 18:28
by docoptic
That's good to know, thanks Joris. The readme mentions just renaming the file itself which is what caused some confusion. Will definitely try that.

Update: Worked great!

Re: FreeframeGL ShaderLoader

Posted: Mon Mar 30, 2015 01:46
by leadedge
Thanks Joris. I will look at updating the documentation.

Re: FreeframeGL ShaderLoader

Posted: Mon Mar 30, 2015 13:41
by leadedge
Some bug fixes - see source for details (search "30.03.15") :
. Set m_glTextureXX to zero after delete
. Check for incoming Texture ID change
. Viewport check in ProcessOpenGL
. Documentation update

https://github.com/leadedge/ShaderMaker/releases

- - - -

Re: FreeframeGL ShaderLoader

Posted: Tue Mar 31, 2015 01:04
by leadedge
A question for Joris.

I have found an unusual effect related to the texture that the plugin receives.

If ShaderMaker is compiled for a shader that uses a texture, dropped into an empty cell and activated with a click, a black texture is apparently received but the ID oscillates e.g. 21,22,21,22 etc. That's fine because as soon as an image is dropped over the plugin, or the plugin is dropped on an image, the texture ID is steady e.g. 22.

The strange thing is that some movie clips I have, result in an oscillating ID e.g. 35,36,35,36 etc. But some other clips show a steady ID. What do you think is going on here.