jPCT-AE - a 3d engine for Android > Support

Discarded geometry while rendering to texture

(1/2) > >>

zbych:
Hi.

I wanted to add bloom effect to scene, however sometimes when camera is moving, some of the objects are not rendered when I make first rendering to texture.
As you can see on this screen, the bloom effect of few buildings is rendered on the roof of closest buildings - the buildings closest to camera were discarded in first render pass. Can I do something about this?

EgonOlsen:
Maybe you are manipulating the camera directly in the touch event methods? If so, don't do it.  jPCT isn't thread safe.

zbych:
This problem has something to do with FrameBuffers's setVirtualDimensions. The buildings doesn't disappear when virtual dimension is not set, but in that case the bloom is rendered int totaly wrong place.

EgonOlsen:
Maybe the gross culling doesn't take the virtual dimensions into account...i'll look into it.

EgonOlsen:
Please try this jar: http://jpct.de/download/beta/jpct_ae.jar

Navigation

[0] Message Index

[#] Next page

Go to full version