Jump to content
  • Advertisement
Sign in to follow this  
codingJoe

OpenGL Used three.js inside of Qt application

This topic is 684 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

 

I have a portable C++ Qt application that does some openGl rendering in a main window. The rendering is currently still plain old OpenGL (not even with shaders), and I feel I need to move one level up by using a third-party library.

 

I was first thinking about Ogre, but this is heavy, and will need to be updated on a regular basis.

Then I discovered three.js and I am very pleased by the simplicity of everything. The only drawback for me is that it is javascript, but I can handle this.

 

My question is following:

 

I imagine using a webbrowser Qt widget as my main window content, so that I can do the display in there via three.js and javascript. The javascript code will read the render data from my C++ application. Is this feasable? And if yes, what kind of interface will I have to use between my C++ code and the javascript code, for fast data transfer and update?

 

Thanks

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!