Page 1 of 1

Scattering around pre-existing geometry

Unread postPosted: Sun Apr 05, 2020 3:37 am
by kai_wheatley
Okay another quick question, and I feel like this should be fairly straight forward but I cannot for the life of me find the answer.

I just want to scatter points AROUND existing geometry. So, I have some buildings in a forest, and I don't want the tree to scatter where the buildings are! Or I have some rocks, and I don't want the tree to scatter overtop the rocks. Keep in mind, the buildings and/or rocks are manually placed and not scattered!

Thanks for your help!

Re: Scattering around pre-existing geometry

Unread postPosted: Sun Apr 05, 2020 10:15 am
by RayCaster
There are a couple of ways to do it, scopes is one, but perhaps the easier way is to add collision objects in the scatterer, the column to the right of probability, though obviously being able to use scopes properly is high on the list of things to get your head around, can't say I understand fully what can be done with them but i'll keep watching the video's and eventually it will sink in :)
I think it would be really cool if one scatterer knew where the objects of another scatterer where so as to avoid placing objects there, but I suppose thats asking too much of the system, and where better project management/planning comes into it, and figuring out your own way to implement things you have learned, there are many video's I've watched where I cant figure out how I would use certain things.

Re: Scattering around pre-existing geometry

Unread postPosted: Sun Apr 05, 2020 8:12 pm
by kai_wheatley
Yeah I was looking into scopes but don't quite understand how to use them yet.. Adding the collision objects doesn't work because you can only add one object(at least I think you can only add one). That, as far as I can tell, is basically just using a single geometry as a bounding box for the scatterer, whereas I have many manually placed geometries that I wan't all the scattered objects to avoid.

Re: Scattering around pre-existing geometry

Unread postPosted: Mon Apr 06, 2020 3:04 am
by RayCaster
You can add one per scattered item, though I dont know if that just changes the shape of the bounding box for that item, or if they avoid that item, if its avoid then the object would be placed where you didnt want items, but perhaps it doesnt work that way. Though once you have a working scope setup you have it for anything that needs it and from there it shouldnt be too hard to get it working as you want. Perhaps do a search for pre-made scope example to build on.

Re: Scattering around pre-existing geometry

Unread postPosted: Mon Apr 06, 2020 9:49 am
by dboude
Hi,

You have to decimate points with an occlusion texture. Here is an example. I decimate the points that are used to scatter the boxes with the occlusion made by the spheres.

Decimate_with_Occlusion.project
(36.72 KiB) Downloaded 114 times


Also have a look at that: https://www.isotropix.com/learn/tutoria ... -occlusion

Cheers

Re: Scattering around pre-existing geometry

Unread postPosted: Tue Apr 07, 2020 3:08 am
by kai_wheatley
Thanks! The occlusion set up works.