This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Silly 3d question(s)


Silly 3d question(s)

Postby refractor » Feb 13, 2002 @ 9:21am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby Phantom » Feb 13, 2002 @ 11:33am

There is a better method for software rendering. It's called 's-buffering', it's invented by Paul Nettle, and it simulates z-buffering, at a lower cost, especially when you're working with relatively few polygons. It will be a disaster for meshes with 5000+ polygons, but it rules for meshes with a couple of huge polygons. You can mix it with z-buffering by adding 'z-buffer write' to the polygon rasterizers; the depth test is done by the s-buffer, but the depth per pixel is stored (without any 'if' statements) by the rasterizer (wich is comparably cheap). You can then use real z-buffering for smaller polygons (wich is faster for those). This is more or less what Quake 1 did: Perfect sorting on large scene polygons (with z-buffer writes) and z-buffer sorting on small actor polygons (with z-buffer read and writes). Quake1 didn't use s-buffers though; it used a BSP tree to get perfect sorting of the scenery polygons.

Here's a link to the s-buffer FAQ:
http://www.gamedev.net/reference/articl ... cle668.asp

Enjoy.
- Jacco.
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Postby refractor » Feb 13, 2002 @ 1:03pm

Hi.

I'll take a look at s-buffering and writing to a scan-line based z-buffer.

I'm sure I'll have more questions later, thanks for your time. :D

Cheers,

Refractor.
User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum