Page 2 of 7
Posted: Wed Jun 09, 2010 8:22 pm
by ACE247
Basically its the same as a heightmap works. black areas for no grass population and white for high population. Basically you get the pixel of the texture and set the grass batch density according to it. I think this was also used in this grass node
http://irrlicht.sourceforge.net/phpBB2/ ... grass+node Hope it helps, and no I don't want to just sound clever im only helping.
Posted: Wed Jun 09, 2010 8:26 pm
by devsh
Dude you just didnt think we didnt think of all that before?
we are using all of them

Posted: Wed Jun 09, 2010 8:32 pm
by ACE247
devsh wrote:
we are using all of them

I see you didn't, but obviously now you are.
If you want more advice, just ask I have a friend over at Infinity Ward.
No I'm not joking.
Posted: Wed Jun 09, 2010 8:43 pm
by devsh
its the texturing that is the problem

Posted: Wed Jun 09, 2010 9:28 pm
by ACE247
How do you mean?
Posted: Thu Jun 10, 2010 12:03 pm
by devsh
you know the way that the CoD4 grass planes/billboards blend in with the ground because the ground texture and color matches the grass . I might have to go out and get some pictures.
Posted: Thu Jun 10, 2010 1:11 pm
by ACE247
for a cheap effect you could also just try combining the grass and terrain grass texture, dont know if that would work out nice. It's just an idea.
Posted: Thu Jun 10, 2010 1:34 pm
by loki1985
what about this (just brainstorming, i have no experience in this):
make a small area with very high grass density, each piece of grass slightly tilted ins some random way. render once, save to texture, and use this texture as ground texture, using much lighter grass density from now on.
this could be made by hand, or dynamically using RTT or shaders. the latter would enable changing textures/params/etc without having to manually create the texture.
Posted: Thu Jun 10, 2010 3:54 pm
by devsh
this would not work
I'd have to get out in a field, get a picture looking from above of 20cm tall grass, use that as ground
and then get a picture of grass from the side while sticking in a blue/red sheet of paper as backdrop, use photoshop to get rid of the blue/red and have a nice grass texture that way
Posted: Thu Jun 10, 2010 4:26 pm
by ACE247
What about Google Image Search? The simple word 'grass' gives quite alot of results, except if you want original image. Anyways i've uploaded some pics for you to experiment with,
http://www.fileden.com/files/2010/6/9/2 ... extures.7z
Posted: Thu Jun 10, 2010 7:48 pm
by devsh
eigen has changed the textures
however here is blender grass
EDIT: I cant download your file!
Posted: Thu Jun 10, 2010 8:09 pm
by ACE247
Posted: Thu Jun 10, 2010 8:35 pm
by devsh
oh goodie
We will get them in as soon as we finish the programming of the grass. THX a lot
Posted: Fri Jun 11, 2010 11:54 am
by ent1ty
Awesome! What license are they?

Posted: Fri Jun 11, 2010 12:55 pm
by ACE247
Use em any way you want, the're free!
I might post some more If you want.