Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opengl graphics 1

Status
Not open for further replies.

Leroy1981

Programmer
Jul 22, 2002
46
US
i have been able to render opengl graphics to a tpanel and
i wanted to make a new tpanel with this capability already
implemented but when i add this new tpanel to a form it says it has no parent window. this is my first attempt at component creation so it might be something simple.
 
Hi Leroy - I've just started using OpenGL & was wondering if you had any link to any stuff on it or any bokos you could reccommend?
Especially stuff on how to use it with Borland C++.
Cheers,
Douglas JL Common sense is what tells you the world is flat.
 
I have been working depeloping components too, but I had the same problem than u, but I tried with canvas.

I used many base class, but everyone says the same error


 
To lastcyborg::the reason i was getting that error was because i was trying to set up the device and rendering contexts in the component's constructor. just make a separate function for gl setup and it should be fine.
To biot023::I get most of my opengl info from nehe.gamedev.net. They have a massive forum to browse for just about anything you could think of. gametutorials.com
also has some really good opengl tutorials.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top