Path: chuka.playstation.co.uk!scea!129 From: jamin1@psu.edu (Jamin Frederick) Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: trueSpace 3 and RSD Date: Mon, 29 Jun 1998 03:58:34 GMT Organization: SCEA News Server Lines: 90 Message-ID: <6n734t$4at2@scea> References: <35595748.96D3D2A1@ulst.ac.uk> <6n0ndb$3h51@scea> <01bda143$0ddfe660$026f6f6f@two> <6n3e6h$3sd1@scea> NNTP-Posting-Host: 98M0022.dorm.gmu.edu X-Newsreader: News Xpress 2.01 I got it. Modelers save models according to where they are in the modeler world, and will create a "center" at the models' center of mass/pivot point, while the origin in the RSD file will be the origin of the modeler world. So to find out offsets, just translate all the objects the amount the parent object needs to be translated to the origin (0,0,0) in the RSD, and record the coordinates of each child object. Then translate the child objects (that aren't at (0,0,0)) to (0,0,0), and then when you run the game, translate the child objects back to where they were, as you recorded them. Jamin In article <6n3e6h$3sd1@scea>, jamin1@psu.edu (Jamin Frederick) wrote: >But the thing I need to figure out is *how far* to offset those thrusters, and >it depends on how the object is saved in Truespace (or other modelers). > >The setup looks like this in Truespace (side view): > > body thrusters > gun > >The displacements are separate in the world, but I don't think this matters >when I save the object, in other words, I think if the objects are not in a >hierarchy (and they're not), the objects are saved with respect to their own >coordinate system. Now I don't know why when I look at the .rsd file of each >one that the center is nonzero, so I set the center to (0,0,0) with rsdform >and the object seems to rotate fine. > >In Truespace you *can* make a hierarchy, but the question is, when I save the >rsd file as one big file (the whole hierarchy), will there be separate >objects within the rsd with appropriate displacements? > >I don't really care how its done, I just want to know how to "get at" the >translation amounts without doing it by hand each time (i.e., "eye up" the >thrusters to the body with manual testing on the yaroze). > >I'll look into it some more... > > > >Jamin > > >In article <01bda143$0ddfe660$026f6f6f@two>, "Peter Dollochan" > wrote: >>Hi Jamin, >>I think you can use Rsdform to offset the thrusters from 0,0,0 >>then rsdcat to stick it all in the same rsd file. >>but I could be wrong :) >>Or specify the offset in your code when you build the hierarchy >> >>Pete. >> >>Jamin Frederick wrote in article <6n0ndb$3h51@scea>... >>> >>> If you're saving objects with respect to one another in space within >>truespace >>> 3d, how do you reproduce that on the playstation? For instance, I have a >> >>> plane body, with thrusters offset from it. How can I save the separate >>> objects, and then specify the offset later on? It seems that truespace >>> automatically centers everything?? >>> >>> >>> Jamin >>> >>> In article <35595748.96D3D2A1@ulst.ac.uk>, Stephen Ewart >> >>> wrote: >>> >Thought everyone would like to know. >>> > >>> >Just got trueSpace 3 (see http://www.caligari.com) and it has save file >>> >as *.RSD format >>> >as standard. >>> >PC Review gave away trueSpace/SE away last month and had an upgrade >>> >offer to version 3 for 279 quid - all in. Cheaper than any other offer >>> >out there. >>> >If you didn't see PC Review last month then I think PC Plus will be >>> >doing the >>> >same thing next month. >>> > >>> >Only tried it briefly and it works fine. Don't know if handles textures >>> >though. >>> >Might still next RSDTool!. >>> > >>> > >>> >Cheers .. Steve >>> > >>>