[Papervision3D] Renderer is drawing some things only some of the time

Gil Birman gil at allflashwebsite.com
Wed Apr 1 18:27:22 PST 2009


Did you resolve this problem? I tried the webpage again and there was
no flickering but it seemed much slower than before. My was that the
MOUSE_MOVE handler was causing a render in between some math
calculations that were supposed to be synchronous (although I don't
understand how that's actually possible).

On Sun, Mar 29, 2009 at 3:39 PM, Jeremy Sachs <jeremysachs at rezmason.net> wrote:
> On Mar 29, 2009, at 4:04 PM, Gil Birman wrote:
>>
>> Nice demo. Do you render in ENTER_FRAME or via MOUSE_MOVE handler? If
>> latter I would try former.
>
>
>
> Thanks, Gil. I'm using MOUSE_MOVE, and I've just thrown in some code to help
> me try either setup. ENTER_FRAME triggers singleFrame() repeatedly, of
> course, so the period of time when the underwater terrain isn't drawn is
> reduced to one frame. Though that helps in some ways, the problem is still
> there. Also, the triangles-flicker-when-I-rotate-the-map problem is still
> there.
>
> Another idea that works similarly to yours is to call singleRender() an
> extra time whenever the heightmap is remade. Hides the problem from the
> user, :-D, but if I don't actually solve the problem it'll eventually come
> back and haunt me.
>
> I'm beginning to suspect my meshwork in the heightmap class. For some
> reason, the entire heightmap disappears if I neglect to addChild() either
> mesh to the parent DOD3D, which suggests that something nuts is going on.
> Stay tuned.
>
> -Jeremy S.
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>



More information about the Papervision3D mailing list