Network Sites: FPSguru.com RTSguru.com UnboundGamer.com
Login:  Password:   Remember?  
Show Quick Gamelist Jump to Random Game
Games:611  Guilds:3,078
Members:1,592,009  Online:0
Guests:0  Posts:4,845,037
Recent forum postsRSS
Active threads
Cloud view
List all forums
General Forums
Developers Corner General Discussion
Popular Game Forums
Click a status to find game forum
Game Forums
Click a letter to find game forum
D-F
D&D Online DC Universe DOTA DOTA 2 DUST 514 Dance Groove Online Dark Age of Camelot Dark Ages Dark Legends Dark Orbit Dark Solstice Dark and Light DarkEden Online DarkSpace Darkblood Online Darkfall Darkwind: War on Wheels Dawn of Fantasy Dawntide Dead Earth Dead Frontier Deco Online Defiance Deicide Online Dekaron Desert Operations Diablo 3 Diamonin Digimon Battle Dino Storm Disciple Divergence Divina Divine Souls Dofus Dominus Online Dragon Ball Online Dragon Born Online Dragon Crusade Dragon Empires Dragon Eternity Dragon Nest Dragon Oath Dragon Raja Dragon's Call Dragon's Prophet DragonSky DragonSoul Dragona Dragonica Dream of Mirror Online Dreamland Online Dreamlords: The Reawakening Drift City Duels Dungeon Blitz Dungeon Fighter Online Dungeon Overlord Dungeon Party Dungeon Runners Dynastica Dynasty Warriors Online EIN (Epicus Incognitus) EVE Online Earth Eternal Earth and Beyond Earthrise Eden Eternal Einherjar - The Viking's Blood Elf Online Embers of Caerus Emil Chronicle Online Empire & State Empire Craft EmpireQuest Empires of Galldon End of Nations Endless Ages Endless Online Entropia Universe EpicDuel Erebus: Travia Reborn Eredan Eternal Blade Eternal Lands Ether Fields Ether Saga Online Eudemons Online EuroGangster EverQuest Online Adventures Evernight Everquest Everquest II Evony Exarch Exorace Face of Mankind Fairyland Online Fall of Rome Fallen Earth Fallen Sword Fallout Online Family Guy Online Fantage Fantasy Earth Zero Fantasy Realm Online Fantasy Tales Online Fantasy Worlds: Rhynn Faunasphere Faxion Online Ferentus Ferion Fiesta Online Final Fantasy XI Final Fantasy XIV Firefall Fists of Fu Florensia Flyff Football Manager Live Football Superstars Force of Arms Forsaken World Freaky Creatures Free Realms Freesky Online Freeworld Fung Wan Online Furcadia Fury Fusion Fall
G-L
GalaXseeds Galactic Command Online Game of Thrones Gate To Heavens Gates of Andaron Gatheryn Gekkeiju Online Ghost Online Ghost Recon Online Gladiatus Glitch Global Agenda Global Soccer GoGoRacer Goal Line Blitz Gods and Heroes GodsWar Online Golemizer Golf Star GoonZu Online Graal Kingdoms Grand Chase Europe Grand Fantasia Grepolis Grimlands Guild Wars Guild Wars 2 Guild Wars Factions Guild Wars Nightfall Habbo Hotel Haven & Hearth Hedone Helbreath Hellgate Hellgate: London Hello Kitty Online Hero 108: Online Hero Online Hero's Journey HeroSmash Heroes in the Sky Heroes of Bestia Heroes of Gaia Heroes of Might and Magic Online Heroes of Thessalonica Heroes of Three Kingdoms Holic Online Hostile Space Huxley Illutia Illyriad Immortals USA Imperator Imperian Infinity Infinity Iris Online Irth Worlds Island Forge Islands of War Istaria: Chronicles of the Gifted Jade Dynasty Jagged Alliance Online Juggernaut Jumpgate Jumpgate Evolution KAL Online Kakele Online Kaos War Karos Online Kicks Online King of Kings 3 Kingdom Heroes Kingdom of Drakkar Kingory Kitsu Saga Kiwarriors Knight Online Knights of Dream City Kothuria Kung Foo! Kunlun Online L.A.W. LEGO Universe La Tale Land of Chaos Online Lands of Hope: Phoenix Edition LastChaos League of Legends - Clash of Fates Legend of Golden Plume Legend of Katha Legend of Mir 3 Legendary Champions Light of Nova Lime Odyssey Line of Defense Lineage Lineage Eternal: Twilight Resistance Lineage II Linkrealms Loong Online Lord of the Rings Online Lords Online Lost Saga Lucent Heart Lunia Lusternia: Age of Ascension Luvinia Online
T-Z
TERA TS Online Tabula Rasa Tactica Online Tales Runner Tales of Fantasy Tales of Pirates Tales of Pirates II Talisman Online Tamer Saga Tank Ace Tantra Online Tatsumaki: Land at War Terra Militaris Terra World Thang Online The 4th Coming The Agency The Chronicle The Chronicles of Spellborn The Elder Scrolls Online The Legend of Ares The Matrix Online The Missing Ink The Mummy Online The Myth of Soma The Pride of Taern The Realm Online The Repopulation The Secret World The Sims Online The Strategems There Thrones of Chaos Tibia Tibia Micro Edition Toontown Online Top Speed Torchlight Transformers Universe Traveller AR Travia Online Travian Trials of Ascension Tribal Hero Tribal Wars Tribes Universe Trickster Online Troy Online True Fantasy Live Online Turf Battles Twelve Sky Twelve Sky 2 Twilight War U.B. Funkeys UFO Online Ultima Online Ultima X: Odyssey Ultimate Soccer Boss Uncharted Waters Online Undercover 2: Merc Wars Underlight Unification Wars Universe Online Valkyrie Sky Vanguard: Saga of Heroes Vanquish Space Vector City Racers Vendetta Online Victory - Age of Racing Vindictus Virtonomics Vis Gladius Visions of Zosimos Voyage Century W.E.L.L. Online WAR (Warhammer Online) WYD Global Wakfu War Rock War of 2012 War of Angels War of Legends War of Thrones War of the Immortals WarFlow Waren Story Wargame1942 Warhammer 40K: Dark Millennium Online Warhammer Online: Wrath of Heroes Warrior Epic WebLords Wild West Online WildStar WindSlayer 2 Wish Wizard 101 Wizards and Champions Wonder King Wonderland Online World Golf Tour World War II Online World of Battles World of Darkness World of Heroes World of Kung Fu World of Pirates World of Tanks World of Warcraft World of Warcraft: Mists of Pandaria World of the Living Dead WorldAlpha Wurm Online Xiah Xsyon YS Online ZU Online Zentia Zero Online Zero Online: The Andromeda Crisis Zodiac Online eRepublik

MMORPG.com Discussion Forums

Developers Corner

Developers Corner 

Programming  » openGL, directX , other

6 posts found
  keanwood

Novice Member

Joined: 2/06/08
Posts: 8

 
2/27/08 9:43:22 PM#1

ive wonderd if you could use directX and openGL in the same program

 

 

witch do you use

directX
openGL
other
(login to vote)
  User Deleted
2/27/08 9:49:48 PM#2

right now I'm looking at openGL(through LWJGL).   over an applet.

  InvisibleLf

Novice Member

Joined: 2/06/08
Posts: 3

3/05/08 11:03:53 AM#3

As far as I know, you can use DirectX and OpenGL in the same program, and allow the user to select which he prefers.  You might even be able to use them at the same time, but that seems like a bad idea.

  Dracis

Novice Member

Joined: 1/12/06
Posts: 433

"Ideas are bulletproof"

3/06/08 11:45:47 AM#4

The game engine I use allows open GL and DirectX. It's already an predefined option default in the engine. We can disable that fo course, but why when we can give the players the choice.

  elvenangel

Novice Member

Joined: 10/03/04
Posts: 2228

Why So Serious?

3/06/08 11:53:06 AM#5

Its usually easier to handle writing an engine in One or the Other but you can definitly give the user the option of which one to use.  Doing this means you have to code every little peice of graphics api function & shader (more like you have to program the shaders twice if they use any api specific keywords) to work for both.   Its why you don't see alot of companies do it but far more of them are starting to if they use a 3rd party engine.  

When you code for both its double the work & double the testing and sometimes double the errors.

You can not run OpenGL & DirectX at the same time for the same features...meaning if your rendering the program using OpenGL you can not load up Direct X to do any sort of graphics rendering or shaders, but you can load up Direct input or Direct Sound / Music (which every one is their main sound input these days).   

It is techincally impossible to run OpenGL & Direct X for graphics at the same time  because of the Window & Device Contexts.   When a program starts those two are created according to the API you select it to use.   I suppose one could try but the level of indirection for the window would be crazy.

Please Refer to Doom Cat with all conspiracies & evil corporation complaints. He'll give you the simple explination of..WE"RE ALL DOOMED!

  Munki

Novice Member

Joined: 12/04/02
Posts: 2134

3/12/08 6:23:08 PM#6

to explain metaphorically it would be like deciding tool to use in your right hand. You could chop the tree with the axe(directX) or the chainsaw(openGL).

Then once your tell your arm to chop, it will do what the tool requires, each handles differently but they both accomplish the same result.. as well it it fairly obvious why you cant weild both in one hand.


after 6 or so years, I had to change it a little...