Search found 11 matches
- Sat Mar 25, 2006 10:38 am
- Forum: PSP Development
- Topic: 2D bitmap/texture hardware rotation?
- Replies: 6
- Views: 2738
- Sat Mar 25, 2006 8:09 am
- Forum: PSP Development
- Topic: 2D bitmap/texture hardware rotation?
- Replies: 6
- Views: 2738
Setup the MODEL VIEW matrix for rotating your vertices. If you don't know how to do this, use gum's sceGumRotateX/Y/Z functions Could you provide an example? I had a look through the SDK samples and they seam to use something similar to this but it dose absolutely nothing in my app (the samples all...
- Sat Mar 25, 2006 6:23 am
- Forum: PSP Development
- Topic: 2D bitmap/texture hardware rotation?
- Replies: 6
- Views: 2738
2D bitmap/texture hardware rotation?
Hey I have the GU set up for 2d sprites (will provide GU setup/rendering code if it’s needed) but can’t figure out how to have it rotate them. I did write a software implementation but it’s turning out to be far too slow, so is there anyway to have the GU do this? Can anyone point me in the right di...
- Mon Feb 27, 2006 6:28 pm
- Forum: PSP Development
- Topic: Aligning memory to 16 bytes with new operator
- Replies: 1
- Views: 962
Aligning memory to 16 bytes with new operator
Hello again, I’m having a bit of trouble with my images looking slightly ‘corrupted’ when displayed on the PSP. I had a look in pspgu.h and noticed this: /** * Set current texturemap * * Textures may reside in main RAM, but it has a huge speed-penalty. Swizzle textures * to get maximum speed. * * @n...
- Sun Jan 29, 2006 8:27 am
- Forum: PSP Development
- Topic: "libcglue.c" Errors
- Replies: 3
- Views: 1813
Odd, but adding another -lc to the front of the libraries worked, thanks.jimparis wrote:Add another -lc to the front of your libraries; psp-g++ moves the first one. Or link with psp-gcc. Also read http://forums.ps2dev.org/viewtopic.php?p=31516#31516
- Fri Jan 27, 2006 9:22 pm
- Forum: PSP Development
- Topic: "libcglue.c" Errors
- Replies: 3
- Views: 1813
"libcglue.c" Errors
Hey, I’m having some problems linking my app. I used to be able to compile/link everything fine when I was using the traditional cygwin.bat and including build.mak into my makefiles. But I have recently moved to the eclipse IDE and completely written my own makefile, problem is I now get linker erro...
- Thu Sep 29, 2005 6:00 pm
- Forum: PSP Development
- Topic: C++ dynamic array, new[]/delete[] not working properly.
- Replies: 4
- Views: 1548
- Thu Sep 29, 2005 5:29 pm
- Forum: PSP Development
- Topic: C++ dynamic array, new[]/delete[] not working properly.
- Replies: 4
- Views: 1548
It is named .cpp. PSPSDK seams to require “extern "C" { … }“ for C++. Tried removing it with no luck either.CyberBill wrote:Code: Select all
extern "C" {
new and delete are not valid C operators. They only work in C++. Be sure your file is named .cpp, and not .c.
- Thu Sep 29, 2005 3:07 pm
- Forum: PSP Development
- Topic: C++ dynamic array, new[]/delete[] not working properly.
- Replies: 4
- Views: 1548
C++ dynamic array, new[]/delete[] not working properly.
Hey, I can’t seam to get this to work properly. Consider the following code (striped down, but complete): main.cpp #include <pspkernel.h> extern "C" { PSP_MODULE_INFO("Test", 0, 1, 1); class TestClass { public: TestClass(int h, in...
- Tue Sep 20, 2005 7:45 pm
- Forum: PSP Development
- Topic: Buffer width and u32
- Replies: 5
- Views: 1910
- Tue Sep 20, 2005 6:06 pm
- Forum: PSP Development
- Topic: Buffer width and u32
- Replies: 5
- Views: 1910
Buffer width and u32
Hey, I’m not new to programming but have recently been learning C/C++, reading books and looking over sample PSP code. I’ve managed to get quite a few things to compile and run on my PSP but there are a few things still confusing me: From: pspdisplay.h /** * Display set framebuf * * @param topaddr -...