The LineSegment obj can not show in the ipad,What’s wrong?

Software: Away3D 4.x

Avatar
redfox2008cn, Newbie
Posted: 19 May 2012 04:26 AM   Total Posts: 21
for (var int =0_numPlanesi++) {
 
var plane Mesh Mesh(srcplane.clone());
 
plane.material _material2;
 
plane.= (Math.random()-.5)*512;
 
plane.= (Math.random()-.5)*384;
    
 if ( 
isFirst {
  
var plane.x;
  var 
plane.y;
  var 
plane.z;
  
isFirst false;
 
else {
  
var line:LineSegment = new LineSegment(new Vector3D(x,y,z+1),new Vector3D(plane.x,plane.y,plane.z+1),0x8cb1d6,0x8cb1d6,2);
  
lines.addSegment(line);
  
linesVector.push(line);
 
}
 _view
.scene.addChild(plane);
}
_view
.scene.addChild(lines);
_view.backgroundColor 0xE2E5EA;
addChild(_view); 

In android ,it’s good. but in ipad,I can’t see the Line..

 

   

Avatar
redfox2008cn, Newbie
Posted: 19 May 2012 04:34 AM   Total Posts: 21   [ # 1 ]

In ipad ,I can’t see the Line.

   

Avatar
redfox2008cn, Newbie
Posted: 20 May 2012 01:40 AM   Total Posts: 21   [ # 2 ]

I have known the reason…

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X