Author Topic: Tileset Dynamic Grass Question  (Read 816 times)

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #30 on: August 19, 2012, 07:27:33 pm »


               Meh. This flipping verts/faces and so forth all sounds so complex - much more than I care to dive into. Anytime I have a tile with two woks it crashes the toolset. IMO, all this work for a little splash effect isn't worth it for me - its far easier to just render the grass and forget about the splash vfx.
               
               

               
            

Legacy_s e n

  • Hero Member
  • *****
  • Posts: 654
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #31 on: August 19, 2012, 08:35:22 pm »


               Cool beans anyway, we discovered something new today!
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #32 on: August 19, 2012, 08:41:27 pm »


               Pstemarie, we should change your handle to Pshaw!
               
               

               
            

Legacy_s e n

  • Hero Member
  • *****
  • Posts: 654
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #33 on: August 19, 2012, 09:02:07 pm »


               The real coolness would be cloning the grass walkmesh type to get multiple styles of grass to throw in the tilesets
               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #34 on: August 19, 2012, 10:08:48 pm »


               

henesua wrote...

Pstemarie, we should change your handle to Pshaw!


I had to look that word up ':blink:'
               
               

               
            

Legacy_NWN_baba yaga

  • Hero Member
  • *****
  • Posts: 1944
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #35 on: August 19, 2012, 10:26:15 pm »


               having different types of grass is something i already thought about. Whenever i look at some village, rural or whatever landscape image there is at least 2 variations that stand out. I want a dominant green and some higher yellowish grass in one tileset. And to cover so many spots with placeables is not the ideal way for me. Not sure if that will work one day or how thats doable. But your discovery is great anyway and guys, thanks for your ambition:)
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #36 on: August 20, 2012, 12:21:04 am »


               Wait... its possible to have two types of grass in NWN?

That would be awesome. Thats... thats almost enough to motivate me to cancel work on Arnheim and make some grassland tilesets.
               
               

               
            

Legacy_OldTimeRadio

  • Hero Member
  • *****
  • Posts: 2307
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #37 on: August 20, 2012, 04:59:20 am »


               That would seem to be quite a challenge!  Is this something someone's already done?

  I'm kind of embarassed that I can't remember the filename but I could have sworn that grass was a six-vert rectangular model with danglymesh, and the model is created and destroyed in a relatively narrow area around the player, but only around them, and on the client side. 

You can change the grass texture in the set because of the change in 1.67 but because it's a model, the sneakiest you could get (AFAIK) is attach a TXI to the grass texture you name in the .SET file.  But to do what, I wonder?

Since there's no way (again, AFAIK) to start on a random frame using a TXI with proceduretype cycle (you can do it with emitters), you couldn't use self-randomizing emitters.  However, if you were willing to give up the "creature wind" (i.e. danglymesh) of the grass, you could embed self-randomizing emitters into the geometry of each tile. 

Even that I don't think would look very good, though it certainly could be used in really narrow cases to maybe make automatic variations on moss or something like that.  You could maybe do a mix of regular tileset grass and embedded self-randomizing emitters.  That might look better.

OnEdit: Or would the static nature of tiles get in the way of the self-randomizing emitter firing?
               
               

               


                     Modifié par OldTimeRadio, 20 août 2012 - 04:04 .
                     
                  


            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #38 on: August 20, 2012, 10:31:03 am »


               If the grass is a model wouldn't it be just as easy to add it to the water tiles where one wants the grass to appear?
               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #39 on: August 20, 2012, 07:25:48 pm »


               The afore promised screenshot...

'Image
               
               

               
            

Legacy_OldTimeRadio

  • Hero Member
  • *****
  • Posts: 2307
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #40 on: August 20, 2012, 07:33:24 pm »


               

Pstemarie wrote...
If the grass is a model wouldn't it be just as easy to add it to the water tiles where one wants the grass to appear?

IMO, it depends on how many tiles you're doing it to and how densely you embed them.  Without the grass manager (which only shows the grass out to where you set it on the "Grass Far Render Distance" in your nwn.ini) auto-culling the grass, the impact from all those dangly+transparent models hanging around could stack up.

Static geometry with a 24-bit texture is godly.  Dangly with a 24-bit texture is still pretty cheap.  But when you start multiplying danglies with transparencies, I think it might cause more of a headache than it's worth.  All 3 are running in the scenegraph on the GPU but danglies+transparencies is putting a lot (relative to my first two examples) of transforms down per mesh, per frame.

But like I said, it really all depends on what kind of density you place them with and also probably what the player's "wind" settings are and whether they're using anti-aliasing and a bunch of other things.

Very nice looking screenshot!
               
               

               
            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #41 on: August 22, 2012, 08:32:23 pm »


               Well OTR, I attempted to download your sample, got hit with several popups, and finally the page was completely blocked by my avg anti-virus program as a known and bad phishing site.  That may explain why you are not getting downloads.
               
               

               
            

Legacy_NWN_baba yaga

  • Hero Member
  • *****
  • Posts: 1944
  • Karma: +0/-0
Tileset Dynamic Grass Question
« Reply #42 on: August 22, 2012, 08:51:29 pm »


               i got the file 2 days ago i think. My AVAST didnt reported anything back the day and i had no popup. I´m using firefox 14.