Realtime Pixel-Object Culling

NDA form available at the front desk.
alidade
Posts: 5
Joined: Thu Sep 05, 2013 1:37 am

Realtime Pixel-Object Culling

Postby alidade » Fri Sep 06, 2013 11:03 pm

Hi,

In his tutorial, Mr. Bikker had an interesting suggestion of rasterizing the scene in coded colors, and using the buffer data to cast the primary rays. Does anyone use this technique? Is this suitable for real-time? My render process so far is 100% CPU- can I do this on the GPU parallel with my ray casting? In OpenGL, would I use glGetPixels() or is there a faster way? Anyone see any examples of this being done?

Thanks so much for your time!

alidade
Posts: 5
Joined: Thu Sep 05, 2013 1:37 am

Re: Realtime Pixel-Object Culling

Postby alidade » Sat Sep 07, 2013 12:55 pm

After playing around with getpixels / readpixels it looks like it hangs up the CPU way too long to get any buffer data that way.

I think I'm going to go with my own pseudo-rasterization method. I'm rendering each pixel ordered like a quadtree, to do a pixel data sharing scheme similar to the "coarse grid beam optimization" proposed by Laine. I'll try projecting the bounding spheres of each object onto the viewing plane and approximating the circle into pixel blocks of the quadtree. I'll have to store a bitfield, one bit for each bounded object for each pixel block.


Return to “Production”

Who is online

Users browsing this forum: No registered users and 0 guests