[Papervision3D] bitmap warping when cube spins
Rex Kilian
rexkilian at gmail.com
Thu Jun 25 05:16:17 PDT 2009
My project experienced the same issue, it also happens when a material on a
plane (i.e. a wall) is viewed from an angle.
We found two solutions that met our needs but may not work in every
situation:
1. make a material that contains a pattern that seems random instead of
structured (avoid horizontal and vertical lines)
2. increase the number of triangles that make up the plane, or in your case
the cube
Number 2 could cause a performance hit depending on the complexity of what
is being rendered.
I'm also curious to see what other responses there are to this question.
On Thu, Jun 25, 2009 at 8:01 AM, Ross Hulford <ross at welovethedesign.com>wrote:
> Hi I am rotating my cube and the material warps quite badly, I am using a
> fairly standard setup (camera, render engine)
>
> Is there anything I can do to improve the quality?
>
> viewport = new Viewport3D(550, 400, false, true);
> addChild(viewport);
>
> //instantiates a Scene3D instance
> scene = new Scene3D();
>
> //instantiates a Camera3D instance
> camera = new Camera3D();
>
> //renderer draws the scene to the stage
> renderer = new BasicRenderEngine();
>
> function onEnterFrame(e:Event):void
> {
> collada.rotationY += 1.5
>
> renderer.renderScene(scene, camera,
> viewport);
> }
>
> _______________________________________________
> 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/20090625/03f10aa5/attachment-0001.html>
More information about the Papervision3D
mailing list