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

Tiled rendering #473

Merged
merged 11 commits into from
Jun 23, 2015
Merged

Tiled rendering #473

merged 11 commits into from
Jun 23, 2015

Conversation

guidow
Copy link
Contributor

@guidow guidow commented May 20, 2015

No description provided.

@guidow guidow changed the title Tiled rendering [WIP] Tiled rendering May 20, 2015
@opalmer opalmer modified the milestones: 0.8.7, 0.9.0 Jun 4, 2015
@guidow guidow removed the in progress label Jun 8, 2015
@guidow guidow changed the title [WIP] Tiled rendering Tiled rendering Jun 8, 2015
@opalmer
Copy link
Member

opalmer commented Jun 11, 2015

@guidow, you ready for a review of this?

@guidow
Copy link
Contributor Author

guidow commented Jun 12, 2015

Yes, this is ready for review now.

task.priority = job.priority
db.session.add(task)
if num_tiles:
for tile in range(0, num_tiles - 1):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the appropriate range so we get a generator:

try:
  range_ = xrange
except NameError:
  range_ = range

Also, you don't need to include the starting 0.

@opalmer
Copy link
Member

opalmer commented Jun 15, 2015

Seems generally ok and much simpler than I guess I was expecting. I thought it might be beneficial to offer two modes of tiling, one where the jobtype on the agent determines how to tile the image and another where the user can. But...this setup will probably work fine and it's not like we couldn't include something more customizable later.

@guidow guidow force-pushed the tiled_rendering branch 2 times, most recently from e8bb5a8 to 7dba203 Compare June 15, 2015 15:58
instead of x / y values.

After some deliberation, it seems more useful to leave the exact
splitting of frames into regions to the jobtype.  The resulting regions
may even be non-uniform, which could allow users to render the parts the
deem most important first.
@guidow
Copy link
Contributor Author

guidow commented Jun 19, 2015

I've rebase this branch to master to make it mergable again.

@guidow
Copy link
Contributor Author

guidow commented Jun 22, 2015

Any more objections to merging this?

@opalmer
Copy link
Member

opalmer commented Jun 23, 2015

Nope none, sorry for the delay got caught up on another project. Merge when ready.

guidow added a commit that referenced this pull request Jun 23, 2015
@guidow guidow merged commit c9efb2e into pyfarm:master Jun 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants