Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

S3DEV1

Windows Forms

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

Where Can I get a Begginer''s OpenGL Tutorial using Windows Forms. I never learned MFC and I don''t have time to go back to that right now.

Share this post


Link to post
Share on other sites
Advertisement
You don''t need a specific tutorial. Every form has a Handle property, which just returns the HWND of the underlying window. From there, just proceed as you would normally (i.e. find any other opengl tutorial for windows, and remeber that any mention of HWND is talking about this Handle property.)


codeka.com - Just click it.

Share this post


Link to post
Share on other sites
quote:
Original post by S3DEV1
Where Can I get a Begginer''s OpenGL Tutorial using Windows Forms


What are Windows Form?

Check out this place, more spceifically the tutorials section which covers OpenGL in Windows pretty well, from the beginner''s to the advanced level.

Hope this helps,
Crispy

Share this post


Link to post
Share on other sites
csgl.sourceforge.net


"The churches used to win their arguments against atheism, agnosticism, and other burning issues by burning the ismists, which is fine proof that there is a devil but hardly evidence that there is a God."
Ben Lindsey and Wainwright Evans

Share this post


Link to post
Share on other sites
I though he just wanted Windows Forms, not neccesarily C#... If you just want Windows Forms, my post is all you need. If you want OpenGL + C#, then go with csgl (though I''d wait until DX9 before doing 3D with C# or any other .NET language.)


codeka.com - Just click it.

Share this post


Link to post
Share on other sites
Yeah, you''re right, it should. I just think it''s going to be overkill. Especially since VC++.NET has slightly better native interop than C# (in that you can mix native and .NET together). So it''d probably be easier to just use opengl directly...

Actually, I''m not sure how it''d work if you used VC++.NET, so maybe csgl is your only option. I haven''t worked in .NET much yet (well, I haven''t used many interop features at least)

Still, I''d wait until DX9. .NET interop probably isn''t going to be all that fast, and DX9 should be quite easy to use from a .NET language.


codeka.com - Just click it.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!