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 

Rendering to a texture

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



Joined: 24 Oct 2006
Posts: 14

PostPosted: Tue Nov 07, 2006 9:14 am    Post subject: Rendering to a texture Reply with quote

I am having a lot of trouble rendering to a texture. I create the memory for the texture and use sceGuDrawBufferList, but nothing gets drawn to it (not even cleared out with sceGuClear) yet when I use sceGuDrawBufferList to draw back to my frame buffer, I can render the rest of the scene just fine. I guess my question is, is there anything special that I have to do to get sceGuDrawBufferList to actually let me render to a texture?

Thanks a lot!

- dega
Back to top
View user's profile Send private message AIM Address
Raphael



Joined: 17 Jan 2006
Posts: 646
Location: Germany

PostPosted: Wed Nov 08, 2006 4:05 am    Post subject: Reply with quote

As on PC, the GU can only render to VRAM (though on PC you don't see it that clearly, because DX/OGL does the texture management). I suppose you are trying to render to a texture in system RAM, which is not possible.
_________________
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
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