Path: chuka.playstation.co.uk!news From: "Rikki Prince" Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: Finding the width/height of an object Date: Mon, 5 Jul 1999 20:40:02 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 32 Message-ID: <7lr1pr$i9a2@chuka.playstation.co.uk> References: <7lm082$ko220@chuka.playstation.co.uk> NNTP-Posting-Host: th-gt143-090.pool.dircon.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 I've already mentioned this to you Ed, but for others, just in case: From in the Library Reference, GsDOBJ2 mentions that the pointer to coord2, which is of type GsCOORDINATE2, contains a MATRIX, which lets you set the position, gradient and _size_ of the object. I'm guessing that the MATRIX to use is the coord one, as in the GsDOBJ reference it says "reflected in the coordinate system pointed to". Hope that helps anyone, even Ed, in case he's already forgotten! Rikki Ed Fear wrote in message news:7lm082$ko220@chuka.playstation.co.uk... > hello! > > I'm creating a tile based map but in 3D (ie in the last part of Mr. > Passmore's tutorial). He assumed that the dimentions of his 'square' was > some number, and so each tile was placed at something like (i * tileWidth). > > But I'm making my own thingy and I need to be able to find out the > dimentions of my square/cube (I guess in pixels). So how do I do it? Is > there a member of the GsDOBJ2 or GsCOORDINATE2 thingy which tells me, or > would I find it as an output of dxf2rsd??? > > Thanks in advance, > > Ed :) > >