Create Grass

Plugins linking to this thread: (hide)

Create GrassAuthor: Nassos Yiannopoulos
Makes strands on a given surface that are curvy to look like grass blades. Zip contains a shader preset for the grass, copy it to your »DSPresets/Shaders/Material« folder

Related plugins: New Grass

local backup: Create Grass v1.1.rar

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: Create Grass

Post by nassosy » 03 Dec 2009, 14:07

Thanks everyone,
the main reason i uploaded this compound is that
it works on curved surfaces (torus) as well as it does
on planar ones (grid).

from the the few render tests i did,
i would say that strands have a slight advantage

Squizmek
Posts: 53
Joined: 11 Jul 2009, 13:13
Skype: squizmek

Re: Create Grass

Post by Squizmek » 03 Dec 2009, 14:51

nassosy wrote: from the the few render tests i did,
i would say that strands have a slight advantage
cool, thanks again for sharing.

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: Create Grass

Post by nassosy » 08 Dec 2009, 14:41

I did some more tests here are the results on my 6GB Ram Core 2 Quad with 2010sp1 64bit:

(with Raytraced Shadows)
65000 hairs 0:03:53.24
146561 strands 0:00:24.99

(with 1024 Shadow Map, looks like crap though)
65000 hairs 0:00:49.73

(with 2048 Volumic Shadow Map)
65000 hairs 0:00:15.60
146561 strands 0:00:28.58

(with 4096 Volumic Shadow Map)
65000 hairs 0:00:19.08
146561 strands 0:00:39.03
Attachments
grass volumic Shadow map.jpg
grass volumic Shadow map.jpg (186.01 KiB) Viewed 3675 times
grass Strands Raytraced-1.jpg
grass Strands Raytraced-1.jpg (196.01 KiB) Viewed 3675 times

Squizmek
Posts: 53
Joined: 11 Jul 2009, 13:13
Skype: squizmek

Re: Create Grass

Post by Squizmek » 16 Dec 2009, 19:50

wow, looks like it's really fast for raytracing!

User avatar
Maximus
Posts: 1104
Joined: 09 Jun 2009, 15:45

Re: Create Grass

Post by Maximus » 14 May 2010, 22:03

i have a problem here :D
i dont get why it renders some strands completely black, like they have some normals issue or lack of color attribute, i didnt do anything

i didnt do any customization stuff i just create a grid, create a pointcloud, then create -> ice tree and imported the compound.
plugged the get grid to surface input and render it.

any clue? i'm a grass fanboy and i'm loving this compound :D

further investigation took me to find out that this issue happens with mental ray sun and sky, when you create sky/sun seutp you get this issue. is there any way to have them work with sky/sun setup? or i'm doing something wrong.

deleted sun and it still doing it, now i got rid of the environment and the problem's gone. re-plugged environment and it renders some black strands, so its bound to environment..

Image

thanks!

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: Create Grass

Post by nassosy » 15 May 2010, 01:21

That's weird i never had any problems with sun/sky setup
(using Pass->Edit->Initialize Sky Shader)
maybe its the way you create your sun/sky

care to share a scene file?
Attachments
grass.jpg
grass.jpg (93.28 KiB) Viewed 3536 times

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: Create Grass

Post by nassosy » 15 May 2010, 01:23

here is the 2011 scene
Attachments
grass sun-sky 2011.rar
(185.57 KiB) Downloaded 238 times

User avatar
Maximus
Posts: 1104
Joined: 09 Jun 2009, 15:45

Re: Create Grass

Post by Maximus » 15 May 2010, 01:54

i downloaded your scene and the problem is there too, you gotta activate final gather, thats what i did with your scene, set gamma 2.2 in exposure shader and f-stop at 8 to see better.
it seems it has some problem with FG?
i'm uploading my scene in a moment
Attachments
grass_test.rar
Grass scene
(181.71 KiB) Downloaded 219 times

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: Create Grass

Post by nassosy » 15 May 2010, 13:50

The problem seems to be with the grass normals looking on the wrong side :
' WARNING : RCFG 0.6 warn 542002: angle between normal and geometry normal > 90 degrees

the only solution i found is setting the Mode to "Expert"
and the "Filter Size = 0"
Attachments
grass fg.jpg
grass fg.jpg (102.97 KiB) Viewed 2997 times

User avatar
Maximus
Posts: 1104
Joined: 09 Jun 2009, 15:45

Re: Create Grass

Post by Maximus » 15 May 2010, 15:38

oh thats fine, i use expert with 0 0 quite often for exteriors, so it should work :)

i'll check it in a bit

User avatar
Maximus
Posts: 1104
Joined: 09 Jun 2009, 15:45

Re: Create Grass

Post by Maximus » 13 Jun 2010, 21:33

viewtopic.php?f=25&t=752

used for the grass here,thanks again for this awesome compound, i had so much fun :D

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: Create Grass

Post by nassosy » 17 Jun 2010, 12:58

Here is a sample for those having difficulties.
Attachments
Create Grass Sample.rar
scene file
(188.19 KiB) Downloaded 334 times
screenshot
screenshot
create grass sample.jpg (149.67 KiB) Viewed 6091 times

Ramon
Posts: 111
Joined: 19 Aug 2010, 22:47

Re: Create Grass

Post by Ramon » 22 Oct 2010, 10:54

SI 2011 AP 64 bit
when load compoud error
// WARNING : 3000-EDIT-AddICECompoundNode - Could not set value on [Randomize Around Value 0].Variance
// WARNING : 3000-EDIT-AddICECompoundNode - Could not set value on [Randomize Around Value 3].Variance
// WARNING : 3000-EDIT-AddICECompoundNode - Could not set value on [Randomize Around Value 14].Variance
// WARNING : 3000-EDIT-AddICECompoundNode - Could not set value on [Randomize Around Value 16].Variance
// WARNING : 3000-EDIT-AddICECompoundNode - Could not set value on [Randomize Around Value 17].Variance
not work bend and rand angle
ok reconnect node bend strands after self strand size and color and it work! strange

julius
Posts: 248
Joined: 12 Jun 2009, 10:56

Re: Create Grass

Post by julius » 27 Oct 2010, 15:32

did anyone try to create animated grass with this compound?

joquer
Posts: 5
Joined: 20 Jul 2009, 20:05

Re: Create Grass

Post by joquer » 25 Jan 2011, 20:00

When I set the Attribute_Color to StrandColor it is not bend, but when it is set to Color, The blades are bended. I do not understant why tweaking the render_tree changes the shape of the blades?

I tried to reconnect the node bend strands before self strand size and color, as it was connected after, and I have bended blades again but no more color.
:(

I am using Softimage 9.5 64 bit (2011 Subscription Advantage...)

JoQ

User avatar
Loki
Posts: 12
Joined: 19 Jun 2009, 17:07

Re: Create Grass

Post by Loki » 22 Jun 2011, 13:38

Hallo

Anyone knows how can I use a texture to color the grass made with this compound?
(sorry for my english)

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests