Tuesday, March 02, 2010
Progress Report with Picture!
in 3D Portal Rendering
I’ve finnaly made everything work more or less in the portalrendering system. It now works like this: I start in the sector where my camera is, then i do a cull-check to remove objects in the sector which i can’t se. Then i cull-check the portals connected to the sector, and then recursivly render each sector and cull the objects in them with planes I’ve created with my camera pos and the vertex positions of the current portal. In the above picture you can see to the left is normal nebula rendering, whilst on the right picture, i have created a sector around each humanmesh, and i have connected a simple portal between the first and the second one, and it renders both! It’s not perfect yet, the things I’ve found so far that is wrong is that if the bounding box of the object i am culling is so big that none of the corners of the bounding box is visible through the portal, it wont render. and something is wrong with the lighting of the objects.(left picture they have blue light aswell as white).

















