embed materials

Software: Away3D 4.x

Avatar
maddog, Sr. Member
Posted: 16 October 2011 01:34 PM   Total Posts: 118

thanks for all the hard work on away4

I can’t seem to get embedded images to apply to plains or loaded models unless the image I embed is proportional such as 512w 512h. If they have a different height or width the material is not added to object, or scene fails to load. I have included a image I tried to use as a material that will not load as a material because of it’s dimensions.

thanks for any help.

 

   

Alex Bogartz, Sr. Member
Posted: 16 October 2011 03:33 PM   Total Posts: 216   [ # 1 ]

Textures need to be a power of two, so 128x128, 128x256, 256x256, etc.

I’m pretty sure, anyway.

   

Richard Olsson, Administrator
Posted: 16 October 2011 06:26 PM   Total Posts: 1192   [ # 2 ]

The Stage3D API requires the width and height of textures to be a power of two. Depending on whether mipmapping is enabled textures might also have to be square.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X