Jump to content

  • Log In with Google      Sign In   
  • Create Account

pabloreda

Member Since 26 Nov 2006
Offline Last Active Today, 08:33 PM

#5086755 subpixel-acurate triangle rasterization routine needed

Posted by pabloreda on 17 August 2013 - 06:44 AM

I use a routine of drawing anti-aliased polygons, the code here:
 
The antialias are doing by supersampling the raster lines, acumulate in a coverage buffer and finally render it.



#4975743 Experiment in representation of 3D objects

Posted by pabloreda on 02 September 2012 - 09:08 AM

Experiment in representation of 3D objects

Testing alternatives to the representation of 3D objects found a different way to vectors, points and voxels.
At first the idea seems too simple and restrictive, but let's see what happens.

The basic idea is to use 6 images, one for each side of the cube, and save these images point height.

The current implementation uses 3 256x256 images saved at each point (4 bytes), the minimum, maximum and there is room for two separate colors (palette).

The test did not make sense because the bitmap go to locate the points is what I'm trying to avoid but I wanted to see how it looks.
I lack the rasterization implement this structure or the intersection of a ray in order to draw solid.
I can calculate the normal using adjacent points although not sure that's a good idea.
The bitmaps are uncompressed, I want to finish the ray tracer first, maybe the search to locate the point on the screen resulting in any way to compress this point.

Any idea or help are welcome !!

all the source is open in my site.

Attached Thumbnails

  • dragonb3d.png

Attached Files




PARTNERS