Thanks for your answer !!!

In fact, what i'd like to do is :

1. take a Plane and explode it  into triangles (i made it !!!)
2. distribute all these triangles on a sphere (i made it too !!! )
3. I d'like to position them on the sphere like this :
http://forum.papervision3d.org/viewtopic.php?f=20&p=4989

The problem I have now is that i can't find a way to get the good
rotation angle to do that.

I think i have to use Quaternion but i don't understand anything about
Quaternion.

Thanks for your help !!!


On 10 déc, 17:56, tain <[email protected]> wrote:
> if plane is (n*m)
> sphere is (n*(m-2)+2) number of vertices.
>
> i am correct?
>
> current away3d sphere can be described as a plane with the top and
> bottom row vertices merged into 1 vertex. thus losing some of triangle
> count.
>
> but i didnt quite understand what is your goal so i dont know how to
> help you more.
>
> maybe this?http://www.studiodynamics.net/uv/uv_editor_1.gif
>
> On Dec 10, 12:39 pm, Ghislain Flandin <[email protected]> wrote:
>
> > Hello everybody,
>
> > I'm new in Away3D and i'd like to know something.
>
> > Is there a formula to create a Sphere (segmentW number and SegmentH
> > number) taking into account a vertice number?
>
> > I explain :
>
> > I explode a Plane with segmentW = n and segmentH = m , so i have (n*m)
> > *2 triangles after exploding (thanks to the Explode class).
>
> > Then i want to distribute all these triangles on a sphere, so i built
> > a Sphere and get the coordinates of each vertex of this sphere.
>
> > The problem i have is that i want (if it's possible) to get the same
> > number of triangles ( from my exploded plane) as the  vertice (from my
> > sphere).
>
> > Is there a way to do that ?
>
> > Thanks for your help !
>
> > Ghislain

Reply via email to