Go to bottom

Effects & Algorithms

category: general [glöplog]
I'd like OpenGL to be better but... you should understand that considering the history of APIs' development, it's not surprising that D3D's performance can surpass OpenGL's, and the reverse tends not to happen often.
Microsoft developed D3D in the time of 3D acceleration for PC's, and worked with (/conspired/whatever) with some influential PC 3D hardware vendors (<cough> nVidia) from the beginning... and it took shape as primarily an API to access specific hardware functions of current and upcoming hardware through device drivers. So, it targetted performance for new 3D hardware. On top of this, it is relatively easy to develop a D3D driver that'll give you good performance, because the most commonly used functions of D3D basically have a one-to-one correspondence with the intended usage of current hardware. I'd go as far to say that if I were to develop a D3D and OpenGL driver for a new card, my OpenGL driver may be no more than a wrapper calling D3D.
Bad news, but this is how I see it :)
added on the 2001-12-21 10:09:17 by bigcheese bigcheese
on the other hand, COM and enumeration are bullshit :)
added on the 2001-12-21 10:11:29 by bigcheese bigcheese
You've done a wonderful thing superplek :D
added on the 2001-12-21 10:13:54 by bigcheese bigcheese
just so you don't get me wrong, OpenGL is an excellent API for 3D graphics development.. and it seems to decrease development time.. I'm just be the devil's (superplek's) advocate and focusing on the performance difference, which should be negligible as long as your drivers don't suck and you're careful to optimize your OpenGL code instead of taking the easier ways out that are provided.
added on the 2001-12-21 10:18:26 by bigcheese bigcheese
I don't quite see what's wrong about enumeration.

You have to provide some way to enumerate video devices if you want the applications to directly support multimonitor stuff.

And you have enumeration with OGL too, atleast under Win32 (Pixel Formats ring a bell?)
added on the 2001-12-21 11:49:02 by ryg ryg
Iam not sure about this.. but multi-monitor shouldnt have anything to do with opengl.. you should enum that in windows and set the opengl window to whatever desktop you want.. the problem is most likely in opengl32.dll or so.. iam not sure tho.. but i still think it sucks not having a device =)
added on the 2001-12-21 13:56:40 by Hatikvah Hatikvah
Actually, there ARE(or were) openGL drivers only wrapping D3D (Kyro most notably) which sucked A LOT. Good opengl drivers (NVidia, recently ATI too) tend to give more direct control on what's happening on the card, and are usually speedier. (i am actually looking forward to 3DLabs entering the consumer 3d market.. they are in fact more going the opposite direction: their d3d drivers will probably just wrap the gl drivers, which, actually is the more natural way to go)
added on the 2001-12-21 14:38:16 by shiva shiva
err.. I don't see that as being natural at all, since as I said, I think D3D focuses more at access to hardware while OpenGL's original focus had a stronger emphasis on actual development.. but whatever :) I think most people would rather see code duplication than actual wrapping in their drivers anyway, providing that they ever use their cards :)
added on the 2001-12-22 12:51:42 by bigcheese bigcheese
Go Superplek, go superplek
Go Superplek, go superplek
*JUMP* *JUMP* *JUMP* ....

DirectX 8 RULEZ haha, you OGL biotches!!
:D :D :D
added on the 2001-12-23 13:57:56 by ravity ravity
What about SDL? Nobody's mentioned that at all :)
I've just started learning SDL and OpenGL, and from what I can tell, SDL makes life sooo much easier.
How do people think it stands up to Dx or bare GL?
added on the 2001-12-24 18:56:10 by Rayn Rayn
ahh the scene are still the same retarded "i think im god and my code is sacred" bunch of kids....

the guy who asked the question to get started got ONE stinking link and that was about all the usefull information he got.

do anyone need a good musician/designer/graphician for their crew btw? i have some ideas that might bring out some noise, and i have choons that will kick you down. the scene musicians need to get their head out of their ass and produce other stuff than wanna be artistic white noise, pink noise, brown noise, plain noise, module noise, noise noise..................rant rant rant............
added on the 2001-12-24 21:51:57 by NoahR NoahR
rant rant rant yes indeed
aint that what its all about?

"i think i'm god and my code is sacred"
most sceners dont think this.. at least my scene code is categorized under d:\workspace\code\hacks
guess that explains ;)

have a nice day

added on the 2001-12-24 23:46:36 by superplek superplek
iblis: don't know get api wars have to do with some coders ego trips..
added on the 2001-12-25 01:03:58 by ryg ryg
I meant "iblis: don't get what api wars have to do with some coders ego trips...". argh.
added on the 2001-12-25 01:10:34 by ryg ryg
Superplek is for losers.
cd is a 16-year old fuck who releases borntro's ladies and gentlemen ;)

now it's your turn again little twit :D
added on the 2001-12-25 16:26:21 by superplek superplek
i am the God, who invented all good things in life (sex, drugs and hari krishna).
nope. not ALL good things in life.

remember, chaos invented rot-zoomers, and w.e. lorensen and h. cline invented the marching cubes algorithm!
added on the 2001-12-25 20:57:27 by ryg ryg
hehe sure api wars may have nothing to do with coder egos :)
but it sure as hell doesnt have anything to do with getting started either, and that was the original question asked, not what api is the better, the guy obviously wanted to do some OpenGL stuff ;)

so now that we are off subject anyway, how was peoples x-mas? mine was wikkid, got stuffed as a pornslut and got nice presents :D

and all that just because santaclause got crusified....or what was that again? :p
added on the 2001-12-25 21:52:01 by NoahR NoahR
it's all a matter of fate and religion.
Expecting a real answer on scene forums is pure naivity anyway, so who cares? :)
added on the 2001-12-26 18:52:56 by ryg ryg
make up your own bloody fx!
added on the 2001-12-27 03:06:42 by _ _
damn _ you sound real clever :p
added on the 2001-12-27 11:55:10 by NoahR NoahR
It's actually not a bad idea at all. Experimenting with code is much more fun (and more instructive) than re-coding standard effects.
added on the 2001-12-27 12:37:26 by tomaes tomaes
I bet most of us started out doing a sinus-plasma or similar (atleast i did ;-)


Go to top