Grass
-
- Posts: 1828
- Joined: Mon Sep 04, 2006 3:33 pm
Grass
Hey hey,
Not much time now, but I'll explain later. Here is the BLEND file and a rendering of what the result looks like. Very simple, I made this in 2 seconds from scratch. No textures or nothing, just a very simple grass bunch object that I made with curves and a subdivided ground plane that I made wavy to show that it can be applied to any type of terrain. Materials are a simple brown diffuse material for the ground and a simple green Phong material for the grass. Extend this to forests, gravel, rocks, etc. etc. etc.
Feel free to ask for clarification. Hope this helps someone out... It's actually very light, I just did about 6 scenes each with several thousand trees and fields of grass and the packed Indigo files I made for rendering on my quad are all under 60 Mb with all the textures and everything. Not bad! Makes it very easy to swap around on a USB shtick.
Have at it!
Not much time now, but I'll explain later. Here is the BLEND file and a rendering of what the result looks like. Very simple, I made this in 2 seconds from scratch. No textures or nothing, just a very simple grass bunch object that I made with curves and a subdivided ground plane that I made wavy to show that it can be applied to any type of terrain. Materials are a simple brown diffuse material for the ground and a simple green Phong material for the grass. Extend this to forests, gravel, rocks, etc. etc. etc.
Feel free to ask for clarification. Hope this helps someone out... It's actually very light, I just did about 6 scenes each with several thousand trees and fields of grass and the packed Indigo files I made for rendering on my quad are all under 60 Mb with all the textures and everything. Not bad! Makes it very easy to swap around on a USB shtick.
Have at it!
- Attachments
-
- 100304_simple_grass_example.jpg (358.36 KiB) Viewed 119948 times
Last edited by StompinTom on Mon Aug 23, 2021 12:57 am, edited 2 times in total.
-
- Posts: 1828
- Joined: Mon Sep 04, 2006 3:33 pm
Re: Le Grass
H'ok.
- Objects must be rotated 90 degrees in the Y axis for them to stand up straight on your grass. (RotY = 90)
- Over in the Extras panel you can set the size (1.00 means it is whatever size the actual instanced object is, you can play with that, though)
- Right below that is the field for changing the size randomly (very useful, I keep it between 0.3 and 0.6)
- In the Physics panel: Rotation is set to Normal, Randomize Phase is set to 1.0 (right next to Phase, NOT where it says Random right below Dynamic). This randomizes the rotation of the grass. It is this and the random rotation and placement that make it possible to make fields of grass that doesn't tile from a simple grass bunch model.
- Velocities are all at 0, don't need them.
- Make sure to enable the Emitter button so that it renders the ground plane, unless you're using a duplicated ground plane to control your particles, which may or may not be good practice.
Questions/comments?
- Objects must be rotated 90 degrees in the Y axis for them to stand up straight on your grass. (RotY = 90)
- Over in the Extras panel you can set the size (1.00 means it is whatever size the actual instanced object is, you can play with that, though)
- Right below that is the field for changing the size randomly (very useful, I keep it between 0.3 and 0.6)
- In the Physics panel: Rotation is set to Normal, Randomize Phase is set to 1.0 (right next to Phase, NOT where it says Random right below Dynamic). This randomizes the rotation of the grass. It is this and the random rotation and placement that make it possible to make fields of grass that doesn't tile from a simple grass bunch model.
- Velocities are all at 0, don't need them.
- Make sure to enable the Emitter button so that it renders the ground plane, unless you're using a duplicated ground plane to control your particles, which may or may not be good practice.
Questions/comments?
Re: Le Grass
Great stuff! Thanks for sharing
Will be very interesting to try this with density/size map
Will be very interesting to try this with density/size map
-
- Posts: 1828
- Joined: Mon Sep 04, 2006 3:33 pm
Re: Le Grass
Ah yes, forgot about that: Size and Density painting works fairly well, though it is useful to increase the resolution of your mesh so that you can get smoother gradients of change.
Re: Le Grass
Hi
StompinTom i tested your grass-example.blend
Grass aint rendered, allsoo i cant see the grass in blender 2.49b.
And i modeled some grass blades added to particles system, i can see them but indigo wont render them.
Any ideas?
EDIT
I convert to mesh then i can see, but if i use childrens are they instanced after converting to mesh.
5000 particles x 20 childrens is pretty slow, memory use is 4,5 GB for blender and keeps going up.
Blender shows total objects ~100 000, but cpu core is still under load. Can it be blender view is just refreshing objects in view and it's safe to save my work.
EDIT2
Converted to mesh preserves instancing and indigo uses very litle memory to render it.
But i guess it's blender bug, i can't go over 2000 particles and 15 childrens.
StompinTom i tested your grass-example.blend
Grass aint rendered, allsoo i cant see the grass in blender 2.49b.
And i modeled some grass blades added to particles system, i can see them but indigo wont render them.
Any ideas?
EDIT
I convert to mesh then i can see, but if i use childrens are they instanced after converting to mesh.
5000 particles x 20 childrens is pretty slow, memory use is 4,5 GB for blender and keeps going up.
Blender shows total objects ~100 000, but cpu core is still under load. Can it be blender view is just refreshing objects in view and it's safe to save my work.
EDIT2
Converted to mesh preserves instancing and indigo uses very litle memory to render it.
But i guess it's blender bug, i can't go over 2000 particles and 15 childrens.
- kikeonline
- Posts: 160
- Joined: Wed May 21, 2008 2:47 am
- Location: Nicaragua
Re: Le Grass
How did you convert to mesh!!??
I tried alt-c and look for the convert button on the modifiers list and nothing
I tried alt-c and look for the convert button on the modifiers list and nothing
-
- Posts: 1828
- Joined: Mon Sep 04, 2006 3:33 pm
Re: Le Grass
It doesn't work with children and I don't use the actual particles or anything.
That scene should be set up so that it uses an object (grass patch or blade) as a particle visualization type. That's the whole beauty of it, you can sub in any object you want (for example, a tree model to make a dense forest).
That scene should be set up so that it uses an object (grass patch or blade) as a particle visualization type. That's the whole beauty of it, you can sub in any object you want (for example, a tree model to make a dense forest).
Re: Le Grass
This is Now. Just render.
(500 objects w/ 80 childs)
Blender 2.93.3 LTS, Blendigo Exporter 4.3.3., Indigo Renderer 4.6
- Attachments
-
- Grass_hairsys.zip
- (637.18 KiB) Downloaded 1124 times
Re: Grass
I am not sure this is achievable with the 3DS Max exporter, never worked with it.
in Blender it's implemented with a particle system and is actually fairly easy to do.
However, even the Blender plugin/exported is lagging behind in functionality compared to say the LuxCore Render plugin, which features a node based material system right within Blender and viewport rendering in Blender.
The best Plugin is likely the C4D plugin, followed by the Sketchup version.
in Blender it's implemented with a particle system and is actually fairly easy to do.
However, even the Blender plugin/exported is lagging behind in functionality compared to say the LuxCore Render plugin, which features a node based material system right within Blender and viewport rendering in Blender.
The best Plugin is likely the C4D plugin, followed by the Sketchup version.
Re: Le Grass
As mentioned, with Blender & Blendigo exporter. Scene file is attached.
About 3DS Max, I wouldn't know, but you're free to check and report your findings.
Who is online
Users browsing this forum: No registered users and 2 guests