Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 11-02-2011, 10:44 PM   #1
tweetytunes
Ravage3d - 10 years and still going
 
tweetytunes's Avatar
 
Join Date: Jan 2004
Location: Bolton - UK
Posts: 2,419
Thanks: 62
Thanked 159 Times in 152 Posts
Lightbulb Compositing 3D into a still image - help plz

It may have been a good thing I was away for the last challenge as I have no idea how to do this.

As some know I went to Escape studios today in London to enroll on a VFX class starting in May. One thing the tutor told me to work on is getting 3d in to real images. Now I know what I want to do - put some thing in to my street as during the day its empty and I think there are some cool area to take photos of for a back plate.

I think it goes

1) Take photo`s for back plate and ref
2) Model the object
3) create some proxy models for stuff in photo (eg floor)
4) Line up object in photo (not sure how)
5) Match the lighting (not sure how)

6) Use render layers to create realism
7) Comp together

Its the bits in red I have no idea how to do -

For part 4 I know how to do this for video (matchmoving) but how for a still - is it just eyeballing it.
For part 5 - I know how to make panoramic photos (full 360) but not hdr photos. Our they really needed
I do have a large collection of hdri images - they are just not off my street.

Basically I need help on what sort of photos do I need to take for reflections and lighting - and how (if a hdri) - after the last challenge I know some of you know how to do this...
__________________
All my images are in HD - Plz right click and view image.

3D Molder at AO.com.

X2 ,,
tweetytunes is offline   Reply With Quote
Old 11-02-2011, 11:15 PM   #2
Joey81
Subscriber
 
Joey81's Avatar
 
Join Date: Jan 2010
Location: Budapest, Hungary
Posts: 242
Thanks: 2
Thanked 30 Times in 29 Posts
Default

Hey Tweety!

If you re using a comp program (like nuke) make a delens on the picture you took,(using your camera's focal lenght). So your picture wont bend in perspective axis (if i am telling right)



This 2steps re really simple. Put your photo into an image plane on the Perspective view. Than start to move your camera still the grid fit you pictures ground/table/house whatever you see. than you have the right axis

The light stuff is a bit complicated. You should add ligths like they were outside the place. 1 directional light for the sun & some other lights. I took a picture from my desk & i used 1 direction for sunlight & an arealight as a monitor. If it does not match perfecty you can tuune them in compositing program.

It was a good free friday tutorial.... ..... .... found it finally

http://simplymaya.com/forum/showthre...ht=free+friday

It is just what you need
Joey81 is offline   Reply With Quote
The Following User Says Thank You to Joey81 For This Useful Post:
tweetytunes (11-02-2011)
Old 11-02-2011, 11:37 PM   #3
tweetytunes
Ravage3d - 10 years and still going
 
tweetytunes's Avatar
 
Join Date: Jan 2004
Location: Bolton - UK
Posts: 2,419
Thanks: 62
Thanked 159 Times in 152 Posts
Default

You know what thats perfect thank you - Had no ideas this place was doing this free friday tutorial so double win.

That does leave my questions about setting up the image based lighting and setting up the reflections but its a big step in the right direction... Thank you
__________________
All my images are in HD - Plz right click and view image.

3D Molder at AO.com.

X2 ,,

Last edited by tweetytunes : 11-02-2011 at 11:47 PM.
tweetytunes is offline   Reply With Quote
Old 11-02-2011, 11:40 PM   #4
Joey81
Subscriber
 
Joey81's Avatar
 
Join Date: Jan 2010
Location: Budapest, Hungary
Posts: 242
Thanks: 2
Thanked 30 Times in 29 Posts
Default

i wanted to post a smiley.... but thats shorter than 10 character. so:
Joey81 is offline   Reply With Quote
Old 12-02-2011, 02:22 AM   #5
honestdom
The Nurb Herd
 
honestdom's Avatar
 
Join Date: Oct 2007
Location: London
Posts: 2,381
Thanks: 4
Thanked 298 Times in 288 Posts
Default

Originally Posted by tweetytunes View Post

1) Take photo`s for back plate and ref
2) Model the object
3) create some proxy models for stuff in photo (eg floor)
4) Line up object in photo (not sure how)
5) Match the lighting (not sure how)

6) Use render layers to create realism
7) Comp together

hey man, seems like you liked the sound of the course.

I think you have the order wrong tho. 4 should come after 3 and you should have a 2.1) create and match camera to backplate.
you can do this pretty easily if you are taking the photo yourself, as you will know (or can find out) the focal length. so create a camera and adjust the focal length to match. then dolly the camera until you think it lines up. Look at my wip for the comp, it might give you some ideas as to how to match the camera.

as for lighting, i would shy away from final gather if thats what you are thinking. try to light it manually. Final gather is not bad, its just not used as much as you might think. It causes a lot of artifacts in your lighting.
You do not need a chrome ball and an 8mm lens to make an hdri. What would be a good cheat would be to take a photo with as wide a lens as you have. if you dont have a tripod then just take one. but if you do, take one at the fstop you need to. Then take 2 up an exposure and 2 down. (hope that made sense. been at the pub)
if you dont have a tripod, take a photo and create the duplicate exposures in photoshop. then use the "merge to hdri" button and it will create an hdri.
you can use this as a reflection environment.

can't think straight so will review this tomorrow. too many beers.
night.
honestdom is offline   Reply With Quote
The Following User Says Thank You to honestdom For This Useful Post:
murambi (12-02-2011)
Old 13-02-2011, 05:24 PM   #6
tweetytunes
Ravage3d - 10 years and still going
 
tweetytunes's Avatar
 
Join Date: Jan 2004
Location: Bolton - UK
Posts: 2,419
Thanks: 62
Thanked 159 Times in 152 Posts
Default

Sorry Dom completely missed this reply. Thanks 4 the tips but you see this is where I get confused with the photos. I have a good digital camera 14mp but no lens, no tripod

So if I follow what you say I ...

1) I go out side - take the photo of the area I want to place the subject in.
2) No tripod so I take one photo as wide as I can - but of what - the stuff in front of subject spot or the stuff behind. And I got a cool panoramic mode on this camera and it really does work - is that worth doing.
3) Take photo in to photoshop - And how do you duplicate exposures in photoshop and this "merge to hdri" button.

Many thanks again
__________________
All my images are in HD - Plz right click and view image.

3D Molder at AO.com.

X2 ,,
tweetytunes is offline   Reply With Quote
Old 13-02-2011, 05:54 PM   #7
murambi
Head of 3d Admedia
 
murambi's Avatar
 
Join Date: May 2007
Location: nairobi , ken-ya
Posts: 1,327
Thanks: 21
Thanked 129 Times in 128 Posts
Default

1) I go out side - take the photo of the area I want to place the subject in.
2) No tripod so I take one photo as wide as I can - but of what - the stuff in front of subject spot or the stuff behind. And I got a cool panoramic mode on this camera and it really does work - is that worth doing.
3) Take photo in to photoshop - And how do you duplicate exposures in photoshop and this "merge to hdri" button.
hey check out this link

http://www.talkingtree.com/blog/inde...ake-hdr-images
murambi is offline   Reply With Quote
The Following User Says Thank You to murambi For This Useful Post:
tweetytunes (15-02-2011)
Old 15-02-2011, 09:27 AM   #8
LauriePriest
Moderator
 
LauriePriest's Avatar
 
Join Date: May 2003
Location: London
Posts: 1,001
Thanks: 0
Thanked 59 Times in 51 Posts
Default

Really is much easier if you have a tripod to do stuff like this.
Ill do a quite detailed reply, its quite useful to know this kinda stuff:

In terms of lining up your set nicely, get some measurements of things to build the set with.

If you have a grasp of the dimentions of things or atleast if you have a few things that have a definite size.
e.g. if you have a building, grab its width and height then you can use that to make a cube in maya to the same dimentions you can then be certain that you line up is accurate. Also try and measure things in relationship to eachother, so if you have a bench infront of a house measure the dimentions of both as best you can and then measure the distance between the two in x and z.

The panoramic mode on the camera is fine but faking the dynamic range in photoshop isn't ideal, if you can afford or borrow a cheap tripod i recomend doing that. Then you need to clamp your exposures to get a series in the range you need.

If your camera has the features needed do the following:
-decide on an apature to use, it wont really matter that much for general purpouses but remember the higher the apature the greater the depth of field (sharper thoughout depth). This needs to stay the same for each photograph.
-Then you need to vary the shutter speed by a stop for each position you are taking to aquire a panorama.
-so for example :
Position one take a photograph at f. 22 at 25 50 and 100/th of a second speeds (depending on the lighting, just if your camera can support changing frame speed on exposures thats ideal but you can do it by eye too)
exposures
Then tilt the camera up and do the same, three photographs- down and repeat, then rotate the camera across and do the same until you get full coverage.

Also its best to have these images as RAW, this will give you better quality down the line.

You then need to stitch and merge the photographs, autodesk stitches does this nicely if i remember, so it does nice things like stack the 3 exposures for you and treat them as a single image and then automatically stitch it togeather.

Once you have the exr or hdr exported from your stitching software (exr is industry standard) you will probably have black areas where you had no photographs, usually at the top and bottom.

You need to fill these areas or they will appear in your reflections and you can get bad lighting from the sky, from memory CS4 handles HDR very badly (clamped high values) but this might have changed in updates. Use nuke or another package to clone brush the dark areas so they are filled.

Be wary that you are dealing with a hdr image and its not the same as a jpg, the gamma curve IS NOT baked in, so for this image to work correctly in lighting you cannot compress this image.

This subject is also one of the most overlooked in CGI, its worth looking into:
Gamma correction
AWESOME link:
linier spacehttp://www.mymentalray.com/wiki/inde...ar_color_space
But basically, all images need to be in linier space to work correctly, so for a jpg texture to appear correctly a gamma correct of .45 needs to be applied to it (can be done in hypershade with a gamma correct node) this removes the standard baked in 2.2 gamma correction from the image (so it looks nice for our eyes) so its mathematically correct.

This is all the more important for hdr, as its going to be lighting you scene etc.

If you want to see how an image properly you can use a LUT in your compositing software to apply a gamma to your display without damaging your composite.

Its not over yet!
To have this work nicely you need to do two more things:
Neutralize the image ( this is so the lighting is predictable)
Create a range of blurred/ scaled images for use in lighting / reflections.

To neturalize an image its best to take a picture of something thats 50% gray at the time you where taking your hdr photographs, a macbeth chart is ideal. Here. Because you have a range of colors (or atleast grays) you can be sure of you can then tweak the color balance of your image to be normal, and more importantly use theis to perfectly tweak your IBL settings in maya to a gray sphere until it matches the middle gray part of the macbeth chart perfectly

Output 5 ish images of your hdr that are quite blurry to practically totally diffuse, this is for lighthing, you won't need sharp or large images to get nice results.

For reflections perhaps go for 2k images that range from very sharp to relatively blurry, you can then pick the ones you want for what your working with, there are tools to do this in mental ray too but it can be easier before hand, perfectly sharp reflections can look very odd and unrealistic.


End result is to get:
A filled in, netural set of high dynamic range images going from super small and blurry to larger and sharper for use in lighting and / or reflections.

The compositing side has more too it than this, these are the general steps needed to get nice, predictagble linier results from a hdr image.
__________________
FX supervisor - double negative
LauriePriest is offline   Reply With Quote
The Following User Says Thank You to LauriePriest For This Useful Post:
tweetytunes (15-02-2011)
Old 15-02-2011, 10:18 AM   #9
tweetytunes
Ravage3d - 10 years and still going
 
tweetytunes's Avatar
 
Join Date: Jan 2004
Location: Bolton - UK
Posts: 2,419
Thanks: 62
Thanked 159 Times in 152 Posts
Default

Thank you very much - its abit early for me at the mo - and will have to re-read that in a little bit- but the afford is turely noted
__________________
All my images are in HD - Plz right click and view image.

3D Molder at AO.com.

X2 ,,
tweetytunes is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjusting image plane radiant777 Maya Basics & Newbie Lounge 2 28-01-2011 12:05 PM
Image plane problem nusphere Technical Issues 2 25-01-2011 03:37 AM
Quadruped Beast Image Planes hdm39 Simply Maya Tutorials 4 07-01-2011 05:58 PM
Image Plane usassg1124 Maya Basics & Newbie Lounge 3 20-12-2010 10:57 PM
Wood Love - Original SM Gallery Image by R3D Miss_Nova Simply Maya Gallery 1 19-12-2010 05:10 AM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.