Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: dynamic tmd Q Date: Mon, 08 Jun 1998 10:16:50 +0100 Organization: Sony Computer Entertainment Europe Lines: 25 Message-ID: <357BAC02.3014D113@scee.sony.co.uk> References: <3579597C.25E5@livemedia.co.uk> NNTP-Posting-Host: camfw01.millennium.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) Charlie wrote: > > Is is possible to have a single TMD containing no textured polygons (ie > only flat shaded etc), with both solid and transparent polys in it. > Setting the attribute=(1 << 30) to turn transpareny on seems to make the > whole TMD transparent. Yes and no. Each component of a TMD (called a primitive) describes a type of polygon and this description contains a bit which turns semi-transparency on or off. For textured polys there is additional space for a byte which describes the semi-transparency rate, but for non textured polys you are stuck with the current semitransparency rate (which is usually 0 (50% back + 50% poly)). It is technically possible to change the current semi-transparency rate, but Yaroze members don't have access to this low level functionality. One solution is to have a transparent textured quad which point to an all-grey 'dummy' TIM (which only has to be 4x4 pixels at most). This will create the desired effect, but it's a bit of a hack. Cheers, James