LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-31-2012, 10:05 AM   #1
realflow100
LQ Newbie
 
Registered: May 2012
Posts: 26

Rep: Reputation: Disabled
Direct3D > to > OpenGL?


i am messing around with dll's trying to get my old graphics card to run programs that require shader model 3 and since it only has shader model 2.0 but my graphics card can still use openGL 2.0, 4.0 ect. which does support shader model 3.0 no matter what type of graphics card i could have
i am trying to figure out if there is a way to get a direct3D application to run with wine's dll's
and work with direct3D but sending the draw calls to openGL and creating the advanced shader model
3.0 effects in openGL that the regular direct3D can't because of my old graphics card?

I always wondered because direct3D applications in wine actually use openGL instead of real direct3D?
could my graphics card ever have shader model 3.0 using openGL? my graphics card is more than fast enough to run it at the best settings
but it sadly doesnt have shader model 3.0 when I'm using direct3D
I do see shader model 3.0 effects when using openGL (lots of reflections and sun rays good sharp shadows)
But when using real direct3D I get none of those features it looks very plain with the real direct3D dll's
but when I use wine's direct3D dll's (Errr.. using playonlinux and installing video driver and direct3D dll's)
it works flawlessly and looks very sharp and full of life if that makes sense.

Is my graphics card really using shader model 3.0 when using the openGL instead of direct3D?

I always thought wine sent the direct3D draw calls to openGL? Is this correct? sorry If I seem to be typing A lot.
I'm just very curious is all!
I actually was wondering if I could create my own operating system somehow.
(maybe when im older i'll know more about how operating system works i'm still a newbie here sorta)
but this is pretty advanced stuff i'm guessing? sorry for grammer errors i'm not good at using good grammer XD

Last edited by realflow100; 07-31-2012 at 10:06 AM.
 
Old 07-31-2012, 10:18 AM   #2
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Well, you could at least post the model and manufacturer of your card to give us an idea of the issue
What video drivers have you installed?
Wine translates Direct3D calls to OpenGL ones, but not all Linux video drivers support all OpenGL 3.x and 4.x extensions and features. Namely, proprietary Linux drivers (those from Nvidia or AMD/ATI) should support the latest and greatest OpenGL features, while open-source drivers (read: mesa) still lag behind, supporting basic OpenGL 3.0 functionality with some drivers (intel ones, IIRC).
However, without some bits of additional information is kinda hard to guess what's your case.
 
Old 07-31-2012, 01:56 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,240

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
It's very possible that the game is explicitly programmed to behave differently depending on whether it's set to use OpenGL or Direct3D. I recommend checking by actually running it on Windows.

BTW, which game?
 
Old 07-31-2012, 03:37 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I always wondered because direct3D applications in wine actually use openGL instead of real direct3D?
no "wondering" needed

Microsoft patented and copyrighted directx
so unless one PAYS MS a BOATLOAD of cash and lets MS dictate to you what YOU can do in your OWN your Business

you can not use it .

but if one dose pay MS and become a -- MS "borg" drone --
then that "assimilated" company can use it.

but if you MUST play a Microsoft ONLY game then play it on a MS operating system



now wine emulates DirectX using OpenGL 2.2 and up

so if your hardware dose NOT fully support OpenGL2.2 and greater then most of the directx code can not be ran
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Carmack: Direct3D Now Better Than OpenGL LXer Syndicated Linux News 1 03-13-2011 03:41 AM
Open-source 3D benchmark for both OpenGL and Direct3D 10110111 Linux - Software 1 12-26-2010 10:20 AM
Virtualbox 3.0 Announces OpenGL/Direct3D Support ! H_TeXMeX_H Linux - News 1 07-03-2009 10:31 AM
Configuring OSS and Direct3d, OpenGL adrian_mx Linux - Hardware 5 01-16-2006 02:24 PM
Direct3d, Winex, and more... fallchild6 Linux - Software 0 04-19-2003 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration