Recent content by Klaws

  1. K

    What is the Equation of the Ellipse in 3D for Magnetic Field Visualization?

    Thanks DH, I had arrived at that solution after working my way through vectors with the help of 3 pens (my DIY axes). I was just implementing it the wrong way. My assumption that the axes should 'follow' was obviously wrong. I was still thinking 2D. I'm starting to like this 3D stuff :)...
  2. K

    What is the Equation of the Ellipse in 3D for Magnetic Field Visualization?

    I managed to work around the ellipse issue in the xy-plane. I am now trying to use this matrix to rotate the axes. The problem is that I only have the unit vector for x' and not for y' and z'. Is there a way to define a rotation using only this vector and x,y,z? This should be possible because...
  3. K

    What is the Equation of the Ellipse in 3D for Magnetic Field Visualization?

    No problem at all, after all, you're trying to help me out :) I'm attaching a picture of two pipes. Their vectors are <0,1,0> and <1,1,0>. The ellipse should be the one joining the pipes at the origin. The axes of the ellipse should the normal of the two vectors and their angle bisector...
  4. K

    What is the Equation of the Ellipse in 3D for Magnetic Field Visualization?

    I have 2 unit vectors in the xy plane. I am constructing a pipe around each of these vectors. What I want is the ellipse that is formed at the origin(in 3D) when the two pipes meet. If the pipes are at 90 degrees the ellipse will be at 45 degrees. In general, the pipes are at obtuse angles but...
  5. K

    What is the Equation of the Ellipse in 3D for Magnetic Field Visualization?

    Yes that is my problem. Defining the ellipses when the pipes lie on the XY plane. What I want is the equation of the ellipse derived from the two pipes (vectors) and their radius. Thanks again, Claudio
  6. K

    What is the Equation of the Ellipse in 3D for Magnetic Field Visualization?

    The problem is defining the ellipse in global coordinates. What I was doing to test the pipe building part was defining the ellipse joining two pipes as a circle with radius 1 at the origin with x=0(on yz plane). Now I'd like to 'upgrade' this to an ellipse that joins the pipes. Thank you for...
  7. K

    What is the Equation of the Ellipse in 3D for Magnetic Field Visualization?

    Hi, I'm writing a visualization tool for magnetic fields in DirectX. I am currently building a model for 3D curves which will be used to describe field lines. The curves will be built as staight pipes joining several points. The lighting and shading will then take care of smoothing things...
Back
Top