Re: [xmoto-dev] Z-buffer support in xmoto |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/xmoto-dev Archives
]
- To: xmoto-dev@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [xmoto-dev] Z-buffer support in xmoto
- From: "me i am" <e.gorse@xxxxxxxxx>
- Date: Wed, 16 May 2007 17:10:48 +0200
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OyjRlVdQkGTWncI6EBcvx71AQkoEoVcFmHte9v1nMdlczuRWPkiUfyt2YOMHh5MkvN7J883ffaGRNvXfkw/kGHYdpMWp9UK1KadXIJIOvdXsxYBOfVKL/VjuzYFLy1eM9byHYpRH/0eRWsBWKwzzoKRFDunm2LPc74nHI5vpOwo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lsG+0gQyaZ+HIIcaeqMYuQsgGoW9yfBnItwuIxR386bhd3jrgpoCMQYd4c1HIfr0Sn2BVUf6dhqeKH64+WMH3zcvSR8OczIoAxbj306/bYznHk5RZaNRFJ647bT16xYyXg+zX+XzatRdCKtj2vGLA4sz0dNwYnLdOnQY2ZUf2lM=
On 5/16/07, Janek Polak <benetnash@xxxxxxxxxxxxxx> wrote:
- create one vector of z-sorted objects. To draw frame renderer would
have to scan this vector from start to end and choose objects which
fit on screen. Also that objects can be cached to speed up rendering
further frames.
don't forget to sort blocks with same z on their texture.