Search found 12 matches
- Fri May 17, 2024 18:37
- Forum: Wire Wire, Pants on Fire!
- Topic: metaballs time problem
- Replies: 6
- Views: 11199
Re: metaballs time problem
You do not want to increase with the same fixed value each frame, because then if you run at 200 fps it will go faster than if you run at 30 fps. You want to have something time dependent. This works quite well and allow you to have a speed parameter too :
- Tue Sep 14, 2021 16:54
- Forum: Developers Developers Developers
- Topic: Any examples/advice on FFGL audio input for creating visualizers?
- Replies: 3
- Views: 18586
- Thu Feb 13, 2020 10:45
- Forum: Developers Developers Developers
- Topic: Getting default uniforms
- Replies: 1
- Views: 9115
Re: Getting default uniforms
You need to use the ffglquickstart classes so that the default params are sent, for example FFGLEffect if you are creating an effect.
- Thu Nov 28, 2019 18:58
- Forum: Developers Developers Developers
- Topic: FFGL - How to get Texture info during creation of parameters
- Replies: 6
- Views: 18464
Re: FFGL - How to get Texture info during creation of parameters
It has been a while that I did not touch this code since Menno started to work on this, but from what I see this part did not really change and should be the same as before. 

- Mon Jul 22, 2019 14:37
- Forum: Developers Developers Developers
- Topic: FFGL 2 SDK
- Replies: 20
- Views: 49782
Re: FFGL 2 SDK
Passing/returning ranges
is undefined behaviour if there is something in PointerValue.
We need to change FFMixed to be a struct if we want to access both at the same time.
Code: Select all
result.UIntValue == FF_FAIL
We need to change FFMixed to be a struct if we want to access both at the same time.
- Thu Jul 18, 2019 11:30
- Forum: Developers Developers Developers
- Topic: FFGL 2 SDK
- Replies: 20
- Views: 49782
Re: FFGL 2 SDK
Passing/returning ranges :
The thing is that there is no way to know the final type of an union, and accessing inactive union member is undefined behaviour.
As old plugins don't support this method the check if the result is FF_FAIL is important in Resolume Arena to check the range to { 0, 1 ...
The thing is that there is no way to know the final type of an union, and accessing inactive union member is undefined behaviour.
As old plugins don't support this method the check if the result is FF_FAIL is important in Resolume Arena to check the range to { 0, 1 ...
- Tue Jul 16, 2019 14:27
- Forum: Developers Developers Developers
- Topic: FFGL 2 SDK
- Replies: 20
- Views: 49782
Re: FFGL 2 SDK
Pointer recasting in FFGL.cpp :
I already had a look at your .zip and found this solution very elegant, I don't see a reason why this should not be implemented like this.
Passing/returning ranges :
I wanted to have a status return value and a data return value so I use this different pattern ...
I already had a look at your .zip and found this solution very elegant, I don't see a reason why this should not be implemented like this.
Passing/returning ranges :
I wanted to have a status return value and a data return value so I use this different pattern ...
- Mon Jul 15, 2019 11:43
- Forum: Developers Developers Developers
- Topic: FFGL - How to get Texture info during creation of parameters
- Replies: 6
- Views: 18464
Re: FFGL - How to get Texture info during creation of parameters
I thought you wanted to change the value of the parameter, not the range.
So, yeah, it is not really possible at the moment, as Arena add the parameter before calling initGL, and we don'thave a way to push parameter range change to the host right now.

So, yeah, it is not really possible at the moment, as Arena add the parameter before calling initGL, and we don'thave a way to push parameter range change to the host right now.
- Thu Jul 11, 2019 09:33
- Forum: Developers Developers Developers
- Topic: FFGL - How to get Texture info during creation of parameters
- Replies: 6
- Views: 18464
Re: FFGL - How to get Texture info during creation of parameters
InitGL function : https://github.com/resolume/ffgl/blob/master/source/lib/ffgl/FFGLPluginSDK.h#L59
Every plugin should have a variable named currentViewport that contains texture info after InitGL is called by the host. Even if you create your parameter in the constructor and you still don't have ...
Every plugin should have a variable named currentViewport that contains texture info after InitGL is called by the host. Even if you create your parameter in the constructor and you still don't have ...
- Tue Apr 23, 2019 09:33
- Forum: Developers Developers Developers
- Topic: FFGL and colour picker widgets (v6)
- Replies: 1
- Views: 7757
Re: FFGL and colour picker widgets (v6)
The issue for the default colour is already fixed internally, but I think the fix will only be available for 7, unfortunately.