Re: [CsMain] Linking portals at runtime
Jorrit Tyberghein <[email protected]> Sun, 19 Aug 2012 07:03:08 +0200
| Newsgroups | gmane.comp.graphics.crystalspace.general |
|---|---|
| Message-ID | <CAA49VV+Ah8hoEg5=yJCPNxagu2VQa3nJTBXOCJQqaqWgmGm0Sg@mail.gmail.com> |
> 1. Z-Fighting issue with underlying (wall-) texture - Would be best if that can be handled more smoothly than just moving the portal out a bit. The "moving out fix" does not fix it for all situations because the depth buffer has a too small resolution (From what I understand, many AAA games have a 128 bit z-buffer or other techniques to avoid z-fighting by improving z-buffer resolution). That minimizes problems but can't remove z fighting completely. In fact it may even make it worse as z-fighting occurs when there are tiny differences in z interpolation across the surface of two polygons. If the z buffer has a higher precision the chance of such z fighting actually increases IMHO. > 2. Clipping issue when getting too close - It is exactly what it says: When you get too close, the portal plane is clipped away and you see the wall or w/e other object is behind it. Apparently only some have this. yes, that's a bug. > Portals need an indicator as to whether they may be traversed at all. I can imagine that portals can also be used for screens that show live camera feed from some other part of the game (like you see it a lot in Deus Ex and many other games). Obviously, the physics engine needs to know that it should not port objects that come sufficiently close to the ingame screen that is represented by that portal. This we have. There are flags to indicate that a triangle needs collision detection or not. Also for physics it is a matter of making a body that does not have a colliding plane for the portal. So this is already possible. Greetings, ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[email protected]?subject=unsubscribe