Thursday, 28 November 2013

Skydomes

I wanted to add a night sky/space background to my scene. The simplest and most effective way i found of doing this is to was to add a geosphere to my scene and simply apply a tiled night sky texture.


The texture appeared slightly deformed at the top and bottom points on the sphere however so by scaling down on the z axis i was able to reduce the amount of distortion present.



Shuttle with lit skydome 



Sunday, 24 November 2013

Week 9, texturing Tie-Fighter

Taking note from when i textured the shuttle the first thing i wanted to add to the Tie-Fighter was an engine glow. I wanted to keep it simple so i experimented with omni lights. Omni lights spread light equally in all directions, and you can specify and modify the attenuation, which is essentially how far the light will spread. By reducing the start and finish points of the attenuation of the light i made it so the glow would only protrude slightly form the rear of the engine. By adding a volume effect and adding noise to the light i can make the attenuation visible to create a dome like glowing effect. I also made sure that this particular light did not effect any other objects in the scene as i will rig up other lights for that i want this light to just interact with the Tie-Fighter itself.      

Positioning engine onmi light inside fuselage 

Engine glow 

I approached the Tie-Fighter slightly differently to previous models. I have been using the UVW Unwrap modifier up to now, but i can see problems arising with this model. The main sphere that is the fuselage has been heavily modified and sliced and cut, and i know i am not going to be able to get a workable template as the polygons are irregular and numerous. So the Tie-Fighter is going to use mainly procedural maps created in 3ds Max. 

I still detached parts of the ship that were going to have different materials or variations of materials. I also added some more geometry to the wings to better fit the source images. I did try to achieve this wing detail with materials and maps but to no success. I did however get an idea for the main wing panels though while experimenting with bump maps.   

Detaching roof

Detaching main wing

Detaching guns mounts

As the inside of the cockpit has no detail in it i made the glass texture for the view port completely opaque and reflective. If i decide to develop these models further past the assignment i would like to add some cockpit detail and make the glass see through slightly. This would add to the overall realism of thee models.
  

Making use of the numerous maps slots in the material editor you can start to build up realistic and reactive surface textures. Starting with a basic diffuse texture created in gimp and then adding a dent bump map the solar panels on the wings start to look quite realistic, as the map gives the illusion of depth without the geometry. The bump map channels when used effectively can give a high level of detail without adding excess and numerous polygons. The number of polygons i would need to modify to get a similar effect with geometry would severely impact my overall efficiency of the model. I still have a lot of control over the material in the editor i can specify the tiling the angle and the offset, all without having to wrestle with the UVW maps.

Another reason why i chose this method is that when i made the model, unbeknownst to me, the wings somehow became overlapped, and there was polygons occupying the same space. This was the first model i made so mistakes were inevitable. I think this happened when i applied the symmetry modifier, i wasn't particularity comfortable with it at the time, and although it looks OK at the time, when i looked at the wings from certain angles the geometry would strobe. I did try to export the map, paint it, then apply it back on, but the textures just did not display properly because of the geometry.

Creating wing panel material


Adding a reflective map on the wing panel material really brought the texture to life for me, and made it look realistic. It will react with the light and other objects in the scene which is how the material would react in real life. 

I chose to use a different darker metal material on the detached parts of the fuselage and cockpit. Originally i had all the materials the same through out the main part of the ship, but i found this approach did not bring out the detail in the separate parts of the model. By having a darker material on the roof hatch, the view-port rim, small panels on the fuselage you are forced into paying more attention to these parts of the ship. And the contrast means you can clearly see that these parts are in fact separate, where as with one main material the colours and geometry just seemed to blend in. Hence i lost some the detail i put so much time into. I also found that making another colour material for even smaller detail on the detached parts of the ship helps bring these details to the audiences attention. 

Using  glass effect texture on the rear lights and the guns again helps distinguish between these details and the main ship. Such small detail is in danger of being overlooked so enhancing its reflective qualities and using a bright colour makes these details stand out. Its true that this is how the original is textured also, but changing the other parameters and not just the colour i found makes a real difference and certainly improves the quality of finish on the models.      

Variation of metal material on Fuselage

Rear lights material being added

Gun material clearly distinguishable 

Overall i fell the materials i have used really does the model justice, no detail is lost and they look quite realistic when rendered. In fact i think that look more realistic than the textures i made i GIMP for the previous models. I was more restricted with the detail i could ad however. I will be interested to use a combination of the two methods in future projects.

Finished Tie-Fighter (Rendered Views)











Wednesday, 20 November 2013

Week 9. Unwrapping & Texturing Imperial Shuttle

Applying the same methods i discussed in the last blog entry, i moved on to texturing the Imperial Shuttle. While the process is very time consuming it is vital you spend this time if you want your models to look as realistic an accurate as possible. 

The slight difference with the shuttle as apposed to the X-Wing is that the shuttle is mainly comprised of grouped objects instead of one large main mesh. This certainly beneficial and saves you some time when it comes when in comes to unwrapping the parts of the ship.  

Detaching wing panels for texturing  

There was still times when i decided to detach individual panels of the ship, on the wings for example. This just makes working in Gimp much easier, as when i was creating a weathered and scratched surface i wanted these details to be all facing the right way, ie, from the front to the back of the ship. This just ensures all the textures are uniform. This also allows for a cleaner more precise texture when there is a variation on the colour on certain panels of the wing.   

Unwrapping the main wing 

Wings fully textured 

I added a reflection map to the glass to clearly differentiate the the metal and glass textures. I also lowered the opacity setting slightly, not too much though as the original source images clearly show a tinted translucent effect. The reflection makes the material look a lot more realistic and might have some nice effects when i start to add a skybox and lights to my scene. 

Editing and applying screen material 

For the smaller less significant parts of the ship a basic texture could be applied without the need to unwrap and export a UVW map. I have seen previously that the time spent doing this on the the small complex and insignificant objects on the ship does not justify the final outcome and my time is better spent elsewhere. So for the small detail at the rear of the fuselage and the gun barrels a basic texture was applied. 

Shuttle fully textured

Rendered views of finished shuttle 

When the texturing was complete i started to have a little play with the wings on the shuttle. I plan to animate the wings to show them opening during flight. This is when grouping parts of the model together as opposed to attaching them to be one larger mesh becomes significant as i can isolate the wings and manipulate them individually. 

Rendered views of ship with wings folded in 


The only thing i would like to add  is when i move onto adding lights in the scene i will try and create some sort of engine glow for the rear engine. As without it the ship appears to have to propulsion which will look unrealistic when i start to animate the ship.  





Week 8, Texturing X-Wing

Once i was comfortable with the different techniques regarding creating and applying material to objects i started with my first model the X-Wing.

Learning form previous exercises i decided that to get the most control and the highest level of detail to do my models justice, that using the unwrap modifier would be the best way forward. I have also learned that as my model is highly complex and i made its mainly one large mesh apart form small details, I would break down the model into smaller easily distinguishable parts. Then when i apply the modifier the polygons will be fewer and much easier to paint on. This will also help me get nice clean lines on different parts of the ship.

The first step was to break the model down as if it has literally been assembled in a physical sense. Again this greatly improves the precision i will be able to get when applying the materials.

I identified the parts of the ship that would have different colors and textures and separated them individually.

For example the roll cage of the cockpit is a different color to the main fuselage and a different material (ie, metal and glass) to the screen, so i detached this from the main mesh.

Detaching cockpit roll cage 

Painting Rollcage map in GIMP


Detached back of Fuselage 

  

Sometimes even when the materials are the same like on the front of the fuselage or parts of the wings, as it has different colored panels, i decided to remove the panels individually in some cases this gave me cleaner lines and textures on the objects.

Main panels and red side panels being detached individually 


Red wing panels being textured separately



When i had rendered the templates i could take them in to Gimp and start building up paint layers and applying effects to the materials. I used a noise map effect to give the metal textures an authentic brushed metal look, and used different style and sized brushed to create a weathered effect on parts of the fuselage. When you paint these templates in Gimp it gives you a lot of freedom to create individual and realistic looking textures. And because they are all unwrapped using the UVW modifier when you apply them on them model they fit perfectly and look quite realistic. 

Fuselage map and material before application 
     

X-Wing with front of fuselage and cockpit materials applied 

I could also add more effects in the material editor in 3Ds Max to get a more accurate representation of the materials. For example changing the specular and gloss levels on the material to give the metal a shiny and reflective appearance. Also with the glass i changed reduced the opacity slightly and increased the reflection parameter to make the glass look more realistic. If i had time with the models i could of introduced some geometry inside the cockpit and then i could have it so you could see through the glass completely and into the pilots bay.   

Continuing the method of detaching and unwrapping individual parts of the ship, although very time consuming starts to give a realistic looking ship. 

Engines Textured 

Fuselage fully textured 


There are times when the UVW Unwrap modifier has its downfalls though. For small and high poly objects the maps sometimes become highly complicated and impossible to distinguish and work with.

Unwrapped polygons 
  
In this example the polygons are for small wires and details on the ship and due to their size a UVW unwrap is not only overly complicated but unnecessary. I can just apply a basic material to these smaller less conspicuous objects and still get a realistic overall effect by using reflective maps and bump maps.

When the entire ship was textured to my satisfaction i could start to re-attach parts of the ship back together. In some cases i decided not to re-attach and just group objects, as the model was originally mainly one whole mesh, which i now know is not always best practice. Especially when it comes to the animation, when i might want to animate individual parts of the ship like the wings folding out for example.  

Rendered Views of fully textured X-Wing






I am pleased with the final model now its textured, the materials look realistic and reflect accurately the original source images and models i have been working with. The detail i was able to achieve by unwrapping each part of the ship and texturing individually is definitely something i will use again in my other models. Although i might experiment more with the different map channels that are available within the material editor. Overall though the first model was a success.