Sign in to follow this  
Fatming

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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this