Chaos Corona Forum

General Category => General CG Discussion => Topic started by: Jens on 2017-08-04, 16:11:40

Title: "adding" more sky to a composition without changing camera / render twice?
Post by: Jens on 2017-08-04, 16:11:40
Hi guys

I'm looking for a solution to 3ds max that works like when you want to resize the Canvas Size in photoshop. Basically adding X amount of pixels to only the top of my image.

If I change the height in render output I will also get "extra" ground that I have to render.

There's this script: http://www.scriptspot.com/3ds-max/scripts/overscan but it requires you to render twice and comp in PS.

Can it be done without comping, region renders and all sorts of other workarounds? :)
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Monkeybrother on 2017-08-05, 10:36:44
I made a script that did that a long time ago, but that was some max versions ago and I don't know if it still works. I can check when I'm back at work in a week. My clients are always changing their minds, so nowadays I just render the images a bit too big and crop in PS, makes it a lot easier when they ask if you could maybe see more of the building to the right...
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Jens on 2017-08-05, 14:28:06
I'd love to see that script. Thanks for chiming in.

Just rendering bigger and cropping from now on seems like a solid idea though ;)
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Bormax on 2017-08-12, 21:23:58
Hi

Just found this script on Scriptspot.com, and remembered your need. Didn't try it, but maybe it will help you

http://www.scriptspot.com/3ds-max/scripts/camera-resolution-mod
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Jens on 2017-08-13, 21:35:33
Thank you Bormax, it's not quite what I was looking for, but definitely useful for my workflow as well! Maybe we could suggest this script function was incorporated with the new corona camera. Kind of like you can force dof off on a pr camera basis.
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: PROH on 2017-08-13, 22:21:11
Hi Jens. The problem with the thing you want, is that it's against the "nature" of a camera. Unlike in a handcrafted perspective the "eyepoint" of a camera will always be in the middle of the picture. Therefore you'll always get more ground when adding more sky (by changing the height of the picture).

I don't think you'll find any other way than "render region" to achieve what you want, but I might be wrong :)
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: fraine7 on 2017-08-14, 19:07:52
Hi Jens,

The script you are looking for is called 'Overscan'

http://www.scriptspot.com/3ds-max/scripts/overscan

*Sorry - I'm an idiot, I just noticed you've already tried this*

I really should learn to read all of a thread before replying ;)

Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Jens on 2017-08-15, 22:36:41
hehe no worries fraine, still appreciated ;)
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: hkezer on 2017-09-01, 19:57:10
Hey mate did you find any solution? Sometime ago i wanted to render a little wide, but as your problem, its really hard to do.
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Jens on 2017-09-02, 09:19:07
Hey mate did you find any solution? Sometime ago i wanted to render a little wide, but as your problem, its really hard to do.

Sorry no, still haven't found a good solution to this.
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Juraj on 2017-09-02, 12:41:11
I perhaps absolutely don't understand the question properly...but isn't 'Camera shift (vertical)' doing exactly that ?

You change resolution composition to more vertical (just like PS canvas) and then shift the camera up to remove the unnecessary bottom part. Nothing regarding the perspective changes, the net end result is simply added upper part on top of original composition.
The only difference to PS Canvas is the slight order of things, as Canvas lets you shift directly at resize, but 3dMas imitates tilt-shift lens process, results are absolutely identical though.
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Jens on 2017-09-02, 19:31:37
I perhaps absolutely don't understand the question properly...but isn't 'Camera shift (vertical)' doing exactly that ?

You change resolution composition to more vertical (just like PS canvas) and then shift the camera up to remove the unnecessary bottom part. Nothing regarding the perspective changes, the net end result is simply added upper part on top of original composition.
The only difference to PS Canvas is the slight order of things, as Canvas lets you shift directly at resize, but 3dMas imitates tilt-shift lens process, results are absolutely identical though.

hmm, I feel slightly silly now. That does indeed seem to do the job. Thanks Juraj, hadn't thought of utilizing the lenshift and output size like that. Apparently I'm not the only one :)

Love these "aha" moments. Cheers man!
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Juraj on 2017-09-03, 10:15:01
Uf, I am glad :- ). I wasn't sure if I wasn't misreading some more complex issue.

I think it comes down to knowledge of photography within 3D world, lot of people aren't aware that for example 50mm focal length exists within smaller one like 35mm, if you crop that image, and end result would be identical perspective ( this would be solution to Iker's issue for wanting something bit wider, he would change focal length, and then crop the ratio to more horizontal). I am pretty sure overscan plugin which I never used does exactly that just calculates it so you don't have to do the cropping by eye. Shift on top just allows non-symmetrical crop additionally.

Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: romullus on 2017-09-03, 11:02:27
I think it comes down to knowledge of photography within 3D world, lot of people aren't aware that for example 50mm focal length exists within smaller one like 35mm, if you crop that image, and end result would be identical perspective

There's many "professional" photographers who believes that focal length affects perspective, it's no wonder that such misconceptions are spread even further amongst 3D artists. Not to mention those, for whom terms like focal length sounds like mumbo jumbo :]
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Juraj on 2017-09-03, 11:48:12
Heh very true... I still remember "Medium format shows the space differently, you can better fit architecture within it" ( I mean sure, the depth of field is different, but perspective is just perspective ! ),
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: BardhylM on 2017-09-03, 12:32:15
If you are talking about digital cameras that we have in Max, then yes focal length can lose it's purpose with perspective corrections.
But in real life it is different perspective for different focal lengths. The vanishing points change place and that is a distortion i think.
So don't patronize those "professional photographers" that might know something.
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: romullus on 2017-09-03, 14:14:48
I'm not trying to patronise anybody. I just know that changing focal length alone, won't give you different perspective, unless you'll change your distance to the subject too, to keep framing more or less the same. If you think otherwise, then please do experiment - stand in one fixed position, take camera with zoom lens and take two pictures at different focal lengths. If you'll see any change in perspective, please report it back, as i will be very curious to hear that.
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: BardhylM on 2017-09-03, 15:46:46
You're very right about distance coming in play. The only changes are the micro lens distortions in real cameras that in overall doesn't change much.
But we are dealing with digital cameras and that's not a problem. So you have a point :)
Title: Re: "adding" more sky to a composition without changing camera / render twice?
Post by: Juraj on 2017-09-03, 16:34:05
If you are talking about digital cameras that we have in Max, then yes focal length can lose it's purpose with perspective corrections.

I don't understand this sentence.. what perspective corrections ? Tilt/Shift is the only correction available to 3dsMax physical camera, and it behaves exactly the same way as Tilt/Shift lens in reality, with exception of having no limit. Lens distortions on other hand aren't connected to perspective and are also simulated in same way.
(I didn't count vertical correction, as it's not simulation of optical effect and correctly shift should be used instead)

There is no difference to how the camera works in 3dsMax and real-life in any facet, except for having complete control over every aspect that would otherwise be physically limited by camera and lens construction. (and the option to bypass these limits and disconnect depth of field and motion blur from exposure constraints)

But in real life it is different perspective for different focal lengths.

Definitely not, but I won't go further into off-topic, Romullus explained it very well. Nothing to do with vanishing point. This is common incorrect argument people make on photography forums like DPReview. I've read few of such threads, never goes well :- ).