Creating a New World at 32-bit Depth
Hi all.
Probably a silly question but how do you create a new 32-bit float world using suites.WorldSuite1()->new_world() ?
My plugin is successfully creating worlds at 8-bit and 16-bit depth, by or-ing the PF_NewWorldFlags as so: flags |= PF_NewWorldFlag_DEEP_PIXELS when switching AE to 16-bit or 32-bit (I wonder if this is where I'm going wrong...).
But how do you tell new_world() that the new world should be 32-bit? When I switch AE to 32-bit I get the error
After Effects error: internal verification failure, sorry! {PF_Iterate requires source and dst worlds to be same depth}
( 37 :: 14 )
The new world creates ok (but presumably with deep pixels) but when I invoke suites.IterateFloatSuite1()->iterate() to iterate across the input world and process the new dst world the effect causes an exception and AE displays the (37 ::14) error (about 15 times!). My iterate functions are all set up to process the correct bit depths.
My plugin is SmartFX, with the PF_OutFlag2_SUPPORTS_SMART_RENDER and PF_OutFlag2_FLOAT_COLOR_AWARE flags set.
I have another weird issue but I'll post that in another topic.
Many thanks for any assistance.
Christian
