[Papervision3D] graphics.lineStyle() rules!
Philippe Ajoux
philippe.ajoux at gmail.com
Sun Jan 14 16:50:50 EST 2007
Tim Knip wrote:
> Damn:
>
> Didn't realize calling graphics.lineStyle() with no params could speed
> up rendering that much!
>
> Edited Face3D#render and changed 'lineStyle()' to 'lineStyle( 0,
> 0xff0000, 0 )'...
> FPS drops from 30 to 7....
>
> Carlos: this is brilliant coding, ehehehe!
> Where did you learn this?
>
> Makes sense of course, in retrospect ;-)
>
> Compared a model in my own engine and in pv3d and pulled hairs all
> weekend: where the heck this performance difference comes from? I
> erased my params from lineStyle and voila!
> So: I'm in debt now: can i contribute? Did frustum culling/clipping
> and lots of matrix-math for my engine maybe the code can be of use to
> pv3d?
>
> T
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
Do frsutum culling ;)
Naw, but I did my own version of Frustum culling but it does not
integrate very well
with PV3D as it is right now. But it must be done. Clipping too I
guess.. but that's kind of slow.
More information about the Papervision3D
mailing list