Unit 70 - 3D Environments
Thursday, 25 February 2016
Moving Assets
Now that I have created my assets I brought them into my Unit 76 Steampunk Western map so that I will have the option of using them within that map aswell. Obviously palm trees will not fit into a western steampunk themed map however at least now I know how to do it.
Monday, 22 February 2016
Final Results
Here you can see my completed
landscape scene. Personally I think that
it turned out great and much better than I expected especially as I have never
used asset creation or modified landscapes at this high of level. I have learned a lot from this unit as I now
fully understand how to create and export models for Maya and/or Mudbox into
Unreal Engine 4, I am now also able to make my own material and apply a texture
to it and I have also learned how to generate landscapes in Unreal Engine 4
.
.
Implementing my Assets into UE4
Not that I have different
variations of rocks, grass and palm trees I am going to export them into Unreal
Engine, straight away all I have to do is apply the material to the rocks and
they are good to go, however I am going to add a little bit more detail to the
grass and palm trees to make them look more natural and life like, I could just leave them as they are however they would just be still assets and wouldn't have any movement and simply wouldn't look as natural and life like as they will once I have applied an opacity and wind node to my grass and palm tree leaves. I will start off with the grass, I started by using the grass texture that I had previously edited in Photoshop. I wasn't really all that happy with my grass texture at first as I thought there was still a halo effect visible, not much thought but still enough that it would be visible to the player in my opinion, this would mean that there will be a small white outline on my grass and I don't want this at all because it would effect my grass aesthetically as it won't look as good or realistic with a white outline around them. I brought the texture back into Photoshop and made the background layer green, this will not necessarily get rid of the halo effect however it will now change it from white to green so the player will not even be able to tell and my grass will now look more realistic and natural. Alternately I could have gotten another grass texture and started again however there wasn't really much point as I was happy with this grass texture and all I had to do was change the background layer.
Now that I have fixed the halo effect problem I am going to get rid of the green background on my grass texture so that it will just be my grass the player sees, this process was quite simple, I started by changing the blend mode to masked, this would then allow me access to the opacity mask setting which I need in order to make the background in my texture invisible, next I changed my shading node to two sided foliage so Unreal Engine will recognise that I am creating foliage for my level and will give me access to the world position offset option that will let me use the wind node that I will be using soon and finally I ticked the two sided box so that my grass would be visible for both the front and the back rather that it just having grass on one side and being black on the other. Next I created a link from my texture into opacity however I did not get the outcome that I was expecting, instead of making the background invisible it made the grass invisible which is not what I want at all as I obviously want my grass visible and my background invisible. To fix this problem all I had to do was to break the link from my texture to opacity and then I simply created a new link from my texture into opacity mask, this has now gotten rid of the background and left me with just my grass texture visible. Finally I am going to create a wind node that will add a wind effect to my grass material which will make it look as though there is wind blowing through it. To do this i dragged a pin out from world properties offset and created a !!!!!. I was then able to experiment with the wind intensity and wind weight, I set the wind intensity to 0.15 and the wind weight to 0.35 so that I just looked as though there were a gentle breeze running through my grass rather that a strong wind as a gentle breeze would be more suited to a tropical environment. Here you can see my final grass material:
l am now going to do this process for my palm tree leaves, this process was pretty much the same as my grass material however I did not have to bring this texture back into Photoshop as there was no halo effect on my leave which is great as there will not be any visible white outlines around my palm tree leaves. I did run into a similar small problem though that I encountered when making my grass material, whenever I connected the palm tree leaf texture to opacity it did not get rid of the background but it got rid of the leaf itself instead. However I learned from previous mistakes and this problem was very easy to fix as all I had to do was simply break the link from my palm tree leaf into opacity and replace it by linking my palm tree leaf texture to opacity mask, this successfully got rid of the background and left me with just the leaf. The only other thing that I done differently with my palm tree leaf was some slight adjustments to the wind intensity and wind weight within the wind node, I changed both the wind intensity and wind weight up to 0.45. The reason I done this was because palm leaves are considerably bigger than grass and therefore when wind hits them they will move a bit more than the grass would. I think my palm leaf look great however if I had the option of going back and changing anything I have considered and experimented with more leaf variations, however I'm still really happy with how it turned out. Here you can see my final palm tree leaf material:
Now that I have done this I am going to use the foliage painting tool to paint put them into my landscape, I will start with the grass. First I dragged and dropped my grass assets into the paint tool, this will allow me to paint on these eight assets simultaneously, I can also adjust the brush size which means I have the option of making my brush big so I can cover large chunks of my landscape or alternately I can reduce my brush size which will be useful for filling small areas, patches that I may have missed, corners, etc. I can also adjust the density of the brush which basically means I can adjust how close or far apart my assets will be.
Above you can see how I have begun to use the foliage paint brush, already I have to say that it is incredibly fast and places the grass on the landscape very accurately as I had anticipated that not all of the grass assets would stick to the ground and may either go through it or float above it, but needed had worried, this looks great. I set the brush size to a medium size here just so I can get a familiar with the foliage paint tool and I set the brush density quite high as grass will obviously be very close together. Alternately I could have just simply dragged and dropped my grass assets into my scene manually however this would have taken an incredibly long amount of time and more than likely would not have looked as natural as when I use the paint brush.
And I am now going to use the same method for my palm trees however I will make some minor adjustments, first I have to untick the grass assets the the paint editor when I drop in my palm trees as I only want to paint on my palm trees now and not my grass, I then adjusted my paint brush to be quite big and set my brush density very low. The reason I have done this is because I wanted my palm trees to be mush further apart than my grass, I could have just left it at the same settings from when I made my grass however my palm trees would be much to close together and they'd all be overlapping each other. Again, I could have just dragged and dropped my palm trees into my level but it would have taken so much longer and the paint brush does a great job at spreading them randomly for a more natural look.
And here you can see the results:
I am so happy with how this turned out, the grass looks great, it really looks like there is a slight breeze running through it, I simply did not expect it to turn out that well from what I had seen in Photoshop and Maya, if I had time I would have went back and created some more variation and added some grass clumps with flowers through them, however even though I have not had the time to do this I am still so happy with how it turned out.
I am also really happy with my palm trees, they look life like and the leaves look as though there is wind blowing through them, there isn't really anything I would have done differently with this process other than maybe add some more leaf variations however its not really that big of a deal as I think they turned out extremely well. Actually, I would have went back and used Crazy Bump to apply a texture to my tree trunk as they are now very smooth and this would have given them a bit of a more life like appearance.
And finally I'm am overall quite happy with how my rocks turned out, they look pretty good in this environment however had I had more time I would like to have created more variation. Other than that I am very happy.
Now that I have fixed the halo effect problem I am going to get rid of the green background on my grass texture so that it will just be my grass the player sees, this process was quite simple, I started by changing the blend mode to masked, this would then allow me access to the opacity mask setting which I need in order to make the background in my texture invisible, next I changed my shading node to two sided foliage so Unreal Engine will recognise that I am creating foliage for my level and will give me access to the world position offset option that will let me use the wind node that I will be using soon and finally I ticked the two sided box so that my grass would be visible for both the front and the back rather that it just having grass on one side and being black on the other. Next I created a link from my texture into opacity however I did not get the outcome that I was expecting, instead of making the background invisible it made the grass invisible which is not what I want at all as I obviously want my grass visible and my background invisible. To fix this problem all I had to do was to break the link from my texture to opacity and then I simply created a new link from my texture into opacity mask, this has now gotten rid of the background and left me with just my grass texture visible. Finally I am going to create a wind node that will add a wind effect to my grass material which will make it look as though there is wind blowing through it. To do this i dragged a pin out from world properties offset and created a !!!!!. I was then able to experiment with the wind intensity and wind weight, I set the wind intensity to 0.15 and the wind weight to 0.35 so that I just looked as though there were a gentle breeze running through my grass rather that a strong wind as a gentle breeze would be more suited to a tropical environment. Here you can see my final grass material:
l am now going to do this process for my palm tree leaves, this process was pretty much the same as my grass material however I did not have to bring this texture back into Photoshop as there was no halo effect on my leave which is great as there will not be any visible white outlines around my palm tree leaves. I did run into a similar small problem though that I encountered when making my grass material, whenever I connected the palm tree leaf texture to opacity it did not get rid of the background but it got rid of the leaf itself instead. However I learned from previous mistakes and this problem was very easy to fix as all I had to do was simply break the link from my palm tree leaf into opacity and replace it by linking my palm tree leaf texture to opacity mask, this successfully got rid of the background and left me with just the leaf. The only other thing that I done differently with my palm tree leaf was some slight adjustments to the wind intensity and wind weight within the wind node, I changed both the wind intensity and wind weight up to 0.45. The reason I done this was because palm leaves are considerably bigger than grass and therefore when wind hits them they will move a bit more than the grass would. I think my palm leaf look great however if I had the option of going back and changing anything I have considered and experimented with more leaf variations, however I'm still really happy with how it turned out. Here you can see my final palm tree leaf material:Now that I have done this I am going to use the foliage painting tool to paint put them into my landscape, I will start with the grass. First I dragged and dropped my grass assets into the paint tool, this will allow me to paint on these eight assets simultaneously, I can also adjust the brush size which means I have the option of making my brush big so I can cover large chunks of my landscape or alternately I can reduce my brush size which will be useful for filling small areas, patches that I may have missed, corners, etc. I can also adjust the density of the brush which basically means I can adjust how close or far apart my assets will be.
Above you can see how I have begun to use the foliage paint brush, already I have to say that it is incredibly fast and places the grass on the landscape very accurately as I had anticipated that not all of the grass assets would stick to the ground and may either go through it or float above it, but needed had worried, this looks great. I set the brush size to a medium size here just so I can get a familiar with the foliage paint tool and I set the brush density quite high as grass will obviously be very close together. Alternately I could have just simply dragged and dropped my grass assets into my scene manually however this would have taken an incredibly long amount of time and more than likely would not have looked as natural as when I use the paint brush.
And I am now going to use the same method for my palm trees however I will make some minor adjustments, first I have to untick the grass assets the the paint editor when I drop in my palm trees as I only want to paint on my palm trees now and not my grass, I then adjusted my paint brush to be quite big and set my brush density very low. The reason I have done this is because I wanted my palm trees to be mush further apart than my grass, I could have just left it at the same settings from when I made my grass however my palm trees would be much to close together and they'd all be overlapping each other. Again, I could have just dragged and dropped my palm trees into my level but it would have taken so much longer and the paint brush does a great job at spreading them randomly for a more natural look.
And here you can see the results:
I am so happy with how this turned out, the grass looks great, it really looks like there is a slight breeze running through it, I simply did not expect it to turn out that well from what I had seen in Photoshop and Maya, if I had time I would have went back and created some more variation and added some grass clumps with flowers through them, however even though I have not had the time to do this I am still so happy with how it turned out.
I am also really happy with my palm trees, they look life like and the leaves look as though there is wind blowing through them, there isn't really anything I would have done differently with this process other than maybe add some more leaf variations however its not really that big of a deal as I think they turned out extremely well. Actually, I would have went back and used Crazy Bump to apply a texture to my tree trunk as they are now very smooth and this would have given them a bit of a more life like appearance.
And finally I'm am overall quite happy with how my rocks turned out, they look pretty good in this environment however had I had more time I would like to have created more variation. Other than that I am very happy.
Creating Grass
Next I am going to create grass for
my landscape using Maya and Photoshop.
Again, this process is very similar to creating the palm trees and I will
simply apply an alpha channel to the leaf to eliminate any halo effect around my grass texture so that there will not be a visible white outline around my grass when I have exported it into UE4. After this I saved my texture and exported it into Maya. From there I used the sculpting within Maya to create grass clump variations. To do this I duplicated my grass texture that I imported from Photoshop and changed the size, shape, angles and width and repeated this process several times. I could have just duplicated the grass clumps and simply rotated them several times without changing the size, shape or width of the duplicated however I would have just ended up as a clump of grass in straight lines and would not have look natural or like realistic grass. After this I combined all the duplicated together to make them one object. After this I created eight different variations of grass clumps and exported them to UE4 as fbx files. I think my grass clumps are looking pretty good so far however I will save judgement until I can see them in UE4 as thats where I need them to look good. I think I done this process very well, I was always curious as to how video game developers put grass in video games as grass is so small and I thought it would be very complicated and take ages, however it was actually pretty straight forward and the grass clumps make a lot more sense than just using one bit grass over and over again. There isn't really much that I would do differently to this process, maybe just add a flower or two to one or two of my grass clumps to make my landscape look a little more tropical, but overall I am happy with my outcome and feel I done quite well here!
Creating Palm Trees
I am now going to create some palm
trees for my landscape using Maya and Photoshop. I started by creating a simple tree trunk in
Maya using a cylinder, I then shaped it to look more like a tree trunk rather than just a standard cylinder using the sculpting tools in Maya. After this I then then applied a texture to it to make it look like an actual tree trunk rather that just the default grey colour of the objects in Maya. I then got a palm tree leaf texture and opened it up in Photoshop, once I had done this I applied an alpha channel to my leaf so that there
would be no halo effect resulting in a white outline around the leaf, I then exported my leaf into Maya and made a couple of
variations on the shapes of the leaves using the sculpting tools in Maya which allowed me to adjust the angle, size, scale and rotation of my palm leaf, I then, I then made eight different variations
of palm trees by creating 7 new tree trunks of different shapes and sizes and duplicated my palm leaves and adjusted the rotation of my leaves when placing them on the tree trunks as you can see below.

Here you can see my eight palm trees, I am very happy with how these turned out, while they are eight completely different models, I could have still made more of an effort to make they look more different, however overall I am very happy with this.
One thing I have learned however is when exporting anything from Maya always centre your model otherwise the pivot will be out of place in UE4.

Here you can see my eight palm trees, I am very happy with how these turned out, while they are eight completely different models, I could have still made more of an effort to make they look more different, however overall I am very happy with this.
One thing I have learned however is when exporting anything from Maya always centre your model otherwise the pivot will be out of place in UE4.
Material Instance
Now that I have sculpted my
landscape I am going to create a material instance, I have experimented with
creating material before when I created one with a mountainous forest in mind
and used grass, rock and snow textures.
I will be using this same material instance however I will be making
some changes. First of I changed the
grass material to another grass material that was a much brighter shade of
green and would suit a tropical environment much more than the previous grass
material did. I then swapped the rock
material for a sand material which I will use for the base of my
landscape. I didn't do anything with the
snow texture as all I see myself using is the sand and grass textures so I
simply left it alone. You can see how I have done this below, it was a fairly straight forward process of simply connecting the landscape coords node to the three textures. My material can now make use of all three of these textures. I repeated this process for my normal and specular textures, the reason I have done this is because it will now add some complexity to my material and should make it look more realistic. Now I would like to adjust my material so that I will be able to paint my materials in the view port, to do this I simply added a layer weight node to all of my textures and connect them all. Below you can see this process.
I am quite happy with how my material looks so far and think I done this process quite well however if I could go back I would consider replacing the snow texture, I only really need the grass and sand textures however if I had the time I would have wend and found another texture that I could have possibly used in a tropical environment.
I have began to paint my island with my material instance, to do this I will be using the paint tool located within the geometory mode, it allows me to drag and drop the textures that I used to create my material instance into the paint tool. From there I can adjust the size and strength of the paint brush to my liking and then simply select whatever texture I intend to use and start painting. I will be creating grass to put over the grass texture later and here you can see my sand complete with the Crazy Bump texture.
I am actually very pleasantly surprised with this outcome as I was worried before that I may have made my texture in Crazy Bump a little too rough however I think that this turned out great, I could have made it a little smother however I think that had I done this the texture would have gone unnoticed and it wouldn't even have been worth my while.
I am quite happy with how my material looks so far and think I done this process quite well however if I could go back I would consider replacing the snow texture, I only really need the grass and sand textures however if I had the time I would have wend and found another texture that I could have possibly used in a tropical environment.
I have began to paint my island with my material instance, to do this I will be using the paint tool located within the geometory mode, it allows me to drag and drop the textures that I used to create my material instance into the paint tool. From there I can adjust the size and strength of the paint brush to my liking and then simply select whatever texture I intend to use and start painting. I will be creating grass to put over the grass texture later and here you can see my sand complete with the Crazy Bump texture.
I am actually very pleasantly surprised with this outcome as I was worried before that I may have made my texture in Crazy Bump a little too rough however I think that this turned out great, I could have made it a little smother however I think that had I done this the texture would have gone unnoticed and it wouldn't even have been worth my while.
Creating a Terrain
Now that I am familiar with
creating terrains in UE4 I have thinking about what type of landscape I will
create, I have several ideas like a desert, however this may not work as
deserts don’t really have a lot in them other than sand so there’s not really a
lot of thing that I could create for this landscape other than cactuses. Alternatively, I could create a forest scene
with lots of different foliage or maybe a deserted tropical island with palm
trees.
I have decided to create a deserted
tropical island, I am going to create grass and palm trees as my foliage and
I’m also going to use the rock the I created previously in Mudbox while also
creating a variety of other rocks that I will also be putting into my
landscape. I am going to use the geometry mode to do this and will be putting to use the skills that I have acquired previously in this mode.
Here you can see that I have
sculpted my landscape for my deserted island.
So far I think its looking good, I would like to have added a little more detail to it as I think that my skills at sculpting a landscape have hugely improved, however as I is a small deserted island there is not really a lot more that I can do when it comes to sculpting my landscape. Overall I am very happy with this result.
So far I think its looking good, I would like to have added a little more detail to it as I think that my skills at sculpting a landscape have hugely improved, however as I is a small deserted island there is not really a lot more that I can do when it comes to sculpting my landscape. Overall I am very happy with this result.
Subscribe to:
Posts (Atom)





























