I try to write vex function to use in sop-contexts, which will query tangent (for example) from geometry - if current point is associated with some vertex on nurbs curve.
How may I query within vex-function which node is performing vex-code?
Thank you!
HDK: VEX function querying geometric data
7238 2 0- JoeMislang
- Member
- 48 posts
- Joined: Sept. 2006
- Offline
- Stalkerx777
- Member
- 183 posts
- Joined: Nov. 2008
- Offline
- bhaveshpandey
- Member
- 127 posts
- Joined: Nov. 2008
- Offline
auto file = static_cast<const char *>(argv); // Filename or Op path
GU_SopQuery qsop;
auto handle = qsop.getDetail(file, -1);
auto gdp = handle.readLock();
I also came across GU_VexGeoInputs in the GU_SopResolver header..however, I could not get that to work.
If anyone knows of a better way I would be very happy
GU_SopQuery qsop;
auto handle = qsop.getDetail(file, -1);
auto gdp = handle.readLock();
I also came across GU_VexGeoInputs in the GU_SopResolver header..however, I could not get that to work.
If anyone knows of a better way I would be very happy
-
- Quick Links