Why is zbuffering slow?
is zbuffering slow because it''s time consuming to calculate the zvalue of each pixel, or because your drawing lots of polygons that you won''t see anyway?
Example:
If I draw 1000 polys randomly without sorting, and then I draw 1000 polys with zbuffering. Will there be a small or large time difference?
Thanks,
wolfman8k
You''ll have a serious mess of polygons that do not occlude eachother properly with regard to depth - that''s what the z-buffer is for.
Give me one more medicated peaceful moment.
~ (V)^|) |<é!t|-| ~
ERROR: Your beta-version of Life1.0 has expired. Please upgrade to the full version. All important social functions will be disabled from now on.
Give me one more medicated peaceful moment.
~ (V)^|) |<é!t|-| ~
ERROR: Your beta-version of Life1.0 has expired. Please upgrade to the full version. All important social functions will be disabled from now on.
With hardware, z-buffering is a minor speed hit. The main performance area is reading/writing to the z-buffer. The calculations of z for each pixel is probably done by the hardware whether or not it''s enabled or disabled.
You can improve hardware z-buffer performance by trying to render front to back (reduces writes to the z-buffer.)
You can improve hardware z-buffer performance by trying to render front to back (reduces writes to the z-buffer.)
Check out :
http://www.beyond3d.com
http://kyro.st.com
http://www.powervr.com
to see why current boards architectures sucks.
Yes you''re writing and texturing and shading MANY pols that you WON''T see.
There are some tricks to handle this bad hardware design, one of them is to do front to back sorting, as stated above.
-* So many things to do, so little time to spend. *-
http://www.beyond3d.com
http://kyro.st.com
http://www.powervr.com
to see why current boards architectures sucks.
Yes you''re writing and texturing and shading MANY pols that you WON''T see.
There are some tricks to handle this bad hardware design, one of them is to do front to back sorting, as stated above.
-* So many things to do, so little time to spend. *-
So:
If I draw 1000 polys randomly without sorting, and then I draw 1000 polys with zbuffering. Will there be a small or large time difference?
I know the output will be different. I want to know if zbuffering will be a lot slower or just a little slower.
Thanks,
wolfman8k
If I draw 1000 polys randomly without sorting, and then I draw 1000 polys with zbuffering. Will there be a small or large time difference?
I know the output will be different. I want to know if zbuffering will be a lot slower or just a little slower.
Thanks,
wolfman8k
Well if you use hardware z-buffering, there will be little difference , so don''t worry about your FPS.
OoOoOoOoOoOoOoOoOoOoOoO
oO LeGroove Oo
OoOoOoOoOoOoOoOoOoOoOoO
OoOoOoOoOoOoOoOoOoOoOoO
oO LeGroove Oo
OoOoOoOoOoOoOoOoOoOoOoO
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement