poplasavvy.blogg.se

How to grow blender trees in unity
How to grow blender trees in unity






how to grow blender trees in unity
  1. How to grow blender trees in unity how to#
  2. How to grow blender trees in unity generator#
  3. How to grow blender trees in unity plus#

It’ll turn the landscape blue and your cursor into a brush icon. To do this, select the landscape and switch from Object Mode to Weight Paint mode.

how to grow blender trees in unity

In Blender’s Particle Emitter, the same effect can be achieved using Weight Painting directly on our landscape. Replicating using Density or Distribution MapsĬarrara has a Distribution Shader that can replicate objects more or less dense across an object. Now all objects in the group are replicated. It’s easy to do too: group the desired objects in Object Mode using CTRL + G, then head back to the Render box in the Particle Emitter, and instead of Object, choose Group. In my case, all the grass stalks were a single object – but sometimes it’s useful to replicate more than one object. This is also the place to add some random sizing on the grass. For some reason, the size of the replicated object is not the same as the one we’ve modelled, so here’s a way to change it (under Size). To change the size of our grass clumps, head over to the Physics box. If it’s too messy, uncheck the Random tick box under Emission. This is also the place to increase the amount of grass we can grow along the landscape, should it look a little sparse. Play with the two Random parameters and the Phase until you see a desired result. Try out each setting and see what works best: on some objects, Normal will work well – on others, like our landscape, it does not). In here, set the Initial Orientation to something that brings our grass into a more appropriate order (i.e. Head over to the Rotation box next and select it (it’s only visible if you’ve selected Advanced at the top of the Particle Emitter). Now we have grass on the landscape, but it may not look as fantastic as we would like. Head over to Render and select Object, then under Dupli Object, select your grass from the drop down menu (mine is appropriately named Stalk). Also, tick the advanced check box so we can populate some necessary settings in a moment. All we need to tell the Particle Emitter is that we don’t really want it to generate strands, but instead use an object – in our case, the clump of grass we’ve modelled earlier. Make sure the replication type is set to Hair, and don’t be afraid when you see your landscape starting to grow really long hair.

How to grow blender trees in unity plus#

Click the plus sign to add one to the selected object (in our case, that’s the landscape). It’s that little sparkly icon in the Properties Palette. Replicating an object along another one can be done using the Particle Emitter in Blender. Select the landscape to continue with our grass growing adventure. The shader for the landscape is a default diffuse with a dark brown, representing “the earth”.

How to grow blender trees in unity how to#

How cool is that? I’ve not managed to figure out how to change the default shape, so I’ve just scaled it a bit and made it slightly flatter (it’s a mountain by default). Now when we insert a mesh, it comes up with an option to insert a landscape.

how to grow blender trees in unity

It ships with Blender and can be found under File – User Preferences – Add-ons – Add Mesh.

how to grow blender trees in unity

Here’s the cycles shader (click to enlarge):īlender has no terrain generator, but there is an add-on that can create a simple landscape called ANT Landscape by Jimmy Hazevoet. I’ve also added a noise texture to the roughness to make the fluctuations a little more random. I gave the diffuse the green and the glossy a bit of yellow so that there’s a bit of variation in the colours. I’ve turned all stalks into one object using CTRL + J and created a material for the stalks next. I then duplicated each stalk in Object Mode and rotated and scaled it a little to create this clump. In Edit Mode, I’ve simply rotated those loops to create a single stalk. It’s a thin cylinder with several edge loops inserted.

How to grow blender trees in unity generator#

Neither a replicator nor a terrain generator exists in Blender, so here’s how I did it. Those are then replicated over a larger terrain. Like with my Carrara approach, I’ve modelled a few grass stalks from a cylinder first. I didn’t know much about how to do this, but the approach is very similar in Blender. I have previously grown some grass on a terrain in Carrara, and thought I’d try the same in Blender.








How to grow blender trees in unity