forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New to PS2 programming

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
wall



Joined: 08 Mar 2008
Posts: 4

PostPosted: Sat Mar 08, 2008 2:22 pm    Post subject: New to PS2 programming Reply with quote

Hello,

1. I have a background in C and C++ programming. I suspect that these languages are used in PS2 programming. Is this correct?

2. Is OpenGL used?

3. Can I download a C/C++ compiler for either Windows or Unix (Solaris)?? Ar they free?

4. I am aware of Microsoft XBox. How does PS2 compare to that platform?? (Performance......)

Regards
_________________
1family
Back to top
View user's profile Send private message
cosmito



Joined: 04 Mar 2007
Posts: 314
Location: Portugal

PostPosted: Sun Mar 09, 2008 9:40 am    Post subject: Re: New to PS2 programming Reply with quote

wall wrote:
Hello,

1. I have a background in C and C++ programming. I suspect that these languages are used in PS2 programming. Is this correct?

Correct. You can program both in C or C++.
Quote:
2. Is OpenGL used?
Nope
Quote:
3. Can I download a C/C++ compiler for either Windows or Unix (Solaris)?? Ar they free?
Look for the PS2 toolchain. It's free of course. On linux you may build and use it with the GCC and on Windows, use cygwin or MinGW. Currently, the toolchain only builds under MinGW. As for cygwin, it will do if you use a older cygwin (also try this http://forums.ps2dev.org/viewtopic.php?t=9463&start=30)
Quote:
4. I am aware of Microsoft XBox. How does PS2 compare to that platform?? (Performance......)
The PS2 have an aprox 300Mhz CPU and Xbox a 700Mhz aprox one (i'm typing these numbers by memory). Also, the Xbox arquitecture is closer than a PC than the PS2 is... The PS2 has good bus bandwidth but poor CPU caches. You must take this into account to archive best performance. But look into the web for more information.
Back to top
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Mar 09, 2008 10:14 am    Post subject: Reply with quote

Well, there is DreamGL. It's a semi-OpenGL implementation for the PS2. You could try using that. It's in the ps2 svn repo.
Back to top
View user's profile Send private message AIM Address
wall



Joined: 08 Mar 2008
Posts: 4

PostPosted: Sun Mar 09, 2008 10:18 am    Post subject: How ps2 renders graphics Reply with quote

Thanks for the reply,

I am aware of OpenGL and DirectX as graphics systems that involve methods and classes for rendering graphics.

How are graphics rendered and sound produced in ps2 programming?

Regards
_________________
1family
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Mar 09, 2008 3:15 pm    Post subject: Reply with quote

The best way to learn that is to look at the various samples in the sdk, the programs in the repo here, and whatever open source ps2 apps are out (like PGen).
Back to top
View user's profile Send private message AIM Address
wall



Joined: 08 Mar 2008
Posts: 4

PostPosted: Sun Mar 09, 2008 5:06 pm    Post subject: images Reply with quote

Thanks and I have found an architectural white paper on the topic of how ps2 graphics works.

Just a couple of mor questions.

Q1. I have noticed that in ps2 games, moving images (like people running) are typical. Are these images created by actually writing code OR are they created by some sort of image creating program (3d studio max e.g. only) and then some how manipulated in the ps2 code?

Q2. In addition to games, are simulators (e.g. flight simulators) part of the ps2 development application market?

Regards
_________________
1family
Back to top
View user's profile Send private message
cosmito



Joined: 04 Mar 2007
Posts: 314
Location: Portugal

PostPosted: Sun Mar 09, 2008 9:37 pm    Post subject: Re: images Reply with quote

wall wrote:
Q1. I have noticed that in ps2 games, moving images (like people running) are typical. Are these images created by actually writing code OR are they created by some sort of image creating program (3d studio max e.g. only) and then some how manipulated in the ps2 code?

The bitmaps are regular RGBA bitmaps (the PS2 bitmaps are usually refered as "textures") and you must program its displaying and animation. There is a nice alternative : use the SDL port with handles graphics and sound, among other thigs. It's available from the PS2 SVN repository aswell.
Quote:
Q2. In addition to games, are simulators (e.g. flight simulators) part of the ps2 development application market?

In the commercial market, there are some filght simulators (although with a strong arcade feeling, so less real simulation than the PC sims). Personally I don't know any homebrew flight simulator (at least any finished project).
Back to top
View user's profile Send private message Visit poster's website
wall



Joined: 08 Mar 2008
Posts: 4

PostPosted: Mon Mar 10, 2008 2:51 pm    Post subject: Thanks Reply with quote

Ok and thanks
_________________
1family
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
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 © 2001, 2005 phpBB Group