Jump to content
  • Advertisement
Sign in to follow this  
giugio

OpenGL opengl es and win 7 with visual studio

This topic is 2169 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 wish create a c++ project under windows ,with visual studio(that is  my favorite ide) ,that uses opengl es 2.0.
I think that is possible, webgl uses opengl es from many year!
But i see that there are a lot of emulators and problems, why?
I have an nvidia gtx 295 , i read that is more simple do that for an ati why?
I'm wrong?
ps. i use win 7 and vs 2012.
thanks.

Share this post


Link to post
Share on other sites
Advertisement

ES isn't normally supported on Windows. The WebGL stuff is an intermediate layer, and it's pretty easy to replicate yourself. You'll want to use the ES2_compatibility extension for shaders. Most of the ES functions have the same name and parameters. In our code I have a header that exports ES functions and calls the correct ES or GL functions depending on what platform I'm using.

Share this post


Link to post
Share on other sites
There are a few different emulators you can use. Power vr, arm, and ATI each provide one. I have not tried them, started using angle, which remaps the ogles calls to d3d. Seems to work pretty well so far.

Share this post


Link to post
Share on other sites

ES isn't normally supported on Windows. The WebGL stuff is an intermediate layer, and it's pretty easy to replicate yourself. You'll want to use the ES2_compatibility extension for shaders. Most of the ES functions have the same name and parameters. In our code I have a header that exports ES functions and calls the correct ES or GL functions depending on what platform I'm using.

thanks Promit, I explain better what i would do:
I would create a simple 3d cad system that works in mobile android and also in  windows (and maybe linux), and i would do all one times and facilitate the porting from desktop to mobile.
It's a crazy idea or bad idea?
Thanks.

There are a few different emulators you can use. Power vr, arm, and ATI each provide one. I have not tried them, started using angle, which remaps the ogles calls to d3d. Seems to work pretty well so far.

thanks, ATEFred, is possible use one of these emulators under win 7 and with a gtx 295 nvidia geforce card?

which emulator do you recommend?
you or other user.

thanks.

Share this post


Link to post
Share on other sites

 

ES isn't normally supported on Windows. The WebGL stuff is an intermediate layer, and it's pretty easy to replicate yourself. You'll want to use the ES2_compatibility extension for shaders. Most of the ES functions have the same name and parameters. In our code I have a header that exports ES functions and calls the correct ES or GL functions depending on what platform I'm using.

thanks Promit, I explain better what i would do:
I would create a simple 3d cad system that works in mobile android and also in  windows (and maybe linux), and i would do all one times and facilitate the porting from desktop to mobile.
It's a crazy idea or bad idea?
Thanks.

There are a few different emulators you can use. Power vr, arm, and ATI each provide one. I have not tried them, started using angle, which remaps the ogles calls to d3d. Seems to work pretty well so far.

thanks, ATEFred, is possible use one of these emulators under win 7 and with a gtx 295 nvidia geforce card?

which emulator do you recommend?
you or other user.

thanks.

 

you can use ANGLE with your setup. You are restricted to texture formats your gpu supports, such as the dxt /s3tc ones, rather than the powerVR ones you would be using on iOS devices, but overall it works pretty well. Very easy to setup as well, but source and some simple samples available here: https://code.google.com/p/angleproject/

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.

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!