I am glad to show you the pie chart component that was built on top of
Away3D. Fabrice, thanks a lot for the Lathe class!
URL: http://creationcomplete.com/blog/?p=28
--
m. | http://creationcomplete.com
First, I've added the inner loop for the pie generation but then I
found that if it will be just one mesh I couldn't do interaction with
pieces(like tooltips), so I just build it with a series of pieces. Is
there any way to build interaction like tooltips with pie as one mesh?
As you've told me I also set the rotation to 0.01 and it seems to work
without space between pieces.
2008/6/11 Fabrice <fabr...@gmail.com>:
> Yeah he did it!!
> Considering the fact that I've omited that you could do pies, this is double
> great!
> So you've added the inner loop on arrays we've talked about to ensure welds
> or do you have made it with a series of pieces?
> Makes me remember I need to change the minimum value per rotation... 0.1 is
> not good...
> Looks good anyway so who cares!! Well done!
> Fabrice
Katopz, thanks for the bug report ;)
On other hand if the pie is allways shown as 100%, if you do not move
the pieces, for instance on rollover move the piece on the y axe or/
and move back a bit, you just need to
make one movieclip with the regions and give it as material. No pieces
would be required... I can even imagine, that when they are grouped
as 100% pie you show one lathe object, while on mouse over
swap for a multiple lathe object... so you could swap renderers
intersect/basic.
> As you've told me I also set the rotation to 0.01 and it seems to work
> without space between pieces.
I'll update the Lathe default rotation value today...
Fabrice