Hi Ahmidou,

I'm not sure how helpful this will be. I took a look at my old anaglyph XGS plugin code. I set up the FBO in the _InitInstance callback and deleted it in the _TermInstance callback ... but those callbacks don't seem to exist in the 2014 SDK documentation anymore. (I just bound and unbound the FBO in the _Execute callback). I'm curious why the SDK was changed. Or is there any chance it's a documentation oversight?

Ben




On 2/3/2014 11:47 AM, Ahmidou Lyazidi wrote:
Hi list people,
I have a small openGL question. I'm setting up FBO rendering, and I have a setup working, but currently I'm creating and destroying everyting in the draw context.

It seems that FBO should be initialized outside of the rendering loop, which make sense, but how can I do that in a Softimage plugin? I tried run the FBO init int the plugin init context, or on the first draw iteration with a condition with no luck.

Any Idea on this?
Thanks
-----------------------------------------------
Ahmidou Lyazidi
Director | TD | CG artist
http://vimeo.com/ahmidou/videos
http://www.cappuccino-films.com

Reply via email to