PDA

View Full Version : CameraRange Online :


JackMcRip
09-21-2006, 08:28 PM
Now you can render a clip of a Camera.
Justage exactly size and position by pixel.

If you have render a pic and want to change a range you dont need to render the complete pic again.

The Pic from the camera is default in your mind.

First you set the focal distance from the camera to the "Alte Brennweite" field.
Now set the Rendersettings of the camera to the field ResX and ResY.
These are the values of the original camera pic you render at first.

now you can set the size of the clip by changing the value of the field RenderX and RenderY.
Its important to change the values of the global Rendersettings of C4D, wherefrom you get the value of ResX and ResY !!!
The Resolution and Format must be the same as clip size !
Only after change this, editor will shown the correct camera view of the clip!

The top left edge of the clip will now be at the top left edge of your original pic.
Now you can move it with moveX and moveY.

All values are pixel. (not focal distance "AlteBrennweite")

I'm sorry about my english, and sorry my website is only german.
But I hope you can read and press downloadbutton two times ;-)

http://www.total3d.de/index.php?b=downs&wo=viewkat&kat=C4D-Dateien&id=38

Rantin Al
09-21-2006, 08:43 PM
GAAAH! I could have used this last week. I had 20+ hi-resolution images to render.
For print layout reasons, I had to render out at double width and then crop in Photoshop.
Cropping was no problem, but the render times went sky-wards.

Never mind, it will be handy for the next run.:thumbsup:
Cheers, Alan.

Suricate
09-21-2006, 08:46 PM
Yeah, same with me. Last week such a plug-in could have saved me a few hours. Thanks for sharing. :bounce:

tcastudios
09-21-2006, 08:52 PM
This looks good JackMcRip!
I cannot connect to the site thou..is it only me?

Cheers
Lennart

Rantin Al
09-21-2006, 11:24 PM
It's OK just now, Lennart.

belushy
09-22-2006, 08:06 AM
thanks a lot for the timesaver

cheers
belushy

moka.studio
09-22-2006, 09:12 AM
this is great,
there are countless projects where I could have used this,
thank you

JackMcRip
09-22-2006, 10:37 AM
nice, that you like it :-)

I try to expand it with a link-field.
To drag your cam to it and cameraRange will take the position and rotation and focal distance of your cam directly.
I try to read rendersetting and set it per button.

maybe later ;-) ...

lllab
09-22-2006, 11:47 AM
looks cool!
danke
stefan

3dj
09-22-2006, 01:30 PM
Sounds like a very useful plugin if I am understanding it correctly. I do alot of high res renders for print.

I can't download from the link though :-(

-Jim

JackMcRip
09-22-2006, 09:16 PM
Here is the new full automatic version of RangeCamera:
http://www.total3d.de/index.php?b=downs&wo=viewkat&kat=C4D-Dateien&id=38#38

The Rendersettings get per Option (OneClick).
Only at the first time, to get the settings of the last Szene Render Settings for the picture from what you want to get the clip.

The Renderseetings automatic change when you change the clip position or size!
This is because you now never press "Get Rendersettings". This values must stay at the size of your first pic.

If you want to work directly with the RangeCamera use the global modus for move and rotate.

But there is now a link-field for your Camera.

If you drag your camera into it the rangecamera will get exact the position and rotation and focal distance of your camera.
Be Careful : If you delete your cam, delete first in the linkfield.
Otherwise the position, rotation and focal distance will be lock again!!!
Then you must put a camera in the link field and delete it first in the link field.
Only after that in the scene.


Have you problems for downloading again ?
You don't need to register (but I like it for later news of other C4D-tools)

tcastudios
09-22-2006, 09:56 PM
Have you problems for downloading again ?
You don't need to register (but I like it for later news of other C4D-tools)

Hi JackMcRip.
This is what i get in Safari:

Safari can’t open the page “http://www.total3d.de/index.php?b=downs&wo=viewkat&kat=C4D-Dateien&id=38#38”. The error was: “bad server response” (NSURLErrorDomain:-1011) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

And in Explorer (Mac) I get to the site but when I try to download I get "Error #2"

Haven't a clue why this is....

Cheers
Lennart

3dj
09-23-2006, 03:51 AM
Hi JackMcRip.
This is what i get in Safari:

Safari can’t open the page “http://www.total3d.de/index.php?b=downs&wo=viewkat&kat=C4D-Dateien&id=38#38”. The error was: “bad server response” (NSURLErrorDomain:-1011) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

And in Explorer (Mac) I get to the site but when I try to download I get "Error #2"

Haven't a clue why this is....

Cheers
Lennart
Yeah, same here. I am on a mac and I get the same errors as Lennart.
Kind of strane really. Maybe someone could post an alternate link? i could really use this plug in.

Thanks!
-Jim

Rich-Art
09-23-2006, 04:29 AM
First of all thank you for this cam-setup.

It looks very nice and handy.
But.............. can anybody explain to me how this works?
I have no clue at all. :shrug:
I'm having trouble to understand what JackMcRip tells in his first post.
Mmm maybe back to school and take some English lessons.


Peace,
Rich-Art. :thumbsup:

SilverCity
09-23-2006, 04:33 AM
Thanks Jack. Try Firefox if you're on a Mac. Worked for me.

jackb602
09-23-2006, 04:34 AM
First of all thank you for this cam-setup.

It looks very nice and handy.
But.............. can anybody explain to me how this works?
I have no clue at all. :shrug:
I'm having trouble to understand what JackMcRip tells in his first post.
Mmm maybe back to school and take some English lessons.


Peace,
Rich-Art. :thumbsup:

I'm a bit confused too. Does it let you render a region at full resolution? That would be very handy.

AdamT
09-23-2006, 05:19 AM
I'm a bit confused too. Does it let you render a region at full resolution? That would be very handy.
I think that's it, but I'm also a bit foggy on how it works. Would love to know because I've wanted this functionality for some time.

Rich-Art
09-23-2006, 08:05 AM
LoL, I'm glad I'm not the only one....:)

Peace,
Rich-Art. :thumbsup:

BCEmcke
09-23-2006, 08:11 AM
I think that's it, but I'm also a bit foggy on how it works. Would love to know because I've wanted this functionality for some time.


I haven't had the time to try it out yet but as I understand it you have a render of a certain size. Now you change an object or something else in the scene (i.e. rotating a cube). You have already rendered the scene and it would be too time consuming to render it again. So CameraRange will give you the possibility to render just the part of the picture that has changed. It will be the same perspective and the according size.
This way it works like the Render Region command but you can save it and merge it with your old render in Photoshop or whatever 2d software you use.

EDIT: Or What JackMcRip said. :)

JackMcRip
09-23-2006, 08:13 AM
The RangeCamera make it possible to render a clip (rectangle range) of your Camera.

For a test:

Set the Kameraiew fom Editor camera t RangeCmera!
At first render the szene RangeCamera.
This Picture you load in photshop.
Now change the size of clip with parameter RenderX (width) and RederY (height). The view of the editor (RangeCamera) zoom the cam and place the new view at left, top from the camera view before. WhatYouSeeIsWhatYouGet, look at the grey lines in Editor for see what will be render.
Now set the offset for choose the right position.
Render again and load it in Photoshop, too
Now ley the two renderings in lyers over it. You see ts pixel exactly precision!
If you have rendered a Picture and now you want render again a piece of it.
Maybe for render a piece of a long rendered picture again. Or to make a Sprite for a 2D-Game background.
For your Scene:

copy the RangeCamera to your scene
Drag your cam to the userdatafield "your cam" at RangeCamera
Now change the size of clip with parameter RenderX (width) and RederY (height). The view of the editor (RangeCamera) zoom the cam and place the new view at left, top from the camera view before. WhatYouSeeIsWhatYouGet, look at the grey lines in Editor for see what will be render.

Now change the Offset X and Offset Y parameter to move the clip you need.


Now render


Dont Move the Cam to change the clip, use offset parameter !
The result is a picture with exact the size of RenderX and RenderY Values of RangeCamera.
The Camera zoom and render a clip of any position of the cameraview before without other lens distortion.
Note If you want to delete the camera used in the userdata field of RangeCamera "your Cam". First delete the link in the field and then the camera in the scene. Otherwise the position and rotation and paramerter facal distance of RangeCamera-Userdata will lock.

vid2k2
09-23-2006, 05:05 PM
Thank you Jack for this useful tool.

I've played with this now for about an hour and didn't figure it out at first.
But, I have it working and see where you are able to render just a portion
of the overall test scene and have it match up perfectly in photoshop.

AdamT: Yes, this is what you've been after, as many here have. It beats
putting a black plane over your scene and aligning the hole of the plane
with the area you need re-rendered. This technique, though workable, will
have you waiting for the entire render time of the scene ... if your correction
is at the bottom of the original scene. ( ie. first render takes 3 hours the revised
patch will take that long too because the render calculates the black portion of the
black plane)

Jack's version "only renders the portion you need" in a fraction of what it takes
the entire scene to render.

The hard part is to guess at the -/+ of the x/y coordinates within the x and y render area
(as it takes my 2GB machine a while to "pan" to the desired area). HOWEVER, I've
noticed that after typing in x/y numbers and clicking outside the field for each one,
it instantly moves the RangeCamera to the location. I suspect the "lag" in response
may be due to using the 9.6PPC version.

Everything seems to be accomplished using the lower portion of the datafield.

If we had a "rulers" guide, like Illustrator, moving and sizing the RC to the spot
would be easier, IMHO :)

I need to play with this using the v9.5 and see if there's a "lag" time there.
Also, I'll need to test an actual render file to see timing issues.

Otherwise, it's good to go.

Edit: I've not tested to see if this works in UB version.
Jack: Will there be a UB version ?

tcastudios
09-23-2006, 05:28 PM
Dloading with Firefox did go fine, thanks. Time to check it out!

Cheers
Lennart

vid2k2
09-23-2006, 05:28 PM
Example:

I added a "sphere" to the original RangeCamera file = client revision

I rendered just the sphere using the x/y fields and imported both to photoshop .......
first pic showing the revised (larger looking) "sphere" and the "original" render.

Next pic shows the composite. When you place the sphere render into
the original render, you'll see that the size difference is automatically corrected
to fit. Just move the "patch" to the right spot and call it done :)

Rich-Art
09-23-2006, 05:33 PM
Yes I got it work now to.

Altough it is a bit painfull to get the 2nd (smaller) render on the right spot in the original (big one)
But that has more to do wit PS.

Peace,
Rich-Art. :thumbsup:

tcastudios
09-23-2006, 07:03 PM
Altough it is a bit painfull to get the 2nd (smaller) render on the right spot in the original (big one)But that has more to do wit PS.

In PS . File->Automate->PhotoMerge:)

To my surprice, I couldn't get it to work with Stitcher. It said it only opens images in the same size? Is there a setting for that somewhere?

Cheers
Lennart

Rich-Art
09-23-2006, 07:14 PM
In PS . File->Automate->PhotoMerge:)

:eek: LoL although I work with PS for a couple of years by now, I never have seen that photomerge option.
Shame on me...........

Thanks Lennart.

Peace,
Rich-Art. :thumbsup:

Joerg271
09-25-2006, 12:50 PM
Thanks for the super one can use Plugin, Jack very well.

Greeting Joerg

Rantin Al
09-25-2006, 01:14 PM
Would it be possible to adapt the technique used in Tim Clapham's (Hypa) PAL Safe (http://www.hypa.tv/tims/download.html)file and incorporate it with RangeCamera to give a visible 'crop' guide in the viewport?

Cheers, Alan.

vid2k2
09-25-2006, 01:48 PM
Update:

RC works great in UB.
My own test file rendered the entire 800x600/best scene in 4:47
The revised 200x600 patch area rendered in 2:27
(I still need to find how to reduce the Y height selection ???)
Raising the RC camera so that the patch on the bottom of the scene was now at the top,
this rendered in 1:05 .... giving me extra foreground that waseasily cropped out.

Some notes:
- Both patch renders fit perfectly.
- I have yet to add another camera to see how that might work.
- It seems that the easiest method is to use the RC from the start of a project and keep
the null and RC camera and deleting the light, wall and floor.
- Merging the RC to an existing scene, you can copy/paste original camera coordinates,
but, after that it got a bit too tricky for me .... slow learner :)

JackMcRip
09-26-2006, 08:29 AM
@vid2k2: You have problems to use your camera as link in the RangeCamera ?
Maybe try to download it again.

There was a little bug, that the old focal distance was change if you use a camera in the link and change clipsize.
But the old focal distance must be still the same as the focal distance you use to render the original pic.

CGTalk Moderation
09-26-2006, 08:29 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.