jdebroy opened this issue on Nov 10, 2006 · 27 posts
kuroyume0161 posted Tue, 21 November 2006 at 2:14 PM
I've found Dodger's method of replacing the PICT header with an RSR Header and adding an RSR Footer. Just about to try this and see what happens.
Wotsits is great, but do they really have a Poser RSR format spec? Not that I know of. :)
I was going to try using libpng to do a PNG export, but this thing makes zlib look simplistic. Plus I don't know what conversion would be needed to make Cinema 4D's Bitmap format work with it. People forget that my plugin is a 1.5MB lib (hundreds of thousands of lines of code - even with C4D's SDK) at this stage. This is one method in thousands dispersed in a couple dozen classes - can't spend a month writing a PNG exporter (things like IK, BVH import, Poser magnets, Point At, and so on and on to do before I die). ;) Realizing that I had code to extract a PICT from an RSR and an SDK means to export as PICT, I quickly dropped the PNG exporter idea (yay).
Perl - yuck! ;D That code makes no sense to me (no Perl for me). Plus, this is heavily tied to ImageMagick, something else that is useless to me. I'd rather not have my plugin users dependent upon a stack of required dlls and external application requirements.
I post back if this works.
Thanks,
Robert
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone