Path: chuka.playstation.co.uk!chuka.playstation.co.uk!chuka.playstation.co.uk!not-for-mail From: Lewis_Evans@Playstation.sony.com Newsgroups: scea.yaroze.programming.3d_graphics Subject: Drawing off the screen Date: 19 Feb 1998 00:13:08 -0000 Organization: Sony Computer Entertainment Europe - 119.SS5 Lines: 44 Sender: news@chuka.playstation.co.uk Message-ID: <6cftek$j891@emeka.playstation.co.uk> Reply-To: Lewis_Evans@Playstation.sony.com NNTP-Posting-Host: emeka.playstation.co.uk From: Lewis_Evans@Playstation.sony.com To: news@playstation.co.uk Two demos: SCEE demo 'offscr', and the game 'Between The Eyes' (available from my homepage, ~lewis_e). Both use DrawProcesses, which are just structures for holding data about the off-screen drawing; the crucial things are to change GsDRAWENV.clip and .ofs; the .clip RECT should be set to where you draw offscreen (eg in your case, 760, 256, w, h) and the ofs should be set to the top-left corner of that area (ie 760, 256) Off-screen drawing very useful for dynamic textures, mirroring, and other nice things Lewis To: Lewis Evans cc: From: news @ playstation.co.uk Subject: Drawing off the screen:scea.yaroze.programming.3d_graphics From: Manny Najera Newsgroups: scea.yaroze.programming.3d_graphics Subject: Drawing off the screen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I need to know how to draw off of the regular screen. I've looked at the SCEE demo on the subject, but I could only figure out a little bit of it. Every frame, I want to draw to 760x256. So, I use PutDrawEnv to change the DRAWENV variable. The only thing I don't understand is the ofs property of the DRAWENV. If I want to draw to the same space every time, should these just be zero? Manny Najera