MoI discussion forum
MoI discussion forum

Full Version: Elephant Repository

Show messages:  1-16  …  337-356  357-376  377-396  397-416  417-436  437-456  457-476  …  497-503

From: Frenchy Pilou (PILOU)
4 Feb 2020   [#397] In reply to [#396]
THX ! Added!

http://moiscript.weebly.com/macro-e.html
From: bemfarmer
22 Feb 2020   [#398]
Split node documentation.

The Split node has 3 versions, corresponding to its 3 menu options, Numbers, Points, or Objects.
Numbers option inputs, and outputs, numarrays.
Points option inputs, and outputs, pointarrays.
Objects option inputs, and outputs, objectlists.

The Split node is multitasking, so a stream of many input items will be processed.

The Split node has a "Mask" boolean (0's & 1's) input, which sends the Num inputs, or Pts inputs, or Obj inputs to either the "1" output, or the "0" output. The input stream is separated into two output streams.

The Split node has 3 modes, Repeat, Long, and Short, which control how the mask is applied to the input stream. Multitasking documentation (should) explain how the modes are applied.

For any one item of the input stream, the Split node does NOT extract its contents. For example, a point does not have its x,y z coordinates extracted.

Under the Basic menu, the "Extract" node, in Points mode, extracts one of 7 elements, X, Y, Z, rX, rY, rZ, or Scale

Under the Points2 menu, the "splitPts" node extracts 10 elements.

- Brian
From: Frenchy Pilou (PILOU)
22 Feb 2020   [#399] In reply to [#398]
You speak about this one ?
http://moiscript.weebly.com/logic.html#bibesplit
From: bemfarmer
22 Feb 2020   [#400] In reply to [#399]
Yes, Pilou.

I was looking at your excellent documentation while writing the above, trying to improve my understanding:-)

The last three sentences were a kind of cross reference...

- Brian
From: Frenchy Pilou (PILOU)
23 Feb 2020   [#401] In reply to [#400]
So added in English and French ;)

http://moiscript.weebly.com/logic.html#bibesplit
http://moiscript.weebly.com/logique.html#bibfsepare

with also a link to the different Modes ( Long, Short, Cross)
http://moiscript.weebly.com/node.html#3modes :)
From: Frenchy Pilou (PILOU)
26 May 2020   [#402]
A little restart after the confinement! :)

Move by Vector
English
https://moiscript.weebly.com/vector.html#movebyvec




From: Frenchy Pilou (PILOU)
26 May 2020   [#403]
Extention's Nodes
Vector Section
Vector Node
English
https://moiscript.weebly.com/vector.html#vector




From: Frenchy Pilou (PILOU)
2 Jun 2020   [#404]
Extention's Nodes
Vector Section
Add Vector Node
English
https://moiscript.weebly.com/vector.html#add_vector




From: Frenchy Pilou (PILOU)
2 Jun 2020   [#405]
Extention's Nodes
Vector Section
Substract Vector Node
English

https://moiscript.weebly.com/vector.html#substr_vector




From: Frenchy Pilou (PILOU)
5 Jun 2020   [#406]
Extention's Nodes
Vector Section
DotProduct Node
English




From: Frenchy Pilou (PILOU)
5 Jun 2020   [#407]
Seems there i a glitch or i miss something ?
The vertical Vector must be inversed when order is inversed itself!




From: bemfarmer
5 Jun 2020   [#408] In reply to [#407]
Using ConvertPts on the point output shows the correct right hand point. (The "inverted" point.)

The vector displayed for the inverted point does seem to be incorrect. I'm investigating the code, which seems very difficult for my brain to understand :-)

- Brian

In the vector.js code, line 31 creates the vectors, using orient_line_to_line. line 287 codes for the incorrect inverted vector.
this and that do not make sense to me...
From: Frenchy Pilou (PILOU)
6 Jun 2020   [#409] In reply to [#408]
So if we must use artificially the Invert node, that say there is a glitch! ;)
From: Frenchy Pilou (PILOU)
8 Jun 2020   [#410]
Extention's Nodes
Vector Section
VecAngle Node
English

https://moiscript.weebly.com/vector.html#vecangle




From: bemfarmer
9 Jun 2020   [#411] In reply to [#409]
There is an excellent series of YouTube videos about vectors and matrices here:

https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab

I've watched only #6 and #10, so far. The perspective is about areas and volumes of linear transformations.

#10 is about Cross Product, in 2D and 3D. A negative determinate means that the 3rd vector of the cross product is in the negative direction.
So maybe the vector.js code for Cross Product, line 287, should take the determinant (3D?), and then the code in line 34 modified so that in the case of a negative
determinant, bPt1 would be modified to be (0, 0, -1), instead of (0, 0, +1). (?)

Then the third vector "c" would still follow the right hand rule.
(Note that point "c" is calculated correctly, it is just the vector display that is not correctly oriented for the case of a negative determinant.)

In Pilou's example, when the order of the Cross Product is reversed, the sign of the determinant is reversed. The displayed vector should be negated.

- Brian
From: Frenchy Pilou (PILOU)
9 Jun 2020   [#412] In reply to [#411]
Cool pedagogic serial!
From: Frenchy Pilou (PILOU)
9 Jun 2020   [#413]
Extention's Nodes
Vector Section
LineByVec Node
English

https://moiscript.weebly.com/vector.html#linebyvect




From: Frenchy Pilou (PILOU)
10 Jun 2020   [#414]
Extention's Nodes
Vector Section
Rotate Vector Node
English

https://moiscript.weebly.com/vector.html#rotatevec




From: Frenchy Pilou (PILOU)
24 Jun 2020   [#415]
Extention's Nodes
Vector Section
Line2Vec Node
English
https://moiscript.weebly.com/vector.html#line2vec




From: Frenchy Pilou (PILOU)
24 Jun 2020   [#416]
Extention's Nodes
Vector Section
VectBy2Pts
English

https://moiscript.weebly.com/vector.html#vecby2pts




Show messages:  1-16  …  337-356  357-376  377-396  397-416  417-436  437-456  457-476  …  497-503