jit.window on a Retina display
Hi, long time since I've posted. I'm still on Max 6 and am looking for a few hints as to how I render @2x to a jit.window
when on a Retina display? I have found references to @high_res
however I believe this applies to the new jit.world
in v7.
Any hints would be much appreciated :)
@high_res is also available as an attribute of jit.gl.render. enabling that on your jit.gl.render object will enable high-resolution rendering for that context.
I'm getting the following when I try it:jit.gl.render: "high_res" is not a valid attribute argument
Max 6.1.10. Is there anything else I should be doing?
sorry misunderstood. yes this is a new feature of max 7.
Can it still be achieved through some texture trickery in Max 6?
you could try capturing via jit.gl.node @capture 1 @adapt 0 and set its @dim to 2 x your current window width and height.
Nope, that didn't do the trick - I guess the videoplane isn't aware of the physical vs logical pixels so it doesn't matter how high resolution texture you rendered into it, it'll always output to the logical pixels. Thanks for the idea though :)
I've finally taken the plunge and upgraded, so I can now have all the retina goodness! However, I have a couple of questions about the high_res
attribute now that I'm interested in understanding a bit better.
First off, is it ok to enable this on all patches regardless of if the target is retina or not (e.g. Does enabling this use the display's scale factor to automatically choose the resolution it's rendering at, or is it blindly saying "render for retina"?)
Secondly, on Windows, will enabling this attribute allow the renderer to adapt and render correctly for 150/200/300% scaling factors?
Cheers :)
First off, is it ok to enable this on all patches regardless of if the target is retina or not
yes
Secondly, on Windows, will enabling this attribute allow the renderer to adapt and render correctly for 150/200/300% scaling factors?
hi_res is not supported on Windows.
Thanks for the clarity Rob :)