Grass

Tutorials/guides/tips on how to use Indigo and the Indigo exporters
Post Reply
11 posts • Page 1 of 1
StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Grass

Post by StompinTom » Fri Mar 05, 2010 8:58 am

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!
Attachments
100304_simple_grass_example.jpg
100304_simple_grass_example.jpg (358.36 KiB) Viewed 116482 times
Last edited by StompinTom on Mon Aug 23, 2021 12:57 am, edited 2 times in total.

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Re: Le Grass

Post by StompinTom » Fri Mar 05, 2010 10:28 am

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?

User avatar
dakiru
Indigo 100
Posts: 747
Joined: Mon Jun 22, 2009 6:51 am

Re: Le Grass

Post by dakiru » Fri Mar 05, 2010 11:53 am

Great stuff! Thanks for sharing :D
Will be very interesting to try this with density/size map 8)

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Re: Le Grass

Post by StompinTom » Fri Mar 05, 2010 12:18 pm

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.

User avatar
Meelis
Posts: 383
Joined: Sat Mar 14, 2009 11:29 pm
Location: Estonia

Re: Le Grass

Post by Meelis » Sun Mar 28, 2010 7:53 am

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.

User avatar
kikeonline
3rd Place Winner
Posts: 160
Joined: Wed May 21, 2008 2:47 am
Location: Nicaragua

Re: Le Grass

Post by kikeonline » Fri Jul 09, 2010 4:15 am

How did you convert to mesh!!??

I tried alt-c and look for the convert button on the modifiers list and nothing :(

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Re: Le Grass

Post by StompinTom » Fri Jul 09, 2010 7:53 am

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).

burnin
Posts: 150
Joined: Tue May 04, 2010 2:53 pm

Re: Le Grass

Post by burnin » Thu Aug 19, 2021 10:21 am

:D
This is Now. Just render.
(500 objects w/ 80 childs)
Grass_hairsys.Scene.jpg
Blender 2.93.3 LTS, Blendigo Exporter 4.3.3., Indigo Renderer 4.6
Attachments
Grass_hairsys.zip
(637.18 KiB) Downloaded 1050 times

MrBlack
Posts: 32
Joined: Sun Jan 08, 2012 11:32 pm
Location: Sydney or Lusaka

Re: Le Grass

Post by MrBlack » Wed Jan 05, 2022 8:26 pm

burnin wrote:
Thu Aug 19, 2021 10:21 am
:D
This is Now. Just render.
(500 objects w/ 80 childs)

Grass_hairsys.Scene.jpg

Blender 2.93.3 LTS, Blendigo Exporter 4.3.3., Indigo Renderer 4.6
How did you manage this.
And is it possible with the 3DS Exporter?

User avatar
Headroom
Indigo 100
Posts: 1059
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

Re: Grass

Post by Headroom » Thu Jan 06, 2022 5:10 am

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.

burnin
Posts: 150
Joined: Tue May 04, 2010 2:53 pm

Re: Le Grass

Post by burnin » Fri Jan 07, 2022 12:18 pm

MrBlack wrote:
Wed Jan 05, 2022 8:26 pm
burnin wrote:
Thu Aug 19, 2021 10:21 am
:D
This is Now. Just render.
(500 objects w/ 80 childs)

Grass_hairsys.Scene.jpg

Blender 2.93.3 LTS, Blendigo Exporter 4.3.3., Indigo Renderer 4.6
How did you manage this.
And is it possible with the 3DS Exporter?
As mentioned, with Blender & Blendigo exporter. Scene file is attached. :wink:
About 3DS Max, I wouldn't know, but you're free to check and report your findings.

Post Reply
11 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest