Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Grass Like This:

This topic is 5126 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

http://www.crytek.com/screenshots/index.php?sx=xisle&px=1234.jpg how does one do grass like that shown above? is there a mathematical way to produce similar effect? thanks.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
I would be much more interested how to do grass like that:

http://membres.lycos.fr/ylmb/images/tu_shot01471.jpg

I tried to get something remotely similar, but failed miserably...

Share this post


Link to post
Share on other sites
There''s actually an article in the GPU Gems book which describes a method to create alot of artificial grass that looks good. I highly suggest reading it.

The basic idea is that instead of using a quad to display the grass you use a grass model. The one used in the code creatures benchmark is actually made up of 3 quads which intersect in the middle and are rotated about 45 degrees. This creates a star shape. The model is then textured with the grass texture, and the appropriate maps are created.

These grass primitives are then multiplied and placed extremely close to eachother (some even over lap). A vertex shader is later applied to the models to allow for "blowing in the wind". And a final touch is that a seperate layer of "flowers" is added above a specific area of the grass. The flowers are rotated at various angles to give the effect that they are growing up out of the grass but they are simply a layer on top of the grass.

This creates a very nice grass effect, the only time you can notice that this is not "real grass" is when you look at it from 90 degrees above.

Again if you want to do this I highly suggest reading the article. It''s very informative about the whole process.

Share this post


Link to post
Share on other sites
hmm...i see...is there like a fractal way to create cool and realistically looking grass? if they can create trees in fractal, are there ways to create grass then? could you guys point me to a good resource on this (if you know any)?

thanks!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!