[Papervision3D] Low fps with selective rendering

Junio Gonçalves Vitorino jgvitorino at gmail.com
Sat Apr 18 07:24:27 PDT 2009


Man, this is very strange, both samples are with an low performance, this's
a quite simple example, wasn't to get this performance at all. I believe
than you should check your source code, or show us for we analyze what wrong
is happening.

On Fri, Apr 17, 2009 at 5:49 PM, Kenchi <m4r4don4 at gmail.com> wrote:

>
> I've implemented the selective rendering on my project, following this
> tutorial  http://pv3d.org/2009/03/30/renderlayers-selective-rendering/
> http://pv3d.org/2009/03/30/renderlayers-selective-rendering/ , but after
> the
> implementation the performance went down. It went from ~18fps to ~5 with
> the
> selective rendering, as you can see for yourself, through this links:
>
> Full Rendered: http://98d64086.fb.joyent.us/fullRendered.swf
> http://98d64086.fb.joyent.us/fullRendered.swf
> Selective Rendering:  http://98d64086.fb.joyent.us/layerRendered.swf
> http://98d64086.fb.joyent.us/layerRendered.swf
>
> I create a layer for each object on the scene, dividing the layers in three
> array, so I can have the layers of each section(top, middle, bottom) in
> array of their own.
> The coverflow stops being rendered after, all the objects are positioned
> correctly on the scene, by setting the "renderCenter" variable to false;
> The
> other objects are rendered all the time, so "renderTop" and "renderBottom"
> are true;
>
> override protected function onRenderTick(event:Event = null):void
>                {
>                        //super.onRenderTick(event);
>
>                        if (renderTop)
>                                renderer.renderLayers(scene, camera,
> viewport, topLayers);
>                        if (renderCenter)
>                                renderer.renderLayers(scene, camera,
> viewport, centerLayers);
>                        if (renderBottom)
>                                renderer.renderLayers(scene, camera,
> viewport, bottomLayers);
>                }
>
> If someone have an idea of why this drop in performance may occur, I'll be
> very grateful.
>
> --
> View this message in context:
> http://www.nabble.com/Low-fps-with-selective-rendering-tp23105599p23105599.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>



-- 

Atenciosamente, Cordially

Junio Vitorino
jgvitorino at gmail.com
http://www.lamiscela.net
http://www.juniovitorino.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090418/0a4220fb/attachment.html>


More information about the Papervision3D mailing list