Keeping x-y coordinates consistent between renders
Moderators: MtnViewJohn, chris, mtnviewmark
Keeping x-y coordinates consistent between renders
Hi, sorry if this is frequently asked but - I'm trying to figure out how to get multiple renders to "line up" if some of the elements in the design are semi-random, since this seems to make ContextFree re-align and/or rescale the image to fit each time. Is there any way to render with a fixed resolution and lock it so that, for example, pixel 100,100 is always coordinate 1,1, even if some things spill over the edge? I thought maybe the border size setting was supposed to do this but it doesn't seem to help. Thanks for any help!
- MtnViewJohn
- Site Admin
- Posts: 882
- Joined: Fri May 06, 2005 2:26 pm
- Location: Mountain View, California
- Contact:
Re: Keeping x-y coordinates consistent between renders
Automatic sizing can be bypassed if you set an explicit size using the CF::Size configuration variable:
You can move your design around in this fixed window:
Code: Select all
CF::Size = [s 30 20] // Fixed canvas 30 units wide and 20 units tall
Code: Select all
CF::Size = [s 30 20 x 5 y 3] // Fixed canvas 30 units wide and 20 units tall
// shifted right 5 and up 3