Results 1 to 8 of 8
  1. #1
    kronus980's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Long Beach, California
    Posts
    44
    Reputation
    10
    Thanks
    1
    My Mood
    Aggressive

    OpenGL With DirectX

    I know this is gonna sound stupid, but is it possible to use OpenGL Functions, using OpenGL Headers and Libraries, on a DirectX game? Not calling me an "idiot", or "stupid noob, go learn dx somewhere else" would be highly appreciated. Thanks










  2. #2
    Ryan's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    7,924
    Reputation
    411
    Thanks
    998
    My Mood
    Relaxed
    I would post this in the programming section.
    People in General don't have the first idea on how to hack except a select few. :/

  3. #3
    Arhk's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    3,619
    Reputation
    35
    Thanks
    217
    My Mood
    Amused
    To put it simple. Don't do it, especially not for calculations since they have different methods for mapping polys, even at the essential basics these two things are different.
    ~
    One is most certainly not like the other.
    "If the world hates you, keep in mind that it hated me first." John 15:18

    "True strength isn't determined by when a man has a lot and gives enough, but when he has nothing left but keeps on giving."
    "A man is determined by the strength of his will."
    "Courage has nothing to do with ascertaining any sense of certainty, but the will to go on even
    in the face of uncertainty." - Arhk



  4. #4
    kronus980's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Long Beach, California
    Posts
    44
    Reputation
    10
    Thanks
    1
    My Mood
    Aggressive
    But is it possible? Like to put chams, with OpenGL, in SF, would it be possible?










  5. #5
    𝕡𝕠𝕔𝕜𝕖𝕥𝕤 𝕤𝕠 𝕗𝕒𝕥
    Admin
    arunforce's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    A place for amigos
    Posts
    22,705
    Reputation
    3409
    Thanks
    10,671
    My Mood
    Yeehaw
    99% sure you can't.



    v1.96 - Tutorials, Upgraded Town, Def Revamp
    v1.97 - Cutscenes/Quests, Friend List
    v1.98 - Classes, Necklace/Rings
    v1.99 - Guilds
    v2.00 - Open Beta


  6. The Following User Says Thank You to arunforce For This Useful Post:

    Arhk (04-24-2010)

  7. #6
    Arhk's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    3,619
    Reputation
    35
    Thanks
    217
    My Mood
    Amused
    Ty I didn't feel like repeating myself.
    ~
    Nothing explicitly saying you can't, just don't because OpenGL and D3D are different is the bottom line. Comparing two different graphic bases like this is like comparing two different languages. It would be complex, tedious, and processor intensive transferring OpenGL and D3D objects, like converting VB into Java back and forth for lack of a better example. The bottom line is, it's not like the two are made to support eachother in anyway shape or form so it's only natural that they don't, so in order to get them to do so you'd have to jump through hoops and loops at a low level since they handle things differently at a low level.
    Last edited by Arhk; 04-24-2010 at 01:52 AM.
    "If the world hates you, keep in mind that it hated me first." John 15:18

    "True strength isn't determined by when a man has a lot and gives enough, but when he has nothing left but keeps on giving."
    "A man is determined by the strength of his will."
    "Courage has nothing to do with ascertaining any sense of certainty, but the will to go on even
    in the face of uncertainty." - Arhk



  8. The Following User Says Thank You to Arhk For This Useful Post:

    why06 (04-24-2010)

  9. #7
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,305
    Reputation
    170
    Thanks
    2,198
    My Mood
    Flirty
    It's possible. A royal PITA, but possible. It would be quite similar to puttin the glove in ur right hand to catch a ball... may sound like a good idea at first, but it quickly gets really fkin stupid really quick.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  10. #8
    Corndog's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Salem, NH
    Posts
    10,139
    Reputation
    526
    Thanks
    2,906
    thats like running android on an iphone dude….
    oh wait?