[Papervision3D] Procedurally generated models
Pete Hobson
pete at 99lives.co.uk
Fri Jan 5 10:24:46 EST 2007
Im not sure thats the problem...
Im using:
var cm:ColorMaterial = new ColorMaterial(col,100, {oneSide:true});
to define my material. And my vertices are listed anti-clockwise
(when facing the viewer) - i think this should be correct.
I've tried to eliminate the shared vertex idea i had by spacing the
cubes apart, and get the same results - heres a nice grab showing the
problem
http://www.freesome.com/flobs/glitch.jpg
It looks like a z-sorting problem to me (not an expert :) ) - as
though one triangle from each cube is getting incorrectly sorted...
Pete
On 5 Jan 2007, at 15:14, John Grden wrote:
> Make sure your materials are oneSided=true - that'll help
> performance and might fix that visual miscue
>
> On 1/5/07, jakelewis < jakelewis at blueyonder.co.uk> wrote:
>
> Easiest solution is to ensure that all the faces of a cube face out
> and disable double sided rendering/enable back face culling. It
> should also (more or less) double the framerate ;)
>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070105/cb85e012/attachment.htm
More information about the Papervision3D
mailing list