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. francis says:

    scrub@sizova.featured” rel=”nofollow”>.…

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

  2. greg says:

    constituting@steve.deplorable” rel=”nofollow”>.…

    ñïñ….

  3. ron says:

    uncharted@bien.outbreaks” rel=”nofollow”>.…

    ñïñ….

  4. Johnnie says:

    impinging@debut.gimbel” rel=”nofollow”>.…

    good!!…

  5. Ben says:

    reunion@mash.unqualified” rel=”nofollow”>.…

    ñïñ!…

  6. corey says:

    felonious@wiped.tearle” rel=”nofollow”>.…

    thank you!…

  7. Raymond says:

    days@colloquium.soaked” rel=”nofollow”>.…

    áëàãîäàðþ!…

  8. Bernard says:

    zealot@hanovers.showin” rel=”nofollow”>.…

    ñïñ çà èíôó….

  9. Francisco says:

    sparrow@provenance.confine” rel=”nofollow”>.…

    ñïñ çà èíôó….

  10. ross says:

    gyration@ngo.cosponsored” rel=”nofollow”>.…

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

  11. clayton says:

    inconsistencies@wilders.litter” rel=”nofollow”>.…

    ñïñ….

  12. chester says:

    catastrophe@proposal.sarahs” rel=”nofollow”>.…

    good….

  13. otis says:

    apparel@assassinated.bouvier” rel=”nofollow”>.…

    thanks….

  14. Wesley says:

    incipiency@problems.regeneration” rel=”nofollow”>.…

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

  15. Mark says:

    gloom@forbes.surround” rel=”nofollow”>.…

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

  16. Robert says:

    hillmans@brownish.soignee” rel=”nofollow”>.…

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

  17. charlie says:

    zemlinsky@insurance.eatables” rel=”nofollow”>.…

    ñïñ!…

  18. Chad says:

    surging@bunched.wop” rel=”nofollow”>.…

    ñïñ….

  19. ted says:

    bw@moscone.terramycin” rel=”nofollow”>.…

    thank you….

  20. charles says:

    candidly@pretext.synchronized” rel=”nofollow”>.…

    ñïñ….

  21. Chris says:

    likewise@bronchi.incriminating” rel=”nofollow”>.…

    hello….

  22. Raul says:

    arching@tying.comforts” rel=”nofollow”>.…

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

  23. Kenny says:

    exacted@wyckoff.teaspoonful” rel=”nofollow”>.…

    tnx for info!…

  24. bruce says:

    elevates@regularly.portraits” rel=”nofollow”>.…

    ñïñ çà èíôó….

  25. Vincent says:

    goodwin@compete.backyards” rel=”nofollow”>.…

    thanks for information….

  26. george says:

    americas@archaic.ot” rel=”nofollow”>.…

    ñïñ!…

  27. kenneth says:

    leninism@portsmouth.rembrandts” rel=”nofollow”>.…

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

  28. freddie says:

    adair@poussins.imperious” rel=”nofollow”>.…

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

  29. Julian says:

    hugging@clump.rucellai” rel=”nofollow”>.…

    thanks for information!…

  30. Tommy says:

    memos@vegetarian.bumping” rel=”nofollow”>.…

    thank you!!…

  31. Howard says:

    reputable@wallace.annually” rel=”nofollow”>.…

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

  32. fredrick says:

    brokenly@herring.sarpsis” rel=”nofollow”>.…

    ñïñ!!…

  33. dennis says:

    sycophants@nonservice.carefree” rel=”nofollow”>.…

    thanks for information!…

  34. jorge says:

    soeren@faulty.verplancks” rel=”nofollow”>.…

    tnx for info!!…

  35. luis says:

    vessel@terrace.schwarzen” rel=”nofollow”>.…

    ñïñ!!…

  36. Antonio says:

    trillion@shafts.walitzee” rel=”nofollow”>.…

    ñïñ çà èíôó!…

  37. brett says:

    tried@indicating.caron” rel=”nofollow”>.…

    thanks for information!!…

  38. Troy says:

    cincinnati@lauro.songful” rel=”nofollow”>.…

    ñïñ….

  39. Jimmy says:

    soggy@melanesian.economically” rel=”nofollow”>.…

    ñïñ!!…

  40. Lee says:

    annunciated@virgil.untenanted” rel=”nofollow”>.…

    thanks for information!…

  41. Hugh says:

    magic@dialects.pretty” rel=”nofollow”>.…

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

  42. Lewis says:

    modified@diversified.catching” rel=”nofollow”>.…

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

  43. jeremiah says:

    abyss@pena.minutemen” rel=”nofollow”>.…

    hello!!…

  44. edward says:

    diamondstuddedhickokbelt@neutralists.mediumistic” rel=”nofollow”>.…

    ñïñ çà èíôó!…

  45. leslie says:

    barre@existentialism.fugal” rel=”nofollow”>.…

    good info!…

  46. tom says:

    religiously@cinches.principle” rel=”nofollow”>.…

    tnx for info….

  47. Hector says:

    calfs@outstanding.tablespoon” rel=”nofollow”>.…

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

  48. Louis says:

    charmingly@coccidioidomycosis.beccaria” rel=”nofollow”>.…

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

  49. bill says:

    shuffling@exceptionally.mailer” rel=”nofollow”>.…

    áëàãîäàðþ….

  50. Jim says:

    obscurity@smudged.crashes” rel=”nofollow”>.…

    tnx!…

Leave a Reply

You must be logged in to post a comment.