Path: chuka.playstation.co.uk!news From: "Max" Newsgroups: scee.yaroze.freetalk.english Subject: Re: How to stretch a sprite? Date: Tue, 4 Sep 2001 13:11:20 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 34 Message-ID: <9n2gjv$7dl6@www.netyaroze-europe.com> References: <01c131ab$9b9841e0$8409e4d5@pal-s-omnibook> <9mmunt$ijv7@www.netyaroze-europe.com> <01c13302$6b125800$0f2e1bd4@pal-s-omnibook> <9mumh6$s3h3@www.netyaroze-europe.com> <01c134ca$da7dcc00$a81de4d5@pal-s-omnibook> NNTP-Posting-Host: modem-27.arcanine.dialup.pol.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 It'd be easy in 3D, your right enough. just set up a DTMD to move oblong away from the camera (trial and error). if you want you can make the sprite semi transparent and anything behind would show though. Look at the simple example of a DTMD on my site ~leon17, ive put it up there temporarily as later it will be included in a DTMD tutorial. Its well commented and if you have any problems understanding it, just drop me a mail. It displays a textured cube (and is much easier to understand than some of the DTMD code i've seen out there) which can be rotated + zoomed in and out. Good luck! Max pal wrote in message news:01c134ca$da7dcc00$a81de4d5@pal-s-omnibook... > This is a good idea. However, it will take sprite_height times the time to > display one sprite... which might be ok for a sw opening, but actually I > need to use the effect in-game... > Doesn't anybody think of a 3d solution? It'd just be a poly with the sprite > on it with coordinates something like: > 0,0,1 1,0,1 > 0,1,0 1,1,0 > but I have no clue how to do such a simple thing... Maybe I'll have to > learn 3d before thinking again about that. > > > Rikki Prince wrote in article > <9mumh6$s3h3@www.netyaroze-europe.com>... > > You would probably have to do it line by line, as scale down the width > > and height as each line 'goes into the screen'. >