Advertising (This ad goes away for registered users. You can Login or Register)

Search found 77 matches

by John Dupe
Fri Aug 26, 2016 2:44 pm
Forum: Programming and Security
Topic: I crashed the Vita.
Replies: 3
Views: 3448

Re: I crashed the Vita.

Turns out you can crash the vita by not aligning memory headed for the GPU. That was my problem, though I'm still curious about the whole "I messed up so bad the Vita had to shut off"
by John Dupe
Fri Aug 26, 2016 2:36 pm
Forum: Programming and Security
Topic: I crashed the Vita.
Replies: 3
Views: 3448

I crashed the Vita.

I was trying to get accelerated 3D to work, but to no avail, and I was trying to pinpoint a bug by commenting out certain parts of the code, and when I launched the app, it was a black screen that read, "An error has occurred. PS Vita will now shut down." and it had this loading bar, and when it rea...
by John Dupe
Wed Aug 24, 2016 5:28 pm
Forum: Programming and Security
Topic: How to use 3D of the GPU?
Replies: 7
Views: 5497

Re: How to use 3D of the GPU?

MrSilverstone wrote:How did you setup your view matrix?
That's part of my problem. I couldn't get the lib to work, and I'm still trying to understand 3D rendering as a whole. Aside from that, I'll give GLM a try and use the matrices from that.

EDIT: glm::lookAt() seems to work.
by John Dupe
Mon Aug 22, 2016 10:45 pm
Forum: Programming and Security
Topic: How to use 3D of the GPU?
Replies: 7
Views: 5497

Re: How to use 3D of the GPU?

I looked at the libvita2d sources and the initialisation of the lib also initialises some shaders needed by the lib. It should not be a problem, but I think that initializing the context by yourself would be a cleaner method. I tried to create a small 3d renderer : https://github.com/MrSilverstone/...
by John Dupe
Sun Aug 21, 2016 7:43 pm
Forum: Programming and Security
Topic: How to use 3D of the GPU?
Replies: 7
Views: 5497

Re: How to use 3D of the GPU?

Just look at the vita2dlib for context initialisation. Then use your own shaders an setup matrix for 3d rendering. You can use this for compiling shaders https://github.com/xyzz/vita-shaders (you will need an arm version of gcc and an arm emulator). THANK YOU!!!! So can I just call vita2d_init() an...
by John Dupe
Sun Aug 21, 2016 7:40 pm
Forum: Programming and Security
Topic: OpenGL
Replies: 1
Views: 2410

OpenGL

Is there an implementation yet? I know the Vita supports OpenGL ES 2.0, so are there any headers in the SDK? I really want to know, I have a really good 3D game idea
by John Dupe
Sun Aug 14, 2016 9:29 pm
Forum: General
Topic: Is it possible to port linux to ps vita?
Replies: 2
Views: 2169

Re: Is it possible to port linux to ps vita?

Skippywilcox wrote:Isn't the vita arm based.? I mean it's probably not impossible, maybe a version of android?
a port of the pi version could work.
by John Dupe
Sun Aug 14, 2016 9:20 pm
Forum: Programming and Security
Topic: Strange Bug in my Program
Replies: 5
Views: 4342

Re: Strange Bug in my Program

Nevermind. ySpeed is now defined as a signed int, but the problem persists.
by John Dupe
Sun Aug 14, 2016 5:31 am
Forum: Programming and Security
Topic: Strange Bug in my Program
Replies: 5
Views: 4342

Re: Strange Bug in my Program

***. I knew it was something simple, sometimes you just need a fresh pair of eyes to check over your code, eh?
by John Dupe
Sat Aug 13, 2016 8:26 pm
Forum: Programming and Security
Topic: Strange Bug in my Program
Replies: 5
Views: 4342

Re: Strange Bug in my Program

Do you mind posting the code for your collision of the top of the screen? A number of popular issues come to mind when hearing this. if((ball.y + ball.radius) > SCREEN_H) { ball.y = (SCREEN_H - ball.radius); ySpeed = -ySpeed; } ball is an object of a typdef struct called circle. ySpeed is a uint32_...

Go to advanced search