Rasterizer

By Builderboy2005 - uploaded on 2009-1-4      1671 views (84 in the last 7 days)      12 votes (0 in the last 7 days)

Tags: simulation demo with-source 3d rasterizer

This version of the Rasterizer has been mega-commented and has a finished README for anybody who would like to use this Ratserizer

It supports objects made of either 3 or 4 sided polygons, each with their own color
Every obect has its own rotation and location
Camera movement supported
Adding and removing from the raster
Z-sorting
Efiicient rendering, renders only vissible polygons, removing the rest from the buffer


Open the scenario in Greenfoot.
Download the source for this scenario.


Your browser is ignoring the <APPLET> tag.

This scenario is a member of the following collections: Reusable actors & support classes, 3D


Report this scenario as broken or inappropriate.

Zerg writes (on 2009-1-12):

Ah, Z-buffer! This works something along the lines I thought it would. The only way that you can get the Z-buffer to work in all cases though is to force the render engine to go pixel by pixel. Greenfoot (and maybe Java) is just too slow to do that kind of math.
Too busy to make the next move, lol. Right now I am working on the networked version of Realm of Battle and a "sequel" to it, a Blender based RTS, in addition to schoolwork. Too much work! Maybe once I have some free time I will get my shaders up and working. And cool new models.

Builderboy2005 writes (on 2009-1-12):

I know what you mean, we have finals in a week and a half, so Pressure Pressure! :(

A new version of this scenario was uploaded on Fri Jun 12 21:32:05 UTC 2009

A new version of this scenario was uploaded on Sat Jun 13 03:25:22 UTC 2009

A new version of this scenario was uploaded on Sat Jun 13 04:27:08 UTC 2009

A new version of this scenario was uploaded on Sat Jun 13 04:37:23 UTC 2009

mjrb4 writes (on 2009-6-13):

Ooh very nice :-)

Builderboy2005 writes (on 2009-6-13):

I think I'm going to split the scenario in 2, so this one will remain relevant to the "Reusable Actors" Group its in.

Ninto writes (on 2009-6-14):

Very nice indeed! :]

A new version of this scenario was uploaded on Mon Jun 15 22:34:09 UTC 2009

See all comments for this scenario.



If you want to leave a comment on this scenario, you must first log in.


The Greenfoot Network:  Greenfoot.org    Greenfoot Gallery   Greenfoot-Discuss

Our sponsors:

University of Kent Deakin University Sun Microsystems