Board index » cppbuilder » OpenGL integration problem..
Jean-Francois Mornea
![]() CBuilder Developer |
Sat, 05 Aug 2000 03:00:00 GMT
|
Jean-Francois Mornea
![]() CBuilder Developer |
Sat, 05 Aug 2000 03:00:00 GMT
OpenGL integration problem..First, I DON'T WANT TO TOpenGL COMPONENT!!!!!!!!!!!!!!!!!!!!!!!!!! Secondly, i would like that someone tell me how to compile openGL program's |
Borla
![]() CBuilder Developer |
Sat, 05 Aug 2000 03:00:00 GMT
Re:OpenGL integration problem..I can recommend the soon to be published Borland C++ Builder3 Unleashed book |
Alan GARN
![]() CBuilder Developer |
Sun, 06 Aug 2000 03:00:00 GMT
Re:OpenGL integration problem..QuoteJean-Francois Morneau wrote in message <6cd67h$r...@forums.borland.com>... because it's not free?? Cuz otherwise, it works fine, as far as I know. Furthermore most of the examples from the OpenGL Programming Guide have been converted to work with TOpenGL. So, what's the problem?? Well, actually, the problem is that my site is down, so that's maybe why you are not happy... <g> Regards, Alan. -- |
Billy Clinto
![]() CBuilder Developer |
Sun, 06 Aug 2000 03:00:00 GMT
Re:OpenGL integration problem..I don't think its the "price" of the component, per say.. I my-self am trying Speaking of problems.. I'm having problems linking.. I get a weird error [Linker Error] Unresolved external '_Form1' referenced from PROJECT1.OBJ What does this mean? (This is the last bug in my own opengl program.. sigh.. Thanks in advance, and please reply to: ug...@ibm.net QuoteAlan GARNY wrote: |
Billy Clinto
![]() CBuilder Developer |
Sun, 06 Aug 2000 03:00:00 GMT
Re:OpenGL integration problem..I don't think its the "price" of the component, per say.. I my-self am trying Speaking of problems.. I'm having problems linking.. I get a weird error [Linker Error] Unresolved external '_Form1' referenced from PROJECT1.OBJ What does this mean? (This is the last bug in my own opengl program.. sigh.. Thanks in advance, and please reply to: ug...@ibm.net QuoteAlan GARNY wrote: |
Alan GARN
![]() CBuilder Developer |
Mon, 07 Aug 2000 03:00:00 GMT
Re:OpenGL integration problem..Quote>I don't think its the "price" of the component, per say.. I my-self am (I also like to understand everything... :)). Otherwise, I don't think to be more intelligent than anyone else around here, but how do you think I wrote TOpenGL?? Yes, by having a look at MS on-line help, Win32 documentation, etc. There is everything one might need in that... Quote>Speaking of problems.. I'm having problems linking.. I get a weird error By default, BCB creates an external declaration of your form (extern TForm Alan. Quote>Alan GARNY wrote: |
Long T
![]() CBuilder Developer |
Wed, 09 Aug 2000 03:00:00 GMT
Re:OpenGL integration problem..Hi, Jean-Francois By the way, it probably a good exercise for you to port the codes from the Enjoy using OPENGL and BCB++! Hope this Help! Long To (l...@worldnet.att.net) header file: application code: #include <gl\gl.h> #include "glmain.h" Tglmain_frm *glmain_frm; // Selects the palette into the current device context // Map entries from the currently selected palette to // Repaint, forces remap of palette in current window Message.Result = nRet; // Map entries to system palette // Remap the current colors to the newly realized palette GLsizei w,h; // Prevent a divide by zero, when window is too short // Set the viewport to be the entire window // Reset the coordinate system before modifying // Keep the square square. // Window is higher than wide // Set the clipping volume Invalidate(); SwapBuffers(hDC); // Clear the window with current clearing color // Enable smooth shading // Draw the triangle // Green on the right bottom corner // Blue on the left bottom corner glEnd(); // Flush drawing commands static PIXELFORMATDESCRIPTOR pfd = { // Choose a pixel format that best matches that described in pfd // Set the pixel format for the device context // Get the pixel format index and retrieve the pixel format description // Does this pixel format require a palette? If not, do not create a // Number of entries in palette. 8 bits yeilds 256 entries // Allocate space for a logical palette structure plus all the palette // Fill in palette header read more » |
Long T
![]() CBuilder Developer |
Wed, 09 Aug 2000 03:00:00 GMT
Re:OpenGL integration problem..Hi, Jean-Francois, Long QuoteJean-Francois Morneau wrote in message <6cd67h$r...@forums.borland.com>... |
1. Relatively Urgent BC++/Delphi integration problem.
2. Help Integration Problem and TMainMenu
3. BDE - Any problems with Crystal Reports Integration?
5. Problems with delphi-component integration
7. BIG problem using Delphi, OpenGL and the minidriver
8. OpenGL problem with SwapBuffers() in Delphi3 and Win95
9. Wierd Problem : Unable to use OpenGL
10. OpenGl problem