Bad scope for "RiCurves"

  • Anonymous - 2011-03-11

    I try to write curve data to the rib files with C++. The code is like this
    RiCurves(RI_CUBIC, numberOfCurves, numberOfVertices, wrap, RI_P, (RtPointer)Ps, RI_WIDTH, &nwidths, RI_NULL);

    I saved the points data in the array Ps, and the width data in the array nwidth. When I run the program, the error Bad scope for "RiCurves" occurs. I do not why.

  • Hibou57

    Hibou57 - 2011-11-01

    Ensure it's inside WorldBegin / WorldEnd. An object can only have an occurrence there.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks