Pages

Friday, August 12, 2011

Solar system in 3D with opengl and C#


Here is an example using opengl with C#, this example uses a random function for creating stars, also uses quadrics for the planets. Any questions post it here. Anonymous comments are enabled

http://filebeam.com/a0e3c3ac7843c74f1581e55d9f6d722b

21 comments:

  1. Do u have this code in wpf?

    ReplyDelete
  2. Hi, I am new to OGL and learning by running sample code. Can you share the code, thank. email: shooki.robinson@gmail.com
    Best...,
    Joshua Robinson

    ReplyDelete
    Replies
    1. Hi
      here is the complete version of my article

      http://www.codeproject.com/Articles/577259/3D-solar-system-with-OpenGL-and-Csharp

      if you like it dont forget to make click on the become follower link
      best regards

      Delete
  3. Hi,may i get this Solar system in 3D with opengl souce in visual c/c++?
    plz e-mail me emon.tarzan@gmail.com
    it's urgent for me

    ReplyDelete
  4. What is Shadowengine , I don't see the code of it.You are using it as a header file, and you said you created one.
    Please give details.

    ReplyDelete
    Replies
    1. Shadowengine code is in a post on this site, browse the site and you will find it :)

      Delete
  5. Hi,

    Can you generate a different figure that is not an sphere or orbit a 3D object from a file?
    Also, can GPS signals be integrated for an orbiting object?

    ReplyDelete
    Replies
    1. yes you can. The engine has a module to load files from files.
      Tell me what do you have in mind

      Delete
  6. I was thinking about using a SolidWorks object (satellite) to orbit the earth.

    ReplyDelete
  7. yes you can sent me the object in 3ds format (or obj) and I will add it to the project and show you how.

    ReplyDelete
  8. Hi,
    Here is the link to the file:
    https://www.dropbox.com/s/sdobdkkc2pzayfu/3D%20Cube.rar?dl=0

    ReplyDelete
    Replies
    1. Did you get the file?

      Delete
    2. Yes but is a 3D cube. It is not a sattelite. Also is in DWG format. My engine supports OBJ and 3DS.

      Delete
    3. Also it will help if you become a follower :)

      Delete
  9. Hi,

    Yeah, its a cube for now to make it simple, will change the drawing later. Will follow you and send new link :)

    ReplyDelete
  10. Here is the object file, try it out and let me know!

    https://www.dropbox.com/s/sdobdkkc2pzayfu/3D%20Cube.rar?dl=0

    ReplyDelete
  11. Replies
    1. Give me some time to test it. I work full time and don't have too much time

      Delete
  12. great work, Im not good at OpenGl, took only one class in early academic years and it was on c++ and easy stuff comparing to your magnificent work. I was asked to develop a 3D satellite programmer like nasa's ISat link: http://science.nasa.gov/iSat/?group=education&satellite=31118 , in C# WFA, Could please explain your codes in details so that it would help me develop what i was asked to do. Many thanks

    ReplyDelete