Jump to content

pizzicato333

Members
  • Content count

    4
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About pizzicato333

  • Rank
    Peon

Personal Information

  • Name
    lei
  • Location
    china
  1. How add logo on node?

    thanks,but I mean that add image on UI , the PRM_Template( ) :mellow:
  2. :o like this: HDK PRM
  3. Hi all,i am tying compile the source without use the hcustom command. it doesn't work. it troubles me for a long time #include <GU/GU_Detail.h> #include <stddef.h> namespace HDK_Sample { static float densityFunction(const UT_Vector3 &P, void *data) { // Return the signed distance to the unit sphere return 1 - P.length(); } } int main(int argc, char *argv[]) { GU_Detail gdp; UT_BoundingBox bounds; // Evaluate the iso-surface inside this bounding box bounds.setBounds(-1, -1, -1, 1, 1, 1); // Create an iso-surface gdp.polyIsoSurface(HDK_Sample::densityFunction, NULL, bounds, 20, 20, 20); // Save to sphere.bgeo gdp.save("sphere.bgeo", NULL); return 0; } /usr/include/SYS/SYS_AtomicImpl.h:443: error: #error "Unsupported platform" #error "Unsupported platform" ^ /usr/include/SYS/SYS_Math.h:1168: error: cast from 'const void*' to 'uint {aka unsigned int}' loses precision [-fpermissive] return (uint)ptr; ^ /usr/include/SYS/SYS_Math.h:1168: error: cast from 'const void*' to 'uint {aka unsigned int}' loses precision [-fpermissive] return (uint)ptr; ^ /usr/include/SYS/SYS_Math.h:1168: error: cast from 'const void*' to 'uint {aka unsigned int}' loses precision [-fpermissive] return (uint)ptr; ^ /usr/include/SYS/SYS_Math.h:1168: error: cast from 'const void*' to 'uint {aka unsigned int}' loses precision [-fpermissive] return (uint)ptr; ^ /usr/include/SYS/SYS_Math.h:1168: error: cast from 'const void*' to 'uint {aka unsigned int}' loses precision [-fpermissive] return (uint)ptr; ^ /usr/include/SYS/SYS_Math.h:1168: error: cast from 'const void*' to 'uint {aka unsigned int}' loses precision [-fpermissive] return (uint)ptr; ^ ....
×