Show messages:
1-9
…
830-849
850-869
870-889
890-909
910-912
From: Tim (TGILMORE)
This looks like what I needed, Thanks so much.
Tim
From: Frenchy Pilou (PILOU)
https://moiscript.weebly.com/biblio-elephant.html ;)
From: Psygorn (DRILLBIT)
Hi PILOU,
What is the difference between your Elephant & Max's Node editor?
Are they the same?
Your website provides the latest version of it?
Or we should go to Max's webpage?
I get kind of confused what is VF what is VO? and which version works best on MOI V 4.0?
I am using Windows.
From: Frenchy Pilou (PILOU)
Yes Elephant is the name of the Node Editor for Moi by Max Smirnov
It's it that i have on my site!
VO = Original English Version
VF = French Version of the Native Nodes of Elephant (but has also no native nodes but these no native are not translated)
All versions works fine with Moi.4.0
<< Or we should go to Max's webpage?
No Lastest version of Elephant is the Version modifyed by creators of nodes so many more nodes than original Elephant
and managed by James
http://moi3d.com/forum/index.php?webtag=MOI&msg=9358.10
there you can download a zip NodeEditor !
But maybe Max will made soon a new version after the release of the who knows! :)
From: Psygorn (DRILLBIT)
I ended up with an error!
I have downloaded "nodeeditor.zip" from:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9949.12 (Post number = 9949.12)
then I extracted the zip file into ...AppData\Roaming\Moi
and then I made a shortcut for it "Alt+N" and added : ​moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow );
but I ended up with an error!
What should I do?
From: Michael Gibson
Hi Psygorn, that error means you've got some unusual text characters inserted into the shortcut key text. Maybe if you're preparing the text in a word processor that has styles and such applied to it that is carrying along some extra stuff. Try using a plain text editor or set the document type to be plain text.
- Michael
From: Michael Gibson
Did you get that text by selecting and copying from a web page? If so which page, maybe I can fix the page to not have fancy unicode control characters in what is supposed to be plain text for code.
Try this:
code:
script:moi.ui.createDialog("moi://appdata/nodeeditor/index.html","resizeable,defaultWidth:680,defaultHeight:420",moi.ui.mainWindow);
- Michael
From: Psygorn (DRILLBIT)
Is that it:
I used this piece of code for a short key:
script: if ( moi.majorVersionNumber == 3 ) { moi.ui.createDialog( 'nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow ); } else if ( moi.majorVersionNumber == 4 ) { moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow ); }
Does the above code works by omitting the term "script:" ?
I think it does work with or without it!
From: Psygorn (DRILLBIT)
I took it from Pilou's page here:
https://moiscript.weebly.com/install-elephant.html
From: Psygorn (DRILLBIT)
Is there a place in which people share their nodes? Or tutorials?
From: Michael Gibson
Hi Psygorn,
re:
> Is that it:
Yup, that is what it looks like when it's running. You can right click in there to start adding nodes.
- Michael
From: Frenchy Pilou (PILOU)
<< Is there a place in which people share their nodes? Or tutorials?
You can find tones here! ;)
https://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1
From: Psygorn (DRILLBIT)
Tanx PILOU :)
From: Psygorn (DRILLBIT)
Hello all,
Do we have Floor and ceiling functions in Math Node?
I mean this function:
https://en.wikipedia.org/wiki/Floor_and_ceiling_functions
From: James (JFH)
Psygorn,
Type into math node as shown

James
https://www.instagram.com/nodeology/Image Attachments:
floor:ceil.jpg
From: Psygorn (DRILLBIT)
Hello James,
Thank you for your reply,
Could you help me here:
Why does it seem that the floor function doesn't work properly?
I don't think for the value of A = 117 it should display -1!
How can I get 1 for values of A from 0 to 180, and -1 for values of A from 181 to 360?
Attachments:
Floor_Function_Problem.nod
From: Barry-H
Hi,
try using the compare node.
Cheers
Barry
.png)
Image Attachments:
Screenshot (685).png
From: James (JFH)
Psygorn,
quote:
Why does it seem that the floor function doesn't work properly?
It
is working properly...given that sin(117) / 2 = -0.34, the floor value will be -1
quote:
How can I get 1 for values of A from 0 to 180, and -1 for values of A from 181 to 360?
Firstly, if working with degrees use square brackets : sin[a] because they convert degrees to radians
used by trigonometric functions.
If you imagine a point revolving around a circle, at any point the sine of the angle:
sin[a]
equals the
y component / radius, so regardless of the radius the result will be 0 on the horizontal axis
and 1 & -1 at top & bottom of the vertical axis respectively, and the points in-between will give a result
ranging from -1 to 1
There is a lot of better explanation of trigonometric functions online, here is the wikipedia page:
https://en.wikipedia.org/wiki/Sine_and_cosine
James
https://www.instagram.com/nodeology/
From: Psygorn (DRILLBIT)
>> It IS working properly...given that sin(117) / 2 = -0.34, the floor value will be -1
Hello James, but I think sin(117) = 0.891 even calculator says that!
I assume the value of sin is not calculated in Degree? (I think it is in Rad)
How can I get 1 for values of A from 0 to 180, and -1 for values of A from 181 to 360? in Degrees.
for example I thought if I use : 1+( 2 * floor function of (sin (a)/2)) I could have 1 for 0<a<180 and -1 for 180 <a<360
.>>If you imagine a point revolving around a circle, at any point the sine of the angle: sin[a]
equals the y component / radius, so regardless of the radius the result will be 0 on the horizontal axis
and 1 & -1 at top & bottom of the vertical axis respectively, and the points in-between will give a result
ranging from -1 to 1
Luckily, I know about it! and I know if we imagine a circle and divide it by the largest horizontal segment (it's horizontal diameter) then "sin(an angle in the upper semicircle)" would be positive and "sin(an angle in the lower semicircle)" would be negative. :-)
I just don't know how to do it in Nodeeditor, How to turn all positive values of sin to 1 and negative ones to -1.
Edit: Dear James I always had struggle where t use RAD and where to use Degree!
From: bemfarmer
The javascript sin(angle) gives the correct result for angle in radians.
For 117 degrees, multiply by (PI/180) yields 2.042... radians. Javascript sin(2.042...) = .891..., which agrees with your calculator set to DEG.
James is correct, in that javascript sin(117) treats 117 as radians, NOT degrees.
Max is using square brackets [ ] for the trig. The math in Max's node is done using Javascript Math functions. Javascript version ES5, NOT ES6.
(I think sin() is the same as sin[] in the node (???))
- Brian
Show messages:
1-9
…
830-849
850-869
870-889
890-909
910-912