Crystal Space
Welcome, Guest. Please login or register.
July 31, 2014, 06:51:58 am

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8262 Members
Latest Member: Emilymoore
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  What is the different between 'zfill' and 'zuse'?
« previous next »
Pages: [1] Print
Author Topic: What is the different between 'zfill' and 'zuse'?  (Read 1645 times)
Jr. Member
**
Posts: 81


View Profile Email
« on: November 26, 2007, 08:50:17 am »

  Hi, I am new in CS.
  In the user manual, there are a few explanation of 'zfill' and 'zuse'. I still don't understand much about what is the different between 'zfill' and 'zuse'! Can you give me some information about them?
  Thank you very much!
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: November 26, 2007, 08:53:33 am »

zuse is what is considered normal. It means that when a triangle is rendered on screen the z-buffer will be checked (to avoid pixels of the triangle that are behind other triangles to be rendered) and also when the triangle pixel is rendered the z-buffer will be updated so that future triangles will not render unless they are in front of this one.


With zfill the z-buffer is only filled and not read. That means that a triangle that uses zfill will always overwrite all other triangles that are already at that spot.

Greetings,
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 6.321 seconds with 17 queries.