Karim Mohamed Posted November 25, 2020 Share Posted November 25, 2020 Hello A weird question on an HTML5 forum!! I really like Pixijs and I want to use it in my C++ based project (native no browser in the mix). I am using bgfx as the rendering engine. I want to use pixi and GSAP3 as a higher layer on top of bgfx. My main problem is that I want to replace the webgl renderer with a native renderer that uses bgfx internally through Duktape. Any recommendations on the best and simplest approach to do this? Do I have to rewrite the entire renderer to use bgfx apis instead of webgl? or is there another simpler approach like having access to the vertex, index buffers, textures, maybe the filter shaders, and uniforms. then I pass them to bgfx for rendering. Thanks Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 25, 2020 Share Posted November 25, 2020 > I want to replace the webgl renderer with a native renderer So far, no one did that. I tried one time, but i spent not enough hours in it. Projects like AwayJS have extra abstraction level that allows to use native stuff, but it affects architecture and code.. in a bad way. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 25, 2020 Share Posted November 25, 2020 (edited) I read your question like "can this theoretical 200-hours job that requires knowledge of someone like @badlogic work? Is it possible"? Spend that time, let us see Maybe even stream it. Edited November 25, 2020 by ivan.popelyshev Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.