tyflow terrain scatter
#1
Hi guys, i'm new on terrain, i already made several step forward in the direction i want but i found a new limitation

i'm generating an animated terrain, to simulate the evolution of erosion in time, and i scattered some particles usin the grass channel from Terrain Color node, all fine and i got basically what i was looking for

i miss the offset position in the Terrain Scatter node, there is no way to set ofset from surface, i miss the stick to surface as well, once scattered the objects they maintain the original position only and if the terrain changes they stay locked also if i set the timing to continuos, one more issue is that if i set CONTINUOUS in timing the scattered geos stay locked and they keep being generated everyframe so the memeory gets filled quickly

is this normal? how can i fix this situation to obtain the scattered geos staying linked to surface with offset during animation and not being spawned on everyframe?

i did try several nodes to get this condition but nothing looks working, the feeling is thath the scatter node miss several fundamental options

please help!
  Reply
#2
The Terrain Scatter operator doesn't do any post-scatter surface tracking, no, however an offset parameter in the operator could be useful, yes. For the time being you can send the generated particles to an event with a Spread operator and offset them along the axis of your choosing (ex: Z).

If you want to go the continuous generation route, just send the particles to an event with a Delete operator, whose timing is set to "event age >= 1". That way the particles will continually be visible for only a frame, preventing next-frame overlap.
  Reply
#3
hi tyFlow thanks for your help, about the Delete node way..i did test it already and it works...but obviously the positions of scattered particles change on each frame so i get a flickering result

any idea on how to stabilize this?
  Reply
#4
You could try this:

Generate your animated terrain, and particles (particles only on the first frame) in flow A. Also add a Terrain Mesh operator to flow A so the terrain is converted into an editable mesh. Then create flow B, and use Birth Flow to import the particles from flow A. Then use Object Bind (in surface bind mode) to bind the particles in flow B to the terrain mesh of flow A. They should now move with the animation and stay locked to the surface. You will no longer need to re-generate them each frame, continuously, either.

Note that meshes generated by the Terrain Mesh operator are going to be pretty dense for anything higher than 1024x terrain resolution - flow B might update pretty slowly as it continually re-processes the terrain mesh each frame. But as long as you don't enable adaptive meshing in the Terrain Mesh operator, the animated terrain mesh should have consistent topology each frame and will be trackable by the Object Bind operator.
  Reply
#5
hi tyFlow
yes i confirm that the flow A and B way works fine! thanks!
i just had to specify a separate group for the scattered particles to isolate them in the second birth
  Reply


Forum Jump: