This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Technology & Calculator Open Topic subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Math and Science => Technology & Calculator Open Topic
Author Message
Raster


Active Member


Joined: 17 May 2004
Posts: 529

Posted: 21 Feb 2006 12:21:16 am    Post subject:

I am playing around with lightwave and I need help. There is something very odd thats going on and I think it has to do with my equation.

First of all I know that the equation for drawing a circle is f(x) == sqrt(r^2 - x^2) . The position of x changes frame by frame in a linear fassion. (ex frame1:x = 1; frame2:x=2 and so-on) and I am making a circle using the X and Z axis.

[Camera.Position.Z] set to -sqrt(10^2 - [Camera.Position.X]^2)

Now here is the problem... the values keep getting screwed up some how... here is a picture of whats going on... The white line with the plusses is the camera path.

the x travels fine, but the z is doing something oquard... if anyone can see a flaw in my equation please pic it out...


Last edited by Guest on 21 Feb 2006 12:21:36 am; edited 1 time in total
Back to top
thornahawk
μολών λαβέ


Active Member


Joined: 27 Mar 2005
Posts: 569

Posted: 21 Feb 2006 07:14:37 am    Post subject:

Why not save yourself much grief and use the parametric representation of a circle (i.e., {x,z}={cos(t),sin(t)}; t in radians)? Your camera would move much more uniformly... and I do remember the last time I used LightWave that it supports parametrically-defined camera paths...

thornahawk
Back to top
Raster


Active Member


Joined: 17 May 2004
Posts: 529

Posted: 25 Feb 2006 11:42:01 am    Post subject:

Ok, that worked very well. Thanks for the help.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement