Jump to content

  • Log In with Google      Sign In   
  • Create Account

opengl es and win 7 with visual studio


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 giugio   Members   -  Reputation: 215

Like
0Likes
Like

Posted 02 August 2013 - 01:07 PM

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.



Sponsor:

#2 Promit   Moderators   -  Reputation: 7604

Like
0Likes
Like

Posted 02 August 2013 - 01:42 PM

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.



#3 ATEFred   Members   -  Reputation: 1125

Like
0Likes
Like

Posted 08 August 2013 - 11:35 AM

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.

#4 giugio   Members   -  Reputation: 215

Like
0Likes
Like

Posted 11 August 2013 - 10:07 PM

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.



#5 ATEFred   Members   -  Reputation: 1125

Like
0Likes
Like

Posted 13 August 2013 - 06:42 AM

 

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/






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS