Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add scene variables 'image_start_column', 'image_end_column, 'image_s… #311

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ryanbinns
Copy link

I've got a large scene that uses much more memory than I have installed in my machine. My initial solution was to render parts of the image at a time, using +SC/+EC/+SR/+ER and put Declares on the command line to indicate what these parameters are set to. The scene file used this information to omit objects that aren't needed, freeing up memory.

I decided it would be beneficial to have variables available that automatically tracked these command line parameters, as it would simplify the process and reduce errors when adding the command line options. It is a simple change with no side effects that I have found, and probably useful to others working with large scenes.

…tart_row' and 'image_end_row' corresponding to command line options +SC, +EC, +SR and +ER respectively. Integer coordinates are transformed to float between 0.0 and 1.0 based on the image width/height.
@ryanbinns ryanbinns mentioned this pull request Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant