Jump to content

Jsmidlow

Members
  • Content count

    13
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Jsmidlow

  • Rank
    Peon

Personal Information

  • Name
    Arsen Suleimanov
  • Location
    Milan
  1. Connect opposite points in vex

    Thank you so much!!! It really helped me)) (Sorry for late answer)
  2. Connect opposite points in vex

    Hey hey. I'm trying to do a very simple thing - connect opposite points within vex... Normalas are given. I've tried with dot product but failed((( Any advices?
  3. Min values from unknown number of arrays

    Thank you)
  4. Hello. I have an array attribute and I need to figure out min values among all first, second, third, etc elements of arrays. If I were about to know the exact length of array (let's say 3) I would do this... iterate insider forloop "distances" append values to three new arrays and find min values with min function. min(distancesone[0]), min(distancestwo[1]), min(distancesthree[2])...... My problem is that I don't know the exact number of array and min() is useless as long as I can't manually create arrays of specific number elements. So the question is how can I figure put the min value among distances[0] elements, then [1], [2] and so on... Thank you.
  5. Atom's Link Page

    Thank you so much!
  6. Hi. I was trying to use some "maketransform vex code" I've seen in a tutorial in order to scale objects along custom axis. But kind of lost and don't know how to apply the code properly. Any help? The file is included. I was thinking maybt it's better to apply some matrix that will bring every object to the world origin, then apply scale and then invert "back to origin" translation matrix so that the objects come to their local spaces... but don't know how do it in vex. maketransform.hipnc
  7. POP proximity to group

    Thanks a lot! SOLVED!))))
  8. POP proximity to group

    Thank you for the reply and advice. It worked... but worked in a strage way. It colors in red particles that are not part of a "right" group. Blue marker is ID of a point and white marker is id os a nearest. Somehow they are colored red though the nearest point doesn't belong to the "right" group. I include the file POPS_studies.hipnc
  9. POP proximity to group

    Hi everyone! I have a very basic POP setup. The side with positive P.x belongs to group "right". With a "POP proximity" node I check nearest particle. My goal is to fins if particles from "left" have a nearest neighbour from group "right" and if they have color them red. In my opinion it should be simple. The nearest attribute gives you a number of a nearest point and you use it within "inpointgroup" to check if nearest belongs to this group. If it belongs color red the point that has a current nearest as its attribute.... But it doesn't work. I tried to put the same code in in a "geowrangle" but it wasn't working also there. (in general what's the difference between "popwrangle" and "geowrangle"???). I trief to solve the problem avoiding "inpointgroup" by assigning the attribute ntest to particles from the right and checking in popwrangle within "point(0,"ntest",npt)" if a nearest has the ntest attribute equal 1... but again things aren't working... Apparently "point" doesn't work that way in POPs or I use ot wrong... don't know..
  10. POP attribute from VOLUME

    Thank you so much. That's exactly what I was searching for. ))))
  11. Hi everyone. I have a very basic setup and a problem that can't solve. I cant transfer "density" attribute from volume to particles using POP ATTRIBUTE FROM VOLUME. But I can't transfer color, though it should work in a same way as density attribute transfer. I include here printscreeens so you can see easily. I create te volume, assign color with color SOP. Refer to this color sop within POP ATTRIBUTE FROM VOLUME, refer to Cd as a name of a volume and.... nothink works(. Thank you in a advance.
  12. POP stream/group in wrangle

    Hi everyone. I have a pop stream called "stream_main" and is written that its a pointgroup. Though when I refer to it in a wrangle, if doesn't work. I don't know why.
  13. Hello. I'm struggling with changing vector direction inside a solver. In the file attached there is a point that reads vector attribute of a nearpoint and uses it in order keep on moving. The movement is done in solver. The problem is that it can after doing a "step" the point can take a new vector that is opposite to it's current direction and "step back". It returns to previous position where it gets a former "go ahead" vector and does a "step forward" and repeats the whole vector change and "back and forth" movement on and on. Inside the solver I try to compare vectors of previous and current frame and build a condition - if they are opposite let the point go down {0,1,0}; But no matter how I try it doesn't work. If someone can help me... SOLVER_problem.hipnc
×