Thread: 3D Molecular Modelling using C Graphics

  1. #1
    Registered User govi's Avatar
    Join Date
    Nov 2001
    Posts
    14

    Question 3D Molecular Modelling using C Graphics

    Hi all,

    I am new to this BB... I am a guy, who knows a little bit of C, C++ and ASM. I am interested in coding programs, which would help me view molecules in a 3 dimensional way i.e the molecules could be rotated (with the mouse) & viewed from all angles.

    One of my friends advised me that, I could code such programs in C, using 'Graphic Libraries'.
    So, for a starter could someone show me the place from which I should start off?

    Thanx in advance....

    govi
    govi

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    well

    If you are a "starter". you should not go into graphics yet. Learn basic C/C++ first and then move onto more advanced stuff. Then move to DirectX/OpenGL (3D graphics).
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    for drawing and rotating a 3d view of a molecule I recommend using OpenGL . There are some good tutorials at nehe . You should be comfortable using c and/or c++ before moving onto graphics.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  4. #4
    Registered User govi's Avatar
    Join Date
    Nov 2001
    Posts
    14
    Hi All,

    Thank you for your help. As advised, I think I will move on to Open GL. With respect to C, C++ knowledge, I have a working knowledge of Pointers, Structures & Classes, Data Structures, OOP's (inheritance) etc.... would that be enough, atleast for the time being before I move on to Open GL ?
    govi

  5. #5
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    yes!

    if you are comfortable with either language then you will pick up opengl quite quickly.

    work through some of nehe's tuts and see how you get on.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  6. #6
    Registered User govi's Avatar
    Join Date
    Nov 2001
    Posts
    14
    also could you please advise me the comiler I should be using..
    VC++ or Boroland 5.0 ?
    govi

  7. #7
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Its a matter of taste. you can use either. I use visual c.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 3d graphics without API
    By h3ro in forum Game Programming
    Replies: 6
    Last Post: 05-31-2008, 11:51 AM
  2. Beginning Game Programming Type Books
    By bumfluff in forum Game Programming
    Replies: 36
    Last Post: 09-13-2006, 04:15 PM
  3. Vector Operations in 3D Graphics
    By The Dog in forum Game Programming
    Replies: 27
    Last Post: 09-13-2005, 05:11 PM
  4. 3D Graphics -- How?
    By Cheeze-It in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 11-07-2002, 02:49 AM
  5. 3D Modelling + Graphics Cards
    By MethodMan in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 10-17-2002, 10:29 PM