THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/07/2011 at 05:58, xxxxxxxx wrote:
I wondered if it is possible to read out the "deformed" values of a mesh having a deformer. I've seen that the PointOperator from XPresso is able to read out those values (ie. the deformed mesh). Is it possible in Python/COFFEE?
On 19/07/2011 at 06:17, xxxxxxxx wrote:
On 19/07/2011 at 07:31, xxxxxxxx wrote:
Ah, nice, thanx Nux.
On 19/07/2011 at 08:00, xxxxxxxx wrote:
But I still don't know how to use this while rendering...
What GetCache() and GetDeformCache() returns while rendering is always None..
On 19/07/2011 at 09:39, xxxxxxxx wrote:
is there no way to attach something here? Would be very helpful ...
For now, just grab the file from here (DeformCacheTest_maxx.c4d) :
When I render this in the picture viewer, it is working (so the GetDeformCache() does return something).
Is that what you mean?
On 19/07/2011 at 13:24, xxxxxxxx wrote:
try your scene with using this code and a GeneratorObject instead of a polygon object as origin.
#Welcome to the world of Python
def main() :
cache = orig.GetCache()
cache = cache.GetDeformCache()
print orig.GetName(), orig.GetCache()
if not cache:
Rendering an animation, the GetCache() returns the Cache during the animation.
Rendering a single Frame, the GetCache() returns None.
Thanks & Cheers,