Inside3D!
     

Super-Modding - "Rising Tide Lifts all boats"
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming
View previous topic :: View next topic  
Author Message
goldenboy



Joined: 05 Sep 2008
Posts: 310
Location: Kiel

PostPosted: Tue Dec 08, 2009 8:45 am    Post subject: Reply with quote

Baker wrote:
This has to happen NOW. So barring something unforeseen it will happen this week.


Baker, too, never smacked something that didn't stop being an immediate problem.

I award you, Baker, the honorary citizenship of the kingdom of Faq, however long it may last!

Twisted Evil
_________________
ReMakeQuake
The Realm of Blog Magic
Back to top
View user's profile Send private message
mh



Joined: 12 Jan 2008
Posts: 910

PostPosted: Tue Dec 08, 2009 10:44 am    Post subject: Reply with quote

Baker wrote:
metlslime wrote:
What's the benefit of Direct3D over OpenGL, by the way? I thought the only OGL features that were broken on Card X were the things that D3D didn't support anyway, meaning, if you can write a wrapper around the feature, surely the OGL call would also work correctly?


If someone has bad or non-functional OpenGL drivers, often DirectX works.

In that event, instead of the person having the problem being frustrated, you can often solve the problem instantly.

Many times, they don't care "how it runs" but more that it does run.

I've used the "old" Direct3D build to help frustrated users get to play Quake maybe 25 times. No doubt it gets used far more than that because it comes in the ProQuake 4 download.

So the main benefit in my head is it provides just one more way for users to self-help and solve an annoying problem quickly.

A second potential advantage is speed. Even if everything does play nice with OpenGL, it might not be performing too well. I've seen D3D implementations of Q1 go up to 3 x the speed of OpenGL depending on the hardware (did you know that an integrated Intel 910 is actually a vastly superior card to a GeForce FX5200, despite having no hardware T&L and shared memory?)
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
MeTcHsteekle



Joined: 15 May 2008
Posts: 397
Location: its a secret

PostPosted: Wed Dec 09, 2009 4:04 am    Post subject: Reply with quote

ceriux wrote:
i know fte has it.


touche' Wink
_________________
bah
Back to top
View user's profile Send private message AIM Address
metlslime



Joined: 05 Feb 2008
Posts: 177

PostPosted: Wed Dec 09, 2009 5:03 am    Post subject: Reply with quote

So the idea is, many cards have crappy opengl drivers but good d3d drivers? Is there an economic reason for this or is microsoft just very influential?

Do such cards at least play quake 3 correctly? It used to be that the only thing guaranteed to work was the API subset used by the latest id software game.
Back to top
View user's profile Send private message
metlslime



Joined: 05 Feb 2008
Posts: 177

PostPosted: Thu Dec 10, 2009 2:44 am    Post subject: Reply with quote

Oh, here's a random idea:

- compile an opengl.dll using your d3d wrapper code, so that people can drop it into their quake directory and any opengl engine will then automatically use it.

(of course, i'm not sure offhand how the proposed library will find and link against the REAL opengl.dll in the system directory...)
Back to top
View user's profile Send private message
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Thu Dec 10, 2009 3:16 am    Post subject: Reply with quote

d3d requires explicit caching. its kinda awkward like that.
By making an opengl->d3d wrapper, you lose any technical advantages (ie: simpler, more bare api). The _only_ remaining benefit is that it could work around driver bugs.

if you're making an opengl->d3d wrapper, then the proposed library would not need to find the REAL opengl.dll in the first place.
(LoadLibrary accepts absolute paths, if you actually did need to do it).
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
metlslime



Joined: 05 Feb 2008
Posts: 177

PostPosted: Thu Dec 10, 2009 5:49 am    Post subject: Reply with quote

Spike wrote:
if you're making an opengl->d3d wrapper, then the proposed library would not need to find the REAL opengl.dll in the first place.


Oh, right Razz
Back to top
View user's profile Send private message
mh



Joined: 12 Jan 2008
Posts: 910

PostPosted: Thu Dec 10, 2009 10:19 am    Post subject: Reply with quote

It should be possible to construct something around Mesa, I think.
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
Sajt



Joined: 16 Oct 2004
Posts: 1026

PostPosted: Sun Dec 20, 2009 12:33 am    Post subject: Reply with quote

Why should all these other engines be updated with the same stuff? The only engine worth using Darkplaces. All the other engines should just be exterminated to create living-space for Darkplaces.
_________________
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
Back to top
View user's profile Send private message
mh



Joined: 12 Jan 2008
Posts: 910

PostPosted: Sun Dec 20, 2009 2:00 am    Post subject: Reply with quote

DarkPlaces is OpenGL so I can't run it on one of my machines (nor can a few other people).
DarkPlaces has known compatibility issues.

Should we kill every other engine now?
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
Dr. Shadowborg
Inside3D Staff


Joined: 16 Oct 2004
Posts: 726

PostPosted: Sun Dec 20, 2009 4:14 pm    Post subject: Reply with quote

I've personally never been able to run DarkPlaces acceptably on any of my computers, though this is probably just an artifact of me being to dumb to figure out how configure it properly coupled with using ATI Video Cards.

(Stock response: "Get a real computer", etc.)

Personally, I wholeheartedly support this direction of updating other engines to support things like CSQC. More options are good. Very Happy
_________________
"Roboto suggests Plasma Bazooka."
Back to top
View user's profile Send private message
Chip



Joined: 21 Jan 2009
Posts: 314
Location: Romania

PostPosted: Sun Dec 20, 2009 4:20 pm    Post subject: Reply with quote

WARNING! COMPLETELY OFFTOPIC!

"The aphorism a rising tide lifts all boats is associated with the idea that improvements in the general economy will benefit all participants in that economy, and that economic policy, particularly government economic policy, should therefore focus on the general macroeconomic environment first and foremost. The phrase is attributed to John F Kennedy, who used the phrase in a 1963 speech to combat criticisms that a dam project he was inaugurating was a pork barrel project. However the phrase has been used more commonly to defend tax cuts and other policies where the initial beneficiaries are high income earners."

Mistery solved Smile
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake
Back to top
View user's profile Send private message Visit poster's website
Baker



Joined: 14 Mar 2006
Posts: 1538

PostPosted: Mon Dec 21, 2009 12:34 am    Post subject: Reply with quote

Chip wrote:
WARNING! COMPLETELY OFFTOPIC!

"The aphorism a rising tide lifts all boats is associated with the idea that improvements in the general economy will benefit all participants in that economy, and that economic policy, particularly government economic policy, should therefore focus on the general macroeconomic environment first and foremost. The phrase is attributed to John F Kennedy, who used the phrase in a 1963 speech to combat criticisms that a dam project he was inaugurating was a pork barrel project. However the phrase has been used more commonly to defend tax cuts and other policies where the initial beneficiaries are high income earners."

Mistery solved Smile


Actually it is an ancient Chinese expression that means that general good is also individual good.

I think Spock said this correctly in the Wrath of Khan: "The needs of the many outweigh the needs of the few or the one."
Back to top
View user's profile Send private message
goldenboy



Joined: 05 Sep 2008
Posts: 310
Location: Kiel

PostPosted: Thu Dec 24, 2009 3:01 pm    Post subject: Reply with quote

... Kirk was also correct, though
_________________
ReMakeQuake
The Realm of Blog Magic
Back to top
View user's profile Send private message
Chip



Joined: 21 Jan 2009
Posts: 314
Location: Romania

PostPosted: Fri Dec 25, 2009 6:56 pm    Post subject: Reply with quote

goldenboy wrote:
... Kirk was also correct, though


Who's Kirk?
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group