Overclock.net › Forums › Industry News › Software News › [ET] Valve open-sources its DirectX to OpenGL translation software: Here come the SteamOS and Linux games?
New Posts  All Forums:Forum Nav:

[ET] Valve open-sources its DirectX to OpenGL translation software: Here come the SteamOS and Linux games? - Page 3

post #21 of 39
Quote:
Originally Posted by Avonosac View Post

A one to one source code mapper of functions can't be called useless. Any code generation you can get to validate past unit tests / functional tests which never had to have a developer specifically write, is a major win. How much this will help is another story, it could be that this isn't bringing any new knowledge to the table.

It only works with games built on the Valve Source engine. That's why its usefulness is extremely limited.

It can be adapted to work with other engines (I suspect that's the major reasoning behind making it open source), but that would require the devs of other engines to actually take the time to modify it to their engines.
Millenium Falcon
(24 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 4930k MSI Big Bang Xpower II EVGA GTX 690 Patriot Viper II Sector 7 
Hard DriveHard DriveHard DriveHard Drive
OCZ Deneva 2 Corsair Force 3 Maxtor Western Digital Green 
Optical DriveCoolingCoolingCooling
Samsung BD/DVD-RW Swiftech MCP655 x2 Black Ice GTX 480 Black Ice GTX 280 
CoolingCoolingCoolingCooling
Alphacool Repack Dual D5 Watercool Heatkiller 3.0 Alphacool GTX 690 fullcover Bitspower Big Bang Xpower II fullcover 
OSMonitorKeyboardPower
Windows 8.1 64-bit Professional 3x Dell S2340 Max Keyboard Durandal CoolerMaster V1000 
CaseMouseMouse PadAudio
Azza Genesis 9000B Logitech G700 Roccat Alumic Onkyo HT-S9100THX 
  hide details  
Reply
Millenium Falcon
(24 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 4930k MSI Big Bang Xpower II EVGA GTX 690 Patriot Viper II Sector 7 
Hard DriveHard DriveHard DriveHard Drive
OCZ Deneva 2 Corsair Force 3 Maxtor Western Digital Green 
Optical DriveCoolingCoolingCooling
Samsung BD/DVD-RW Swiftech MCP655 x2 Black Ice GTX 480 Black Ice GTX 280 
CoolingCoolingCoolingCooling
Alphacool Repack Dual D5 Watercool Heatkiller 3.0 Alphacool GTX 690 fullcover Bitspower Big Bang Xpower II fullcover 
OSMonitorKeyboardPower
Windows 8.1 64-bit Professional 3x Dell S2340 Max Keyboard Durandal CoolerMaster V1000 
CaseMouseMouse PadAudio
Azza Genesis 9000B Logitech G700 Roccat Alumic Onkyo HT-S9100THX 
  hide details  
Reply
post #22 of 39
And directX takes another blow. this is what happens when you don't make enough improvements or the wanted improvements.
i7
(14 items)
 
  
CPUMotherboardGraphicsRAM
I7 3770k Sabertooth Z77 MSI 290X lightning 24gb ddr 1866 8-8-8-24 Crucial Ballistix elite 
Hard DriveHard DriveHard DriveOS
Intel 330 SSD WD black caviar 500gb Seagate barrcuda Windows 7 64bit 
MonitorKeyboardPowerCase
46inch Samsung lcd Razer lycosa Antec Truepower quattro 1000 NZXT Phantom (White) 
MouseAudio
Razer deathadder Samsung 5.1 surround sound. 
  hide details  
Reply
i7
(14 items)
 
  
CPUMotherboardGraphicsRAM
I7 3770k Sabertooth Z77 MSI 290X lightning 24gb ddr 1866 8-8-8-24 Crucial Ballistix elite 
Hard DriveHard DriveHard DriveOS
Intel 330 SSD WD black caviar 500gb Seagate barrcuda Windows 7 64bit 
MonitorKeyboardPowerCase
46inch Samsung lcd Razer lycosa Antec Truepower quattro 1000 NZXT Phantom (White) 
MouseAudio
Razer deathadder Samsung 5.1 surround sound. 
  hide details  
Reply
post #23 of 39
Quote:
Originally Posted by Twinnuke View Post

Awesome. Direction X and OpenGL is a bit different code wise so you tend to need to make multiple functions for each. Now you can just say if if (OpenGL... TransitionCode(DirectXFunction())) or something.
That would be horrid. If it was me I'd make the code for drawing abstract and use the engine that was selected.

if(opengl) is a no-no.
New rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5-4670k ASRock Z87 Pro4 GTX 760 Windforce3x OC 2x1GB Kingmax+1x1GB A-Data+1x2GB A-Data 1333MHz 
Hard DriveOptical DriveOSMonitor
WD 640GB 16MB Cache LG DVD Drive Windows 7 64bit LG Flatron W2261VP-PF 
KeyboardPowerCaseMouse
CM QuickFire TK Red Chieftec 600w JARComputers CM Storm Spawn 
Audio
Superlux HD330 
  hide details  
Reply
New rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5-4670k ASRock Z87 Pro4 GTX 760 Windforce3x OC 2x1GB Kingmax+1x1GB A-Data+1x2GB A-Data 1333MHz 
Hard DriveOptical DriveOSMonitor
WD 640GB 16MB Cache LG DVD Drive Windows 7 64bit LG Flatron W2261VP-PF 
KeyboardPowerCaseMouse
CM QuickFire TK Red Chieftec 600w JARComputers CM Storm Spawn 
Audio
Superlux HD330 
  hide details  
Reply
post #24 of 39
Quote:
Originally Posted by farmdve View Post

That would be horrid. If it was me I'd make the code for drawing abstract and use the engine that was selected.

if(opengl) is a no-no.

It wouldn't be an if-statement per say it'd be a block of code that'd probably start off with a #OpenGL or #DirectX that was a custom keyword or something. Like when some code has #Android #iOS #Windows above code blocks.
Unto The Void
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7 6800k Gigabyte G1 X99-Phoenix SLI Gigabyte GTX 1080 G1 32GB RipJaw 4 DDR4-3000 
Hard DriveHard DriveHard DriveHard Drive
Samsung 850 500GB Crucial M4 2 x Spinpoint F1 Samsung 850 1TB 
CoolingOSMonitorMonitor
Noctua NH-D15S Windows 10 LG Ultrawide 29" Asus 24" 
KeyboardPowerCaseMouse
Logitech 810 EVGA P2 650 Watt In Win 303 Logitech G502 
  hide details  
Reply
Unto The Void
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7 6800k Gigabyte G1 X99-Phoenix SLI Gigabyte GTX 1080 G1 32GB RipJaw 4 DDR4-3000 
Hard DriveHard DriveHard DriveHard Drive
Samsung 850 500GB Crucial M4 2 x Spinpoint F1 Samsung 850 1TB 
CoolingOSMonitorMonitor
Noctua NH-D15S Windows 10 LG Ultrawide 29" Asus 24" 
KeyboardPowerCaseMouse
Logitech 810 EVGA P2 650 Watt In Win 303 Logitech G502 
  hide details  
Reply
post #25 of 39
Quote:
Originally Posted by Tsumi View Post

It only works with games built on the Valve Source engine. That's why its usefulness is extremely limited.

It can be adapted to work with other engines (I suspect that's the major reasoning behind making it open source), but that would require the devs of other engines to actually take the time to modify it to their engines.

Yea, so they gave everyone the source engine ports, but for the most part there are a LOT of things similar between most game engines. The differences in a game engine would mostly lie in the responsibility of the simulation, and who is calling the draw calls, but 3d rendering is 3d rendering, and they all run on the same hardware running the same 3d APIs, there is bound to be a LOT of overlap.
Quote:
Originally Posted by Twinnuke View Post

It wouldn't be an if-statement per say it'd be a block of code that'd probably start off with a #OpenGL or #DirectX that was a custom keyword or something. Like when some code has #Android #iOS #Windows above code blocks.

Na, you wouldn't want the code to be organized together like that, it would be more abstracted to template class (abstract class for you java folks) to D3D implementation classes or ogl classes. You don't want the code to be cross pollinated, because that would be horrendous to try to maintain.
Nightrider
(17 items)
 
Commodore 64
(10 items)
 
 
CPUMotherboardGraphicsRAM
3930k x79 gd45 PLUS GTX Titan Crucial Ballistix Sport VLP  
Hard DriveHard DriveHard DriveCooling
HyperX 3k Intel 320 Seagate Barracuda Swifttech H220 
CoolingCoolingOSOS
Swifttech 220QP Corsair SP120 Windows 8.1 Pro Windows 10 Pro 
OSOSMonitorMonitor
Windows 7 Home Ubuntu 15.4 QNIX 2710 Catleap 2B 
Keyboard
Ducky - Cherry MX Red 
CPUMotherboardGraphicsRAM
3570k DZ77GA - 70K GTX670-DC2-4GD5  MV-3V4G3D/US 
Hard DriveCoolingOSOS
HyperX 3k CM 212 + Win 7 64 ubuntu 
PowerCase
Seventeam 850w modular CS-NT-ZERO-2  
  hide details  
Reply
Nightrider
(17 items)
 
Commodore 64
(10 items)
 
 
CPUMotherboardGraphicsRAM
3930k x79 gd45 PLUS GTX Titan Crucial Ballistix Sport VLP  
Hard DriveHard DriveHard DriveCooling
HyperX 3k Intel 320 Seagate Barracuda Swifttech H220 
CoolingCoolingOSOS
Swifttech 220QP Corsair SP120 Windows 8.1 Pro Windows 10 Pro 
OSOSMonitorMonitor
Windows 7 Home Ubuntu 15.4 QNIX 2710 Catleap 2B 
Keyboard
Ducky - Cherry MX Red 
CPUMotherboardGraphicsRAM
3570k DZ77GA - 70K GTX670-DC2-4GD5  MV-3V4G3D/US 
Hard DriveCoolingOSOS
HyperX 3k CM 212 + Win 7 64 ubuntu 
PowerCase
Seventeam 850w modular CS-NT-ZERO-2  
  hide details  
Reply
post #26 of 39
Quote:
Originally Posted by Zaid View Post

And directX takes another blow. this is what happens when you don't make enough improvements or the wanted improvements.

Nah, it's just another step on Gabe Newell's war on Microsoft.
Quote:
Originally Posted by Avonosac View Post

Yea, so they gave everyone the source engine ports, but for the most part there are a LOT of things similar between most game engines. The differences in a game engine would mostly lie in the responsibility of the simulation, and who is calling the draw calls, but 3d rendering is 3d rendering, and they all run on the same hardware running the same 3d APIs, there is bound to be a LOT of overlap.
Na, you wouldn't want the code to be organized together like that, it would be more abstracted to template class (abstract class for you java folks) to D3D implementation classes or ogl classes. You don't want the code to be cross pollinated, because that would be horrendous to try to maintain.

I'm not a developer, but I have some basic coding experience, so I know there are a lot of variables when dealing with code. I highly doubt it's as simple and straightforward as you make it out to be.
Millenium Falcon
(24 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 4930k MSI Big Bang Xpower II EVGA GTX 690 Patriot Viper II Sector 7 
Hard DriveHard DriveHard DriveHard Drive
OCZ Deneva 2 Corsair Force 3 Maxtor Western Digital Green 
Optical DriveCoolingCoolingCooling
Samsung BD/DVD-RW Swiftech MCP655 x2 Black Ice GTX 480 Black Ice GTX 280 
CoolingCoolingCoolingCooling
Alphacool Repack Dual D5 Watercool Heatkiller 3.0 Alphacool GTX 690 fullcover Bitspower Big Bang Xpower II fullcover 
OSMonitorKeyboardPower
Windows 8.1 64-bit Professional 3x Dell S2340 Max Keyboard Durandal CoolerMaster V1000 
CaseMouseMouse PadAudio
Azza Genesis 9000B Logitech G700 Roccat Alumic Onkyo HT-S9100THX 
  hide details  
Reply
Millenium Falcon
(24 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 4930k MSI Big Bang Xpower II EVGA GTX 690 Patriot Viper II Sector 7 
Hard DriveHard DriveHard DriveHard Drive
OCZ Deneva 2 Corsair Force 3 Maxtor Western Digital Green 
Optical DriveCoolingCoolingCooling
Samsung BD/DVD-RW Swiftech MCP655 x2 Black Ice GTX 480 Black Ice GTX 280 
CoolingCoolingCoolingCooling
Alphacool Repack Dual D5 Watercool Heatkiller 3.0 Alphacool GTX 690 fullcover Bitspower Big Bang Xpower II fullcover 
OSMonitorKeyboardPower
Windows 8.1 64-bit Professional 3x Dell S2340 Max Keyboard Durandal CoolerMaster V1000 
CaseMouseMouse PadAudio
Azza Genesis 9000B Logitech G700 Roccat Alumic Onkyo HT-S9100THX 
  hide details  
Reply
post #27 of 39
Quote:
Originally Posted by Tokkan View Post

I can see the Linux community doing something with the code and porting games before dev's start doing it.
You would need access to source code.... and a compatible engine.
Quote:
Originally Posted by Twinnuke View Post

It wouldn't be an if-statement per say it'd be a block of code that'd probably start off with a #OpenGL or #DirectX that was a custom keyword or something. Like when some code has #Android #iOS #Windows above code blocks.
Software development is not that easy. For games, there are a whole bunch of interconnected parts and 3rd party software that have to work together. Attempting to convert and test is a huge amount of work for anything not simple.
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
post #28 of 39
Quote:
Originally Posted by Tsumi View Post

Nah, it's just another step on Gabe Newell's war on Microsoft.
I'm not a developer, but I have some basic coding experience, so I know there are a lot of variables when dealing with code. I highly doubt it's as simple and straightforward as you make it out to be.

I am a developer, speaking I guess to a level of other developers, its not trivial but the task is the same, and how you go about doing it is roughly the same as well.
Nightrider
(17 items)
 
Commodore 64
(10 items)
 
 
CPUMotherboardGraphicsRAM
3930k x79 gd45 PLUS GTX Titan Crucial Ballistix Sport VLP  
Hard DriveHard DriveHard DriveCooling
HyperX 3k Intel 320 Seagate Barracuda Swifttech H220 
CoolingCoolingOSOS
Swifttech 220QP Corsair SP120 Windows 8.1 Pro Windows 10 Pro 
OSOSMonitorMonitor
Windows 7 Home Ubuntu 15.4 QNIX 2710 Catleap 2B 
Keyboard
Ducky - Cherry MX Red 
CPUMotherboardGraphicsRAM
3570k DZ77GA - 70K GTX670-DC2-4GD5  MV-3V4G3D/US 
Hard DriveCoolingOSOS
HyperX 3k CM 212 + Win 7 64 ubuntu 
PowerCase
Seventeam 850w modular CS-NT-ZERO-2  
  hide details  
Reply
Nightrider
(17 items)
 
Commodore 64
(10 items)
 
 
CPUMotherboardGraphicsRAM
3930k x79 gd45 PLUS GTX Titan Crucial Ballistix Sport VLP  
Hard DriveHard DriveHard DriveCooling
HyperX 3k Intel 320 Seagate Barracuda Swifttech H220 
CoolingCoolingOSOS
Swifttech 220QP Corsair SP120 Windows 8.1 Pro Windows 10 Pro 
OSOSMonitorMonitor
Windows 7 Home Ubuntu 15.4 QNIX 2710 Catleap 2B 
Keyboard
Ducky - Cherry MX Red 
CPUMotherboardGraphicsRAM
3570k DZ77GA - 70K GTX670-DC2-4GD5  MV-3V4G3D/US 
Hard DriveCoolingOSOS
HyperX 3k CM 212 + Win 7 64 ubuntu 
PowerCase
Seventeam 850w modular CS-NT-ZERO-2  
  hide details  
Reply
post #29 of 39
Quote:
Originally Posted by DuckieHo View Post

You would need access to source code.... and a compatible engine.
Software development is not that easy. For games, there are a whole bunch of interconnected parts and 3rd party software that have to work together. Attempting to convert and test is a huge amount of work for anything not simple.



I work on code that has custom keywords that use #Android #IOS and enables / disables depending on the build being run.
Unto The Void
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7 6800k Gigabyte G1 X99-Phoenix SLI Gigabyte GTX 1080 G1 32GB RipJaw 4 DDR4-3000 
Hard DriveHard DriveHard DriveHard Drive
Samsung 850 500GB Crucial M4 2 x Spinpoint F1 Samsung 850 1TB 
CoolingOSMonitorMonitor
Noctua NH-D15S Windows 10 LG Ultrawide 29" Asus 24" 
KeyboardPowerCaseMouse
Logitech 810 EVGA P2 650 Watt In Win 303 Logitech G502 
  hide details  
Reply
Unto The Void
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7 6800k Gigabyte G1 X99-Phoenix SLI Gigabyte GTX 1080 G1 32GB RipJaw 4 DDR4-3000 
Hard DriveHard DriveHard DriveHard Drive
Samsung 850 500GB Crucial M4 2 x Spinpoint F1 Samsung 850 1TB 
CoolingOSMonitorMonitor
Noctua NH-D15S Windows 10 LG Ultrawide 29" Asus 24" 
KeyboardPowerCaseMouse
Logitech 810 EVGA P2 650 Watt In Win 303 Logitech G502 
  hide details  
Reply
post #30 of 39
Quote:
Originally Posted by Twinnuke View Post



I work on code that has custom keywords that use #Android #IOS and enables / disables depending on the build being run.

That's annotations then being used as the build scripts direction for the compile. That code doesn't ever see its way into any machine, its a beefed up comment for the compiler to interpret as something else entirely.

Also, after looking at your SS I have come on Eileen stuck in my head.

Sigh.
Nightrider
(17 items)
 
Commodore 64
(10 items)
 
 
CPUMotherboardGraphicsRAM
3930k x79 gd45 PLUS GTX Titan Crucial Ballistix Sport VLP  
Hard DriveHard DriveHard DriveCooling
HyperX 3k Intel 320 Seagate Barracuda Swifttech H220 
CoolingCoolingOSOS
Swifttech 220QP Corsair SP120 Windows 8.1 Pro Windows 10 Pro 
OSOSMonitorMonitor
Windows 7 Home Ubuntu 15.4 QNIX 2710 Catleap 2B 
Keyboard
Ducky - Cherry MX Red 
CPUMotherboardGraphicsRAM
3570k DZ77GA - 70K GTX670-DC2-4GD5  MV-3V4G3D/US 
Hard DriveCoolingOSOS
HyperX 3k CM 212 + Win 7 64 ubuntu 
PowerCase
Seventeam 850w modular CS-NT-ZERO-2  
  hide details  
Reply
Nightrider
(17 items)
 
Commodore 64
(10 items)
 
 
CPUMotherboardGraphicsRAM
3930k x79 gd45 PLUS GTX Titan Crucial Ballistix Sport VLP  
Hard DriveHard DriveHard DriveCooling
HyperX 3k Intel 320 Seagate Barracuda Swifttech H220 
CoolingCoolingOSOS
Swifttech 220QP Corsair SP120 Windows 8.1 Pro Windows 10 Pro 
OSOSMonitorMonitor
Windows 7 Home Ubuntu 15.4 QNIX 2710 Catleap 2B 
Keyboard
Ducky - Cherry MX Red 
CPUMotherboardGraphicsRAM
3570k DZ77GA - 70K GTX670-DC2-4GD5  MV-3V4G3D/US 
Hard DriveCoolingOSOS
HyperX 3k CM 212 + Win 7 64 ubuntu 
PowerCase
Seventeam 850w modular CS-NT-ZERO-2  
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Software News
Overclock.net › Forums › Industry News › Software News › [ET] Valve open-sources its DirectX to OpenGL translation software: Here come the SteamOS and Linux games?