Search found 100 matches

by jsharrad
Thu Feb 18, 2010 9:50 am
Forum: PSP Development
Topic: What fps could achieved at maximum ?
Replies: 30
Views: 2601

You could base your physics iterations on time rather than how many times per second that thread is run
by jsharrad
Thu Feb 18, 2010 5:08 am
Forum: PSP Development
Topic: What fps could achieved at maximum ?
Replies: 30
Views: 2601

Don't remember exactly when I made this or why, but here's an example of how complex things can get and still stay at (or over) 60 fps. It's compiled for later firmware I think... not sure though cuz I did compile for both. :p

I don't have source for it anymore, but I think it's 10 x 9 or 10 x 10.
by jsharrad
Tue Feb 16, 2010 12:33 am
Forum: PSP Development
Topic: Problems with sceGuSwapBuffers
Replies: 10
Views: 742

If it's 2d then you shouldn't need the depth buffer.. you're using ortho right ? I don't see you setting the projection matrix anywhere
by jsharrad
Sun Feb 14, 2010 7:11 am
Forum: PSP Development
Topic: paths
Replies: 35
Views: 2168

If you're using newlib you can just getCwd(); if not then yeah getting it from argv[0] is what I do too.
by jsharrad
Sat Feb 06, 2010 12:55 am
Forum: PSP Development
Topic: Strange GU crash
Replies: 4
Views: 518

going to have to post more code than that if you want an accurate answer
by jsharrad
Sun Jan 10, 2010 1:01 pm
Forum: PSP Development
Topic: Problem with PSPLink Windows 7
Replies: 17
Views: 1587

Might just be your psp... mine has been doing it since 1.5 days and still does it on 3.40 oe
by jsharrad
Fri Dec 25, 2009 11:15 pm
Forum: PSP Development
Topic: Rotating images with the GU?
Replies: 9
Views: 868

use the sceGuRotate functions
by jsharrad
Sun Dec 13, 2009 7:21 am
Forum: PSP Development
Topic: Change Color during rendering with fixed mesh
Replies: 2
Views: 381

If the entire sphere mesh is white and you want to change the whole thing at once you could just drop the colour information out of the mesh and use sceGuColor before each render of it.
by jsharrad
Sat Dec 05, 2009 11:30 pm
Forum: PSP Development
Topic: Why doesn't this draw a triangle? (Probably stupid mistake)
Replies: 5
Views: 717

Looks like your verts are going anti-clockwise and you have GU_CW state enabled... might not be it since I don't see any backface culling going on but it's worth a shot. Lighting being enabled might be the culprit too... had problems with it in the past with it enabled and no lights on.
by jsharrad
Fri Nov 27, 2009 1:13 am
Forum: PSP Development
Topic: Would appreciate some help with SDL and PSP
Replies: 4
Views: 711

When I used SDL, I used my own main function. CFLAGS += $(shell $(PSPBIN)/sdl-config --cflags | sed s/-Dmain=SDL_main//) LIBS += $(shell $(PSPBIN)/sdl-config --libs | sed s/-lSDLmain//) Where PSPBIN is /usr/local/pspdev/psp/bin If you w...
by jsharrad
Mon Nov 23, 2009 10:53 am
Forum: PSP Development
Topic: Sudo make install pspsdk problem
Replies: 13
Views: 1408

sudo doesn't keep your user environment variables though unless you tell it to
by jsharrad
Tue Nov 03, 2009 11:17 pm
Forum: PSP Development
Topic: PSPLink "reset" command not working
Replies: 1
Views: 389

increase the timeout value
usbhostfs_pc -t 100
by jsharrad
Wed Oct 14, 2009 12:00 am
Forum: PSP Development
Topic: What fps could achieved at maximum ?
Replies: 30
Views: 2601

Depends on the complexity of your scene. Low poly scenes can achieve ~60 fps easily.
by jsharrad
Mon Sep 28, 2009 12:52 am
Forum: PSP Development
Topic: VFPU: problem with vtfm3.t
Replies: 4
Views: 970

I read this a while back...
PLEASE READ THIS: There are 2 instructions, ulv.q and usv.q, that perform unaligned ran transfers to/from the vfpu. These have been found to be faulty so it is not recommended to use them. You have been warned.
by jsharrad
Sun Sep 13, 2009 2:08 pm
Forum: PSP Development
Topic: a noob.
Replies: 7
Views: 868

www.cprogramming.com

Probably best to get a good book if you're really serious about learning though.
by jsharrad
Tue Sep 08, 2009 10:20 am
Forum: PSP Development
Topic: Detecting one button input each time
Replies: 14
Views: 931

huh? isn't u32 pad_ = 0x100000 just the same as doing u32 pad_ = 1048576 ?

Unless you were thinking of memory addresses ... &0x100000
by jsharrad
Sat Sep 05, 2009 9:31 am
Forum: PSP Development
Topic: [pspgu] help with index-list
Replies: 8
Views: 799

check out samples/gu/common/gemoetry.c /.h
by jsharrad
Fri Sep 04, 2009 10:28 pm
Forum: PSP Development
Topic: [pspgu] help with index-list
Replies: 8
Views: 799

Look at the gu samples that came with the sdk
by jsharrad
Thu Sep 03, 2009 2:02 pm
Forum: PSP Development
Topic: Porting Blender3D Game Engine
Replies: 2
Views: 673

I'd like to see that happen with 24mb of ram.
by jsharrad
Tue Sep 01, 2009 9:23 am
Forum: PSP Development
Topic: Speed up developement process!
Replies: 2
Views: 491

Use psplinkusb, it's in the svn and downloaded & built by the toolchain script.
by jsharrad
Fri Aug 28, 2009 1:54 am
Forum: PSP Development
Topic: SDL linking cannot find definition of Unlock Surface
Replies: 7
Views: 601

It's case sensitive ... SDL_UnlockSurface
by jsharrad
Thu Aug 20, 2009 1:57 am
Forum: PSP Development
Topic: how to close hardware flipping and draw my model ?
Replies: 4
Views: 495

You can't. Use smaller triangles.
by jsharrad
Sun Aug 16, 2009 8:56 am
Forum: PSP Development
Topic: 2D on 3D
Replies: 3
Views: 505

look at the ortho sample
by jsharrad
Thu Aug 13, 2009 3:41 am
Forum: PSP Development
Topic: The equivalent to glRotatef or how to convert to Gum.
Replies: 6
Views: 624

sceGumRotateX()
sceGumRotateY()
sceGumRotateZ()

Takes an angle argument in radians

sceGumRotateZYX()
sceGumRotateXYZ()

Takes a pointer to a vector containing the angles in radians
by jsharrad
Sat Jul 11, 2009 3:50 am
Forum: PSP Development
Topic: Models-Animations
Replies: 13
Views: 1643

If you want keyframed animation, use something like md2:
http://tfc.duke.free.fr/old/models/md2.htm

Or if you are using skeletal animations there's a skinning example in the sdk samples.
by jsharrad
Thu Jun 25, 2009 4:07 pm
Forum: PSP Development
Topic: Porting Homeworld from PC to PSP...help :)
Replies: 16
Views: 1716

PC is big endian? What now? :P

Maybe PowerPC. :)
by jsharrad
Sat Jun 20, 2009 4:18 am
Forum: PSP Development
Topic: CSO Wont Work on 5.00m33-6
Replies: 10
Views: 1243

Who cares. This is a development board... unless we do ISO support now too?
by jsharrad
Wed Jun 10, 2009 5:33 pm
Forum: PSP Development
Topic: Bochs for PSP compiles
Replies: 10
Views: 2313

Only time I ever see it is when I run out of memory.
by jsharrad
Sat Jun 06, 2009 4:19 am
Forum: PSP Development
Topic: Writing text to files - fixed
Replies: 17
Views: 1607

Your pc doesn't reboot every time a program ends, it needs to do some cleanup... the PSP does. If you want a "clean" exit, you have to code it yourself.
by jsharrad
Thu May 07, 2009 3:11 am
Forum: PSP Development
Topic: sceGuGetMemory oposite
Replies: 2
Views: 475

There isn't one because it's not needed. It uses the already allocated display list memory.