Author Topic: Entities for Grass  (Read 1429 times)

y00tz

  • Autococker
  • Posts: 2742
Entities for Grass
« on: April 22, 2007, 06: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

stigma

  • Stingray
  • Posts: 87
Re: Entities for Grass
« Reply #1 on: April 22, 2007, 07:44:18 AM »
3d model way would you model grass just use better grass textures  most likely they would suck on this game

Eiii

  • Autococker
  • Posts: 4595
Re: Entities for Grass
« Reply #2 on: April 22, 2007, 12:42:15 PM »
It would kill the framerate for anyone without a good video card, depending on what you're talking about.

Cobo

  • Autococker
  • Posts: 1362
Re: Entities for Grass
« Reply #3 on: April 22, 2007, 02:03:14 PM »
Plus, I dont think spamming grass models in a map would be a good and/or practical aproach.

Eiii

  • Autococker
  • Posts: 4595
Re: Entities for Grass
« Reply #4 on: April 22, 2007, 02:25:42 PM »
Would probably cause overflows or something for larger areas, too.

Cobo

  • Autococker
  • Posts: 1362
Re: Entities for Grass
« Reply #5 on: April 22, 2007, 02:42:50 PM »
Not to mention the forum overflow of "LOW FPS WTF?!?!" threads.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Entities for Grass
« Reply #6 on: April 23, 2007, 11:29:40 AM »
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.

stigma

  • Stingray
  • Posts: 87
Re: Entities for Grass
« Reply #7 on: April 24, 2007, 04:30:12 AM »
you can alway blend your textures between grass and ground or rocks