Hi chaps,
Was just testing some reports that my fugFeedbackGL FFGL plugin wasn't working when dropped onto a layer.
It works but it chops off part of the output.
I did some debug and it looks like Resolume is passing in the wrong values (swapping width and height) for the viewport during FF_INSTANTIATEGL
When dropping onto a clip:
VP: x=0 y=0 w=640 h=480
When dropping onto a layer:
VP: x=0 y=0 w=480 h=640
Can you guys have a quick look at this?
Best wishes,
Alex
FFGL viewport bug on layers?
Re: FFGL viewport bug on layers?
I've asked Menno to take a look for you. You're in good hands with him 

Re: FFGL viewport bug on layers?
Cheers. Thanks Joris!
Re: FFGL viewport bug on layers?
You're right, the width and the height values are swapped indeed. I'll have to see what kind of side-effects correcting this has, in fact, i'm quite surprised layer rendering even works and that this hasn't been noticed on other effects already.
Does swapping the width and height values in your plugin make it work as expected? If so, that's probably the best thing you can do until we release a fix.
Does swapping the width and height values in your plugin make it work as expected? If so, that's probably the best thing you can do until we release a fix.
Re: FFGL viewport bug on layers?
OK, not me going mad, thenMenno wrote:You're right, the width and the height values are swapped indeed.

My feedback plugin does all sorts of fun things with extra render buffers and the like, which I guess most plugins don't have to!Menno wrote:I'll have to see what kind of side-effects correcting this has, in fact, i'm quite surprised layer rendering even works and that this hasn't been noticed on other effects already.
I don't think that's going to work as people will have to upgrade again when there is a fix. I might have a look at getting the current viewport with glGetIntegerv but that's operating outside of the specification, so it might cause issues in other FFGL hosts.Menno wrote:Does swapping the width and height values in your plugin make it work as expected? If so, that's probably the best thing you can do until we release a fix.
Best wishes,
Alex
-
- Posts: 8
- Joined: Fri Aug 07, 2015 10:08
Re: FFGL viewport bug on layers?
Has this been corrected??
Re: FFGL viewport bug on layers?
No not yet, it's holidays here and work on version four is halted until everyone is back, which should be next week.
To see if we've fixed something you can have a look at the changelog we provide when a new version is released.
To see if we've fixed something you can have a look at the changelog we provide when a new version is released.