Recent content by HKragh

  1. H

    Isolating a variable gives me endless loop

    I know :) The problem was that the only method I knew at the time to get rid of the "a" was by multiplying by it on all terms. And then I had the "a" still as a multiplication, and only knew division as a method to get rid of that. I very much aware how that got me into the loop. That is why I...
  2. H

    Isolating a variable gives me endless loop

    thx for the extra info, jedishrfu! At some point in life (technical high school thingy) I knew more about this stuff, and solved many problems like this. Then time went by, and I forgot it all. I must say yesterdays experience has made it clear I need to rediscover this set of skills! It must be...
  3. H

    Isolating a variable gives me endless loop

    One of my colleagues helped me out. This is, as you probably already know, a second degree polynomial. So just to make sure the solution is in here, even though none of you probably care: The variable names are based on the equation above, and so the placement of each might seem out of place...
  4. H

    Isolating a variable gives me endless loop

    Coming in here with the following question, when I see what kind of stuff you normally tackle, is very embarrassing! But... I simply am too rusty for this stuff, it seems. This is NOT homework. This is something I need to do in a game I'm working on. I end up in and endless loop when trying...
  5. H

    Calculating angle of circle to produce given ellipse

    Thanks for the answer! I just did some pictures to visualize a problem with your solution. Unless I misunderstand. The semi-major axis, or the vectors pointing towards them, doesn't represent the diameter of the circle. If I calculate at what distance I have a circle radius between one of the...
  6. H

    Calculating angle of circle to produce given ellipse

    It all goes on in a game engine, so the camera has perspective transformation matrix defined. And no, this is not for calibrating, this is just as explained ;) 1) I have an ellipse. 2) This ellipse has a major and minor semi axis. The max points of these two axis are defined. The axis...
  7. H

    Calculating angle of circle to produce given ellipse

    I know I should keeps this short, but I need to explain it a little. So, please have patience with me :) Given a standard ellipse, and its eccentricity and position on screen, is there some clever way of calculating how much a regular circle needs to be tilted in (angles) in a perspective...
  8. H

    Trying to derive a transformation Matrix from a set of known points

    I know this is an old thread, but I have used its content for something I'm working on at the moment. And after a lot of problems, I found some other references, and want to make a reply for future reference. The above matrix equation (written by Lord Crc) should've said: | x_1 y_1 1 0...
  9. H

    Vector intersecting other vectors in a specific manner

    UPDATE: It works perfectly, thank you very much for your help. Next step is understanding fully, why it works, which I haven't yet gone through.
  10. H

    Vector intersecting other vectors in a specific manner

    Haruspex: That actually sounds very straight forward to implement. And yes, a,b and c are indeed unit vectors, so it will be very easy getting the angles. Though getting the angle had they not been unit vectors, is as well very easy in the environment (3D engine) I work in. I'll get back, and...
  11. H

    Vector intersecting other vectors in a specific manner

    Thx. for the replies, guys. I need to make VERY clear, that I'm not educated in anything math related, so the language you´re using, while probably simple within these forums, is very alien to me. But... that´s a good thing! But even though I´m not trained in the language, I do have a good...
  12. H

    Vector intersecting other vectors in a specific manner

    Hi. I'm new here, first post. I hope I do it correctly :) I'm trying to solve a specific problem, which I need solved for a programming task. Now, my first approach was to iterate a solution which was close enough within some error boundaries I defined. But... it needs to be done correctly, if...
Back
Top