Path: chuka.playstation.co.uk!news From: alex@teeth.demon.co.uk (Alex Amsel) Newsgroups: scee.yaroze.programming.3d_graphics Subject: Help: GsSortObject4 & GsSortOT Date: Wed, 22 Oct 1997 15:12:51 GMT Organization: Into Beyond Lines: 45 Message-ID: <344e12ea.11334163@news.playstation.co.uk> Reply-To: alex@teeth.demon.co.uk NNTP-Posting-Host: teeth.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent .99g/32.335 Ok, I'm having a nightmare. Please, dear Sony or Jim or anyone, solve this pesky problem which is probably down to stupidity and is really obvious... I wish to render sprites into their own OT and insert those OTs into the world. Problem 1: Some docs claim GsOT.offset works and some claim it doesn't. What is the truth?! It would be 'rather' useful! Problem 2: The serious one. I'm inserting my little OT fine, and it inserts it according to GsOT.point. Presumably point should be Z >> OT_SHIFT where OT_SHIFT is your shift value for the main OT, and Z is approximately the distance from the object to the camera. In my case my main scene is rendered into the main OT with a shift value of 3. My scene goes from approx -8000 -> +8000, so I currently have an OT of length 11. This should work fine, although as I said in another posting, when things should have gone flying off the OT it didn't seem to get bothered. I have found reasonable values for GsOT.point but they seem to be 100% unrelated to the distance of the object in question from my camera (including when allowing for shifts etc.). For the record the value that works is approx 15 while the value I expect it to be is either 600 or 75 (depends if you account for shifts). Very approx figures. Either GsSortOT is getting annoyed or possibly my main rendering code is somehow squeezing Z values down far more than I want it to. Any solutions? Kinda urgent! Please reply personally as well as on here if possible. I've probably got a really silly mistake somewhere that I'm blind to. You know how it is. Regards, Alex Amsel + Tuna Technologies + Telephone & Fax +44 (0)114 221 0686 + + For all your Win95/NT/Console Game and Tool Development + + And we say, "A good programmer always blames Microsoft" + + I proclaimed "Bring back the Doog!", and so it was done +