Search found 13 matches
- Thu Dec 27, 2007 7:13 am
- Forum: PS2 Development
- Topic: Framebuffer
- Replies: 2
- Views: 2478
- Wed Nov 07, 2007 9:55 am
- Forum: PS2 Development
- Topic: fread is not working properly?
- Replies: 0
- Views: 1523
fread is not working properly?
I noticed that fread function from PS2SDK isn't working properly, when I was trying to read something like that: sample code: unsigned int int_var; unsigned short int sint_var; FILE *some_fd = fopen("some_file_that_have_over_2MB","rb"); fread(&sint_var...
- Wed Nov 07, 2007 8:55 am
- Forum: PS2 Development
- Topic: Using frame buffer as a texture
- Replies: 5
- Views: 3479
After few days of testing other stuff, I found what was wrong. I just used previous buffer instead of actual, so it wasn't caching or something like that - it was my mistake :). I wrote something like motion-blur, here is a screenshot: http://www.mi-ku.net/ref_images/screen_ok.jpg What my code do in...
- Wed Nov 07, 2007 8:38 am
- Forum: PS2 Development
- Topic: Problem with z buffer
- Replies: 6
- Views: 4933
- Tue Oct 23, 2007 12:21 am
- Forum: PS2 Development
- Topic: Using frame buffer as a texture
- Replies: 5
- Views: 3479
- Mon Oct 22, 2007 11:56 pm
- Forum: PS2 Development
- Topic: Using frame buffer as a texture
- Replies: 5
- Views: 3479
- Mon Oct 22, 2007 7:08 am
- Forum: PS2 Development
- Topic: Using frame buffer as a texture
- Replies: 5
- Views: 3479
Using frame buffer as a texture
I want use frame buffer as a texture for sprite (lower left corner of screen), but I noticed funny GS behavior: http://www.mi-ku.net/ref_images/screen_01.jpg Screenshot is made in 3rd loop. It also happens when I'm doing: - local to local transmision of actual frame buffer in other place of GS memor...
- Thu Sep 13, 2007 6:28 pm
- Forum: PS2 Development
- Topic: Problem with z buffer
- Replies: 6
- Views: 4933
- Thu Sep 13, 2007 7:18 am
- Forum: PS2 Development
- Topic: Problem with z buffer
- Replies: 6
- Views: 4933
Your description looks correct, the only thing I can think of with the z-buffer is that it is prohibited to set ZTE=0 in TEST, as this can cause a malfunction. I setted ZBUF.ZMSK = 1, TEST.ZTE = 1 and TEST.ZTST = ALWAYS before sending sprite and now everything is OK. You have right that setting ZTE...
- Thu Sep 13, 2007 3:36 am
- Forum: PS2 Development
- Topic: Problem with z buffer
- Replies: 6
- Views: 4933
Problem with z buffer
I'm developing my own layer over ps2 hardware and I have problem with z-buffer. I wrote code that draw white sprite on entire screen and two triangles over this sprite. But when I swap z values of triangle 1 vertices with triangle 2 I have same effect on the screen. What I'm doing with z buffer in l...
- Wed Jul 18, 2007 4:40 am
- Forum: PS2 Development
- Topic: How to write "enable intc" procedure?
- Replies: 4
- Views: 2936
- Tue Jul 17, 2007 3:40 am
- Forum: PS2 Development
- Topic: How to write "enable intc" procedure?
- Replies: 4
- Views: 2936
- Mon Jul 16, 2007 3:46 am
- Forum: PS2 Development
- Topic: How to write "enable intc" procedure?
- Replies: 4
- Views: 2936
How to write "enable intc" procedure?
Hello everyone. I'm new in ps2 development, but on start I'm trying to write my own library like ps2sdk - of course I stuck on begining :) Yesterday I setup my developing environment: + laptop + visual studio + my own makefile + ps2sdk linkfile + inlink + network adaptor + ps2 + ps2link - without ps...