forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Render to highres texture problem [solved]

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Raphael



Joined: 17 Jan 2006
Posts: 646
Location: Germany

PostPosted: Sat Jul 15, 2006 8:03 am    Post subject: Render to highres texture problem [solved] Reply with quote

Hi guys, hope someone can give me a hint what's wrong with my render to texture.
What I want to do, is render a scene to a 512x512 offscreen texture, then render that texture scaled to screen. However, when I try that, it seems the rendering is scissored to the screen buffer size, which ends up looking like this:


I already tried setting sceGuScissor, completely disabling it and also tried setting sceGuOffset and sceGuViewport according, but it doesn't make any difference it seems.
Everything works fine if I use a 256x256 texture and also everything up to 480x272. Everything above just gets clipped away. Is there anything I miss?


SOLUTION: Setup the displaybuffer to 512x512 resolution (though it need not really be 512 pixels high). Rather stupid solution, but that's how it works.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group