Announcement

Collapse
No announcement yet.

Realistic Interactive Foliage

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Realistic Interactive Foliage


    Hey guys,

    I have a question on what's actually possible with the Pivot Painter... I've got interactive grass working using the usual pivot painter setup. Now I'm trying to create some bigger plants that collide with the player more realistically.

    Looking at these plants in Uncharted 4, I remember the devs mentioned that all the foliage interaction was done within the shader rather than actual physics. So I'm wondering if this kind of interaction is possible with the Pivot Painter approach (I understand it might require some crazy logic)



    Or are those plants done using actual skeletal meshes with physics?
    Last edited by Abeysaurus; 06-27-2018, 03:51 PM.

    Twitter | UE4 Marketplace

    #2
    I don't know... The foliage in that video definitely looks like it's using bones... I'm sure they use a regular "push out" shader for standard foliage like grass and whatnot, where it pushes outward from the player position.

    Comment


      #3
      Originally posted by IronicParadox View Post
      I don't know... The foliage in that video definitely looks like it's using bones... I'm sure they use a regular "push out" shader for standard foliage like grass and whatnot, where it pushes outward from the player position.
      yeah I was thinking the same thing. I know it’s possible to bend a plant using the pivot hierarchy, but then calculating the drag and animating the sway seems like a lot of extra calculations.

      Twitter | UE4 Marketplace

      Comment


        #4
        This is really fantastic video, I like this game a lot. keep it up

        Comment


          #5
          Here's a great demo, includes a paper and gumroad link with the project files https://www.artstation.com/artwork/6z0zW

          Comment


            #6
            Originally posted by ZacD View Post
            Here's a great demo, includes a paper and gumroad link with the project files https://www.artstation.com/artwork/6z0zW
            Thanks ZacD Yeah, I did go through this. I've also been looking at how Omno did it. https://mailchi.mp/0b815f8e2517/omno-news-288077
            Same method. Although I'm still curious if it's possible in the shader.

            http://advances.realtimerendering.co...hArt_Final.pdf

            Not much mentioned about the bigger plant interaction, just the rotate about axis method for each sub-object.

            Here's what I have so far. This is just using the default Pivot Painter Material functions.





            Twitter | UE4 Marketplace

            Comment


              #7
              Originally posted by ZacD View Post
              Here's a great demo, includes a paper and gumroad link with the project files https://www.artstation.com/artwork/6z0zW
              I managed to get it done within the shader. It's not as precise as full physics, but way cheaper

              Last edited by Abeysaurus; 07-18-2018, 05:20 AM.

              Twitter | UE4 Marketplace

              Comment


                #8
                Nice job, looking good!
                ArtStation

                Comment


                  #9
                  Originally posted by Abeysaurus View Post

                  I managed to get it done within the shader. It's not as precise as full physics, but way cheaper

                  I cant believe that is shader ONLY. How do you storage the last pivot orientation?

                  Comment


                    #10
                    Originally posted by II_ADN_II View Post

                    I cant believe that is shader ONLY. How do you storage the last pivot orientation?
                    look into the Pivot Painter tools

                    Twitter | UE4 Marketplace

                    Comment

                    Working...
                    X