Advertisement Jump to content
Sign in to follow this  
wpjiang8888

OpenGL how to use opengl in web application(control/form)?

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

I know that csgl and tao.opengl can been used in c#,but the OpenGLControl and SimpleOpenGLControl are derived from windows form. Now i want to use OpenGL and draw 3D scene on button or panel in webcontrol,how to do it? Thanks your help.

Share this post


Link to post
Share on other sites
Advertisement
You'll probably have to write a browser plugin for that, or at the very least a Java Applet and use Java 3D. For security reasons, you're not allowed to access such low level libraries directly from a browser in a client machine.

Share this post


Link to post
Share on other sites
Kwizatz is right. Remember that using C# for web pages (ASP.NET) is server side, not client side.

Share this post


Link to post
Share on other sites
I can confirm that GDI and OpenGL can be used within a Mozilla MIME plugin. I also agree that this is probably the only way to do something like this if you want to use C++.

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!