On 31/07/2017 at 01:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 17.055
Platform: Windows 10
Language(s) : PYTHON
---------
I'm trying to render an animation using Thea Render. The scene contains a houdini digital asset which creates geometry but thea does not seem to like those houdini objects and does not render them. I created a small script inside a Python Generator which converts a c4d.BaseObject to c4d.PolygonObject:
_ base = op.GetDown().GetDown().GetClone()_
_ _
_ if not base: return_
_ _
_ obj = c4d.utils.SendModelingCommand(c4d.MCOMMAND_MAKEEDITABLE,_
_ list=[base],_
_ bc=c4d.BaseContainer(),_
_ doc=doc)_
_ _ _print obj[0].GetClone()_
__
_ return obj[0].GetClone()_
After running this code on a basic cube in a null as a child of the generator Thea starts rendering a normal cube. As soon as I set the houdini generator as a child and start rendering, a Null object is returned by the python generator and nothing is rendered inside Thea. (The converted object is still visible in the viewport)
Is there a way to get this running, have I done something wrong or could it be a problem inside of thea render?
This is my setup:
https://drive.google.com/file/d/0B_fI3gEuo7tebXJjYWpSXzhPcXc/view?usp=sharing
_
_
Console Output:
_
_
_< c4d.PolygonObject object called 'geo3/file1_0/Polygon-Objekt' with ID 5100 at 0x000002B67E2518F0>_
_ _
_------------ Started Document Conversion ------------_
_< c4d.BaseObject object called 'geo3/file1_0/Null' with ID 5140 at 0x000002B67E34D1D0>_
_ExecutePasses: 0.855_
_PrepareConversion: 13.946_
_Fill Stacks: 0.077_
_Hierarchy Traversing: 0.022_
_CloneParentStack: 0.001_
_Node Creation: 1.09_
_Conversion: 0.202_
_Motion Post Process: 0.086_
_WriteDescription: 0.068_
_TotalGeometryTransferring: 1.397_
_PassingEnvironmentInScene: 0.094_
_
_