[Papervision3D] bitmap warping when cube spins
Andy Zupko
azupko at zupko.info
Thu Jun 25 05:47:00 PDT 2009
material.precise = true;
you can set the precision parameter in the constructor of all
bitmapmaterials (bitmap, movie, etc). This will dynamically tesselate
the faces based on perspective so that it doesn't skew.
hth
-andy
On Jun 25, 2009, at 7:34 AM, Ross Hulford wrote:
> Number 1 will not work for me as the material is a cd cover with a
> front and back with images and text.
>
> Number 2 may work, will try and let you know how I get on.
>
>
> Thanks,
>
> R.
>
> On 25 Jun 2009, at 13:16, Rex Kilian wrote:
>
>> 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
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
> _______________________________________________
> 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/a9733ca4/attachment.html>
More information about the Papervision3D
mailing list