Announcement

Collapse
No announcement yet.

Flying Foliage

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

    Flying Foliage

    Hi everyone,
    I made an Island with terrain editor and add generation foliage in the terrain material. The foliage should only be on the mossy landscape layer:
    Click image for larger version

Name:	material.PNG
Views:	1
Size:	464.0 KB
ID:	1200611

    It works perfect, except for two locations where there's flying foliage, like a column of foliage, with vertical and horizontal grass...

    Click image for larger version

Name:	HighresScreenshot00001.jpg
Views:	1
Size:	144.0 KB
ID:	1200615
    Click image for larger version

Name:	HighresScreenshot00002.jpg
Views:	1
Size:	204.6 KB
ID:	1200617
    Click image for larger version

Name:	HighresScreenshot00003.jpg
Views:	1
Size:	197.3 KB
ID:	1200618


    Any ideas where the problem come from?
    Attached Files

    #2
    I've seen a somewhat similar situation with foliage where it wouldn't always line up with the landscape during sharp inclines/declines in the geometry unless the landscape sample quality was pretty high. Does it only do this in drop-off areas like that, or is it happening in any flat, smooth areas?

    Comment


      #3
      You're right, it's happening near big"wall" I don't have this problem on flat and smooth area. I will try to fix that

      Comment


        #4
        Well forget what I just said, it also happended above big flat area...
        Click image for larger version

Name:	HighresScreenshot00004.jpg
Views:	2
Size:	121.1 KB
ID:	1118582

        Comment


          #5
          I tried to reshape the area but the evil column of random rotation foliage is still there

          Click image for larger version

Name:	HighresScreenshot00005.jpg
Views:	1
Size:	107.9 KB
ID:	1118584

          Click image for larger version

Name:	HighresScreenshot00006.jpg
Views:	1
Size:	164.7 KB
ID:	1118585

          Comment


            #6
            Originally posted by hippowombat View Post
            I've seen a somewhat similar situation with foliage where it wouldn't always line up with the landscape during sharp inclines/declines in the geometry unless the landscape sample quality was pretty high. Does it only do this in drop-off areas like that, or is it happening in any flat, smooth areas?
            Yes it's also happening on flatter and smoother area:

            Click image for larger version

Name:	HighresScreenshot00004.jpg
Views:	2
Size:	121.1 KB
ID:	1118586

            Comment


              #7
              I have only see that bug in origo.

              Comment


                #8
                That still looks like it's pretty close to an area where there's a sudden incline in the landscape geometry. Here's a visual of what kind of happens (or at least happened to me)



                Depending on the resolution of your landscape, the grass mapping may be approximated along fewer points, resulting in these average lines being drawn, where the foliage lines up to the red line at a harsher angle than the landscape geometry itself, represented by the green line. Try resampling your landscape to a higher resolution and see if it still occurs in those areas.

                Comment


                  #9
                  Simply use a LandscapeLayerSample node. Give it the name of the layer you want the stuff to appear on. Plug it to your grass node.
                  Artstation
                  Join the support channel
                  Gumroad Store

                  Comment


                    #10
                    Originally posted by Maximum-Dev View Post
                    Simply use a LandscapeLayerSample node. Give it the name of the layer you want the stuff to appear on. Plug it to your grass node.
                    I did it. That didn't resolve the probleme but it's more elegant to do it this way

                    Originally posted by hippowombat View Post
                    That still looks like it's pretty close to an area where there's a sudden incline in the landscape geometry. Here's a visual of what kind of happens (or at least happened to me)



                    Depending on the resolution of your landscape, the grass mapping may be approximated along fewer points, resulting in these average lines being drawn, where the foliage lines up to the red line at a harsher angle than the landscape geometry itself, represented by the green line. Try resampling your landscape to a higher resolution and see if it still occurs in those areas.
                    I did the resampling but I have now a big issue. Everything turn black when the camera approach...
                    https://youtu.be/8m-S5pR50w8

                    Comment


                      #11
                      OK, another problem, when I'm using the retopologize tool in sculpting landscape mode, the bug is expanding:
                      Click image for larger version

Name:	HighresScreenshot00008.jpg
Views:	1
Size:	324.8 KB
ID:	1118625

                      Comment


                        #12
                        Posted about it a while back https://answers.unrealengine.com/que...ck-in-air.html Let me know if my fix helps to fix the issue for you too.
                        Reallusion Unreal Engine Community Manager / LEGENDS of EPICA [Twitter] [Facebook] [YouTube] [Vimeo]

                        Comment


                          #13
                          Originally posted by unit23 View Post
                          Posted about it a while back https://answers.unrealengine.com/que...ck-in-air.html Let me know if my fix helps to fix the issue for you too.
                          I tried to follow your instructions but didn't find the merge option you're talking about.
                          It seem the problem happend every where I used the retopo tool while I sculpted and painted the landscape :/

                          Comment


                            #14
                            Ok try this, remove the landscape material, then make a hole covering the affected area, then close the hole, then re-add the material, it might be related to the material and the landscape hole.
                            Reallusion Unreal Engine Community Manager / LEGENDS of EPICA [Twitter] [Facebook] [YouTube] [Vimeo]

                            Comment


                              #15
                              Originally posted by unit23 View Post
                              Ok try this, remove the landscape material, then make a hole covering the affected area, then close the hole, then re-add the material, it might be related to the material and the landscape hole.
                              That works great! NowI will try to repeat the operation without loosing the topography and the painting! Thank you very much!

                              Comment

                              Working...
                              X