NURB curve

   2515   2   1
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
Hi! I'm trying to make nurb curve by hdk. But houdini crashes each time.

GU_Detail *gdpline;
GU_PrimNURBCurve *line;
gdpline->clearAndDestroy();
line->build(gdpline, 3, 4, 0, 1, 1);

Houdini is great! O'right?
User Avatar
Member
44 posts
Joined: July 2005
Offline
You must initialize those pointers before you can use them:


GU_Detail *gdpline = new GU_Detail;
GU_PrimNURBCurve *line = new GU_PrimNURBCurve (gdpline);
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
Hey Mondi! You are great!!! Thanks!
Houdini is great! O'right?
  • Quick Links