opengl es and win 7 with visual studio

Started by
3 comments, last by ATEFred 10 years, 8 months ago

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.

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.

SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
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.

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.

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/

This topic is closed to new replies.

Advertisement