Jump to content

dgericson

Limited Member
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • First Name
    dab
  • Last Name
    er

HW | SW Information

  • DCC
    c4d houdini
  • Renderer
    arnold
  • OS
    Windows 10
  • CPU
    1950x threadripper
  • GPU
    gtx1080ti

Recent Profile Visitors

517 profile views

dgericson's Achievements

Newbie

Newbie (1/14)

  • Reacting Well Rare
  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

1

Reputation

  1. @kweso I'm working on a plugin that takes animated 3d skeleton fbx files and preserves the 3d transformations in After effects with a 2d flatten option via the toComp() expression, on the Idea that I can then just parent some character layers in 2d or 3d (or an option for a bit of both) and have some mocap animation available in AE. As far as the mixing goes, I'm basically just trying to streamline the whole effort as opposed to running a python script in c4d, generating the tags, then switching to an additional JS script in after effects. I mostly have the whole thing working, (minus figuring out a way to automate the extract button on the Cineware plugin, Any ideas?) but feel like I need to make into one dialog for peace of mind haha.
  2. Thanks for all your help everyone! I've changed course a little bit and decided I'll be needing a compositing tag on everything so that copy to children callcommand actually is working fine for me. (c4d.CallCommand(100004777)) Basically this is a reroute just to get 3d info into AE for a script I'm building , In which the original desired hierarchy can be parsed down there Just in case the user needs all the bone structure. Which brings me to my next question, Is it possible to call an javascript file from within c4d python? (i guess that would make it more of a c4d script lol) Or Ideally vice versa where the javascript file can call the c4d python file? Also @MighT How would I do something like the automatic background converter like you mentioned? Really great info thanks again! I'm definitely getting in over my head here, but wanted to know if this sort of thing is doable? Thanks again!
  3. Hey all, Working on a script that imports a character and I want to add tags to all of the children of the previously added tag. Here's my code thus far and apologies in advance this is one of my first python scripts. import c4d from c4d import gui # Main function def main(): camNew = c4d.BaseObject(c4d.Ocamera) #Create camera camNew.SetName("Front") camNew()[c4d.CAMERA_PROJECTION]= 4 doc.InsertObject(camNew) rd = doc.GetActiveRenderData() rd[c4d.RDATA_XRES] = 1500.0 rd[c4d.RDATA_YRES] = 1500.0 c4d.CallCommand(12096) #import fbx animation c4d.CallCommand(100004788, 50041) #tag c4d.CallCommand(465000402) #thought this might work #code here to copy tag to children c4d.CallCommand(12098) #save # Execute main() if __name__=='__main__': main() Thanks!
×
×
  • Create New...

Copyright Core 4D © 2023 Powered by Invision Community