Path: chuka.playstation.co.uk!news From: richard.cutting@virgin.net (Richard Cutting) Newsgroups: scee.yaroze.beginners Subject: Plotting 2D Boxes in a 3D World Date: Thu, 14 May 1998 00:49:20 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 10 Message-ID: <355a3dc2.2999054@news.playstation.co.uk> NNTP-Posting-Host: p11-nothura-gui.tch.virgin.net X-Newsreader: Forte Free Agent 1.11/32.235 I'm writing a 3d shoot em up game and I want the background to be a pretty backdrop of stars. I've coded the stars as 1 * 1 rectangles which get bunged into the OT using GsSortBoxFill. They are being displayed but what is happening is that they are all appearing in a small box in the lower right hand corner of the screen. I am assigning each star random co-ordinates using something like x = rand()%320, y = rand()%256. I know that I have to do something to the co-ordinates to map them into 3d space ( i.e the whole screen ) but I cannot determine what. Can anyone help please !!!