Path: chuka.playstation.co.uk!news From: Phil Gooch Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: BG Problem [or Copy/Paste problem?) TANVIR KHAN read Date: Thu, 10 Sep 1998 11:58:41 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 34 Message-ID: <35F7B0E1.2D0D1E31@easynet.co.uk> References: <35f2c780.17013678@news.playstation.co.uk> <35F709DF.6ED6@manc.u-net.com> NNTP-Posting-Host: 193.131.140.246 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) James Shaughnessy wrote: > Khan wrote: > >I am trusting everyone and putting my full code below. > > > Your program looks like you've took someones 3D code and just cut and > paste my BgView code here and there in it and expect it to work. > Try learning EXACTLY what each function does and what each variable is > for in LOTS of SMALL programs -- that's how you learn it all Tanvir. > Read aloud: "THERE ARE NO SHORT-CUTS TO LEARNING C PROPERLY", > otherwise you'll ALWAYS be blindly plagiarising other peoples stuff. > Go easy on the capitals Jim! The 3D code is from Peter Passmore's and Robert Swan's 3D tutorial stuff. Tanvir, I think you should acknowledge this before claiming the code as yours. Anyway, you really need to understand how the code works. Why don't you sign up to one of the Yaroze short courses? I think there's another one in a couple of weeks. You'll learn a lot from it. Otherwise, there's code for a really basic 3D object viewer available from the Sony site - it's called 'shortest.c' and it cuts it all right down to the bone. Start from there and gradually work up to the other stuff. If you can't find it I can email it to you. Phil