twillis opened this issue on Apr 24, 2002 ยท 24 posts
twillis posted Wed, 24 April 2002 at 12:30 PM
Hey, I've been having fun messing with formulas, and I think I've come up with a challenge to encourage those of you who haven't messed with formulas to get your feet wet. From the Assembly room, Insert a Formula. Double click on it to go to the modeling. Erase the formula that's there, and replace it with: x=10u; y=10v; z=1; Click on the Parse button. The result will be a 10x10 plane floating 1 unit above the z-axis. Here's the challenge: Change the z line to make the resulting shape more interesting. Hint: z can be a function of u and/or v, and, since they're already defined, y and/or x.
brenthomer posted Wed, 24 April 2002 at 2:40 PM
I dont know what the heck you are talking about... You know what would be nice maybe? A complete list of numeric commands you can use..is that even in the manual? I dont remember seeing it. -brent
twillis posted Wed, 24 April 2002 at 2:59 PM
It's in Chapter 20 of my version of the manual. I'll try to print a screen shot of the formula editor when I get home today, so that what the heck I'm talking about is a bit clearer. Meanwhile, here's one to try: z=x*y;
nyar1ath0tep posted Wed, 24 April 2002 at 3:55 PM
twillis posted Wed, 24 April 2002 at 5:53 PM
twillis posted Wed, 24 April 2002 at 5:56 PM
twillis posted Wed, 24 April 2002 at 5:59 PM
twillis posted Wed, 24 April 2002 at 6:03 PM
twillis posted Wed, 24 April 2002 at 6:16 PM
keithw posted Wed, 24 April 2002 at 7:39 PM
nivek_ posted Wed, 24 April 2002 at 8:37 PM
I don't know what I'm doing with this formula thing but, when I type stuff in it RDS crashes. The formula is: x=cos(4PIv)cos(72PIp1u); y=1; z=1; Is this formula impossible?
nyar1ath0tep posted Thu, 25 April 2002 at 12:07 AM
I think x has to be a function of u alone and y has to be a function of v alone, so I think x=cos(4PIv)cos(72PIp1u) would cause a circular reference that would crash the software.
Kixum posted Thu, 25 April 2002 at 2:37 AM
-Kix
twillis posted Thu, 25 April 2002 at 8:15 AM
Very cool, Kixum. What was the formula? That shape would make a fun alien or monster, flying toward you to absorb your soul! Well, if that's your idea of fun, anyhow. nyar1ath0tep, I'm not sure that x has to use u, and that y has to use v (I guess I need to test this more). Plus, I'm not sure how RDS differs. nivek, I think that your x definition might be ok, and that the problem is have both y and z equal to a constant; the result would be a line segment at y=1 and z=1, with the width determined by your x formula, which might not be visible, or might confuse RDS. Try making either y or z a function of u or v, like y=10u, and see if that helps. keithw, I like the "checkboard" you got. Would make for a challenging game, don't you think? I'm not sure, but I think you could make a checker board that "stuck" to the shape, by defining the regions in terms of u and v. You might try a simple 4-square, with something like: a = floor(u2); (result should be 0 or 1) b = floor(v2); (result should be 0 or 1) blue = ab; (result should be 0 or 1) I think the result would be a 4-square checker board, but you guys might want to check my math. Um, might have to add some sort of fudge factor for u and v = 1, but I'll test it when I get home today.
twillis posted Thu, 25 April 2002 at 5:14 PM
twillis posted Thu, 25 April 2002 at 5:17 PM
twillis posted Thu, 25 April 2002 at 5:27 PM
DotPainter123 posted Thu, 25 April 2002 at 6:35 PM
I tried some parametric functions from by calc book and still yechhh! I need to play with this some more!
keithw posted Thu, 25 April 2002 at 7:51 PM
Thanks again Terri! It works perfectly. The checkerboard now moves with the animation. I had a little trouble with the formula until I figured out that || is not two lowercase l's and that both h and i should be equal. Keith
nivek_ posted Thu, 25 April 2002 at 8:15 PM
Thanks for the help twillis. I typed in your ammended formula and ended up with a small flat shape. But it didn't crash. Is there a difference between RDS and C formula?
Kixum posted Thu, 25 April 2002 at 11:11 PM
-Kix
keithw posted Fri, 26 April 2002 at 7:00 AM
Nicholas86 posted Sat, 01 June 2002 at 6:26 PM
I will be copying the information from here to my website for a resource for others. All users names will be sited. If you have a problem with me using your formula, please email me and we could work something out. Thanks you. I hope for more assistance from those of you who have a better understanding of formula
twillis posted Sat, 01 June 2002 at 9:26 PM
You're welcome to use anything I have posted here.