Meditation figure, giant curtains

I wanted to show some boundaries for the scene, especially as people may be experiencing this in VR. I tried making walls, but they were too intrusive and felt claustrophobic. Instead I opted to scale them smaller to allow more light/air around them. I felt this was a good way to imply boundaries without them being so concrete. Eventually I would like to create “dome” effect that doesn’t occlude the sky, but that is something I will have to research.

Landscape
Landscape

seated-figure

I wanted to add another asset, so I used Zbrush to model this seated meditating figure.

Koi animation

I was able to quickly assembly a skeleton using the Joints tool in Maya and animate the Koi. I did this several months ago and it took me much longer. Again, iterations/repetition really helps you become more proficient and become faster each time. He animates wonderfully in Maya, with a cute little wiggle in his tail.

Animated Koi
Animated Koi

I watched a few Youtube tutorials on how to Bake the animation and export as FBX, then import into Unreal. As you can see in my Contents folder, the model imported with an animation, skeleton, mesh, etc. When I double-click on the animation, it animates beautifully in the editor dialog box. Unfortunately the Koi does NOT animate when I play the scene. Need help troubleshooting this.

Koi animation not working properly
Koi animation not working properly

Animation timeline

Animation timeline

I tried to animate directly Unreal using the Sequencer tool, which seems to animate fine when you play it inside the editor, but again, there is no animation in the actual game. Need to research more on animation.

Trying to set up VR

After reading through some of the documentation and watching some suggested video tutorials that that didn’t quite answer all my questions, I did find one very helpful tutorial by Matt Taylor on making your game VR ready.

I did pretty well following along, except when I got to this point, my VR controller static mesh doesn’t actually show the controller like his does.

VR tutorial video
VR tutorial video

I followed the rest of the instruction except for changing the game mode. The reason I didn’t change this yet, is I’d like to test packaging the game for desktop play first, since I don’t have currently have a Vive to test on.

Game Mode
Game Mode

Koi fish 2.0

One of the main reasons I chose to do this particular level of the Chakra Garden was that I’ve been continuously working on a model of a Koi fish. Each time I have modeled it I have learned new techniques, and it goes quicker each time. I believe doing several iterations of the same thing can be beneficial to developing my skills as a 3D artist. Below is a model I did at the beginning of the semester. Not the jaggedness of the fins – this was caused by an improper understanding of how to use the Move tool while trying to achieve a feathered look.

Koi_Render-blk

Below is the model I completed yesterday. The entire model and Polypaint took apprx 6 hours, whereas my previous model took over 10 hours.

new-koi

Koi-poly1

I’m still not entirely happy with the shape of the fins, nor the polypaint, but because of the approaching deadline, it was time to move on. I brought the model into Maya. This time it was much easier to export the UV texture maps and low-poly OBJ, which is something I have struggled with in the past. Again, it was good to do iterations to increase retention of learned skills.

Koi-motionpath

I was able to quickly put the fish model in a circular motion path in Maya, and it animated smoothly. I exported it as an FBX then imported into Unreal.

koi-floating

Unfortunately the animation doesn’t work in Unreal, he just kind of floats there in the sky. This is a problem that can probably be solved with a few tweaks, but again, I need to let it go in order to wrap up other things to meet the deadline. So for now, he looks like a balloon!

Unwrapping and importing assets to Unreal Engine

Last week it took some effort to successfully export texture maps from Zbrush back into Maya, wrap the textures around the low-poly models, then import them into Unreal. I finally got a handle on that process, and was able to import several assets into Unreal.

Another issue that cropped up was scale. I was unaware of the conversion of “units” in Unreal into anything meaningful, but this tutorial on how to set up a grid system in Maya was helpful. Basically, you need to be working in Centimeters in Maya, and scale your objects to the proper size in Maya before importing them into Unreal, since Unreal doesn’t really have a useful system of measurement.

The easiest way to do this was to download a free low-poly model of a human figure, scale that to the average height for a female body (165 cm), then import that into Unreal. I was then able to use it as a guide for the other objects like fountain and columns.

figure-fountain-scale

figure-for-scale

I rescaled the entire terrain as well, and worked on smoothing out some hills. I wanted the edges to slope upward and have some trees and bushes to distract from the cut-off. This needs more work.

Rescaled-landscape

I imported some more assets from Zbrush and Maya into my scene, arranging them upon the columns.

Seashell-on-columnMoon symbol

I also created a simple cylinder in Unreal and inserted it into the fountain, then filled it with the Ocean Water shader/texture.

Fountain-water

Next steps are to finalize importing assets, refining the terrain, setting up the controllers for VR (HTC Vive) then exporting it as a playable game.

Scene design in Unreal

Now that I’m starting to get a handle on the asset pipeline from Zbrush to Maya to Unreal, I’ve begun bringing in a some of the assets I’ve built and arranging them.

Unreal1
Fountain, column and lilies from far away
Unreal2
Closeup on column and lilies

When I play-tested it, the scale seemed off. I found some documentation that says a basic Player is apprx 180 Units high. Unfortunately in Unreal, objects are simply measured in terms of relative scale. There isn’t an easy way to measure how many units tall something is – it is simply a 1x1x1 scale. (This seems like something begging to be fixed?!) You can go into the editor and see the actual size of the units there, but no easy way to scale them to an exact size.

Knowing that a standard cube is 100 units high, it stands to reason that two cubes stacked would be 200 units, or slightly higher than the average player character.

cubesize

By using two stacked cubes as a frame of reference, it seems obvious to me that I need to scale everything down in size or else my player will feel dwarfed.

scale

Next steps are to import the rest of my objects and get them scaled appropriately, get some water in the fountain, landscape the terrain a bit more, and figure out the steps to package the level for export so others can play.

I hope to also be able to build the controllers to take it into VR.

Columns

So I sculpted the beautiful column in Zbrush, and was pleased with result.

Column_sculpt

After some trial and error and lots of crashing due to a really high polycount, I managed to export it into Maya. Here are my notes on how I exported my texture maps.

column-poly-Maya

This was looking decent in Maya, so I used Maya’s “Send to Unreal” feature, thinking I was in the home stretch, but this was the result.

Unreal-badUV

I tried simply exporting it as an FBX for Unreal, but it didn’t send the textures over (see column on the left).

two-columns

One of the issues I identified was that my computer kept crashing when I tried to do thing like export UVs, so I went back to a longer set of notes I took in class, and found the helpful “work on clone” option. This worked like a charm. I was able to export Texture Maps and a Normal map. Rather than using the GoZ feature, I exported as OBJ and opened it it Maya. I then created a new Lambert material andĀ applied the Texture and Normal (bump) maps from the files I had exported. Looking pretty good!

Column_maya_normal_painted

I used Maya’s “Send to Unreal” button, but it once again had disastrous results. Something is not wrapping the UVs correctly with this method.

Unreal-badUV

This time in Maya I exported the column manually as an OBJ. Although it was laying on it’s side when I imported it into Unreal, the textures were correct and I simply had to rotate it into position.

Column_exportedOBJ

This seems to have done the trick! From now on I will export/import things manually as OBJs rather than trust the built-in exporter buttons in the software.

 

Continuing Unreal

I’ve hit a few stumbling blocks in Unreal. I agree with some people who have said that Unreal makes everything 10 times harder than it needs to be, the but results are worth it. (I hope!)

I used the garden elevation illustration I created earlier in Illustrator, and brought it into Maya (Create/Illustrator object) to make the twirl pathway. I used the landscaping and smooth tools to sculpt the terrain to suit it better.

pathtwirl

I applied a cobblestone material, but I wasn’t happy with the scale of it. I followed this tutorial, but couldn’t find a way to scale the texture. Not sure what I am missing here.

texture_scale

Here is a screenshot of the Material Editor.

2017-04-11

I thought perhaps the material seemed too large because I had scaled up the path object by 300 when I imported it. I went back and scaled up the object in Maya and re-imported it, but that had no effect.

For now, I decided to go forward with a different texture. I may smooth out the terrain a bit, but I kind of liked how the path looked a bit eroded here.

garden-texture2

Unreal Engine – landscaping

For this part, my goal was to further sculpt the terrain in Unreal Engine into a garden landscape. I created a basic elevation (top-down view) in Adobe Illustrator to serve as a guide, create a simple Plane in Unreal, and applied the texture to the plane. I wanted to control the transparency of it, but Unreal seems to make this ridiculously difficult, so I worked around that by moving it up off my terrain and turning it on and off a bit.

garden-elevation

I dropped in some cylinders FPO (For Position Only) to get a feel for where I want my sculpted columns to be located in the future.

I began trying to sculpt the pathways. Whoa! Brush intensity too high. Not what I was going for.

mountains

This is more like it. Next steps will be to create a stone pathway along the raised areas and fill in more landscaping.

paths

Tiger Lilly

 

Another asset I created for the second “sacral” chakra garden is the Tiger Lily. I had initially created this as a low-poly object in Maya for use in the Sacral Chakra game I created in Unity.

tigerlily-unity

I imported the low-poly model into Zbrush using the GoZ plugin, which is quite handy (when it works properly).

 

seam

One area of difficulty I seem to encounter regularly is the crease that forms when you add a sphere to create additional sculpting material (in this case I was trying to plug the hole in the bottom of the low-poly model of the flower.) I found that using the H-Polish brush works well for smoothing out creases.

Poly flower

Once I smoothed and shaped the model, I used Zbrush’s Spotlight tool to add color and texture, borrowing from a photograph of a tiger lily I found online. From there I added a stem and leaves, which I also polypainted.

Tigerlily merged

I plan to duplicate several of these for use in the Chakra Garden I’m creating in Unreal Engine.