Hey, I had the same problem for couple of hours. I tested out different dimensions. Then I remembered the Ogre3D c++ engine where it was inefficient to create non-power of 2 textures because it was going to resize your texture to fit a power of 2 texture.
So the solution is to use power of 2 textures like 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 etc. This is because most videocards don't support non-power of 2 textures. So you can create 128 * 256 textures. If both sides are power 2. Frank On 14 mrt, 18:29, Yann Rayon <[email protected]> wrote: > Am I doing something wrong ? or did someone else experience the same > troubles ? > > I can't use any BitmapMaterial in broomstick, with flex/flashdevelop , > or with FLash CS5 IDE. > > Here is an extract of the code. > > [Embed(source="../embeds/equi_litoral.jpg")] > private var Equi:Class; > > private var universeMaterial:BitmapMaterial > private var universe:Sphere; > > in the init function : > > universeMaterial = new BitmapMaterial(new Equi().bitmapData); > universe = new Sphere(universeMaterial, 200,25,24) > > I have no error shown, but the scene is blank in the flashplayer, and > no stats are displayed in the awayStat object. > When I turn the BitmapMaterial into a ColorMaterial, it works. > > Any ideas ? > Thanks in advance. > > Yann
