tag:blogger.com,1999:blog-64274164111796531552024-02-07T18:34:03.664-08:00Match to LifeAndyHVhttp://www.blogger.com/profile/06657377238786511448noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-6427416411179653155.post-20494097981692970022013-10-16T10:14:00.001-07:002014-11-25T11:45:08.819-08:00Virtual Tea<div style="text-align: justify;">
So you have been tasked to create a virtual asset and match it to a real life still. That sounds down right impossible, I know, but it's not! It's not too complicated a process, you just need to get your render passes right. I used Maya for this, so I will explain the process in that program. Feel free to use any program you are comfortable with. Here are a few steps that will help you. </div>
<br />
<div style="text-align: justify;">
First, you need a still to match your item to. I used a tea cup and saucer. Set up your object in an interesting set up and take lots of pictures. Lots. You want interesting compositions with clear pure white and pure black areas so as to show the most variance in value. Make sure your shadows are clean and visible, don't make this too hard on yourself. Here are some of my sets</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfHkX94LVJWxFn9pY8If4NWYn9aDSoCnoRUhFOHGWHpjqMD8R34oOA3cd5ttbXl_uIrroZOkBN5yawbJnDh8vrZ3IDRIUC0vUab90L6Gs7_eHo8bf0VZSHsLBr8Gi1cbLsQU2PjFXXta0/s1600/sets.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfHkX94LVJWxFn9pY8If4NWYn9aDSoCnoRUhFOHGWHpjqMD8R34oOA3cd5ttbXl_uIrroZOkBN5yawbJnDh8vrZ3IDRIUC0vUab90L6Gs7_eHo8bf0VZSHsLBr8Gi1cbLsQU2PjFXXta0/s640/sets.jpg" height="283" width="640" /></a></div>
<br />
Here is the still I chose to work with:<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTa_u6W4KhOK4ciwwEXcI1uyutAE8IwuCrd9DpfITlu1erNO7LCmnaHFYyE-PkcVPjc0ZRO3-aAcpcRDwN254eafEaRNG0mb3zjn5oPKC_U2FwuYx3sGK3U7IePQd73OMPQKwgPW3qy2k/s1600/clean.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTa_u6W4KhOK4ciwwEXcI1uyutAE8IwuCrd9DpfITlu1erNO7LCmnaHFYyE-PkcVPjc0ZRO3-aAcpcRDwN254eafEaRNG0mb3zjn5oPKC_U2FwuYx3sGK3U7IePQd73OMPQKwgPW3qy2k/s400/clean.jpg" height="266" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
The shadow is not too clean, but the object is a nice size and the lighting is pretty straight forward. It is a little blurry and you don't want that on your still. I am a trained professional, so its ok. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Next you need two more photographs of that same setup. One with a block and one with a chrome ball. The block picture will help determine the axis positions in your 3D modeling software. The chrome ball will give you accurate reflections and an environment map to get final gather lighting from. Here are mine:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTIyO9bdyr9WZRneRvY1byXjT8bYItmAhG2ZEn2o0kNdEHoYd6NIy-HQ8elRQl0wQ4dOpV3JRuCdNAtGI1iftGxnJotYa3plzep08RM_3t7xtDtpmBHR8L_P9ORGncG2parq6bruNlWBY/s1600/ball.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTIyO9bdyr9WZRneRvY1byXjT8bYItmAhG2ZEn2o0kNdEHoYd6NIy-HQ8elRQl0wQ4dOpV3JRuCdNAtGI1iftGxnJotYa3plzep08RM_3t7xtDtpmBHR8L_P9ORGncG2parq6bruNlWBY/s320/ball.jpg" height="213" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT6BIJej5YJuUmnFzRpjUeZkfOfC4NIy9BFRK5b3xqLvZTla2BxfphNDf8ylk2WKcx0W8W9qO277zd7i-MBMHWFssCfG4pit6HjSdHcd5D3fgtB5bcNOVwy3bOyjMRfMGgtrSgPtQIoc8/s1600/blcok.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT6BIJej5YJuUmnFzRpjUeZkfOfC4NIy9BFRK5b3xqLvZTla2BxfphNDf8ylk2WKcx0W8W9qO277zd7i-MBMHWFssCfG4pit6HjSdHcd5D3fgtB5bcNOVwy3bOyjMRfMGgtrSgPtQIoc8/s320/blcok.jpg" height="213" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div style="text-align: justify;">
Make sure the corner of the block is facing straight to the camera. This is crucial to match your virtual camera to the real one. If the camera positions don't match, your composition will never look believable. </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Start modeling your object. Take reference images from top, bottom and side views to make sure it is the correct dimensions all over. Once you are happy with your model you can begin on creating the camera. </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc1GuCGibb2Rg_bt64dXrGEBWye_UUD6WQbc0mhlIwMprlfE08DfhPWFDi-8lI4IOt4ANuBVz0RZHO5brHzMQFAZJ-aBrT7bEGQp0QPTNLsPMKYGmWOxAhuHYhunmCXycsSjOyxn7iWps/s1600/model.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc1GuCGibb2Rg_bt64dXrGEBWye_UUD6WQbc0mhlIwMprlfE08DfhPWFDi-8lI4IOt4ANuBVz0RZHO5brHzMQFAZJ-aBrT7bEGQp0QPTNLsPMKYGmWOxAhuHYhunmCXycsSjOyxn7iWps/s320/model.jpeg" height="213" width="320" /></a></div>
<br />
<br />
<div style="text-align: justify;">
Create a new camera, your RenderCam. In its attributes, create an image plane in the Environment tab and use the photograph of your object with the cube. This will ensure your camera is always looking at the image you are trying to match and movement will be relative. Next create a cube and change the pivot to the corner that faces your camera. Put that corner at the origin point. Now zoom in, out, rotate the camera and move it around until the cube matches the block in the photograph as perfectly as possible. </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzXxQ5uusC8avP8qIUQ9F8aSpMGofOnFdooL9Pj5DgtOdjUiSMCoyiYBsYFd3DQP9g9RZTSX71EIRAuXU2GLgmFgKbNh1bMCGPy7TVfAZdgUMwphgw6McCHsX-jJXCjEug__3el6Fvn_k/s1600/blockmatch.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzXxQ5uusC8avP8qIUQ9F8aSpMGofOnFdooL9Pj5DgtOdjUiSMCoyiYBsYFd3DQP9g9RZTSX71EIRAuXU2GLgmFgKbNh1bMCGPy7TVfAZdgUMwphgw6McCHsX-jJXCjEug__3el6Fvn_k/s320/blockmatch.jpg" height="213" width="320" /></a></div>
<br />
<div style="text-align: justify;">
Next try to match your modeled object to the original one in the picture. Do not move the camera anymore! Make sure your object sits on the grid. That grid represents your ground in the photograph and the object should be on it; not through it or above it, on it. </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirgBOvymfkg4gxPeBvxKWyMh2zroQ1MKOvtuL_21kg3j1R_Z1LWF6TiyuY86ewEZgZUeeVsP756ZGm8n0Msn265QwFin70Yg0BhpgdIltDJBYnuZkTwylYbjk9DRucKZtTbRrwcWsyEKs/s1600/matchCup.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirgBOvymfkg4gxPeBvxKWyMh2zroQ1MKOvtuL_21kg3j1R_Z1LWF6TiyuY86ewEZgZUeeVsP756ZGm8n0Msn265QwFin70Yg0BhpgdIltDJBYnuZkTwylYbjk9DRucKZtTbRrwcWsyEKs/s320/matchCup.jpeg" height="213" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
So far so good! Now it's time to start on the lights. First thing is to determine the direction. Put a spotlight in the scene and turn raytrace shadows on. Move the spotlight around and try to match the angle, length and intensity of the shadows. It wont be perfect with just one light, but this is our starting point. Once your shadows work well, then start thinking about the lights. Does the spotlight work well as a key light? Maybe an area would work better? Add some fill lights to color and soften the shadows and add some bounce light.</div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2j7oshZvfpet_8LvtXfFCqIHukjpImxuIMHQ-2KUIB8kcrJlysD8M8jVU1FfA0mRL5vyQc6Pw3Lj1i2hWiLPc_JH_5GglLGP9dC5-Ka4RojwUTKBtiJ1qgMuX13lrju9n017iJC62bk0/s1600/shadows.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2j7oshZvfpet_8LvtXfFCqIHukjpImxuIMHQ-2KUIB8kcrJlysD8M8jVU1FfA0mRL5vyQc6Pw3Lj1i2hWiLPc_JH_5GglLGP9dC5-Ka4RojwUTKBtiJ1qgMuX13lrju9n017iJC62bk0/s320/shadows.jpeg" height="213" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Next you add your textures and modify your materials so that they look right. Blinn is the best place to start from. You can get rid of the cube in the scene now and move your cup to where you will want it to be in the final image. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivbLNkcRUeUcyJ_PMUtCr6Qm5IBXLl6KOCBN5QXDbYdr0phdAWH6uKJ6rHSCZnEEeHz93Z43-4RMn1GIIMyK4bkqal3ffccYiv8B1G9Xcul4f04urRBz6mySqXbdA4SbR6jGXsb-UtzpM/s1600/texturesPlacement.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivbLNkcRUeUcyJ_PMUtCr6Qm5IBXLl6KOCBN5QXDbYdr0phdAWH6uKJ6rHSCZnEEeHz93Z43-4RMn1GIIMyK4bkqal3ffccYiv8B1G9Xcul4f04urRBz6mySqXbdA4SbR6jGXsb-UtzpM/s320/texturesPlacement.jpeg" height="213" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Next are your render layers. You can get a really nice render out of Maya in a single pass, but then you wont be able to fine tune the image once you take it into a compositing program. These are the layers you will need:</div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<b>Diffuse</b></div>
<div class="separator" style="clear: both; text-align: justify;">
This layer needs your object and all the lights. Create a layer override in the material to turn the <b>Specular</b> all the way down to 0. </div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLVSKPVodracIhVsXTITSX-oHxxLJi0MUEMTXxPiPZSuyaCLewaVc1_W1mP3vETnSgL1zp8VBba4wShsrireHuA2VA_n6K8X5xlCXurC3u3CZUIaTnvTkVoocamukSDa6ZGRKBjneq7ds/s1600/diff.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLVSKPVodracIhVsXTITSX-oHxxLJi0MUEMTXxPiPZSuyaCLewaVc1_W1mP3vETnSgL1zp8VBba4wShsrireHuA2VA_n6K8X5xlCXurC3u3CZUIaTnvTkVoocamukSDa6ZGRKBjneq7ds/s320/diff.jpg" height="213" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<b>Specular</b></div>
<div class="separator" style="clear: both; text-align: justify;">
Same as <b>Diffuse</b> layer, but instead use the layer override to turn <b>Diffuse</b> down to 0.</div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKM2gO3S78xCD2VBK2cijtu3YOs1uOW7qYPr02DgihlJmHXVeMXxQ4W44vD3mjB2572U7QoqeFf9o00IGFBTOrcx7cez2RUp4nF_ZkCeuuu7NWHD7j4_jfzSk_VCOnUFK0vH5cCB19SB0/s1600/spec.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKM2gO3S78xCD2VBK2cijtu3YOs1uOW7qYPr02DgihlJmHXVeMXxQ4W44vD3mjB2572U7QoqeFf9o00IGFBTOrcx7cez2RUp4nF_ZkCeuuu7NWHD7j4_jfzSk_VCOnUFK0vH5cCB19SB0/s320/spec.jpg" height="213" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<b>Shadow</b></div>
<div class="separator" style="clear: both; text-align: justify;">
Include your object, the lights and a ground plane. You can set this layer to the Shadow preset from Maya. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisA7SV21dNrV4-abmLo1U0X3sy06ZVDu3FZXDqr44E6YLuf5WsuguQQvtBqhlx8qkDtic9PCXD-wJHIdlk_homjKXu1j7G0uAmkRDhgjj7zZGbtzyOF6TEGwIuSzkmyblBQ-Sn5bnIHZs/s1600/shadows.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisA7SV21dNrV4-abmLo1U0X3sy06ZVDu3FZXDqr44E6YLuf5WsuguQQvtBqhlx8qkDtic9PCXD-wJHIdlk_homjKXu1j7G0uAmkRDhgjj7zZGbtzyOF6TEGwIuSzkmyblBQ-Sn5bnIHZs/s320/shadows.jpg" height="213" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<b>Reflection</b></div>
<div class="separator" style="clear: both; text-align: justify;">
Include your object, a copy of the object in the original position in the image and a sphere. The sphere should contain the entire scene and have the image you got from the chrome ball projected as an environment map. Use the ball unfold. Set your render to final gather and turn of all other lights. Use layer override in your object's material attributes to turn <b>Diffuse </b> to 0, and <b>Specular and Reflectivity</b> to 1. Make sure the copy object is not renderable, but visible in reflections. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkSfbzo5Y_A2d_TYdzJD6P8ahIZfmzv5m1qFzItX1-BZ-JhvyfPUCSNA0xqBv7HsX68hmUxgwAaYIJB3Yj7Pxpj9oVWfKK2Rs4DLz8GBU_273ttToOC31KXn4YjX4rjHZHnzzLmMIiShM/s1600/reflec.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkSfbzo5Y_A2d_TYdzJD6P8ahIZfmzv5m1qFzItX1-BZ-JhvyfPUCSNA0xqBv7HsX68hmUxgwAaYIJB3Yj7Pxpj9oVWfKK2Rs4DLz8GBU_273ttToOC31KXn4YjX4rjHZHnzzLmMIiShM/s320/reflec.jpg" height="213" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<b><br /></b></div>
<div class="separator" style="clear: both; text-align: justify;">
<b>Occlusion</b></div>
<div class="separator" style="clear: both; text-align: justify;">
Include your object and ground plane. Set the layer attributes to the default Occlusion preset. You should separate this into 2 passes, one for the object occlusion and one for the ground occlusion. This is not necessary, but it will make it easier to fine tune in the compositing. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSsFqw34Eh2H4mMP3juV8Wx80KzzuRQW7BNKqLuR8ycIRXiCwuRFh4tFYnq6mlmJPV_5FT8WXBxkMVWFv5SQH2b3-gARzWQat0oPYWhd493bmdnelNk63UsXWd1sic_N1djWo_AZFiFWU/s1600/occ2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSsFqw34Eh2H4mMP3juV8Wx80KzzuRQW7BNKqLuR8ycIRXiCwuRFh4tFYnq6mlmJPV_5FT8WXBxkMVWFv5SQH2b3-gARzWQat0oPYWhd493bmdnelNk63UsXWd1sic_N1djWo_AZFiFWU/s320/occ2.jpg" height="213" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht-ZeJBdn-FZvTEqG5DfF914dPuGpKv9x5J7kmBBq1KbDhdT5B2WYi3obwBqSAbCJ1MYcnAr_ABm4WX5ZoK3bOTElOZAEMOiaUK-dyAiV69-PDVFU7oJz-zuJ2uOZXzwVjXsWJApqeYCo/s1600/occ1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht-ZeJBdn-FZvTEqG5DfF914dPuGpKv9x5J7kmBBq1KbDhdT5B2WYi3obwBqSAbCJ1MYcnAr_ABm4WX5ZoK3bOTElOZAEMOiaUK-dyAiV69-PDVFU7oJz-zuJ2uOZXzwVjXsWJApqeYCo/s320/occ1.jpg" height="213" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<b><br /></b></div>
<div class="separator" style="clear: both; text-align: justify;">
<b>Fill</b></div>
<div class="separator" style="clear: both; text-align: justify;">
Include your object and the environment sphere. Set render to use final gather. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP0CeUKc5iLWjjMnaYMmdisAN1gBAavS0-TCQaDGx8E0_3fWGXf5dVrTTkTP05lzx1zJd-ch37REpNVc_1Bf8kU1P65i7TWs8la0trajHvqxEn1McyQbz3hqgA2ynzwhHwTll8_XRIvug/s1600/fill.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP0CeUKc5iLWjjMnaYMmdisAN1gBAavS0-TCQaDGx8E0_3fWGXf5dVrTTkTP05lzx1zJd-ch37REpNVc_1Bf8kU1P65i7TWs8la0trajHvqxEn1McyQbz3hqgA2ynzwhHwTll8_XRIvug/s320/fill.jpg" height="213" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Once you have all these layers you can take it into compositing. For this, I used NukeX. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK1JhZcnSWFgNMruweDOeqKplRt21RXvvgmXpN4vbqqEG8gaEVs_e_n18cfKISjTKM6FqrTy25yR7-5Ynqq6xJj1E3SZLTFs7GogtWZItWXEnOzkmOloCdB6k1uwpbp_IYCjS1hqYb0wY/s1600/nuke.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK1JhZcnSWFgNMruweDOeqKplRt21RXvvgmXpN4vbqqEG8gaEVs_e_n18cfKISjTKM6FqrTy25yR7-5Ynqq6xJj1E3SZLTFs7GogtWZItWXEnOzkmOloCdB6k1uwpbp_IYCjS1hqYb0wY/s640/nuke.jpg" height="468" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
First, merge the Fill layer onto the Diffuse layer with screen mode. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Merge the Reflection layer onto the Specular layer also with screen mode. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Merge the Fill/Diffuse onto the Spec/Reflec again with screen. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Add the object's Occlusion layer as a mask. To do this, first connect the layer to a Shuffle node and place all RGB on alpha, and Alpha on red. Then connect that to an Invert node and connect that to the mask channel of a Color Correct node to which the last Merge is connected. This is so that you can change the gain/color on the actual image rather than on the Occlusion layer, where it would do nothing. Lower the Gain in the Color Correct to what looks good. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Add the Ground Occlusion layer to the Original Image in the same way you added the Object Occlusion layer. Then Merge The previous Color Correct to the newer Color Correct as an over. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Connect the Diffuse node to a Premult node and attach this to the current Merge node as a Mask. This will help with the dark edges from the CG render. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Lastly add the Shadow layer as mask with the method you used before. Change the gain to match the shadows of the original. Change the color too, it will help. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Those are the basic steps to composite your CG model into a real life still. Depending on your object, you may need other masks, such as for reflectivity, and you will also need to add correct depth of field, which is not covered here. Tweak your values until it looks good. Mine looks ok, still needs some work, ane the handle is modeled wrong, but I know the steps to fix it. </div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.andyhv.com/uploads/7/0/8/3/7083369/7020453_orig.png"><img border="0" src="http://www.andyhv.com/uploads/7/0/8/3/7083369/7020453_orig.png" height="356" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.blogger.com/video.g?token=AD6v5dyPiLhEFYDuSbAL6TLpoJLIlZiiXb2SYPTE6IjDL0IMhFAtY6q1EQL4PvoONVb68Ac4ov8Ln_PPqnSMy-b6' class='b-hbp-video b-uploaded' frameborder='0'></iframe><br />
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
AndyHVhttp://www.blogger.com/profile/06657377238786511448noreply@blogger.com0