Re: [xmoto-dev] Z-buffer support in xmoto |
[ Thread Index | Date Index | More lists.tuxfamily.org/xmoto-dev Archives ]
Dnia Wed, 16 May 2007, me i am naskrobal > 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. Why is this so important? Is it something with binding textures? Also could somebody tell my why in GameRenderer there is a split of geoms to m_StaticGeoms and m_DynamicGeoms? If both types are sotred in one array we need only one function for rendering blocks, so everyting is easier. I'm goming to remove this split, so please tell me if it's important. -- Janek Polak WWW: http://www.icpnet.pl/~benetnash GnuPG: 6A1E7B75 GG: 2852217 Jabber: benetnash@xxxxxxxxxxxxx ICQ: 473154175 Skype: benetnash86
Attachment:
pgpD1Da0BbK9N.pgp
Description: PGP signature
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |