Results 1 to 6 of 6

Thread: Nodal - InvSin, etc..?

  1. #1
    Goes bump in the night RebelHill's Avatar
    Join Date
    Nov 2003
    Location
    jersey
    Posts
    5,792

    Nodal - InvSin, etc..?

    Maybs I shoulda posted this in the node section, but maybe it'll get more traffic here...

    Anyhow.

    So there I am, playing silly buggers, and thought, wouldn't it be fun if I tried to put together an IK solver using the node editor.

    Now whilst the node editor has math functions for sin, cos, tan, etc... which quite happily convert deg values into sin -1>+1 values... Im at a loss for how to make the inverse functions, invSin, invCos, etc... to convert these -1>+1 values back into degs...

    You can't, ofc, just use a math>invert node, as that just inverts the output number, not the function itself.

    So... any ideas... anyone?

    thanks.
    LSR Surface and Rendering Tuts.
    RHiggit Rigging and Animation Tools
    RHA Animation Tutorials
    RHR Rigging Tutorials
    RHN Nodal Tutorials
    YT Vids Tuts for all

  2. #2
    Goes bump in the night RebelHill's Avatar
    Join Date
    Nov 2003
    Location
    jersey
    Posts
    5,792
    I'm a dumbarse...

    ArcSin, etc... Staring me right in the face.

    Too much time with the lil "inv" button on my calculator.

    Calculators make you stupid.
    LSR Surface and Rendering Tuts.
    RHiggit Rigging and Animation Tools
    RHA Animation Tutorials
    RHR Rigging Tutorials
    RHN Nodal Tutorials
    YT Vids Tuts for all

  3. #3
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,740
    Quote Originally Posted by RebelHill View Post
    So there I am, playing silly buggers, and thought, wouldn't it be fun if I tried to put together an IK solver using the node editor.
    ???? So, would this be applied in the Nodal Displacement, uhhhhh, feature?

    (I can't even conceive how this would be possible, but I'll take your word for it. Once words like "ArcSin" gets tossed around, I'm out.)
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  4. #4
    Goes bump in the night RebelHill's Avatar
    Join Date
    Nov 2003
    Location
    jersey
    Posts
    5,792
    Well, no... it'd be applied to the rotation channels of.. whatever , using the node item motion plugin.

    As for things like ArcSin, et al... you'll get on a LOT better with a LOT of stuff in 3d if you learn yourself some math basics... the sin function, or more correctly "sine" is really easy to understand... see this graphic...

    http://en.wikipedia.org/wiki/File:Si...ng_process.gif

    By drawing a triangle from the centre of a cirlce to its edge, and using the diameter of the circle to represent a graph line going from -1>1... you can relate the rising angle of the triangle into a 0-1 value... and that's all sine is, just another way to analyze the "workings" of the geometry of a triangle.

    So the sin tool simply converts an angle in degrees into a sine value between -1 and +1... and arcSin (or inverse sin) just does the conversion back the other way.
    LSR Surface and Rendering Tuts.
    RHiggit Rigging and Animation Tools
    RHA Animation Tutorials
    RHR Rigging Tutorials
    RHN Nodal Tutorials
    YT Vids Tuts for all

  5. #5
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,740
    Man, if I gotta learn trig, I'm in the wrong business. If I was doing a lot more scripting, perhaps.
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  6. #6
    Goes bump in the night RebelHill's Avatar
    Join Date
    Nov 2003
    Location
    jersey
    Posts
    5,792
    Well, you don't have to learn it... but doing so will give you access to being able to do more stuff. Generally anything to do with handling either angles or vectors is good to know.

    But the simple fact is that certain things in 3D, that I see you trying to get help or understanding of, you will NEVER be able to understand unless you understand at least the principles of the math behind them. And these underlying principles... like trig, really aren't that difficult at all.
    LSR Surface and Rendering Tuts.
    RHiggit Rigging and Animation Tools
    RHA Animation Tutorials
    RHR Rigging Tutorials
    RHN Nodal Tutorials
    YT Vids Tuts for all

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •