kottore / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

[Away3d Lite] BitmapMaterial on a Plane does not tile when repeat = true #98

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a Plane with a BitmapMaterial (repeat is true by default).

What is the expected output? What do you see instead?
The material should tile when then plane is larger than the material, instead 
it stretches to fit the 
plane dimensions.

What version of the product are you using? On what operating system?
Away3d Lite v 2272

Please provide any additional information below.
This thread echoes the issue: http://www.mail-archive.com/away3d-
dev@googlegroups.com/msg09593.html

The only suggested workaround is to use a pre-tiled bitmap that matches the 
plane's 
dimensions, which isn't viable due to the memory usage incurred by using large 
textures.

Original issue reported on code.google.com by jeta...@gmail.com on 26 Feb 2010 at 11:06

GoogleCodeExporter commented 8 years ago
In a simple test of drawGraphicsData() with GraphicsBitmapFill and 
GraphicsTrianglePath, repeat works as 
expected.

Original comment by jeta...@gmail.com on 27 Feb 2010 at 1:01

GoogleCodeExporter commented 8 years ago

Original comment by katopz on 27 Feb 2010 at 4:43

GoogleCodeExporter commented 8 years ago
this is unfortunately a limitation of the present lite codebase. for the 
ability to dynamically adjust the number of times a material is tiled across a 
textured surface, use the TransformBitmapMaterial material in the main engine.

Original comment by rob.bate...@gmail.com on 4 Jul 2010 at 6:20