What is the best way to make a realistic grass field in Houdini 16?
15232 15 5- ALMINA
- Member
- 154 posts
- Joined: March 2016
- Offline
- Doudini
- Member
- 333 posts
- Joined: Oct. 2012
- Offline
Maybe try the hair tools from houdini 16
If you want to build some system from scratch take a look at the khan academy pixar workshop where they show how they have done gras in brave. this technique can easily be applied in Houdini.
The main problem with your gras is that all of them look the same. try adding some randomness in heights and minor variations in the directions. in general having a more gras like shape can help too it just looks like a line atm. Take a look at these for example:
If you want to build some system from scratch take a look at the khan academy pixar workshop where they show how they have done gras in brave. this technique can easily be applied in Houdini.
The main problem with your gras is that all of them look the same. try adding some randomness in heights and minor variations in the directions. in general having a more gras like shape can help too it just looks like a line atm. Take a look at these for example:
- ALMINA
- Member
- 154 posts
- Joined: March 2016
- Offline
Hello, thank you for your reply
I am trying to add random direction and random height to it but I'm having some trouble in the technical side…
Do you know how I can add random height and direction? I am trying to use the stamp from a copy to give it random amount but doesn't seem to work well.
I am trying to add random direction and random height to it but I'm having some trouble in the technical side…
Do you know how I can add random height and direction? I am trying to use the stamp from a copy to give it random amount but doesn't seem to work well.
Edited by ALMINA - Feb. 26, 2017 01:53:29
- Doudini
- Member
- 333 posts
- Joined: Oct. 2012
- Offline
For stamping name a variable and put a value like: rand(@ptnum). kinda depends on what you want to do here.
Where you want to have that random value put: stamp(“../my_copy”, my_value, 0)
i personally would try to avoid stamp as much as possible as its really slow. You can use attribute randomize sop on the scattered points to add random values like scale, orientation and direction.
You can use these: (http://www.sidefx.com/ja/docs/houdini/copy/instanceattrs) [sidefx.com]
N (i use this for the direction so we use in Y a value from 0.8-1.2 or something)
pscale: will control your height so we put this like maybe 0.7 - 1.1
orient: the rotation. we can use something like -45 - 45
up: can be used for direction instead of N.
then you can also mix in more randomness with a point VOP and noises like turbulent noise to control color or drive further your shape.
I can post the hip file from the screenshot above later sometime if I dont forget. I jsut put that together real quick :3
Where you want to have that random value put: stamp(“../my_copy”, my_value, 0)
i personally would try to avoid stamp as much as possible as its really slow. You can use attribute randomize sop on the scattered points to add random values like scale, orientation and direction.
You can use these: (http://www.sidefx.com/ja/docs/houdini/copy/instanceattrs) [sidefx.com]
N (i use this for the direction so we use in Y a value from 0.8-1.2 or something)
pscale: will control your height so we put this like maybe 0.7 - 1.1
orient: the rotation. we can use something like -45 - 45
up: can be used for direction instead of N.
then you can also mix in more randomness with a point VOP and noises like turbulent noise to control color or drive further your shape.
I can post the hip file from the screenshot above later sometime if I dont forget. I jsut put that together real quick :3
Edited by Doudini - Feb. 26, 2017 02:18:13
- ALMINA
- Member
- 154 posts
- Joined: March 2016
- Offline
- RobW
- Member
- 147 posts
- Joined: March 2014
- Offline
- ragupasta
- Member
- 349 posts
- Joined: Aug. 2006
- Offline
Well thought I would have a play with this. I made a point of not looking at Almina's node network and after completion mine looks very similar to yours. This is the copy stamp method, and for 10,000 blades of grass I think 10 seconds of stamping time is acceptable.
This is certainly not polished or anything and could be taken a lot further, but I gave myself a 30 minute window to play with.
NURBS curves rendered with the width attribute for Mantra. The attribute is controlled by a ramp parameter for customisation. Noise is added to the curves point position, colour is by a UV attribute on the curve itself, again using a ramp parameter.
Pretty basic stuff.
Was a fun little thing.
This is certainly not polished or anything and could be taken a lot further, but I gave myself a 30 minute window to play with.
NURBS curves rendered with the width attribute for Mantra. The attribute is controlled by a ramp parameter for customisation. Noise is added to the curves point position, colour is by a UV attribute on the curve itself, again using a ramp parameter.
Pretty basic stuff.
Was a fun little thing.
- mawi
- Member
- 251 posts
- Joined: Jan. 2008
- Offline
- neil_math_comp
- Member
- 1743 posts
- Joined: March 2012
- Offline
Has anyone done tall grass, namely multi-blade grass? A few years back, (just for fun), I got part way through making a few assets for generating the geometry for grass of various types and levels of detail, including some ludicrously high-res hero grass, but I never got around to cleaning it up and making it usable, and I never finished getting the topology right for the connections between the blades on multi-blade grass.
If you're primarily interested in lawn grass, the next level of detail would be that there's a central fold in each blade, which could be faked by adjusting normals across the width of the blades in the shader if you're not zooming in very close. Lawn grass also usually has 2 blades coming from each plant, with a nearly-white base right around ground level, but I found that those are almost impossible to see in a real lawn from above. There are also tiny striations along the length of each blade, but they're pretty hard to see directly on lawn grass unless you're looking for them; they're much more obvious in tall grass. However, they do make shiny blades of lawn grass have very anisotropic shininess.
If you're primarily interested in lawn grass, the next level of detail would be that there's a central fold in each blade, which could be faked by adjusting normals across the width of the blades in the shader if you're not zooming in very close. Lawn grass also usually has 2 blades coming from each plant, with a nearly-white base right around ground level, but I found that those are almost impossible to see in a real lawn from above. There are also tiny striations along the length of each blade, but they're pretty hard to see directly on lawn grass unless you're looking for them; they're much more obvious in tall grass. However, they do make shiny blades of lawn grass have very anisotropic shininess.
Edited by neil_math_comp - March 4, 2017 22:49:38
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
- ragupasta
- Member
- 349 posts
- Joined: Aug. 2006
- Offline
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
- RobW
- Member
- 147 posts
- Joined: March 2014
- Offline
- jsmack
- Member
- 8026 posts
- Joined: Sept. 2011
- Offline
ndickson
Has anyone done tall grass, namely multi-blade grass? A few years back, (just for fun), I got part way through making a few assets for generating the geometry for grass of various types and levels of detail, including some ludicrously high-res hero grass, but I never got around to cleaning it up and making it usable, and I never finished getting the topology right for the connections between the blades on multi-blade grass.
If you're primarily interested in lawn grass, the next level of detail would be that there's a central fold in each blade, which could be faked by adjusting normals across the width of the blades in the shader if you're not zooming in very close. Lawn grass also usually has 2 blades coming from each plant, with a nearly-white base right around ground level, but I found that those are almost impossible to see in a real lawn from above. There are also tiny striations along the length of each blade, but they're pretty hard to see directly on lawn grass unless you're looking for them; they're much more obvious in tall grass. However, they do make shiny blades of lawn grass have very anisotropic shininess.
I've done tall grass/corn for features such as divergent and jupiter ascending, and it was based on a ‘transform pieces’ workflow, where all the blades/stalks/seeds/tassel are created at once, and then transformed by a point cloud. For distant plants, the leaves were represented as curves, and the seeds as particles. Now that for loops/compiled blocks/packed primitives exist, this could probably be done far more efficiently.
- -heavy-
- Member
- 62 posts
- Joined: Oct. 2007
- Offline
sorry for hijacking this thread, but what would it take to make the grass dynamic - so if something drops on to it, it bends to the side…
?
?
Edited by -heavy- - March 9, 2017 06:39:23
Janko Kissel
Maya & Houdini Smoke and Demolition VFX-Artist
http://vimeo.com/heavyatvimeo [vimeo.com]
https://www.youtube.com/user/masterheavyone/videos [youtube.com]
Maya & Houdini Smoke and Demolition VFX-Artist
http://vimeo.com/heavyatvimeo [vimeo.com]
https://www.youtube.com/user/masterheavyone/videos [youtube.com]
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
- -heavy-
- Member
- 62 posts
- Joined: Oct. 2007
- Offline
great, Matthias i check dat.
Janko Kissel
Maya & Houdini Smoke and Demolition VFX-Artist
http://vimeo.com/heavyatvimeo [vimeo.com]
https://www.youtube.com/user/masterheavyone/videos [youtube.com]
Maya & Houdini Smoke and Demolition VFX-Artist
http://vimeo.com/heavyatvimeo [vimeo.com]
https://www.youtube.com/user/masterheavyone/videos [youtube.com]
-
- Quick Links