Search found 32 matches
- Mon Oct 10, 2005 8:38 am
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
- Wed Oct 05, 2005 2:36 pm
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
I don't think anything is wrong with my structure holding my information about the model. Why do I think this? Well, I have written a basic 3d model loader in OpenGL that loads various file formats such as 3ds, obj, asc, x, custom formats, etc. When I extract the info from the files, I can texture m...
- Wed Oct 05, 2005 5:29 am
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
- Mon Oct 03, 2005 2:24 pm
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
- Mon Oct 03, 2005 1:43 pm
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
Ok, I did a for(j=0; j<756*3; j++) { vertecies[j].u = 1.0f - vertecies[j].u; vertecies[j].v = 1.0f - vertecies[j].v; } And I can tell that the model is VERY VERY close to being texture properly because now I can actually see some of the textures coming together however the model still isn't texture ...
- Mon Oct 03, 2005 12:32 pm
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
- Mon Oct 03, 2005 12:31 pm
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
- Mon Oct 03, 2005 11:47 am
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
- Mon Oct 03, 2005 6:44 am
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
Hey thanks TIM! I did try Ector's tool and it brought me closer to getting it to work. At least my texture shows up correctly but it isn't being mapped properly still. So here is the link to my code, model, and model's texture. What I did was I wrote a 3DS/ ASC 2 OpenGL commands tool just for quick ...
- Mon Oct 03, 2005 3:17 am
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
Hey Tim! Thanks for your help thus far. You have really tried to help me and I appreciate that. The texture you converted for me no longer comes up as an orangish texture but rather a blueish texture now. What I did though was I tried using the PSPTEX converter that you sent me a link to in your las...
- Mon Oct 03, 2005 2:19 am
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
- Sun Oct 02, 2005 3:08 am
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
- Sat Oct 01, 2005 1:31 pm
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
Can someone please convert my texture to a 32-bit or a 16-bit ABGR RAW format texture so that I can see if there is a problem with my code or my image software. The link to the texture is here.
http://www.jujikasoft.com/PSP/body1.bmp
Thanks!
http://www.jujikasoft.com/PSP/body1.bmp
Thanks!
- Thu Sep 29, 2005 11:09 pm
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
- Thu Sep 29, 2005 12:51 pm
- Forum: PSP Development
- Topic: Texture Mapping with the Gu Lib
- Replies: 24
- Views: 7353
Texture Mapping with the Gu Lib
Hi! I am trying to texture map my 3d object using the gulib. So far, I can see my 3d model. it renders fine. However If I try to add a texture to it, the texture turns to a pink color and is distorted but the model still stays in tact. I modified the samples/gu/cube example. I have a model with 756 ...
- Sun Sep 25, 2005 5:07 pm
- Forum: PSP Development
- Topic: Rotation Math Question
- Replies: 4
- Views: 1926
- Sun Sep 25, 2005 11:36 am
- Forum: PSP Development
- Topic: Rotation Math Question
- Replies: 4
- Views: 1926
Rotation Math Question
Hey everyone. I have a simple math question for you. I know how to rotate a point about the origin by using matricies. I also know how to do it using the formula. The way I do it is x = x*cos(theta) - y*sin(theta) y = x*sin(theta) + y*cos(theta) However I want to rotate my triangle about an arbitrar...
- Sat Sep 24, 2005 6:49 am
- Forum: PSP Development
- Topic: PSP gu library. Drawing Lines
- Replies: 7
- Views: 2545
- Sat Sep 24, 2005 4:03 am
- Forum: PSP Development
- Topic: Shift operator in Matrix Function Question
- Replies: 2
- Views: 1232
- Sat Sep 24, 2005 1:40 am
- Forum: PSP Development
- Topic: Shift operator in Matrix Function Question
- Replies: 2
- Views: 1232
Shift operator in Matrix Function Question
Hmmm I read the post that shine sent me about rotating triangles and their properties. I have a question though. Why does the author of the code choose to use a shift operation for the indicies of his array of numbers in his matrix? Here is an example of his code void matrix_identity(float* ...
- Fri Sep 23, 2005 2:45 pm
- Forum: PSP Development
- Topic: My Triangle Dissapears
- Replies: 3
- Views: 1429
- Fri Sep 23, 2005 2:13 pm
- Forum: PSP Development
- Topic: PSP gu library. Drawing Lines
- Replies: 7
- Views: 2545
- Fri Sep 23, 2005 11:58 am
- Forum: PSP Development
- Topic: My Triangle Dissapears
- Replies: 3
- Views: 1429
I guess if I said sceGuInit(), I wouldn't have had to post this. Sorry about this one. It was a careless overlook. However I do have one other question. How could I do a goraud shaded triangle based on the code I have provided? It seems that if I use sceGuColor 3 times before drawing the points, the...
- Fri Sep 23, 2005 11:35 am
- Forum: PSP Development
- Topic: My Triangle Dissapears
- Replies: 3
- Views: 1429
My Triangle Dissapears
Well, I managed to draw a triangle to the screen however it only stays on the screen for half a second and then is cleared. I am swapping buffers so maybe I need to draw my triangle to some other place in emmory as well however the sample graphics demos didn't seem to be doing that. Here is my main ...
- Fri Sep 23, 2005 11:33 am
- Forum: PSP Development
- Topic: PSP gu library. Drawing Lines
- Replies: 7
- Views: 2545
- Fri Sep 23, 2005 1:48 am
- Forum: PSP Development
- Topic: PSP gu library. Drawing Lines
- Replies: 7
- Views: 2545
Also when I say I want to draw lines using the hardware, I mean I want to do it similar to the way you do it on a PS2. I don't want to use software by using a function that plots pixels on a line. I want to send a simple graphics packet to the gs in the PSP and have it draw the line for me. Any idea...
- Fri Sep 23, 2005 1:42 am
- Forum: PSP Development
- Topic: PSP gu library. Drawing Lines
- Replies: 7
- Views: 2545
PSP gu library. Drawing Lines
So where can I read the documentation on the gu library. Also how to I draw lines using the hardware. Are there some tutorials? I checked out the Lines smaple in the pspsdk however I didn't quite follow it. I don't know exactly what all the commands do. Can someone point me in the right direction pl...
- Fri Sep 16, 2005 2:32 am
- Forum: PSP Development
- Topic: After installing the PSP toolchain, what do I do?
- Replies: 10
- Views: 2719
I put it at the beginning of my path as you suggested mrbrown however I still get the same error. Is there any other build or setup doc I could go through to get my envirnment working write. All the compilers are working, just when I try to make something, I get that build error. Any other suggestio...
- Fri Sep 16, 2005 12:50 am
- Forum: PSP Development
- Topic: After installing the PSP toolchain, what do I do?
- Replies: 10
- Views: 2719
Hmm.... this is weird. blackdragon@blackdragonpc /usr/local/pspsdk-1.0+beta/tools $ ls Makefile bin2c.exe bin2o.o mksfo.c pack-pbp.exe psp-config.o Makefile.am bin2c.o bin2s.c mksfo.exe pack-pbp.o unpack-pbp.c Makefile.in bin2o.c bin2s.exe mksfo.o psp-config.c unpack-pbp.exe bin2c.c bin2o.exe bin2s....
- Thu Sep 15, 2005 10:40 pm
- Forum: PSP Development
- Topic: After installing the PSP toolchain, what do I do?
- Replies: 10
- Views: 2719
I tried that but it still doesn't work. Same error. blackdragon@blackdragonpc ~ $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Program Files/ActiveStat e Perl Dev Kit 6.0/bin/:/cygdrive/c/Perl/bin/:/cygdrive/c/WINDOWS/system32:/cygd rive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/W...