Away3D Forum 0 Copyright (c) 2017 ExpressionEngine tag:away3d.com,2017:10:31 3d modeling company tag:away3d.com,2016:forum/viewthread/.6043 2016-03-07T14:24:21Z 0 Nikolas32 Hi,

Looking for outsource 3D rendering company.
Who do you use for outsourcing 3D rendering?
Who do you recommend?

Thanks everyone for your recommendation wink

]]>
How to output to render unicode 2d vector font ? (HAXE) tag:away3d.com,2017:forum/viewthread/.6246 2017-06-14T21:29:05Z 0 Vacuum bulb slave How to output to render unicode 2d vector font ? (HAXE)

]]>
Virtual Joystick/Knob on Mobile Devices tag:away3d.com,2015:forum/viewthread/.6008 2015-12-30T03:14:44Z 2015-12-30T03:16:18Z rustyk Hi,

I was wondering if this has been requested or brought up yet before. I got to build a demo with Air Mobile, but I’m looking for some decent movement controls to complete it. The only available touch input I’m getting is the camera movement.

Are there plans to add touch support, particularly virtual joystick or knob like this one?

http://johnstejskal.com/wp/virtual-joystick-for-mobile-games-using-as3/

Can I use that to incorporate into my 3d scene? I can’t get that example to work in the first place and I’m using FlashDevelop.

Sorry, I just got back to flash development again and this was a long time ago so I don’t know where to start again with AS and FLA.

I would appreciate any help.

]]>
RaycastPicker:getSceneCollision doesn’t work tag:away3d.com,2012:forum/viewthread/.3056 2012-08-16T13:21:39Z 2012-08-16T13:21:01Z rembrant Hellow! I try to find collision from my camera to scene with RaycastPicker:getSceneCollision, for example:

var picker:RaycastPicker = new RaycastPicker(false//or true, insignificantly
var VO:PickingCollisionVO picker.getSceneCollision(new Vector3D(_view.camera.x_view.camera.y_view.camera.z), new Vector3D(_view.camera.x, -1_view.camera.z), _view.scene);
trace(VO); 

_view is my View3D
But getSceneCollision returns null at any values of parameters “position” and “direction”
Please, help me to find my mistake.

]]>
MovieClip Material tag:away3d.com,2016:forum/viewthread/.6016 2016-01-19T12:48:18Z 0 sadmonster Hi, gyus. Here is a animated material for away 4. May be somebody would need it. Or maybe you can improve performance of code, let me know.

package core 
{
 import flash
.display.MovieClip;
 
import away3d.materials.TextureMaterial;
 
import flash.display3D.textures.Texture;
 
import flash.display.BitmapData;
 
import away3d.utils.Cast;
 
import flash.events.Event;
 
import flash.filters.BitmapFilter;
 
import away3d.textures.BitmapTexture;
 
import flash.display.Bitmap;
 
import away3d.tools.utils.TextureUtils;
 
import flash.geom.Matrix;
 
 public class 
AnimMaterial extends TextureMaterial
 {
  
private var isPlay:Boolean true;

  public function 
AnimMaterial(animationArg:MovieClip
  

   
var totFrames:int animationArg.totalFrames;
   var 
textures:Vector.<BitmapTexture> = new Vector.<BitmapTexture>();
   
   for(var 
i:int 0totFramesi++)
   
{
    alphaThreshold 
.5;
    
    
animationArg.gotoAndStop(i);
    
    var 
textureData:BitmapData = new BitmapData(256,256,true,.5);
    
textureData Cast.bitmapData(animationArg);
        
    var 
tempTex:BitmapTexture Cast.bitmapTexture(resizeBitmapData(textureData,512,512));
    
    
textures.push(tempTex);
   
}
   
   animationArg
.addEventListener(Event.ENTER_FRAMEupdateMaterial);
   
   var 
cnt:int 0;
   
   function 
updateMaterial(event:Event) :void
   {
     
if(cnt textures.length 1cnt++;
     else 
cnt 0;
     
texture textures[cnt];
   
}
  }
  
  
private function resizeBitmapData(bmData:BitmapDatabmdWidth:NumberbmdHeight:Number):BitmapData 
  {
    
var mat:Matrix = new Matrix();
    
mat.scale(bmdHeight/bmData.widthbmdHeight/bmData.height);
    var 
bmd:BitmapData = new BitmapData(bmdWidthbmdHeight,true,.5);
    
bmd.draw(bmDatamatnullnullnulltrue);
    return 
bmd;
  
}
  
  
public function stop() :void
  {
   isPlay 
false;
  
}
  
  
public function play() :void
  {
   isPlay 
true;
  
}
 }
 
]]>
MovieClip Material tag:away3d.com,2016:forum/viewthread/.6015 2016-01-19T12:48:00Z 0 sadmonster Hi, gyus. Here is a animated material for away 4. May be somebody would need it. Or maybe you can improve performance of code, let me know.

package core 
{
 import flash
.display.MovieClip;
 
import away3d.materials.TextureMaterial;
 
import flash.display3D.textures.Texture;
 
import flash.display.BitmapData;
 
import away3d.utils.Cast;
 
import flash.events.Event;
 
import flash.filters.BitmapFilter;
 
import away3d.textures.BitmapTexture;
 
import flash.display.Bitmap;
 
import away3d.tools.utils.TextureUtils;
 
import flash.geom.Matrix;
 
 public class 
AnimMaterial extends TextureMaterial
 {
  
private var isPlay:Boolean true;

  public function 
AnimMaterial(animationArg:MovieClip
  

   
var totFrames:int animationArg.totalFrames;
   var 
textures:Vector.<BitmapTexture> = new Vector.<BitmapTexture>();
   
   for(var 
i:int 0totFramesi++)
   
{
    alphaThreshold 
.5;
    
    
animationArg.gotoAndStop(i);
    
    var 
textureData:BitmapData = new BitmapData(256,256,true,.5);
    
textureData Cast.bitmapData(animationArg);
        
    var 
tempTex:BitmapTexture Cast.bitmapTexture(resizeBitmapData(textureData,512,512));
    
    
textures.push(tempTex);
   
}
   
   animationArg
.addEventListener(Event.ENTER_FRAMEupdateMaterial);
   
   var 
cnt:int 0;
   
   function 
updateMaterial(event:Event) :void
   {
     
if(cnt textures.length 1cnt++;
     else 
cnt 0;
     
texture textures[cnt];
   
}
  }
  
  
private function resizeBitmapData(bmData:BitmapDatabmdWidth:NumberbmdHeight:Number):BitmapData 
  {
    
var mat:Matrix = new Matrix();
    
mat.scale(bmdHeight/bmData.widthbmdHeight/bmData.height);
    var 
bmd:BitmapData = new BitmapData(bmdWidthbmdHeight,true,.5);
    
bmd.draw(bmDatamatnullnullnulltrue);
    return 
bmd;
  
}
  
  
public function stop() :void
  {
   isPlay 
false;
  
}
  
  
public function play() :void
  {
   isPlay 
true;
  
}
 }
 
]]>
Anti-aliasing is really needed on mobile tag:away3d.com,2013:forum/viewthread/.5197 2013-12-28T12:20:20Z 0 bxc Anti-aliasing is really needed on mobile.However,the stage3D does not yet support anti-aliasing on even ipad4.May away3d4 supply a nice filter3D of FXAA please?

]]>
ZIP compression of non-binary 3d content files tag:away3d.com,2012:forum/viewthread/.2038 2012-03-08T22:38:54Z 0 frukc would it be difficult to implement this in Loader module? like - if I load ‘file_name.obj.zip’ loader would unzip file first and then pass it to correstponding parser. as3 compression libraries are available for long time now, ‘text’ format 3d files are perfect for compression and grow huge, without it.
or maybe there allready is feature like this?
ty!

]]>
Global illumination flare3d, unity but not Away3D? tag:away3d.com,2015:forum/viewthread/.5949 2015-09-10T15:04:53Z 0 Hec Hi,
His there a global illumination or ambient occlusion fake coming for Away3d??
I know in dynamic it’s hard,  buy but just for a static rendering that will be interesting.

https://youtu.be/nhQc_w04-oM

https://youtu.be/gYIUlzNurLs

]]>
Exporting 3D file from Away3d scene tag:away3d.com,2015:forum/viewthread/.5948 2015-09-10T01:59:21Z 0 Hec Hi,
Will it be possible to export 3D file scene create with away3d to a web cloud render like lagoa?

http://home.lagoa.com/

]]>