just think as a profile.
the easy way is to make a grid, paste your jpg in photoshop on it, and trace 
straight segments from the side of the bottle.
each point become then a x and y.
in your code declare an array of number3Ds using this x and y, add a z = 0, and 
pass it to Lathe (reffer on tutorials page at away3d.com for more details on 
Lathe)

>  Thanks  to who coded  Lathe and PathExtrude PathAnimator are too practical
Glad you like them, funcky is when I wrote them, 2+ years ago, they where 
badged as gadgets. Seems times have changed :)
They are very powerfull once you master them, the Temple demo for instance, is 
using mostly just Lathe and SkinExtrude. Just 728 kb of extrusion goodness!

Fabrice

On Mar 7, 2010, at 7:14 PM, qatab chakir wrote:

> Thks fab
> yes actually I noticed, at first I wanted to try the Lathe class, I found 
> particularly special for the creation of complex forms in runtime. but I had 
> a concern of not being able to produce exactly the Coke bottle in 3D, is 
> there a way to draw on a jpeg ?in fact at the end I realized that the bottle 
> does not represent complex And it does not require a 3D Editor,
>  Thanks  to who coded  Lathe and PathExtrude PathAnimator are too practical
> 
> 
> Chaks

Reply via email to