Digital Paint Discussion Board

Development => Mapping => Topic started by: y00tz on April 22, 2007, 08:57:34 AM

Title: Entities for Grass
Post by: y00tz on April 22, 2007, 08:57:34 AM
I saw this : http://dplogin.com/forums/index.php?topic=5060.msg68512#msg68512

Earlier I made 3 grass models, and 3 matching skins; grass, shrub, mixture of smaller shrub and grass.  I was planning on making these models like with the func_model that Zorch taught me earlier, and placing them as entites on the ground to make 3D, realistic-ish looking grass.  This probably wouldn't kill the framerate for me, but would it work and look real, or would it just kill the frame rate for anyone without SLI..?

Cheers,
y00tz
Title: Re: Entities for Grass
Post by: stigma on April 22, 2007, 09:44:18 AM
3d model way would you model grass just use better grass textures  most likely they would suck on this game
Title: Re: Entities for Grass
Post by: Eiii on April 22, 2007, 02:42:15 PM
It would kill the framerate for anyone without a good video card, depending on what you're talking about.
Title: Re: Entities for Grass
Post by: Cobo on April 22, 2007, 04:03:14 PM
Plus, I dont think spamming grass models in a map would be a good and/or practical aproach.
Title: Re: Entities for Grass
Post by: Eiii on April 22, 2007, 04:25:42 PM
Would probably cause overflows or something for larger areas, too.
Title: Re: Entities for Grass
Post by: Cobo on April 22, 2007, 04:42:50 PM
Not to mention the forum overflow of "LOW FPS WTF?!?!" threads.
Title: Re: Entities for Grass
Post by: jitspoe on April 23, 2007, 01:29:40 PM
One thing you could do is strategically place brushes in the following manner:

- Mist flag set on every face.
- Nodraw flag set on all but one face.
- Trans33 + trans66 set on the last face.
- Grass texture with alpha channel set on the last face.

Trans33 + trans66 uses the alpha channel for transparency, so you could make a texture with some grass blades sticking up, then place that at the edge of some bunkers and a few other locations just to give the effect of 3D grass without having to have 3d grass all over the place.  This also would not use up entities like func_model does.  ub_rooftop.bsp uses this approach for the flower beds.
Title: Re: Entities for Grass
Post by: stigma on April 24, 2007, 06:30:12 AM
you can alway blend your textures between grass and ground or rocks