Jump to content
  • Advertisement
Sign in to follow this  
Fatming

[web] how to start WebGL with c++?

This topic is 3135 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

Hey guys!I am trying to make a webgame,and I got a lot question about it... I knew flash is a good option for it,but flash take a lot resource and performance is quite bad,so the webgl or silverlight seems is a better choice. WebGl is cool,I have google it for a while and find some websites made a lot great tutorial for it.like http://learningwebgl.com/blog/?cat=5,this great,but my question is... Could webgl to be written in c++ or just for java script?(it seems support all DOM language)if it does!it would be save a lot time to develope... silverlight is using c# and have a bunch resource,but webgl could run any platform(although MS said silverlight support any browsers,but...) For webGame.....which one will be better? any advice will be very kind,thanks.

Share this post


Link to post
Share on other sites
Advertisement
WebGL is meant to run directly in your browser without a plugin. And since browsers can't make sense of C++, you'll have to stick to javascript

Share this post


Link to post
Share on other sites
thanks for reply :)
I am curious if jsvascript call java then java call c++ is possible...

I have search for some information about this.

javascript call java
http://www.rgagnon.com/javadetails/java-0170.html
java call c++
http://www.javaworld.com/javaworld/javatips/jw-javatip17.html?page=1

and I have a openglES2.0 framework written by c++....

can I make it?

Share this post


Link to post
Share on other sites
That has nothing at all to do with WebGL. The point of WebGL is to allow javascript the ability to use the GL API with no additional downloads or plugins. If you are using Java and C++ then you are not using WebGL at all but you are using OpenGL with custom plugins/applets.

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!