0.42 View Culling

BlitzMax Forums/MiniB3D Module/0.42 View Culling

simonh(Posted 2007) [#1]
Just found out that V0.42's view culling is broken, so everything gets rendered every frame. To fix this, on line 265 of TGlobal.bmx, remove:
True;



ima747(Posted 2007) [#2]
256 for me is

For Local mesh:TMesh=EachIn TEntity.entity_list

265 is

Local inview=True;cam.EntityInFrustum(mesh)

I assume that's where we should take the true out


simonh(Posted 2007) [#3]
Yes, that's why I said 265 :)


ima747(Posted 2007) [#4]
lysdexia for cure found! time to pay attention.