You are not logged in.
I have to give it a target. The name of the program is Softimage, I hope that helps in getting this solved
Don't worry about it Sarah It just seems harder and harder to get half decent help. It is wonderful that Bobbym is trying to help and with your compassion has been well appreciated
cond( <cond> , <true_expr> , <false_expr> )
I hope this helps, let me know if it doesn't
Conditions, it does support. Using Cond()
Sarah - Yes I did, nothing.
== Equal to
> Greater than
>= Greater than or equal to
< Less than
<= Less than or equal to
!= Not equal to
&& AND
|| OR
Random 0 or 1
+ Add
Subtract
* Multiply
/ Divide
% Modulo (remainder)Abs()
Absolute valueCos()
CosineFix(), Int()
Integer portion of a numberLog()
Natural logarithmRnd()
Random numberSgn()
The sign of a number: 1, 0, or 1Sin()
SineSqr()
Square rootTan()
Tangent
Fc = Current Frame
Fc = Start Frame
T = Time
There again posted is most of the expression terms. There isn't really any more expressions terms left that are frequently used.
I had given them to you in post #22 but I listed them again. This is the image to show what I'm trying to achieve
I posted, the problem that I was having earlier in the thread. I also posted most of the code that the program uses for expressions, that is all there is to mention.
I had asked only in a different way, how can I create a SIN wave and put flat lines within that wave with a little noise ?
I know what a SIN curve is etc. For example with Noise you have (3) numeric values you can put in with MIN & MAX you have (2) and it always uses the lowest.
How would you write out this script ?
You mentioned to me in a round about way that I have to know the syntax which I know what the commands do, but how do you write it out so it works ?
Now you mentioned to me to be specific and post the example, but I did post the example and most of the expression commands in post #21 and in #22.
My Question is:
How can I create a SIN wave and put flat lines within that wave with a little noise ?
You are right I've been asking Bobby if he knows of any books that could help a beginner so I could grasp the basics or a little more advanced then basics then take it from there
There is no book that would help me learn so I could understanding easier writing expressions ?
Hi, bobbym I understand what you mean in terms of learning. Do you have any strong recommendations on a programming books that could help learning to understand how to write these expressions ? I have read the help documentation but I've had a hard time in how to write out the expression, so that it works.
Hi, Bobbym
In post #22 I put the noise function within a bracket for Cos as you put Cos(45,23,12). How come you have Cos(.5), cos(.03), cos(1.6) why do it that way ? I haven't tried that expression Cos( noise(.1,.2.,.3)) but I think you may be right in that it will return an error but why would it ? Remember post #22 has most of the expression commands
Now How would you go about, with a cosine curve but have the cosine curve become flat at times then go into the curve. Imagine if you draw a constant curve, now you draw some random flat peaks that would be at zero. Would the MIN with COS and NOISE be used to control this ? How would you write this out ?
Good Afternoon or Day Bobby
What I am trying to say is that noise is not returning the two parameters than MIN requires. There may be other errors but let's concentrate on this one.
MIN(32,8) returns 8
MIN(32) returns an error. MIN expects 2 things and got one.
This I now understand, MIN expects 2 things and it uses the lowest number, correct?
When I showed you how to nest one function inside another that was just an example. You have to obey the syntax for each command.
Without knowing the particulars of your program it is hard to be specific but you could nest the cosine function inside of MIN:
MIN(cos(.3),cos(.5)) should return a value.
This expression worked, what you did was using the MIN command you nested a cos command with the first value for the MIN then a second cos with the second part of the function for MIN. Why did you put (.3) & (.5) in brackets ? Lets suppose that I wanted to make a sphere have a Cos with noise how come this wouldn't work:
Cos(noise 45,23,12) ?
Here are some of the basic functions that are within this software:
+ Add
Subtract
* Multiply
/ Divide
% Modulo (remainder)
Abs()
Absolute value
Cos()
Cosine
Fix(), Int()
Integer portion of a number
Log()
Natural logarithm
Rnd()
Random number
Sgn()
The sign of a number: 1, 0, or 1
Sin()
Sine
Sqr()
Square root
Tan()
Tangent
Fc = Current Frame
Fc = Start Frame
Now How would you go about, with a cosine curve but have the cosine curve become flat at times then go into the curve. Imagine if you draw a constant curve, now you draw some random flat peaks that would be at zero. Would the MIN with COS and NOISE be used to control this ? How would you write this out ?
Thank You.
The expression doesn't return nothing, and the expression does work. There is three arguments, in the noise that I have in place. I don't understand how I would apply MIN within and remember that noise would have to work on a Cos or Sine. In this step all that I've done is applied "noise 45,34,25" representing X,Y,Z.
Noise doesn't do anything because there is nothing driving the noise. The expression noise(45,34,25) works but nothing is going to happen because there is nothing to drive the noise.
cos( T * 90 *MIN( noise( 45, 34, 25 ))
without any variable I'm trying this expression but it throws back an error
And now for a simple oscillation using the cosine function and the frame rate of the scenes playback.
The expression you see above this sentence is with a variable which has been written in the expression.
MIN( <val1> , <val2> )
noise( <x>, <y>, <z> )
This expression sets a Cosine curve based on a variable on time (T equals Time) multiplying by 90 by the variables which is
the sphere.Control.freq <multiple> by another variable which is sphere.Control.amp.
Using this example how would you put, within this expression
this code:
and this ?
Mathyperson was right. Something 1/6 in scale as he mentioned would be close to if not 30 CM.
Thank you Bobbym and Mathyperson Now I have my answer
Bobbym I was going to mention this in my original thread that we talked about this You mentioned though that you should know the scale of the model in that thread but I don't know what the actual proportions of a human is to multiple it by. Mathyperson mentioned 180 CM now if this is correct then 30 CM is right, but that is what I'd like to know what is the average height ?
5'10 for a male human ? That is the first question
Then how do you convert feet and inches to CM to figure out the scale ?
I'm going to read up and any questions, I'll let you know about that I don't understand by posting the way the manual states and what I don't understand, this will probably make it easier for you and for me so I can understand
I suppose I have to found out a average humans height Then I multiple that by 1/6 which will give me the actual scale height.
I'll just look over the documentation. Thanx.
It's a 3D program. I'm just having a hard time understanding that is unless if you were supplied some documentation you could help me ?
Do you know what could help me in relation to grasping these commands?
Oh so you would have to learn in relation to the program ? You couldn't just use any formula and it would work each program would have a specific formula to use !
What would be the size of something that is Anatomically proportional (1/6 scale) What is our Anatomically proportion ? Then to figure out the scale which is 1/6 ?
Well when I'm typing an expression and I'll use something simple
Sin(Fc*5) now in relation to what I'm doing I understand what the Fc means for the software but is it specific to the software how to write a expression formula out ? Or is there a General rule that one could use most of these formulas have some ties with Javascript if that helps.