+ Reply to Thread
Results 1 to 3 of 3

Thread: Help with Direct3D->OpenGL

  1. #1
    Senior Member
    Join Date
    Jul 2004
    Location
    Boston, Mass.
    Posts
    157

    Default Help with Direct3D->OpenGL

    Hi all -- I'm working on a conversion of a game from D3D to OpenGL (because we don't have D3D on the Mac ) and am having some trouble displaying geometry. I'm pretty sure it's just a matrix thing, probably to do with the switch from left-hand to right-hand coordinate systems; I can load textures just fine, and anything that's displayed in 2D -- i.e. using D3DFVF_XYZRHW, such as score indicators, etc. -- draws just fine. But the actual 3D geometry of the scene doesn't draw properly at all. I've tried flipping the z coordinates of the models I'm loading, and a variety of other things, but nothing seems to work.

    To save my forehead from further banging on the screen, I'm looking for someone who is skilled with matrix math, D3D, and OpenGL, to help me sort out what I'm doing wrong. Ideally the candidate would have experience on, or at least access to, a Mac to be able to run through my code with the app running and tinker with it.

    True to forum requirements, I'm willing to pay for the help, so long as it doesn't exceed what I hope to make from the finished game ; if you're interested, please let me know what you think you'd require to help see me through this.

    Thanks!
    Mark Batten
    Red Marble Games
    http://www.redmarblegames.com

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Posts
    438

    Default

    If you could post some of the code (or code in the same style) that would help immensely. It sounds like its nothing major. Depending on how you are using matrices in D3D vs. OpenGL a lot of stuff could be going wrong though.

  3. #3
    Senior Member
    Join Date
    Sep 2004
    Location
    San Jose, CA.
    Posts
    1,726

    Default

    Define "not properly at all". Does it look corrupted/stretched, or not appear at all? A screenshot would be ideal
    Peter Young | www.attitudegain.com | Linkedin | Twitter

    Projects:
    Meridian 59: Evolution
    ???
    ???

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts