Search found 8 matches

by SpaceMonkey
Sun Apr 06, 2008 8:09 pm
Forum: PSP Development
Topic: Little help with augmented reality
Replies: 13
Views: 6217

Until no one else is trying;
I am the best augmented reality programmer for the psp in the world!
by SpaceMonkey
Sun Apr 06, 2008 7:50 pm
Forum: PSP Development
Topic: Little help with augmented reality
Replies: 13
Views: 6217

I wil put my my code online somewhere, but I'm not home right now.. I use the traceColorMAX and traceColorMIN, because it isn't always red. In the beginning of the program you can aim at the color you want to trace, so maybe you want it to be green. Red just works best. But you 're right; I'm using ...
by SpaceMonkey
Sun Apr 06, 2008 5:22 am
Forum: PSP Development
Topic: Little help with augmented reality
Replies: 13
Views: 6217

Indeed edepot, that's what I'm trying to do. And now I can trace a red dot on a white peace of paper! I had to read the camera input instead of the screen (otherwise, if I start drawing on the creen I can no longer read from it.. obviously..) The important parts of the code look like this: static u3...
by SpaceMonkey
Sat Apr 05, 2008 5:44 pm
Forum: PSP Development
Topic: Little help with augmented reality
Replies: 13
Views: 6217

In my other post someone suggested this line:
Color* vram = getVramDrawBuffer();

I'v seen this before but my compiler doesn't understand the 'Color', why do you think that is?

In you'r reply you use:
framePtr += pixelRelAddr;

can I define framPtr as an unsigned int, or what would be best?
by SpaceMonkey
Sat Apr 05, 2008 5:29 pm
Forum: PSP Development
Topic: get pixel color from screen *HELP*
Replies: 3
Views: 2576

Thanks allot!

Sorry for second post, I wanted to explain where I needed it for (maybe it would make a difference in code)
by SpaceMonkey
Sat Apr 05, 2008 5:26 pm
Forum: PSP Development
Topic: Little help with augmented reality
Replies: 13
Views: 6217

Thanks, good explanation!
by SpaceMonkey
Fri Apr 04, 2008 1:14 am
Forum: PSP Development
Topic: Little help with augmented reality
Replies: 13
Views: 6217

Little help with augmented reality

I'm trying to experiment a bit with augmented reality. I got my USB cam working. The next step is to 'read' which is shown on the screen. So: Can anyone help me with getting the color of a pixel shown on the screen? Sould be pretty simple, like: color = getPixelColor( x, y); I have some experience w...
by SpaceMonkey
Thu Apr 03, 2008 6:34 am
Forum: PSP Development
Topic: get pixel color from screen *HELP*
Replies: 3
Views: 2576

get pixel color from screen *HELP*

My problem should be simple to solve, I just cant find the answer anywhere (yes, I tried the search thing..)

I would like to get the pixel color from de screen.
the perfect-world-version:
color = getPixelColor( x, y);

Can anyone help me with this?

Thanks