Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 11-07-07   #1 (permalink)
New to Overclock.net
 
thenailedone's Avatar
 
intel nvidia

Join Date: Apr 2007
Location: UAE
Posts: 1,092

Rep: 64 thenailedone is acknowledged by some
Unique Rep: 56
Folding Team Rank: 1006
Trader Rating: 0
Question OpenGL and gaming

Was reading around about the up and coming (ok, now available) title "The Witcher" and one of the sites (stuffed if I can remember now) had a table of information about it and one of the things that caught my attention was that it supported OpenGL... so now what are the implications of that? Will it work under Linux? Will it require less tweaking to make work?

How exactly does OpenGL fit into the whole setup (and what is its relationship with DX9 and/or DX10?)...

edit: Just read this

Quote:
GH: Can you describe what has been done to enhance the game engine for The Witcher?

Michal: As I have already mentioned, there have been some significant changes – around 80% of the original engine has been rewritten. Out of this, probably the most noticeable is the change of the rendering module – from OpenGL to a the new DirectX 9, where the latter’s superiority shows in pixel-shading, normal mapping, and full screen effects among others. Moreover, we reformulated the whole game mechanism – going from the d20 turn based system to real time combat. The last thing I would like to mention is the game’s edition environment, which had a complete makeover. The Aurora Toolset simply did not meet the efficiency and stipulations we were looking for. The new toolset is fully integrated with “The Witcher” and, among other things, permits us to detect glitches and implement changes in real time. In addition to all this, there have been many other smaller changes and modifications, which I have simply not mentioned due to lack of space.
Source... so The Witcher isn't OpenGL... still no idea of the implications...
__________________

Opinion, I has one!
An opinion is a belief that may or may not be backed up with evidence, but which cannot be proved with that evidence. It is normally a subjective statement and may be the result of an emotion or an interpretation of facts; people may draw opposing opinions from the same facts.

Vector Sigma when OC'ed (just to show I can do it ):
Q6600 @ 3.2Ghz Validation (Stability pending as temperatures are slightly high.) 3DMark06 - 14577

System: Vector_Sigma
CPU
Q6600 G0
Motherboard
ECS Elitegroup P45T-A
Memory
4GB DDR2-800
Graphics Card
XFX 8800GT Alpha Dog XXX 512MB
Hard Drive
Seagate Barracuda 7200.10 250 GB
Power Supply
Antec Earthwatts 650W
Case
Raidmax Smilodon
CPU cooling
Thermaltake Ruby Orb
GPU cooling
Zalman
OS
M$ Vista Business x64
Monitor
Samsung SyncMaster 720N

Last edited by thenailedone : 11-07-07 at 08:08 AM Reason: add stuff ;)
thenailedone is offline I fold for Overclock.net   Reply With Quote
Old 11-07-07   #2 (permalink)
PC Gamer
 
SpuddGunn's Avatar
 
intel nvidia

Join Date: Jun 2007
Location: Warwickshire
Posts: 1,293

Rep: 110 SpuddGunn is acknowledged by manySpuddGunn is acknowledged by many
Unique Rep: 90
Trader Rating: 2
Default

OpenGL should work fine under Linux

As for where it sits with DX9/10, I believe (correct me if I'm wrong) that it has nothing to do with them and runs its own way. Same way as Glide used to be different to OpenGL and DX

Check out these links

http://en.wikipedia.org/wiki/OpenGL

http://en.wikipedia.org/wiki/Compari...t3D_and_OpenGL

Hope these help
__________________

Quote:
Originally Posted by Martin Luther 'Ledley' King
I had a dream...when I awoke I praised the lord that we were not West Ham."

System: SpuddGunns **ALL NEW** Super Fun House
CPU
Core2Duo E6600
Motherboard
Asus P5NSLI
Memory
2GB OCZ Spec Ops
Graphics Card
Nvidia 9800GT 512mb
Hard Drive
1 x SATA 80GB, 1 x SATA 160GB, 1 x IDE 40GB
Sound Card
Onboard
Power Supply
HiperPower 580W
Case
NZXT Trinity
CPU cooling
Stock
GPU cooling
Stock
OS
XP 32bit
Monitor
Samsung 17" CRT (£2.20 from ebay :-D)

Last edited by SpuddGunn : 11-07-07 at 08:31 AM
SpuddGunn is offline   Reply With Quote
Old 11-07-07   #3 (permalink)
New to Overclock.net
 
thenailedone's Avatar
 
intel nvidia

Join Date: Apr 2007
Location: UAE
Posts: 1,092

Rep: 64 thenailedone is acknowledged by some
Unique Rep: 56
Folding Team Rank: 1006
Trader Rating: 0
Unhappy

Quote:
Originally Posted by SpuddGunn View Post
OpenGL should work fine under Linux

As for where it sits with DX9/10, I believe (correct me if I'm wrong) that it has nothing to do with them and runs its own way. Same way as Glide used to be different to OpenGL and DX

Check out these links

http://en.wikipedia.org/wiki/OpenGL

http://en.wikipedia.org/wiki/Compari...t3D_and_OpenGL

Hope these help
Thanks for the links... actually had a read on Wikipedia just after posting... still doesn't help me to much (just serves to confuse me more...)

So OpenGL is in direct competition with Direct3D... and Direct3D is that part of DirectX that handles graphics (if I follow)... so when creating games the developers choose to create for either OpenGL or DirectX... and a game like The Witcher that is now written for Direct3D won't necessarily be playable under Linux (lot's of tweaking etc. needed)... Or am I mistaken?
__________________

Opinion, I has one!
An opinion is a belief that may or may not be backed up with evidence, but which cannot be proved with that evidence. It is normally a subjective statement and may be the result of an emotion or an interpretation of facts; people may draw opposing opinions from the same facts.

Vector Sigma when OC'ed (just to show I can do it ):
Q6600 @ 3.2Ghz Validation (Stability pending as temperatures are slightly high.) 3DMark06 - 14577

System: Vector_Sigma
CPU
Q6600 G0
Motherboard
ECS Elitegroup P45T-A
Memory
4GB DDR2-800
Graphics Card
XFX 8800GT Alpha Dog XXX 512MB
Hard Drive
Seagate Barracuda 7200.10 250 GB
Power Supply
Antec Earthwatts 650W
Case
Raidmax Smilodon
CPU cooling
Thermaltake Ruby Orb
GPU cooling
Zalman
OS
M$ Vista Business x64
Monitor
Samsung SyncMaster 720N

Last edited by thenailedone : 11-07-07 at 09:29 AM Reason: grammer
thenailedone is offline I fold for Overclock.net   Reply With Quote
Old 11-07-07   #4 (permalink)
PC Gamer
 
SpuddGunn's Avatar
 
intel nvidia

Join Date: Jun 2007
Location: Warwickshire
Posts: 1,293

Rep: 110 SpuddGunn is acknowledged by manySpuddGunn is acknowledged by many
Unique Rep: 90
Trader Rating: 2
Default

Quote:
Originally Posted by thenailedone View Post
Thanks for the links... actually had a read on Wikipedia just after posting... still doesn't help me to much (just serves to confuse me more...)

So OpenGL is in direct competition with Direct3D... and Direct3D is that part of DirectX that handles graphics (if I follow)... so when creating games the developers choose to create for either OpenGL or DirectX... and a game like The Witcher that is now written for Direct3D won't necessarily be playable under Linux (lot's of tweaking etc. needed)... Or am I mistaken?
Yeah think thats about right.

Back in the days of 3dfx, most games would let you choose between D3D, OpenGl and Glide (3dfx only). So in effect they were all competing against each other. D3D back then was pretty poor so moost users went for either OpenGL or Glide.

When 3dfx went belly up, Glide was just left behind leaving only OpenGL and DX.

If The Witcher is purely DX now then I doubt very much it would work under Linux. However if it has the option to switch to OpenGL then I think it should.
__________________

Quote:
Originally Posted by Martin Luther 'Ledley' King
I had a dream...when I awoke I praised the lord that we were not West Ham."

System: SpuddGunns **ALL NEW** Super Fun House
CPU
Core2Duo E6600
Motherboard
Asus P5NSLI
Memory
2GB OCZ Spec Ops
Graphics Card
Nvidia 9800GT 512mb
Hard Drive
1 x SATA 80GB, 1 x SATA 160GB, 1 x IDE 40GB
Sound Card
Onboard
Power Supply
HiperPower 580W
Case
NZXT Trinity
CPU cooling
Stock
GPU cooling
Stock
OS
XP 32bit
Monitor
Samsung 17" CRT (£2.20 from ebay :-D)
SpuddGunn is offline   Reply With Quote
Old 11-07-07   #5 (permalink)
Professional GTA 4 Modder
 
G|F.E.A.D|Killa's Avatar
 
intel ati

Join Date: Jul 2007
Location: Surprise AZ
Posts: 12,263
Blog Entries: 3

Rep: 739 G|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famous
Unique Rep: 500
Folding Team Rank: 1191
Hardware Reviews: 10
Trader Rating: 39
Default

open GL has nothing to do with direct X. it is its own system. i think were at 2.0 now.and the graphics are way better than with DX
__________________


YOU ONLY NEED TWO TOOLS IN LIFE - WD-40 AND DUCT TAPE. IF IT DOESN'T MOVE AND SHOULD, USE THE WD-40. IF IT SHOULDN'T MOVE AND DOES, USE THE DUCT TAPE.

I heard Ford is coming out with heated bumpers in 2010 so your hands don not get cold while pushing it.

System: Lurking Ninja
CPU
Intel Core i7 920 D0 3849B203 4.2GHz/1.19
Motherboard
Evga X58 Classified E759/Koolance X58/BIX 120
Memory
6GB 3x2 OCZ Gold 1600mhz
Graphics Card
XFX HD4890 (choosing new cards now)
Hard Drive
250gb AAKS, 1tb AALS
Sound Card
Onboard/ Z5500s
Power Supply
Corsair HX1000W
Case
Modded Rocketfish
CPU cooling
D-Tek Fuzion V2/ BIX 360 Xflow/ D5
GPU cooling
Stock
OS
Vista Ultimate X64
Monitor
Gateway HD2401 24"
G|F.E.A.D|Killa is online now I fold for Overclock.net Overclocked Account G|F.E.A.D|Killa's Gallery   Reply With Quote
Old 11-07-07   #6 (permalink)
2 + 2 = 5
 
DuckieHo's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: In a Chair.
Posts: 34,433

Rep: 4114 DuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guru
Unique Rep: 1884
Folding Team Rank: 1382
Trader Rating: 54
Default

Quote:
Originally Posted by thenailedone View Post
Thanks for the links... actually had a read on Wikipedia just after posting... still doesn't help me to much (just serves to confuse me more...)

So OpenGL is in direct competition with Direct3D... and Direct3D is that part of DirectX that handles graphics (if I follow)... so when creating games the developers choose to create for either OpenGL or DirectX... and a game like The Witcher that is now written for Direct3D won't necessarily be playable under Linux (lot's of tweaking etc. needed)... Or am I mistaken?
Correct. OpenGL games will not always immediately work with Linux or Mac. However, they can usually with a bit of tweaking.

OpenGL and DirectX are sets of APIs or commands. Instead of the programmers worrying about how to tell the CPU/video card/memory to work, they just use a pre-defined command. These commands differ in OpenGL and DirectX. Instead of writing in code with 20+ lines of set register commands like: "MV R1 R2 1, MV R1 R2 3, ect" (machine code), developers can write "DrawLine([X1,Y1,Z1],[X2,Y2,Z2]) using an API.


Quote:
Originally Posted by G|F.E.A.D|Killa View Post
open GL has nothing to do with direct X. it is its own system. i think were at 2.0 now.and the graphics are way better than with DX
OpenGL and DirectX are APIs, not systems. The graphics are not way better than DirectX3D. Each have strengths and weaknesses. OpenGL is working on 3.0 but was recently delayed.
__________________
To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3.4GB (3) If a PCIe card fits, it should work (4) Resolution, not screen size (5) If you have a question, it is not news (6) Report, not respond to Spam (7) Single-Rail/Non-Modular PSUs are not always better than Multi-Rail/Modular


System: Three Dead Mobos in a Year
CPU
Q6600 (3.4GHz)
Motherboard
EVGA 780i
Memory
2x2GB OCZ Reaper 1096MHz
Graphics Card
GTX260 55nm
Hard Drive
PERC 6/i: 3xRAID0 7200.12 500GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 620HX
Case
Li Lian PC-V2100 [10x120mm fans]
CPU cooling
FuZion V2 + Quad-Heatercore
GPU cooling
EK Block + DDC-3.2
OS
Vista Ultimate 64
Monitor
Samsung 226BW "C" + Sceptre 19"

Last edited by DuckieHo : 11-07-07 at 09:51 AM
DuckieHo is offline I fold for Overclock.net Overclocked Account DuckieHo's Gallery   Reply With Quote
Old 11-08-07   #7 (permalink)
Multi-Quote King
 
The Hundred Gunner's Avatar
 
amd nvidia

Join Date: Jul 2006
Posts: 9,225

Rep: 761 The Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famous
Unique Rep: 421
Folding Team Rank: 2046
Trader Rating: 0
Default

So will someone please answer this question which I always ask in DX/OGL threads but never get an answer:

If OGL and DX are different "libraries," why does a game like Doom 3 or Q4 (which I hear are "OGL games) need to have DX installed? The D3 comes with a DX installer and has DX9 written as a requirement on the box.
__________________
"I just talk the way I see things... If that's offensive to you... I'm sorry; you're a loser." - Michael Savage

"But you would be amazed by how many people think that the only reason to have a computer is to play games, and that playing games is all that anyone with a computer does." - dangerousHobo

System: The Shuttle Has Landed
CPU
Athlon 64 3800+ @2.785GHz
Motherboard
Shuttle
Memory
2GB OCZ
Graphics Card
7950GT
Hard Drive
320GB Seagate in Ext. Case
Sound Card
On-board
Power Supply
250W Shuttle "Elanpower"
Case
Shuttle Glamour xPC
CPU cooling
Shuttle "ICE2"
GPU cooling
Stock
OS
Censored to avoid flaming
Monitor
HP M70
The Hundred Gunner is offline I fold for Overclock.net Overclocked Account   Reply With Quote
Old 11-08-07   #8 (permalink)
New to Overclock.net
 
thenailedone's Avatar
 
intel nvidia

Join Date: Apr 2007
Location: UAE
Posts: 1,092

Rep: 64 thenailedone is acknowledged by some
Unique Rep: 56
Folding Team Rank: 1006
Trader Rating: 0
Default

Good question The Hundred Gunner... and thx for the advice to all...
__________________

Opinion, I has one!
An opinion is a belief that may or may not be backed up with evidence, but which cannot be proved with that evidence. It is normally a subjective statement and may be the result of an emotion or an interpretation of facts; people may draw opposing opinions from the same facts.

Vector Sigma when OC'ed (just to show I can do it ):
Q6600 @ 3.2Ghz Validation (Stability pending as temperatures are slightly high.) 3DMark06 - 14577

System: Vector_Sigma
CPU
Q6600 G0
Motherboard
ECS Elitegroup P45T-A
Memory
4GB DDR2-800
Graphics Card
XFX 8800GT Alpha Dog XXX 512MB
Hard Drive
Seagate Barracuda 7200.10 250 GB
Power Supply
Antec Earthwatts 650W
Case
Raidmax Smilodon
CPU cooling
Thermaltake Ruby Orb
GPU cooling
Zalman
OS
M$ Vista Business x64
Monitor
Samsung SyncMaster 720N
thenailedone is offline I fold for Overclock.net   Reply With Quote
Old 11-08-07   #9 (permalink)
Overclocker
 
moward's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Manchester
Posts: 413

Rep: 52 moward is acknowledged by some
Unique Rep: 50
Folding Team Rank: 621
Trader Rating: 0
Default

It probably needs DirectX for its sound processing?
__________________
System: C. lupus
CPU
E8400 @ 4 GHz
Motherboard
EVGA 780i SLI
Memory
8Gb Corsair Dominator 1066
Graphics Card
Palit GTX 275
Hard Drive
4 x 320Gb
Sound Card
X-Fi XtremeMusic
Power Supply
OCZ 700W GameXstream
Case
Antec P182
CPU cooling
Ultima 90i + Silverstone FM122
OS
Vista Ultimate 64bit
Monitor
HP LP2475w + 225BW
moward is offline I fold for Overclock.net   Reply With Quote
Old 11-08-07   #10 (permalink)
2 + 2 = 5
 
DuckieHo's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: In a Chair.
Posts: 34,433

Rep: 4114 DuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guru
Unique Rep: 1884
Folding Team Rank: 1382
Trader Rating: 54
Default

Quote:
Originally Posted by moward View Post
It probably needs DirectX for its sound processing?
Yup.... To run in Windows, it probably needs some certain non-graphical APIs. Don't forget when comparing OpenGL vs DirectX.... you are really only comparing OpenGL vs DirectX3D. DirectX also contains APIs for sound and keyboard/mouse controls
__________________
To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3.4GB (3) If a PCIe card fits, it should work (4) Resolution, not screen size (5) If you have a question, it is not news (6) Report, not respond to Spam (7) Single-Rail/Non-Modular PSUs are not always better than Multi-Rail/Modular


System: Three Dead Mobos in a Year
CPU
Q6600 (3.4GHz)
Motherboard
EVGA 780i
Memory
2x2GB OCZ Reaper 1096MHz
Graphics Card
GTX260 55nm
Hard Drive
PERC 6/i: 3xRAID0 7200.12 500GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 620HX
Case
Li Lian PC-V2100 [10x120mm fans]
CPU cooling
FuZion V2 + Quad-Heatercore
GPU cooling
EK Block + DDC-3.2
OS
Vista Ultimate 64
Monitor
Samsung 226BW "C" + Sceptre 19"
DuckieHo is offline I fold for Overclock.net Overclocked Account DuckieHo's Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 10:34 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.17852 seconds with 8 queries