Path: chuka.playstation.co.uk!news From: "Harvey.C" Newsgroups: scee.yaroze.programming.3d_graphics Subject: Viewport clipping - dear god no! Date: Tue, 24 Nov 1998 21:57:19 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 20 Message-ID: <365B2BBF.91A@mdx.ac.uk> Reply-To: hc054@mdx.ac.uk NNTP-Posting-Host: dialup-98-46.barrysworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.04Gold (Win95; I) Hi again. I wish I had some easy questions, but I don't. My 3d car racing game is going okay at the moment, but in order to stick more objects in the scene I need to find a quick way to clip objects to the current view. I.e. find out which objects are visible and draw them. Does anyone have a solution to this? I am currently using a variation of a simple bounding box test where you find out what objects lie within a square around the player. This is obviously not a good idea! I'd also like to mention that I have developed a rather fast function that detects whether two lines have intersected - extremely handy for 2d and 3d collision detection. I will put this up on my website during the weekend. -- Regards | E-mail: hc054@mdx.ac.uk Harvey | ICQ: 4269478 http://www.netyaroze-europe.com/~harveyc/