12/23/2023 0 Comments Houdini engine for unityTitle: Udemy – Mastering Game Feel in Unity: Where Code Meets Fun! But it was a great project to work on! Files:Ĭlick here for the Ivy asset for Unreal.Duration 7h 50m Project Files Included MP4 The project was way bigger than I initially anticipated and involved a lot of R&D and finding the boundaries of Houdini, The Houdini Engine, Unity and Unreal. however it would be cool to include that one day. It worked pretty well in Houdini but was not particularly user friendly on the unity and unreal side. This was to use/create very lowpoly meshes out of the painted grid and project the vines geometry on it as textures with instanced leaves. Which was a proof of concept using the new bake geo renderer. The last big feature that w as not incorporated into the asset is the bake vines. Tweek the parameters and the ivy is good to go. The final step is to put that baked-mesh into the second input and let the asset do its thing. The next step would be to paint the object in Unreal and bake it out (option in the unreal plugin). So I created a extra input to initially load the object/building into the asset and bricker it for the paint-able mesh. The paint happens in the middle of the network so I had so split the network up after the bricking. It is not directly connected to the Houdini Engine so the whole workflow and build-up had to change a bit. However unlike Unity, Unreal comes with a build in paint which also uses points. So what happens is that where the user paints the asset cuts out that piece and re-meshes (or scatters) that to find a path for the vines.įor the whole painting of Unreal I had to go though a different route because the plugin does not (yet) support a easy way of painting. This creates a mesh that has enough polygons but does not close to the 65.000. The re-meshing was not reliant however I could use the divide which has a bricker polygons option. This kinda works but what if the user wants to paint more than one and bigger ivy? That was the major bottleneck of this method. So i first tried out a way to project a grid onto the building by making a C# script that uses the camera position and puts these values into the asset when pressing the project button then use that as a paintgrid. The paint has to have a detailed point mesh to paint on and Unity only supports up to 65.000 poly so re-meshing the whole building was not an option when using bigger buildings and objects. It started out as a Unity plugin and it was still a R&D. One of the hardest was getting it working in the engine plugins of Unity and Unreal. Getting the asset to work in Unity and Unreal The instance Sop is taking care of the instancing of in this case 6 different types of leafs. With the normal pointing at the direction the leaf should point at. coming out of the branch with a re-sample node. The leaves are instances (demonstrating the awesome instancing that is happening in the engine). This way the highest value would win and the longer the vine the thicker the root (sweet!)! I also used this value for the coloring of the vine which is always darker at the root and lighter at the tip. So the start would be the tip and the end would be the root. because the root cost attribute is being overwritten each time it starts calculating the cost in the fsp it gave a unnatural look to the endpoint. The root should always have the thickest point and this is where I had a problem. When the asset knows its region where to make the vines and the fins find-shortest-path node has done its work it is time to build the geo of the path with the wire node this one is connected to the attribute generated by the fsp node. This is connected into a two-way to make the vines look natural with Remesh or a scatter with a find adjacent pieces. After that I used connect adjacent pieces to connect the near painted objects. The painted area is basically a cutout of anything that does not have the value 1 in the or a 0 in the so anything other than white. I achieved that with the find-shortest-path(fsp) node and a randomized group of branch-endpoints within the painted area. Which had to look natural and be fast enough to still be responsive when the user paints. The download link and the video are to be found here. In this article I will try to explain how i made the Ivy asset. This while keeping it working under the Unity Engine. Because the release of the Unreal engine came closer during the development of the asset I shifted towards that. The goal of this project was to create a Houdini asset for the promotion of the Houdini engine and to demonstrate a way to use the paint option in Unity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |