Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Quantico

  • Rank

Personal Information

  • Name
    Oleg Gerasymchuck
  • Location
  1. Hello, guys! For example, I have a button with a callback function and some float value: PRM_Template(PRM_CALLBACK, 1, &someBtnName, 0, 0, 0, &callbackFunc), PRM_Template(PRM_FLT, TOOL_PARM, 1, &someValueName, PRMzeroDefaults), ... int callbackFunc(void *data, int index, fpreal t, const PRM_Template *tplate) { ... } How to change value of a float control from the callbackFunc function?
  2. 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?
  3. Debug doesn't work on Windows

    Try RelWithDebInfo configuration.
  4. OK. Thanks. I thought there is a more convenient way to just get image dimensions
  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 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.
  7. 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):