Jump to content

Quantico

Members
  • Content count

    6
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Everything posted by Quantico

  1. I need to have context for some calculations inside newContextData method of COP2_Node class. Is it safe to call getContext from inside this method?
  2. Debug doesn't work on Windows

    Try RelWithDebInfo configuration.
  3. OK. Thanks. I thought there is a more convenient way to just get image dimensions
  4. I need to know the size of the COP2 node for some input node. I can get a sequence info (TIL_Sequence) by calling getSequenceInfo member function of COP2_Node class. But it has only resolution info (getRes function), which is a visible size of the image, not an actual size.
  5. OK. Thanks for your reply. So to get the image actual size you need to write the following code: int x, y, x1, y1, x2, y2; float tm = some_node->getSequenceTime(); // ??? TIL_Sequence * seq = some_node->getSequenceInfo(); TIL_Plane plane(*seq->getPlane(some_node->getColorPlaneName())); plane.setFormat(PXL_FLOAT32); seq->getRes(x, y); some_node->getImageBounds(&plane, 0, tm, x, y, 0, x1, y1, x2, y2); Right?
  6. I am asking because of this text in documentation (https://www.sidefx.com/docs/hdk/_h_d_k__intro__compiling.html#HDK_Intro_Compiling_CustomAllocators):
×