Aten Skinner

Aten

About Me

Expertise
Game Artist
Location
United Kingdom
Website

Connect

Recent Forum Posts

[SOLVED]Detecting patterns in a grid Jan. 17, 2020, 5:40 p.m.

How far did you get with this in the end? I only just found this thread I am currently doing something very similar (trying to make a version of the bricker plugin for blender as a learning project) and had the exact same problems you did with doing the loops. It was a real headache figuring out the right combination of feedback and merging and iterating. The hardest bit was removing points from the iteration feedback but keeping them for the final copytopoints

From reading this it sounds like we both used the same approach, iterating over a bounding shape within the volume and tagging points! I wish I had read this thread when I started tho…

I currently have a library of 12 rectangular bricks. But I am working on the next part of the network which is adding slopes and flat tiles on the top and bottom of the model.

If you want to see some shots then I can post some in progress ones.

Select points on top/bottom surfaces of VDB Jan. 17, 2020, 4:29 a.m.

Ok I found a command called ‘pcline’ which was good for this. I got all the points in a row (0,1,0) with current point into an array then checked their distances against current point with a cutoff search distance. Then got the sign of P.y against checked point P.y to decide whether it was above or below that point. Worked pretty well after a bunch of faffing with vex syntax (I'm sure it will get easier one day !

Select points on top/bottom surfaces of VDB Jan. 15, 2020, 4:43 p.m.

Hi, I have a point volume that I need to be able to select the points that are facing up and down i.e. any point that doesn't have a point directly above or below it in the grid spacing (see attached image) I'm not sure if there's any way to search with a direction vector for a given point? Like for each point check to see if there is a point directly above or below in the next grid spacing in a directional vector (0,1,0 or 0,-1,0) Or any other way that exists that this could be done?

Cheers - Aten.