lockInputs(context);
duplicateSource(0,context);
GU_Detail *input_geo_1 = (GU_Detail *)inputGeo(1);
std::cout<<input_geo_1->getGEOPoint(0)->getPos3()<<std::endl;
this getPos3() function always get wrong position.
please help me
thanks
:x
HDK-getPos3() problem
1953 1 1- liuping207
- Member
- 15 posts
- Joined: 2月 2011
- Offline
- Anonymous
- Member
- 678 posts
- Joined: 7月 2005
- Offline
1. Don't use lockInputs()/unlockInputs(). In H13/H14 we got OP_AutoLockInputs. Use it instead.
2. GEO is deprecated in H13/H14. Check documentation and HDK examples to see how to port your code to current standards.
http://www.sidefx.com/docs/hdk14.0/_h_d_k__g_a__porting.html [sidefx.com]
Good luck!
2. GEO is deprecated in H13/H14. Check documentation and HDK examples to see how to port your code to current standards.
http://www.sidefx.com/docs/hdk14.0/_h_d_k__g_a__porting.html [sidefx.com]
Good luck!
-
- Quick Links