Textures dowsampled

Software: Prefab3D

lisophorm, Newbie
Posted: 23 December 2012 09:54 PM   Total Posts: 10

Hi,

Simple thing: I create a Sphere primitive. I attach to it a texture that is 2048x2048.
The texture gets automatically grossly downsampled. Or at least is what I see on screen.
I’ve noticed if I deselect “MIPMAP” the texture on the sphere looks again in high resolution. Unfortunately when I export in AWD 2 it loses my selection. If I re-import the file in prefab3d again MIPMAP is selected again :-(

What am I doing wrong? Any workarounds?

Thanks a lot

Alfonso

   

Avatar
Fabrice Closier, Administrator
Posted: 24 December 2012 12:43 AM   Total Posts: 1265   [ # 1 ]

awd2, doesn’t support materials props in its 2.0 specs.

   

lisophorm, Newbie
Posted: 24 December 2012 07:20 AM   Total Posts: 10   [ # 2 ]

For anyone interested to know, here;s aquick and dirty workaround

loader3D.addEventListener(AssetEvent.ASSET_COMPLETE, onAssetComplete);

  private function onAssetComplete(event :AssetEvent) : void {
  trace(“asset complete”+event.asset.assetType);

  if (event.asset.assetType == “mesh”) {
  var mesh : Mesh = event.asset as Mesh;
    mesh.material.lightPicker=light2Picker;
    mesh.material.mipmap=false;
 
  }
  }

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X