Re: [JAVA3D] transforms....help!

2002-02-19 Thread Muermann, Max
Ok, some math following: we'll start with a simplified case, mapping a line to a circle in 2D space. suppose we have a line given by a point o_ and a directlional vector y_ which we conveniently normailse to have a length of 1: |y_|=1. The equation for the line is then x1_ = o_ + a * y_. (1) W

Re: [JAVA3D] transforms....help!

2002-02-19 Thread Michael Newcomb
> It's done like this. Take a mathematical representation of > the sphere with 2 > parameters. Use for example polar coordinates. You will find > the equations for > this transformation (phi, delta) -> (x,y,z) and the inverse > transformation > (x,y,z) -> (phi, delta) in any mathematical equations

Re: [JAVA3D] transforms....help!

2002-02-19 Thread Dipl. Ing. Paul Szawlowski
> How can I do that? Does it make sense? I would think you should be able to > do that because its kindof like how you can apply a rectangular texture > image to a sphere It's done like this. Take a mathematical representation of the sphere with 2 parameters. Use for example polar coordinat

[JAVA3D] transforms....help!

2002-02-19 Thread Michael Newcomb
I have a local coordinate system that lies in just the XY plane. I want that coordinate system mapped onto the surface of a sphere... I want to be able to pick any point on the surface of the sphere, then translate the origin of my local coordinate system to that location (the plane would be a t