Emuforums.com

Go Back   Emuforums.com > Gamecube Emulation > Dolphin Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old December 11th, 2008   #1 (permalink)
Nintendo-Addict
 
imfreakin's Avatar
 
Join Date: Nov 2008
Location: Cyber-Space
Posts: 284
Thumbs up The merging of DX9 and OpenGL?

Ok, I know this is gonna sound weird, but if we could somehow get the best of both plugins that would be cool !

Because they each have their strengths and weaknesses. You get pretty different visuals when using either.

Well this was just a crazy idea I had, thought I'd get the Dolphins community input.
__________________


Kudos to everyone who's working on Dolphin!!
__________________________________________________
PC Specs: Windows XP SP2 | Intel Core 2 Duo CPU E7300 2.66GHz | 2GB RAM | NVIDIA GeForce 9500 GT
Laptop Specs: Windows XP SP2 | Intel Celeron M processor 1.60GHz | 248MB RAM | Intel 915GM/GMS

imfreakin is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old December 11th, 2008   #2 (permalink)
And the science gets done
 
Hard core Rikki's Avatar
 
Join Date: May 2004
Location: Perpetual Pompei
Posts: 7,221
Quote:
merging of DX9 and OpenGL?
uh, no. Not really 'doable' either, by the way.
__________________

deviantART | Blog | Webcomics | VBA-M | PCSX2 | @ES | Shendo | GeneralEmu | XTemu

Get the NGemu toolbar http://ngemu.ourtoolbar.com
Hard core Rikki is offline   Reply With Quote
Old December 11th, 2008   #3 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Sweden
Posts: 7
DirectX 9 is made by microsoft and opengl is made by another company and you can really merge them because they render completly diffrent and the graphics are diffrent. Opengl can look amazing so can DX9 but there is no way of merging them.
Shipsail is offline   Reply With Quote
Old December 11th, 2008   #4 (permalink)
Behind ur girlfriend :D
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 18,944
OpenGL is made by many companies, but the core opengl standard is set by Khronos Group.
__________________


VBA-M | Xtemu | NGOHQ | Post Impact Productions | TNHW | XBCD 0.2.6 | Satanic666's Emulator Compiles
Don't be a NOOB, READ THE NGEmu/EmuForums Rules of Conduct
Need Help with ePSXe? This is your first stop!.

If you don't post all the required information, you don't get help.
Everytime someone posts a romsite, God kills a beautiful woman.
Squall-Leonhart is offline   Reply With Quote
Old December 11th, 2008   #5 (permalink)
Registered User
 
Join Date: Aug 2008
Location: France
Posts: 373
Do we care who made what anyway ?

I think the point is using the best of both plugin, for exemple, dstalpha is broken in the OpenGL plugin (see Mario's water) but it's not in the DirectX9 one.
Also, as OpenGL plugin is using Cg to create its shaders, don't know if it's like that already, but why not use it with DirectX 9 plugin too while improving what's not good ?

He probably meant stuff like that... btw, that's some ideas, i'm not asking anything there
__________________
XP x86 - Win7 x64 | Core 2E6600 @ 3.4GHz |
P5W DH Deluxe i975x | 2 x 2GB G.Skill PI black | ATI HD4870 1GB
sl1nk3 is offline   Reply With Quote
Old December 12th, 2008   #6 (permalink)
Registered User
 
Join Date: Dec 2008
Location: Argentina
Posts: 1
opengl and directx are two different video modes. thus u can't merge them... they use different system files. different coding, everything is done coded, and designed in a total different way from each other. u cant just merge codes and files form different systems. well u can, but i can guarantee it wont work

bsides, things like these also happened way back in old n64 emulators and such =P like in project64

if there was a way, i think they have done it already. its not like u just came up with the magical solution

Wolf :P
DarKWolF90 is offline   Reply With Quote
Old December 12th, 2008   #7 (permalink)
Registered User
 
niuus's Avatar
 
Join Date: Nov 2006
Location: Caracas
Posts: 332
Wow, greatest idea ever. But seriously, no, it can't be done the way you put it.
__________________
Quote:
Originally Posted by Hard core Rikki View Post
If games don't work in emulators, play it on the real Gamecube.
Uh? No Gamecube? How about NOT playing these games?
Main Rig:
Motherboard: abit Fatal1ty F-I90HD / CPU: Intel Core 2 Quad Q6600@2.90GHz (Thermaltake Big Typhoon fan)/ RAM: Corsair Xtreme XMS2 4GB DDR2@800 / Video: Radeon HD 2600XT (Catalyst 9.9) / Sound: Soundblaster X-Fi ElitePro / Speakers: Creative Inspire 5.1 5200 / HD: Hitachi 500GB SATAII / OS: Windows XP SP2+ 64bit

niuus is offline   Reply With Quote
Old December 12th, 2008   #8 (permalink)
Nintendo-Addict
 
imfreakin's Avatar
 
Join Date: Nov 2008
Location: Cyber-Space
Posts: 284
Ok, this is gonna sound even weirder. But what about double rendering running the two plugins together lol ?

(note: I am serious )
__________________


Kudos to everyone who's working on Dolphin!!
__________________________________________________
PC Specs: Windows XP SP2 | Intel Core 2 Duo CPU E7300 2.66GHz | 2GB RAM | NVIDIA GeForce 9500 GT
Laptop Specs: Windows XP SP2 | Intel Celeron M processor 1.60GHz | 248MB RAM | Intel 915GM/GMS

imfreakin is offline   Reply With Quote
Old December 12th, 2008   #9 (permalink)
Registered User
 
Join Date: Nov 2008
Location: TN
Posts: 30
I think the best you can hope for is having a 'by game' option of which plug-in to run.
ben7021 is offline   Reply With Quote
Old December 12th, 2008   #10 (permalink)
******
 
Join Date: Jul 2008
Posts: 1,188
Quote:
Originally Posted by ben7021 View Post
I think the best you can hope for is having a 'by game' option of which plug-in to run.
No way we will do that, just wait till the video plugins are improved/bug fixed.
omegadox is offline   Reply With Quote
Old December 12th, 2008   #11 (permalink)
Nintendo-Addict
 
imfreakin's Avatar
 
Join Date: Nov 2008
Location: Cyber-Space
Posts: 284
Alright, I know this was a weird idea, but it didn't hurt to talk about it !
__________________


Kudos to everyone who's working on Dolphin!!
__________________________________________________
PC Specs: Windows XP SP2 | Intel Core 2 Duo CPU E7300 2.66GHz | 2GB RAM | NVIDIA GeForce 9500 GT
Laptop Specs: Windows XP SP2 | Intel Celeron M processor 1.60GHz | 248MB RAM | Intel 915GM/GMS

imfreakin is offline   Reply With Quote
Old December 12th, 2008   #12 (permalink)
Registered User
 
Join Date: Oct 2004
Location: Virginia
Posts: 200
More impossible, than weird. The concept itself makes sense; take the best from both plugins, but you didn't know that OGL and DX are two different API's.
diablo2121 is offline   Reply With Quote
Old December 12th, 2008   #13 (permalink)
Final Fantasy XXX
 
tuanming's Avatar
 
Join Date: Feb 2006
Location: USA, TX
Posts: 2,404
Making a third plugin that combines both OpenGL and DirectX into one package.. well, if you do that more complicated problems will surface and will make the matter worst because DirectX and OpenGL still have a lot of work to be done
__________________
Intel Core2Duo E6300 1.86Ghz L629A244 @ 3.78GHz
Asus P5K-E Wifi/AP Rev.1.02g
Thermalright Ultra Extreme 120+ FM121 (110 cfm fan)
ATI x1900 GT Rev.2 256mb 513/657
G.Skill 2x1gb Hz--540MHz
CORSAIR CMPSU-1000HX 1000W
tuanming is offline   Reply With Quote
Old December 12th, 2008   #14 (permalink)
******
 
Join Date: Jul 2008
Posts: 1,188
Wouldn't it be illegal anyways to do that because you are not allowed to modify MS's DirectX code and redist it? Read the EULA.txt file that comes with the SDK.

I still not sure what the exact idea is...merging the APIs into one API or the code in both dolphin video plugins?
omegadox is offline   Reply With Quote
Old December 12th, 2008   #15 (permalink)
Behind ur girlfriend :D
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 18,944
Actually, Dolphin SHOULD go per app for its plugins and settings, saving having to change settings all the time for different games.

Project64 1.7 has already gone in that direction.
__________________


VBA-M | Xtemu | NGOHQ | Post Impact Productions | TNHW | XBCD 0.2.6 | Satanic666's Emulator Compiles
Don't be a NOOB, READ THE NGEmu/EmuForums Rules of Conduct
Need Help with ePSXe? This is your first stop!.

If you don't post all the required information, you don't get help.
Everytime someone posts a romsite, God kills a beautiful woman.
Squall-Leonhart is offline   Reply With Quote
Old December 12th, 2008   #16 (permalink)
Registered User
 
Join Date: Aug 2008
Location: France
Posts: 373
Quote:
Originally Posted by imfreakin View Post
Ok, I know this is gonna sound weird, but if we could somehow get the best of both plugins that would be cool !
Quote:
Originally Posted by omegadox View Post
Wouldn't it be illegal anyways to do that because you are not allowed to modify MS's DirectX code and redist it? Read the EULA.txt file that comes with the SDK.

I still not sure what the exact idea is...merging the APIs into one API or the code in both dolphin video plugins?
but... it's not about mergin APIs at all
__________________
XP x86 - Win7 x64 | Core 2E6600 @ 3.4GHz |
P5W DH Deluxe i975x | 2 x 2GB G.Skill PI black | ATI HD4870 1GB
sl1nk3 is offline   Reply With Quote
Old December 12th, 2008   #17 (permalink)
******
 
Join Date: Jul 2008
Posts: 1,188
ok, his idea wanted to combine plugins.

You cannot put code to use OpenGL and D3D together to make a single render, each API has its own way of coding, you would use a lot of blackmagic and a lot of converting types between the two APIs. It is not even worth it.
omegadox is offline   Reply With Quote
Old December 12th, 2008   #18 (permalink)
Behind ur girlfriend :D
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 18,944
Indeed, though you can put it in the same plugin, it just makes it more difficult to debug the plugin in the long run though
__________________


VBA-M | Xtemu | NGOHQ | Post Impact Productions | TNHW | XBCD 0.2.6 | Satanic666's Emulator Compiles
Don't be a NOOB, READ THE NGEmu/EmuForums Rules of Conduct
Need Help with ePSXe? This is your first stop!.

If you don't post all the required information, you don't get help.
Everytime someone posts a romsite, God kills a beautiful woman.
Squall-Leonhart is offline   Reply With Quote
Old December 12th, 2008   #19 (permalink)
******
 
Join Date: Jul 2008
Posts: 1,188
Quote:
Originally Posted by Squall-Leonhart View Post
Indeed, though you can put it in the same plugin, it just makes it more difficult to debug the plugin in the long run though
You can, but not use both of them to make a render.
omegadox is offline   Reply With Quote
Old December 13th, 2008   #20 (permalink)
Registered User
 
jos708's Avatar
 
Join Date: Aug 2003
Posts: 56
Besides you need to hack through Microsofts code to see how things are done behind the screen. Whitch is not possible anyway cos it's not opensource or anything. If eventually you manage to pull this off Microsoft will sue your ass into pieces and you are not gonna like it
jos708 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 15:32.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5