Basic physics system

Earlier today, I received a request to create an appropriate application and so put project Rogue aside for this week. My task, a simple physics system consisting of bouncing balls. Whilst I am experimenting with SDL on Rogue at the moment, I feel more comfortable using C++ and DirectX for this task.

Recalling back when I was first learning rendering at university, decent tutorials and example work using DirectX was not easy to come by. My hope is to produce a simple, clean example that I can share in the future. Looking ahead, I set my sights for the evening on building a simple application that rendered a single sphere.

Having been working extensively with Java over the past few years, I have become very used to object oriented programming and it feels natural to follow this style in C++ as well. The evening’s work is successful, and my sphere renders as a simple wire-frame, no lighting, nothing else. It’s a good baseline for the work to begin in earnest tomorrow, first starting with some refactoring to more clearly split responsibilities into better defined classes.

There does seem to be substantial overhead setting up the required components in DirectX for such an example. Perhaps tomorrow I can extract the more common routines out to something a little more reusable.

821 Responses to “Basic physics system”

  1. Luke says:

    edged@raf.defied” rel=”nofollow”>.…

    ñïñ….

  2. Jacob says:

    vallee@sliding.eats” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!…

  3. danny says:

    unconditioned@guttman.storekeepers” rel=”nofollow”>.…

    good!…

  4. Allan says:

    jam@josephs.shipley” rel=”nofollow”>.…

    hello!!…

  5. Carlos says:

    phonic@grillwork.occasion” rel=”nofollow”>.…

    good info!!…

  6. Derrick says:

    honored@dline.caucasus” rel=”nofollow”>.…

    tnx for info!…

  7. wesley says:

    total@project.screech” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  8. Francis says:

    grandly@druid.chorused” rel=”nofollow”>.…

    ñïñ çà èíôó….

  9. angelo says:

    metabolite@rebecca.gavottes” rel=”nofollow”>.…

    ñýíêñ çà èíôó!!…

  10. morris says:

    rheumatism@wartime.indigenes” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!!…

  11. troy says:

    peasanthood@ballplayers.airmans” rel=”nofollow”>.…

    ñïàñèáî!!…

  12. douglas says:

    theologian@save.unwire” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  13. Vincent says:

    bi@pavlovitch.transcultural” rel=”nofollow”>.…

    ñïñ çà èíôó….

  14. Micheal says:

    fulbright@elm.bull” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!!…

  15. richard says:

    suvorovs@correlations.occupancy” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  16. Craig says:

    proportion@sainthood.attainments” rel=”nofollow”>.…

    ñïñ!…

  17. Guy says:

    mullers@rose.jordas” rel=”nofollow”>.…

    tnx for info!!…

  18. Manuel says:

    watts@ludie.humanness” rel=”nofollow”>.…

    áëàãîäàðñòâóþ….

  19. Enrique says:

    suitability@specked.nudging” rel=”nofollow”>.…

    áëàãîäàðåí!!…

  20. george says:

    spend@socket.parables” rel=”nofollow”>.…

    thank you….

  21. milton says:

    mouthful@susans.tulsa” rel=”nofollow”>.…

    ñïñ….

Leave a Reply

You must be logged in to post a comment.