Friday, 19 December 2014

3D Asset Production

Modeling

  
Modeling was fun and taught me a lot for this assessment, previously I modeled off of video tutorials and instructions this was a lot more free form so I started by thumb nailing some spaceship designs but later in 3DS found out it was much easier for me to simply open 3ds max create a box and just start playing around and trying to manipulate it into an interesting shape. I was very inspired by the low poly space ships you used to see in games like Lylat Wars on N64. Above and to the left are early screenshots of my model, and to the right are screen captures of around about what my model looks like minus a bit of cleaning up.

Texturing
Space ship UV's and background colour
Ambient Occlusion Map
Base Colours + some detail

I had some experience with free form texturing earlier in the trimester when texturing an organic Mage character was completely up to us. Not to say this wasn't a challenge, I started the same way I normally do, laying down the base colours, again inspired by Lylat Wars I wanted the primary colour of my spaceship to be a light blue-ish metal. I then decided I'd like a dark gray and a strong blue to be other colours used. I made the door a bright orange, thinking I would add a specular map and make it all shiny and visor/glass looking I didn't end up having time to accomplish this but I really liked the orange in some areas of the space ship. I used red on just a few key areas that I thought needed it. Another thing I hadn't tried before was making an ambient occlusion map, it was somewhat easy once I finally realised the process, and very helpful automated shading where have you been my whole life. Originally the Blue stripe and wing tip on the wing was a solid blue colour, I thought it looked a bit boring though so I made almost all the details with a pack of paintbrushes for photoshop I downloaded. It allowed me to achieve a handpanted aesthetic on some of the areas on my ship (I wanted to give off the effect that the person who owns this ship painted it themself and might not have done the most professional job).

Animating/ Scene Assembly/ Rendering

 I actually thought this part of the process went pretty smooth and easy animation and camera set up-wise I pretty much had an idea of what I wanted. I just animated the ship closing the door and lowering it's guns then slowly takes off and boosts off flying into space. At first I had trouble setting up a material to be an environment background in 3DS, Erika helped me a little bit, except after a few test renders it was evident that my spacey background just was not appearing. I tried using quicksilver renderer instead of nvidia mental ray and ta-da! my space background appears, I then start to render out my production and around 80 frames into it I realise that my ship has completely disappeared from the scene but it is still rendering frames. For some reason my asset will disappear as soon as it starts to fly. This has been very frustrating and I still haven't solved the problem even after consulting with various peers some of whom are well versed in the studio of 3DS Max. 

Solution

I managed to compromise, I figured that people mainly want to just see it's moving parts move, so I am in the process of rendering it out just closing the doors and lowering the guns then it takes off and goes out of shot so it cant be seen disapearing.

Friday, 14 November 2014

3D Graphics Production Pipeline

Above are some shots of me in the early stages of this task modeling the chest base and lid. As I have done this assessment before last trimester and have had a very 3D heavy workload in this current trimester modelling went quite breezy for me, it was surprisingly easy and I had the mesh ready for unwrapping in around 40 minutes.



Above are images of my UV mapping process, I found it to be reasonably straight forward and easy, although it is a tedious and slow process I have somewhat grown accustomed to it since doing this chest twice and tackling an organic bipedal character model this trimester in Studio.








  
All of these images are just the slow long process of texturing! This is my 2nd time texturing ever really, and I'm texturing the same thing again! At the moment texturing is probably my weakest point, which is troublesome because I want it to be one of my strong points. So doing the chest texturing again isn't really a bad idea. It helped solidify or remind me of certain elements involved in the texturing process.

At this point I was right about to do the fine detail on the wood and metal when for some reason the pressure sensitivity on my wacom stopped working making it virtually impossible, I looked up a video on solving this problem and they said to open the above settings box and select the settings that were already selected on my screen, this caused me great confusion and I decided to move on instead of wasting heaps of time trying to figure out how to get pressure working again.

The above image is a screenshot of my scene assembly, I tried to go for a different look this time even though I had to use the same assets.
Here is a screenshot of me animating the crab, last trimester I just had them walk around, spin around and cycled their bodies stretching and squashing, I kept most of that stuff (but changed where they move to) but I also animated them doing their own crabby dance this time to add a bit more to the scene and make it more exciting.


When animating a camera in 3DS for this scene I wanted to do something very different from last time, so I spent a long time trying to think of an interesting shot to do and how to start. Thinking that I am going to add in a fade in and out to black and also animate in some text for the project title I wanted it to start off with some negative space and a bit of mystery as to what 'pirate gold the board game' actually is.
Putting a title into the scene was surprisingly easy, I have used after effects a little bit but am in no way confident with the software. However I found a very quick easy and helpful tutorial showing me how to add in text and animate it to do certain effects.

Overall I think my scene went well. It was a bit rushed in the end because of other Studio related studies that I got behind on but I like what I have done with after effects, and I like my new camera work, I think they were definite improvements upon my last submission.


Friday, 24 October 2014

Week 4 3D Blog

How Textures and Shaders can Affect how a Surface Appears in 3D

Despite what may be widely believed textures are just any surface whether it is smooth or rough, spikey, furry etc. In reference to 3D graphics textures are 2D images which get projected onto the faces of a 3D model, these 2D images can add a wide range of things such as colours, fine details, textures, surface details. Textures affect how a surface appears in 3D space. More often than not almost every bit of detail a model has comes from it's textures and shaders.
Shaders are a set of instructions that are applied to a 3D model which allows a computer to know how it is supposed to appear. Most 3D packages include tools which allows artists to modify shader parameters in a very user-friendly manner. Said tools give great control to the artist over manipulating how the 3D model interacts with light, which includes it's opacity, glossiness, reflectivness and more.
Together, textures and shaders change how a surface may appear in 3D more than any other process within the pipeline because they display all detail colour and lighting.

References
Slick, J. (ND). Surfacing 101 - Texture Mapping Texture Maps and How They're Made.Retrieved from, http://3d.about.com/od/3d-101-The-Basics/a/Surfacing-101-Texture-Mapping.htm.

Slick, J. (nd). Seven Common Modeling Techniques for Film and Games. Found online, retrieved from: http://3d.about.com/od/3d-101-The-Basics/a/Introduction-To-3d-Modeling-Techniques.htm

Week 3 3D blog

Describe some highlights and pioneers of the history of 3D Graphics with visual examples.

The last time I did this blog I mainly talked about Ed Catmull and Ken Perlin, this time I'm going to be focusing on some other pioneers of the industry. Jim Blinn begun his career at NASA, there he worked on visualizations for the Voyager mission. Later in 1978, Blinn revolutionized the way light interacted with 3D surfaces in a digital space. He wrote the Blinn-Phong shader model, and is credited with the invention of bump mapping, very impressive to say the least.
The other pioneer I want to talk about is actually a pair, Pat Hanrahan and Henrik Wann Jensen early on in the development of computer graphics, human skin always looked kind of, off (Tin Toy). Subsurface Scattering (SSS) is a shading technique that renders skin in layers with each layer displaying a different ambient hue based on depth-maps. It is instrumental in the way human characters are created today. Also credited with creating Photon Mapping, an algorithm written by Jensen alone which similarly deals with light passing through translucent materials. Photon mapping is a global illumination technique used most commonly to simulate light passing through glass, water or vapour.

Slick, J. (nd). 10 Pioneers in 3D Computer Graphics. Retrieved from, http://3d.about.com/od/3d-101-The-Basics/tp/10-Pioneers-In-3d-Computer-Graphics.htm.

Discuss the meaning and implications of the term “democratisation” in relation to the 3D graphics industry.

Democratisation of technology refers to the rising availiblity of high end sophisticated technology and the decreasing price of said technology. Innovation within the industry and consumer/user demand have become related with more affordable, user-friendly products.
In reference to 3D graphics this means the massive gap between triple A studios and the indie developer is closing. New technology, software, or services will either limit or expand on what the indie developer, the enthusiast, can do. One example of this at work is that the regular artist with a computer is limited by their computers specifications. Nowadays it is a lot cheaper to buy a powerful computer than it was ten years ago it can still be somewhat expensive, but no matter how powerful a computer there is the everyday enthusiast will always be limited in that regard to a certain extent. A solution to said problem is allowing the home user to use rendering farms through online services, this would free up their computers workload and allow them to continue working on other priorities. 
  • Reference:
    Unknown Author. (25/10/2013). The democratisation of computer graphics. Retrieved from, http://www.creativebloq.com/audiovisual/democratisation-computer-graphics-10135033. 

Emerging Technologies - What is Ptex and how do you think it will affect asset creation now and into the future?

Definition:

Ptex is a mapping system for textures. It was made for production-quality rendering by Walt Disney Animation Studios. UV mapping is not needed. The file format can store hundreds of thousands of texture images with incredible efficiency. Ptex can also apply separate textures to every face of a polygon mesh.

How does it affect asset creation in the present and future?

Starting out with Disney Animation and then Pixar, Ptex has been incorporated into their movie 

industry pipeline. It is much more efficient than UV when it comes to texturing, although it is not yet

the industry standard. Ptex may pose a problem for the video game industry as games must be 

rendered in real time. Ptex is used on animated films because they need to make ridiculously high 

quality textures for pre-rendering. Ptex seems like it could be the way of the future for 3D graphics 

but there are possible problems with it being widely used and it is relatively young in it's 'life'.

References:Unknown Author. (ND). Ptex. Retrieved from, ptex.us/.Masters M. (17/02/2014). Understanding Ptex - Is It the Future of Texturing?. Retrieved from, http://blog.digitaltutors.com/understanding-ptex-is-it-the-future-of-texturing/

Week 2 Blog

Current Trends in 3D Modelling for Games and Film

Box/Subdivision Modeling
Box modeling is a polygon modeling technique, this is where an artist creates a simple object and refines it's form until the desireable appearance is achieved. When box modeling it's good to work in stages, starting off with a low res mesh, refining the shape, and then sub-dividing up the mesh to add in crucial details and smooth any unwanted details like hard edges. It's generally the most common form of polygon modeling and can also be used in combination with other techniques. 
Edge/Contour Modeling
Another polygonal technique, although vastly different from box modeling. The model is created by building it piece by piece, done through placing loops of polygonal faces along the contours that stand out, any gaps are filled in. The level of accuracy contour modeling provides isn't achieveable through box modeling alone.

NURBS/Spline Modeling
NURBS is a modeling technique mostly employed by automotive and industrial modeling. NURBS modeling does not have any faces, edges or vertices. They are created out of smooth interpreted surfaces, this is done via 'lofting' a mesh inbetween two or more splines.
Digital Sculpting
Digital sculpting is a technique which brings real life clay modeling into the digital setting. Artists the intuitive technique to create meshes organically, using a graphic tablet to form and mold the model much alike a real sculptor. Digital sculpting has pushed character and creature modeling to a whole new world. The process can be faster, more efficient and allows the artist to work with very high res meshes which can contain millions of polygons. It is renowned for amazing surface detail and natural aesthetics.
Procedural Modeling
Procedural in reference to computers means anything that is generated through an algorithm. Procedural modeling is when someone enters the rules or parameters to create scenes and objects. Whole open world environments can be generated by choosing and changing your landscapes parameters, whether it be, changing the amounts of foliage, changing biome presets, etc.
Image Based Moderling
Image based modeling is when a 3D object is algorithmically derived from a set of 2 still 2-D images. It is a technique employed when when there are restrictions not allowing the creation of a complete hand made 3-D asset.
3D Scanning
3D scanning is a technique where real life objects are 3D scanned and copied into software packages, used for high levels of realism. An object or actor from real life would be scanned analyzed and the data, an x,y,z point cloud, is used to create precise polygonal or NURBS mesh.

Typical 3D Modelling Pipeline for a Current Generation Game AssetPre-production (designing, lots of drawings)

 



 
Image URL's: Top left - http://d3jgkzl5mcxi5w.cloudfront.net/2013/01/mech_resized.jpg
Top right - http://assets.sbnation.com/assets/1218147/The_Secret_World_Concept_Art_04a.jpg
Bottom left - http://fc06.deviantart.net/fs70/f/2012/329/f/0/2d_platformer_assets_level_concept_by_stepke-d5m39v1.jpg
Bottom right - http://i5.minus.com/il1iOvstG22dj.png

Pre-production in reference to the creation of a current gen game asset would mostly be character designing, thumbnailing, concept drawings, etc. until a finalized look is decided on.

3D modelling
Source: http://i.stack.imgur.com/jg7kV.jpg
                      

Once it is decided on a low polygon base mesh would be created using only quads for a high polygon sculpting software. Reasoning being that to high poly sculpt a model it has to be subdivided efficiently. N-gons do not subdivide well and triangles do not subdivide very well either. Once the base mesh has bee completed it's a great idea to observe the silhouette of your mesh, and make sure that it is recogniseable. The mesh then gets exported out as an OBJ file and imported into a high res sculpting software package.
The mesh is now imported to a high poly sculpt program, it gets divided up into polygon count that changes depending on the type of mesh. Areas of character meshes can be over a million polygons in the highest subdivision level of sculpting. Sculpting is done in iterations, the details get more in depth as the modeling continues. Importing a very high polygon mesh into a 3D package can be slow and inefficient this is why the mesh gets divided up and exported as OBJ then imported back into 3D software.
Following this process along, you can then use polygon cruncher to reduce the amount of polygons whilst maintaining correct topology of the first high poly mesh. 'Batch optimisation' feature means that areas of mesh can be placed into a directory and the software puts them into optimised percentages depending on user provided settings. 

UV Mapping

Source: http://t2.gstatic.com/images?q=tbn:ANd9GcTBljqCeurVWNbfsFF5ZwjXL4VoFbKYydLHr4Bwu3XfFQ4iaT3r
When an artist is content with the optimised mesh, they would either retoplogise a new mesh centered around the polycrunched version, or the use the polycrunched version.

Texturing/render to texture


Image Sources: Left - 
http://media.creativebloq.futurecdn.net/sites/creativebloq.com/files/images/2012/06/barracks.jpg
Right - http://www.laurazimmermann.com/wp-content/uploads/2011/09/FFMachine.jpg
Once the model is done being unwrapped it is ready for maps to get rendered, using the render to texture methodology. They use projection modifiers onto the high poly mesh compared to the low poly mesh; Ambient Occlusion, Diffuse and Normal maps are rendered out.
These three textures may be modified in photshop once rendered out. A lot of the time artists will have to clean up colour levels and detailing of a normal map to bring out the details, also smoothing areas where the normal map hasn't rendered out as well as desired. This is achieved through a levels mask and layered unsharp masks on top of each other. Ambient occlusion maps are put on top of the diffuse map as an overlay, giving it an immediate depth and shading before the artist has started painting colour and detail on top. The diffuse texture is mostly a product of time, patience and a good amount of photoshop's tools and manipulation.

Engine Import

Source: http://assets.digitaltutors.com/dtv_/bison_courses/1635/assets/1635-render_1040.jpg
Characters require lots of work before gettting imported into the game engine. The mesh should be in sections and skinned to a skeleton rig. The mesh gets exported out as a ASE file. The ASE file can then be imported into the Unreal Engine 3. If it exported correctly it will appear in the engine as a skeletal mesh; textures are then imported the same way. When complete, engine materials need to be made for the character. 
At this stage there are heaps of character pieces which are textured and ready to be stuck together. Using the socket manager, various joints may be applied to each piece of the character. Once the engine understands which meshes go with each piece of the body it pieces it all together into a working character. If the standard unreal skeleton was used all animations within Unreal Engine 3 should transfer to the character seamlessly. The final step after this is to cook the UPK fle and export the text file that is added to the custom chair text file in the unpublished area of my documents. At this point the character should be available to use.


References
Forrester, K. (2014). Investigation into pipelines and asset creation for unreal engine 3.Found online, retrieved from: http://www.academia.edu/178918/Investigation_into_Pipelines_and_Asset_creation_for_Unreal_Engine_3 .

Slick, J. (nd). Seven Common Modeling Techniques for Film and Games. Found online, retrieved from: http://3d.about.com/od/3d-101-The-Basics/a/Introduction-To-3d-Modeling-Techniques.htm.

Thursday, 23 October 2014

Week 1 Blog - 3D Production PipelinePre-Production

Image URL
http://mediafarm.tv/wp-content/uploads/2014/03/CHUCK_designphase.jpg
Success is in the planning. Pre-production is arguably the most important and crucial step to get right in the production pipeline. If you haven't planned everything out, assessed possible risks, manage everyone's time and have it running like clock work, disaster may occur. The pre-production phase, is essentially where you are creating the story, designing the visual aesthetic of the project/world, you're also designing characters, environments and visualizing how the two will interact. In animation it is the time in which you are not physically animating. So storyboards, scripts, treatments, etc. All fall under the umbrella of pre-production phase. As you can pretty easily see, pre-production is the foundation in which your animation/film/game is based off and if it isn't done right, it can make everything that follows it quite painful.
Source: http://www.rit.edu/emcs/admissions/bca/item/pre-production-for-an-animated-film
Image URL
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaoX2N-g1b9q8zdeur1cDuovZxr2wR7S1zpbT7x-fFNWB8Nd6ZOMxOWQpTALpj1tu69UxTk6TuAkhWT07lwYEoOFc6Te0eiVP-Qej2QuDwQxNeEW9my0Qz0tgOzC-8avl4UlHOBXkWFpRJ/s320/Screenshot.png

3D Modelling of Required Assets

The definition of 3D modelling is the process of creating a mathematical representation of any three-dimensional surface of an object (either inanimate or living) via software packages such as 3DS Max, the end product is called a 3D model.
This is the next phase in the pipeline, once you have conceptualised all of your ideas, and know how your film/game will play it's time to start 3D modelling the assets you will need. Assets are just anything you have to 3D model and put into the project, so characters, environments, etc. are all known as 'assets' in 3D graphics. Here are some images of 3D modelling. 
        
Image URL's: - pirate ship - http://computationalarchaeology.files.wordpress.com/2013/01/10old-galeon-ship3d.jpg
 - dragon - http://worldarts.info/wp-content/uploads/2012/10/3d-model.jpg
 - monkey - http://www.techimo.com/images/img2/blender3d/modelling_lg.png
 - business man -
http://www.mahalaxmichambers.com/images/samples/3d_Pcharacter_model.jpg

UV Mapping

UV mapping is a process in which you break up and turn your 3D model's 'UV's' into flat shapes almost resembling paper cutouts, the reason this must be done is that we have to tell the computer what our model should look like from any given angle, it does this by projecting a texture map onto the 3d object. The letters UV refer to 2 points on a 3D axis. Here are some images to try and help visually describe what UV mapping is.
source: http://whatis.techtarget.com/definition/texture-mapping
Here is an example of what I meant
 when I said that unwrapped
 UV's resemble paper cutouts of an object
 


Image URL's: Zebra, https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQorKah8dCtC5wetGnaf-6-r3e6JMB1l1FDkjyM_rOHHWhrSE8LNMvcbKyFNlhPKB6pp7K8mLFqMH5AMuiOsDc_u9AibetO3sB2LRUdp5EgtyQICz88Mi3pwuNLYBVZAT2ebq7FSFTWbBr/s1600/UV+Mapping+-+Horse+Model.jpg.
Box, http://upload.wikimedia.org/wikipedia/commons/f/fe/Cube_Representative_UV_Unwrapping.png.

Texturing 

Texture mapping is the 3D graphic design process where a two-dimensional surface named a texture map then gets 'wrapped' to a three dimensional object. It is basically the digital process of painting your model. Once the UV's have been mapped it will have this even checker pattern on it, that's just a placeholder texture an artist uses to make sure the textures will be even on the model and look nice and realistic. Texturing is when you start painting onto the UV's and apply that material to your model instead of the checker pattern, that way an artist can observe how their textures affect the 3D model. Here are some images of textures.
Source: http://whatis.techtarget.com/definition/texture-mapping
 
Image URL's: Troll lady, - http://clevermusings.net/wp-content/uploads/2013/11/marli-texture.jpg
human guy, http://blogs.gscept.com/sp1/fp-content/images/character_diffuse.jpg

Rigging

Rigging is the process of creating a skeleton for your 3D model/character, it requires manual rigging, giving a character's skeletal structure definition. Provided you have created the rig, first you position and scale your skeleton or rig to fit your mesh as best you can, then you have to 'skin' your mesh onto the rig which will attach the two together and give your model all of the axis' of movement that the rig you made has. Although skinning is computed by assigning weight to the bones based on proximity of the bones, it can get some things wrong sometimes and needs some tweaking or fixing. 
source: http://www.mit.edu/~ibaran/autorig/

 
 Image URL's: Left - http://udn.epicgames.com/Three/rsrc/Three/FBXSkeletalMeshPipeline/maya_rig.jpg
Right - http://screentanning.com/mjones/tech/twin_skeleton_rig.jpg


Animation

Animation is making an illusion of movement, but also a lot of the time, illusion of life. It allows you to get your digital models or drawings and images and bring them to life. A character must act and interact, there must be an action and a reaction, in this way they 'think'.
Source: ANI100 Lecture 01 History

 
Image URL's: Left, Bird - http://www.cgsociety.org/stories/2003_7/isaac_kerlow/isaac_1.jpg
Right, lively boy - http://www.floobynooby.com/IPUB/char_design4.jpg

Scene Assembly

Scene assembly is when you put all of your assets into the one area you need them to be, buildings, environments, characters, etc. basically bringing in all of the assets that have been made so far into the one space.
Image URL: http://www.cgarena.com/newsworld/newsimages/extension2.jpg

Lighting
Lighting in an artificial 3D world, similar to textures and camera angles has the potential to completely change your scene's aesthetic for good or possibly bad, it has great potential for making some shots really come to life, but also has the potential for incorrect use which could turn an amazing scene into a less amazing one.
Source: http://www.media-freaks.com/the-process-of-3d-animation/
 
Image URL's: Left - http://ezzatbaroudi.files.wordpress.com/2012/12/accent-lighting-with-ambient-lighting-03.jpg
Right - http://blue.cs.ksi.edu/dl/cis572/movies/Lighting.jpg

Rendering
Generally the final step in the 3D production pipeline and one of great importance. You must pay attention to a lot of details to have a good final render, things like camera placement, lighting, reflections, transparency and handling special effects like fluids or glasses are very important when it comes to how good your final product looks. Here is a reasonably basic digital render of a building.
Source: http://www.media-freaks.com/the-process-of-3d-animation/
Image URL: http://www.3darchitecturalmodelrendering.com.au/wp-content/uploads/2011/11/210.jpg

Post-Production steps may include...
- Compositing
compositing is things like mixing 2D with 3D or 3D/2D with real life camera shots, the idea if you layer two different still/motion images together for some animation. 

- Video Editing
There isn't a very specific definition for video editing but that's because it is just so broad. It encompasses anything adding or removing sections of video or audio, rearranging, filters, colour correction, other enhancements and transitions between clips.