February 14, 2008, 12:31pm
I want to put the spheres on positions of the box vertexes.
Box have eight vertexes, but twelwe polygons - three
vertexes on each. Finally it is 36 vertexes, but i need only one sphere in each box vertex.
How to eliminate repetitive locations?
vertices.v4p (17.5 kB)
February 14, 2008, 4:25pm
I see your trouble, you are looking for somekind off ‘delete doubles (3D vector)’ module. Don’t have that yet, but looking at it… any one?
Ow, and your Stalone, use a vector (3D spilit), it does the same.
February 14, 2008, 7:02pm
there is a
module which exactly does what you want. brandnew
even for other vector sizes. it also returns the former indices and former “Bin” indices…
Clean (Spreads BinSize).v4p
*the vectors get converted to Strings
*Strings get spectral addition with given BinSize
*Bins are sorted
*Bins are cleaned
*Bins get splitted
*Strings get reconverted to values.
“dirty hack”, but seems to work very reliable.
contains an older module Clean (String Spreads), which is contained in the zip.
February 14, 2008, 7:04pm
perhaps you only wanted to be pointed into a direction,
but sorry, i was immediately inspired to this module…
for me there is no way back in this case…
February 15, 2008, 2:24am
BTW: Count node (which I was add) shows only 24 vertices, not 36 as I think. Are the polygons in general represented like quads with two faces or like separate triangles?
February 15, 2008, 2:45pm
Sort -> Shift 1 slice -> Equal node -> Select
And the doubles are gone.
This is briliant!! Thnx Kalle, I always did this with 2 resamples with a spread count of X^2 slices. You are a genious!!
February 17, 2008, 4:22pm
Clean (String Spreads).v4p was the first module in kalle.modules.string
available since almost 3 years…
February 17, 2008, 5:53pm
Makes you a genious for almost 3 years than :)
(there is no Sort in the clean spread module, that is why I never thought it could work ;) )
February 24, 2008, 2:09am
When I use externall .x file it has list describbed
VertexDuplicationIndices inside. This list coud be helpfull for removing duplicates. Can VVVV read this part of file?
BTW: vertices in .x file arent well organized - one should be placed on the one side of form, next one on the opposite side or somwhere else. How to manage them?
icosa2.zip (10.0 kB)
February 24, 2008, 4:05am
VertexDuplicationIndices is not accessible. this would require some extra coding on the inners of
XFile (EX9.Geometry Load) which is not…ahem scheduled right now…