No I think you are doing everything right, sorry for my misunderstanding.

I know this might not work or might make things slow, but maybe, have you
tried the alpha of the material for the line (if alpha exists for that
material)? Setting it to 0 won't be as fast as visible=false, but it should
be better than nothing.

Otherwise you are going where no man has gone before, I think maybe that's
why that functionality is not there, or doesn't work as you would expect.

-Pete

On Tue, Jul 28, 2009 at 3:03 PM, Matt N. M. <[email protected]> wrote:

>
> (follow up to last note:)
> I used this method because setting a Visible property on every update
> was a lot faster than destroying/creating all LineSegment on every
> update.
>
> Maybe I'm still thinking inside a box and there are much better ways
> to do this. Sorry, i'm still pretty wet behind the ears at all the
> away3d concepts and I appreciate all the help.
>
> On Jul 28, 1:59 pm, "Matt N. M." <[email protected]> wrote:
> > > What happens if you put those (or some) lines into a ObjectContainer3D,
> and
> > > set that to visible=false?
> >
> > Hi Peter,
> >
> > I'm not sure what you mean. If i understand correctly, Segment objects
> > can only be added to mesh with addSegment and if you wanted to use
> > ObjectContainer3D you'd have to addChild the LineSegment object.  And
> > this is what I had been doing ... It works great, except it's slow ...
> >
> > Matt
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to