Tilex and tiley not rendering same resolution as master render node

Started by mrLan, September 11, 2014, 09:04:17 PM

Previous topic - Next topic

mrLan

Hi,

I'm using the linux render node to render a terragen scene. I've tried the -tilex and -tiley options, but the output images doesn't seem to be the same resolution as without the options.  :(

Also, when I do a "-tilex 0 1", it's supposed to render the left side of the final image, but it actually renders the top left of the final image. I'm guessing this is because of the setting in the master render node?

Cheers

Matt

What resolution should it be, and what resolution do you get? The output resolution will change if you use the -cropoutput option. If you don't, the image resolution should be whatever the master render node is (which may be overridden with the -rendernode option).

Do you have "Do crop region" turned on in the render node? The tile options don't replace the crop region, they render a tile within the crop region (if it's enabled).

Matt
Just because milk is white doesn't mean that clouds are made of milk.

mrLan

Quote from: Matt on September 12, 2014, 11:49:51 PM
Do you have "Do crop region" turned on in the render node? The tile options don't replace the crop region, they render a tile within the crop region (if it's enabled).

This explains a lot. Thanks~ If I uncheck "Do crop region" and render with -cropoutput, will it render according to the -tile options and have the same resoluation as the master render node?

Matt

If you pass the -cropoutput argument, then no, it won't. If you use -cropoutput it outputs an image that is the size of the tile, or the crop, being rendered, with no black padding around it. If you want an image that is the full size of the image, i.e. a black image with a small area rendered within it, then don't use -cropoutput.

"Do crop region" in the GUI changes the area that is rendered, like a mask, but not necessarily the dimensions of the image file.

-tilex and -tiley change the area that is rendered, like a mask, but not necessarily the dimensions of the image file.

If "Do crop region" is enabled in the GUI, -tilex and -tilex are fractions of that already-smaller area, instead of being fractions of the whole image. This is because you might want to split a crop region further into tiles.

-cropoutput changes how that rendered area is put into the file. If "Do crop region" and/or -tilex/y were used, then the rendered area (the crop region or the tile) will be smaller than the full image. -cropoutput controls whether you want to just output a small image file with the dimensions of the rendered area, or output a full-size image file with black pixels in the areas that are outside the rendered area.

http://planetside.co.uk/wiki/index.php?title=Linux_Command_Line_Reference

Quote
-tilex <minx> <maxx>
Limit the rendered region to a fraction of the image or crop region to be rendered. minx and maxx should be numbers between 0 and 1, where minx < maxx. For example, "-tilex 0 0.5" renders only the left half of the image or the left half of whatever crop region was already set.

-tiley <miny> <maxy>
Limit the rendered region to a fraction of the image or crop region to be rendered. miny and maxy should be numbers between 0 and 1, where miny < maxy. For example, "-tiley 0 0.5" renders only the bottom half of the image or the bottom half of whatever crop region was already set.

-cropoutput
Crop the output image(s) to the dimensions of the rendered region (defined by "crop region" and/or -tilex, -tiley), i.e. do not pad to the full image dimensions.

Matt
Just because milk is white doesn't mean that clouds are made of milk.