Discarding a pixel [SOLVED]
-
On 06/09/2014 at 16:06, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R13
Platform: Mac OSX ;
Language(s) : C++ ;---------
Hello,I'm making a custom camera to render fisheye images.
All the frames will be square, with the actual content on a circle fitting the square.
I don't need anything outside of the circle, 27% of the image will be ignored.
I'm paint them all black on ExecutePixel(), but the renderer have already done it's job on them.
Is there a way to tell the renderer not to process those pixels? Would save me 27% of render time!btw, can I expect my plugin compiled with R13 SDK on OS X 10.9.4 to be compatible with R14 and above?
Thanks,
Roger -
On 07/09/2014 at 02:25, xxxxxxxx wrote:
Originally posted by xxxxxxxx
<ADDRESS>
User Information:
Cinema 4D Version: R13
Platform:
Mac OSX ;
Language(s) :
C++ ;---------
</ADDRESS> Hello,[...] btw, can I expect my plugin compiled with R13 SDK on OS X 10.9.4 to be compatible with R14 and above?</span>
Thanks,
RogerIf you're using the R13.061 SDK and the appropriate Xcode version (3.26, 4.0x, 4.1.x) : yes - though I don't know if those Xcode versions are running on OS X 10.9 without hick-ups. If you're using a newer Xcode version you'll have to adapt the R13 SDK on your own to the new compiler settings.
Keep an eye on the symbol stripping changes Apple did in Xcode which can cause a lot of trouble. For more information see: https://developers.maxon.net/forum/topic/6572/7115_symbol-stripping-on-os-x
Best regards,
Wilfried
-
On 07/09/2014 at 09:32, xxxxxxxx wrote:
Originally posted by xxxxxxxx
Is there a way to tell the renderer not to process those pixels? Would save me 27% of render time!
Afaik you can't.