opengl redbook

Questions regarding game mechanics and graphic programming should go here.

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard

Postby GeekDog » Thu May 05, 2005 9:36 am

Samuel wrote:what is the difference between OpenGl and DX anyway? i have heard comments like OpenGL has better graphics but DirectX is faster, is this true?

OpenGL is also cross-platform, whereas DirectX is Windows only. This may not be a problem if you're only writing code for Windows, but it's quite important to us Linux users...
User avatar
GeekDog
 
Posts: 1160
Joined: Sun Sep 28, 2003 1:42 pm
Location: UK

Postby Emery » Thu May 05, 2005 3:12 pm

Andy2005 wrote:
RITZ wrote:OpenGL has gluLookAt.

For the record: I endorse OpenGL and not using DX.

[syntax="c++"]
public: static Matrix LookAtLH(
Vector3 cameraPosition,
Vector3 cameraTarget,
Vector3 cameraUpVector
);

public: static Matrix LookAtRH(
Vector3 cameraPosition,
Vector3 cameraTarget,
Vector3 cameraUpVector
);
[/syntax]

lol... I didn't say that is why I endorse OGL. When it comes down to it DX and OGL don't perform much different. The key differences are that OpenGL is cross platform, DX is platform dependent, OpenGL can develop for the Game Cube, DX can develop for the X-Box. You should only need to learn DX if you need to develop for the X-Box wich most people aren't. I prefer OpenGL simply because of the syntax and the application of the API itself. Not to say that Direct X is difficult, but you have to do so much that it almost defeats the purpose of using an API to not reinvent the wheel.
--~~~~
User avatar
Emery
 
Posts: 4313
Joined: Sat Mar 19, 2005 9:16 am

Postby Samuel » Fri May 06, 2005 12:48 am

so a game made with DX could just get burnt onto a DVD disk then placed into a xbox consol and it will work??

i understand this is getting really off topic, but you guys keep on interesting me. :D
But apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, the fresh-water system, and public health, what have the Romans ever done for us?
User avatar
Samuel
 
Posts: 676
Joined: Wed Apr 06, 2005 7:43 pm
Location: Australia

Postby Bugdude » Fri May 06, 2005 1:14 am

No, but you could take your DX code and port it to the XBox with a lot less difficulty than porting OpenGL-based code.
User avatar
Bugdude
Moderator
 
Posts: 2480
Joined: Sun Aug 29, 2004 1:58 am
Location: Living in sin

Postby Samuel » Fri May 06, 2005 1:36 am

How would you port it? Do you just have to change keyboard and mouse messages to xbox messages? is this on msdn?
But apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, the fresh-water system, and public health, what have the Romans ever done for us?
User avatar
Samuel
 
Posts: 676
Joined: Wed Apr 06, 2005 7:43 pm
Location: Australia

Postby Bugdude » Fri May 06, 2005 1:41 am

I would guess that development and porting instructions would be a part of the XBox development kit.
User avatar
Bugdude
Moderator
 
Posts: 2480
Joined: Sun Aug 29, 2004 1:58 am
Location: Living in sin

Postby Samuel » Sun May 08, 2005 5:36 am

were can i get the Xbox development kit from?
But apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, the fresh-water system, and public health, what have the Romans ever done for us?
User avatar
Samuel
 
Posts: 676
Joined: Wed Apr 06, 2005 7:43 pm
Location: Australia

Postby tomcant » Sun May 08, 2005 5:58 am

If it wasn't for C, we would be using BASI, PASAL and OBOL.
User avatar
tomcant
 
Posts: 3101
Joined: Tue Sep 23, 2003 1:56 am
Location: Colchester, UK

Postby Bugdude » Sun May 08, 2005 6:03 am

Samuel wrote:were can i get the Xbox development kit from?


Take a guess.
User avatar
Bugdude
Moderator
 
Posts: 2480
Joined: Sun Aug 29, 2004 1:58 am
Location: Living in sin

Postby Samuel » Sun May 08, 2005 6:07 am

thanks for that link to google - lol

http://www.xbox.com/en-US/dev/tools.htm

i think this one is a bit more precise
But apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, the fresh-water system, and public health, what have the Romans ever done for us?
User avatar
Samuel
 
Posts: 676
Joined: Wed Apr 06, 2005 7:43 pm
Location: Australia

Previous

Return to Games and Graphics

Who is online

Users browsing this forum: No registered users and 2 guests