Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 19-07-2008, 11:49 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2006
Location: bangalore
Posts: 36
Default need help in opengl basic programming


hello friends
i am planing to do my final year project in computer graphics..
for that my HOD told me to learn opengl programming.
i have to learn basic drawings of line, circle, rectangle, clearing screen etc..

i know c and c++ and i use turbo c,

the problem is i downloaded GLUT and utility libraries from opengl.org
and copied the header files and .dll files to their respective locations.

when i include those header files in my program compiler gives lots of errors in those header files itself....
i tried it in visual c++ also, those example programs doesnt work.. problem with header files here also..

please help me.. tell me how to make this working...
and also tell me how to start my programming.

thankyou
harikrishnat is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 20-07-2008, 04:36 PM   #2 (permalink)
Apprentice
 
aditya_v's Avatar
 
Join Date: Dec 2007
Posts: 54
Default Re: need help in opengl basic programming

Quote:
Originally Posted by harikrishnat View Post
i know c and c++ and i use turbo c,
TC won't work.. because opengl wasn't made when TC was released. (1992).

you need visual studio, or code::blocks for this. if using GNU based IDE ( like code::blocks) then you need to use GLFW library as glut doesn't work correctly without unnecessary modifications.

Code::blocks comes with an default project option for opengl. I hav a tutorial for setting up a opengl development environment with code blocks here.
http://adityaon.wordpress.com/2008/0...t-environment/
aditya_v is offline  
Old 24-07-2008, 08:23 PM   #3 (permalink)
prasath->loves(APPLE);
 
prasath_digit's Avatar
 
Join Date: Jul 2008
Location: Trichy, TamilNadu
Posts: 231
Thumbs up Re: need help in opengl basic programming

If windows is ur only platform then OpenGL is not much beneficial. Instead go for Direct3D. Download the DirectX SDK and use it with Visual C++ 2008 Express Edition which is totally free.......The directX SDK also includes lot of samples from drawing simple shapes to advanced features like 128-bit HDR ligthing and it i'll be very useful for u......and using DirectX with VC++ is a piece of cake..........
prasath_digit is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is OpenGL Programming? gaurav_indian Programming 1 12-04-2007 02:50 PM
Serious Sam OpenGL Massacre Gamerz 1 24-12-2005 07:17 PM
Visual Basic Programming doubts-Help me urgently deepak.krishnan Programming 3 26-10-2005 07:04 PM
Visual Basic programming question sohummisra Programming 8 17-02-2005 11:17 AM
Visual Basic Programming puncham QnA (read only) 1 03-01-2005 11:57 AM

 
Latest Threads
- by Sujeet
- by clmlbx
- by Sujeet
- by icebags

Advertisement




All times are GMT +5.5. The time now is 11:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2