You are not logged in.
where i will work with you on it. Please in the future make a new thread for your problems. If you just add them to someone else's thread then I might not see them.
I did make a new thread, this was it. You mixed my question up with
How to do 3x+2 And 7x-2?
Can you help me with this Equation 14x + | 15/
Which is different then my question. My question doesn't relate to this question !
Bobbym - that expression produces a graph that looks like this (http://img341.imageshack.us/img341/4393/expressionpicture.jpg)
randBool() function acts like an on/off switch returning a 0 or a 1.
It produces a Random between 0_1 with a seed of it could be (23) for example.
There is also a boolean one, which I never knew until 2 months ago what a boolean was
(rand_0_1(12)) That syntax returns a random number.
What does this (rand_0_1(12)) return in your language? This must be the random command. Please give me the syntax.
It's a random jitter function. I must have meant the Random syntax I just mentioned.
I did make some progress to create a sin curve with noise:
Sin(Fc*5*rand_0_1(23))
Condition work like this:
cond(<name of object you want to apply condition> >= (greater then or equal too)3,<condition if true>,<condition if false>)
Put into a expression would be like this:
cond(sphere.kine.local.posy >= 3, cube.kine.local.posx, cube_two.kine.local.posz)
Explained what the expression means in English, if the condition of the sphere is great then or equal to 3 units on the X then then snap it to the cube X position if it's not greater then or 3 units on the X then snap it to cube_two Z position
There is no Rnd() command in this programs expressions even in Maya there isn't, as far as I know ! There is ceiling and min and max which I still can't figure out, I've got some information on it but still can't understand.
Here is another way to write an expression:
Sin(Fc*5)+(rand_0_1(12))/64 > Tip computers are best at calculating even numbers not odd numbers (2,4,6,8,10 etc)
There are still some expressions syntax I can't figure out what they mean Then this program also has another graphical programming language which is a little easier, but you have to know what does what like "SettingData" and "GettingData"
Nope that didn't work, here is the error begins.
>.5 ,Sin(Fc),Fc)
I've read if you, know some pre-calculus it helps in understanding these types of expressions If you know pre-calc Bobbym pull that info out of your memory bank
Bobbym that conditional statement, worked. Here is a picture of the graph of what that expression created.
It made not a sin motion but rather a slope.
Expressions are much deeper that is just the tip Sarah
Yes that works.
noise(this.kine.local.posx,(Fc*5),this.kine.local.posz)
That expression works as well for applying noise
this refers to "itself" kine means the kinematics.local is local position (can also be global) and posX means Position X or Position Z
If that expression works and Sin(Fc*5) works how can I apply noise to a Sine curve ?
That is what that does, but how to I put other expressions within that expression ? As in controlling the min or max.
I made some headway hopefully this opens the door to the other expressions in the thread and how to bring them all together.
Sin(Fc*5)
Sin for FrameCurrent multiply by 5. Which is saying starting on the current frame multiply the Sin by 5 (the peaks).
I hope you get it figured out Bobbym.
Sarah thank you but it doesn't go into how to write out the expression. I understand that expressions need to be written in brackets, and you can nest brackets within brackets but it's the order in relation to the program I use, that I'm having a hard time understanding.
Hopefully, this link gives you a better understanding of how the expressions work in Softimage. If you do start to understand but need a bit more information to solve my original problem, let me know.
http://softimage.wiki.softimage.com/index.php/Basic_Expressions_Example#Oscillation_Using_Cosine
You mean Maya's own scripting language. Sorry, I don't speak any scripting language with the exception of python. I only learnt languages that compile to native code. I don't like the concept of compiling to pcode.
This program can use Python as well, but you usually have to follow some program code guidelines no matter what language you are witting in, which can be difficult. I can direct you to a online expression reference ? Where hopefully you would be able to understand the syntax for creating the expressions, from my understand and observing others expressions using this program they weren't that complex, but if you can understand it would help me to learn.
Here are my thoughts so far: That is a very complicated 3D modelling prog. It looks more sophisticated than Maya.
It's not really much more complex then Maya. It uses Visual Basic and Javascript, same as Maya does. Why do you know MEL scripting ?
Question: Why do you need that to draw a 2D graph?
Not to draw a 2D Graph, create a SINE expression for an object. If you want I can get you more information to help you understand how to write expressions.
She probably was a good mother Don't worry bobbym she is watching you beyond the grave to make sure you don't get into trouble
Thanks, she was 79. I am grieving but working on something makes me forget.
Don't block her from your mind She is watching from the other side
First in post #38 you have capital C and in post #40 you have small c for cond. Which is correct?
Smaller C is correct.
Cond(x>0, x, x^2)
For some strange reason it's not working. Telling me I have to select a target, when I know this software and I have selected a target, arrrgh.
Is this what you have?
http://www.youtube.com/watch?v=FlQ_v-ECqKU
http://www.youtube.com/watch?v=Kbr6L-oQ re=related
That is what I have
A Target is what to apply the expression too.
Sorry to hear that you've lost your mother, how old was she ?
If your grieving and would rather pass the problem to someone else. I'll understand. Although you are the only active one it appears
I know, I can wait In the meantime while I suppose we wait for Bobbym, how are you ?
No Hopefully Bobbym comes up with answer soon