Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voronoi 3D error #12

Closed
nortikin opened this issue Apr 21, 2020 · 4 comments
Closed

Voronoi 3D error #12

nortikin opened this issue Apr 21, 2020 · 4 comments

Comments

@nortikin
Copy link
Contributor

nortikin commented Apr 21, 2020

Снимок экрана от 2020-04-21 16-42-09
scale issue
Снимок экрана от 2020-04-21 16-44-50

@portnov
Copy link
Owner

portnov commented Apr 21, 2020

I don't think this is a "scale" issue.
The correct Voronoi diagram for this point is one point in (0,0,0) and several endless segments of plane. It should be something like
Screenshot_20200421_191635
but in 3D. Note that the triangles at the illustrations above are triangles only because we cut these areas with a circle; otherwise, there should be just endless rays. Similar picture we would have in 3D.
The problem is, there is currently no way to deal with such infinite segments of planes in Blender (you can't apply bisect modifier to infinite mesh, for example). For Voronoi 2D node, I implemented some algorithm of cutting such infinite areas manually. But for 3D such algorithm would be much more complex, so I've not implemented it yet. So such infinite segments / rays are just skipped instead.

@portnov
Copy link
Owner

portnov commented Apr 21, 2020

This probably will have more sense if you change size of random vectors from all 1 to some random values:
Screenshot_20200421_192603
Play around with this setup. You'll see what happens when you set Float High too close to Float Low.

@portnov
Copy link
Owner

portnov commented Apr 21, 2020

Compare also to
Screenshot_20200421_193445
(play around with Randomize value)...

@nortikin
Copy link
Contributor Author

nortikin commented Apr 27, 2020

much a lot of thanks

@portnov portnov closed this as completed Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants