Announcement

Collapse
No announcement yet.

Landscape Mode - Sculpting detailed and straight lines

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

    Landscape Mode - Sculpting detailed and straight lines

    In the picture below i'd like to have a basement in the building, but i can't figure out how to cut out that space from landscape.
    Is it even possible to do straight edges? And if not what kind of methods people use for this?



    #2
    You could create a custom brush -> https://docs.unrealengine.com/latest...x.html#pattern

    Comment


      #3
      Originally posted by fighter5347 View Post
      You could create a custom brush -> https://docs.unrealengine.com/latest...x.html#pattern
      Nearly succeeded! Thanks for the idea, at least i learned to make a Custom Brush!
      The problem still exists as the walls aren't 90 degrees. And for some reason two corners were cut like this one and two of them were sharp?

      The House:




      And here is my Custom Brush:

      Comment


        #4
        Are you saying that the visibility tool doesn't work?

        Comment


          #5
          Originally posted by jonimake View Post
          Are you saying that the visibility tool doesn't work?
          It seems there is a bug with Visibility Tool. I followed instructions and signed M_Ground_Moss from default package to be main material and then assigned a copy of it to be hole material. Now i'm lost on how to connect the Landscape Visibility Mask to it? Opacity Mask is greyed out. As i saw that to be the right place to connect it?

          Comment


            #6
            Originally posted by Nuutia View Post
            It seems there is a bug with Visibility Tool. I followed instructions and signed M_Ground_Moss from default package to be main material and then assigned a copy of it to be hole material. Now i'm lost on how to connect the Landscape Visibility Mask to it? Opacity Mask is greyed out. As i saw that to be the right place to connect it?

            See here: https://docs.unrealengine.com/latest...eholematerials

            Comment


              #7
              Originally posted by jonimake View Post
              Thanks for the info! Now i got the Visibility Tool working. But i'm still unable to make the hole the same size as my model is. It seems that UE4 makes landscape in predefined grid and thus you can't have 90 degree angles. As you can see in picture below, the corner is always cut at some corner.

              So i am unable to make 90 degree, 2m x 3m hole in square shape? If this is the case, then do you have any advice on how i should fill the gaps between lanscape and a house on ground level?

              Comment


                #8
                Hi Nuutia,

                You could also try changing the OpacityMaskClipValue on your landscape material. That will cause the point of cutoff to move around. Also painting your mask value a value a bit brighter than black will have the same effect. The default clipmaskvalue is 0.333 so try values around 0.1 to 0.25 for your mask brush color and see how much that helps you.

                The corner you talk about is because the values are interpolated using the vertices. Since all the triangles are running in the same direction, you will see interpolation go this way on some corners.

                Having some sort of foundation type mesh will help as will making the walls of your building a bit thicker.
                Ryan Brucks
                Principal Technical Artist, Epic Games

                Comment


                  #9
                  Thanks for clearing that out RyanB!

                  I was able to find the ClipValue slider, changed it to different numbers between 0.1 and 0.7 but didn't see any change.
                  I'm going to make foundations to buildings that need to operate on lower levels too from now on.

                  Comment


                    #10
                    hmm that is strange that it did not work. Did you compile the material after changing? Sometimes when things don't update if you clear the material from the landscape and re-apply it, it will cause the changes to kick in. Did you also try painting the opacity using nonblack values?
                    Ryan Brucks
                    Principal Technical Artist, Epic Games

                    Comment


                      #11
                      I saved the material, then i changed both Landscape Material and Landscape Hole Material. Is there some other way to compile beside these? I didn't find anything with Opacity Non Black Value. What does it mean? I'm currently using the default M_Ground_Moss texture and as a hole material i'm using a copy of that with Opacity Mask added.

                      But the brush size still remains same. Or did i understand wrong what you meant i could achieve with this?

                      Comment


                        #12
                        I mean when you are actually painting the hole on the landscape using the brush. If you check "use target value", then instead of painting or erasing (1 or 0), the paint brush will apply the selected value.

                        Click image for larger version

Name:	Landscape_targetvalue.JPG
Views:	1
Size:	28.3 KB
ID:	1075053

                        So try changing that target value to 0.1 and set tool strength to 1 just to make sure its being applied enough. Then try re-painting your foundation hole again with that value. Also try values up to 0.33. Anything over 0.33 will probably make the hole disappear.
                        Ryan Brucks
                        Principal Technical Artist, Epic Games

                        Comment


                          #13
                          Now i'm lost. I now only how to paint a hole in Sculpt Mode and using pattern there?

                          Comment


                            #14
                            Sorry about that, apparently the target value is not accessible from the visibility brush. I didn't realize that. you should be able to mimic the same result by adding an offset scalar parameter in the landscape material.

                            That would be done by an "Add" and a ScalarParameter for your offset value. Then hook the result into mask.
                            Ryan Brucks
                            Principal Technical Artist, Epic Games

                            Comment


                              #15
                              Took some time before i was able to try this out. But i must admit i don't have a clue how to do that all. Guess i need to learn using those nodes first.

                              Comment

                              Working...
                              X