Extrusion mode - Point Normal - Attribute - "pexN"
Not
Distance - "pexN"
Found 27 posts.
Search results Show results as topic list.
Technical Discussion » I need to extrude edge loop called "contour_01"
- juejuezi
- 27 posts
- Offline
Technical Discussion » I need to extrude edge loop called "contour_01"
- juejuezi
- 27 posts
- Offline
Staglaitorjuejuezi
poly extrude : Extrusion mode - Point Normal - Attribute - "pexN"
I couldn't reproduce your method - any suggestion??
PS
I just begin to learn houdini
The input box does not need to be green. You should (Ctrl + Shift + Left Click) on this input box to make it black
The input content is "pexN", not "@pexN", I use pexN instead of N just to not occupy N, because the original N will still be useful in the future and I don't want to overwrite the value
"poly frame" ,"orientalongcurve" ,"normal" nodes can control normal direction
For your current needs, using Vex to control normal is better
Edited by juejuezi - April 22, 2024 14:19:42
Technical Discussion » I need to extrude edge loop called "contour_01"
- juejuezi
- 27 posts
- Offline
point wrangle after remesh1
```
v@pexN = {0,-1,0};
```
and then
poly extrude : Extrusion mode - Point Normal - Attribute - "pexN"
```
v@pexN = {0,-1,0};
```
and then
poly extrude : Extrusion mode - Point Normal - Attribute - "pexN"
Technical Discussion » I need to extrude edge loop called "contour_01"
- juejuezi
- 27 posts
- Offline
Technical Discussion » How to make a clean uv grid out of this?
- juejuezi
- 27 posts
- Offline
I have a way, wait for me, as long as I understand your needs correctly
------
I came late for some reason, and I hope I am right
If you delete "autouv 1" "attribpromote 1" "attribwrangle 1", the result should also be correct
------
I came late for some reason, and I hope I am right
If you delete "autouv 1" "attribpromote 1" "attribwrangle 1", the result should also be correct
Edited by juejuezi - April 14, 2024 12:24:24
Technical Discussion » $PT error
- juejuezi
- 27 posts
- Offline
metaclay2juejuezi
offset = point(0,'class',@ptnum);
Thanks that VEX works. But what happen with my script ? what makes the error ?
$PT does not exist here, each point will execute the exact same code
Technical Discussion » $PT error
- juejuezi
- 27 posts
- Offline
Technical Discussion » Can use Eigen C++ library in Vex or OpenCL?
- juejuezi
- 27 posts
- Offline
ljzmathematicsAs far as I know, there is no way to automatically update. But you can try the C++ Wrangle SOPjuejueziThank you very much for your suggestion. I actually have a small problem with HDK. Every time I recompile the plug-in, I have to restart Houdini to recognize it. This is a bit annoying. Is there a way to make Houdini detect custom node updates in real time?
use eigen in vex:
HDK: Custom Vex Function [www.sidefx.com]
But it's still inconvenient
Technical Discussion » Can use Eigen C++ library in Vex or OpenCL?
- juejuezi
- 27 posts
- Offline
Technical Discussion » How can the sweep create horizontal ends?
- juejuezi
- 27 posts
- Offline
Technical Discussion » C++ multithreading
- juejuezi
- 27 posts
- Offline
doTask can only have one parameter.
Try converting a struct to void * data through `static_cast`.
```
struct S
{
vector<double> myArray;
int idx;
}
```
Try converting a struct to void * data through `static_cast`.
```
struct S
{
vector<double> myArray;
int idx;
}
```
Technical Discussion » How to use point wrangle in copy "stamp" effect.
- juejuezi
- 27 posts
- Offline
Technical Discussion » Scale an object and keep position | VOPs xform
- juejuezi
- 27 posts
- Offline
Technical Discussion » Scale an object and keep position | VOPs xform
- juejuezi
- 27 posts
- Offline
Technical Discussion » Scale an object and keep position | VOPs xform
- juejuezi
- 27 posts
- Offline
Technical Discussion » How to scatter Font SOPs each having procedural text content
- juejuezi
- 27 posts
- Offline
Technical Discussion » How to scatter Font SOPs each having procedural text content
- juejuezi
- 27 posts
- Offline
Technical Discussion » How to scatter Font SOPs each having procedural text content
- juejuezi
- 27 posts
- Offline
grid1, scatter1 is default
aw1 is picture1
visualize is unnecessary
foreach node is for point node, default
aw 2 is picture2
copytopoint1 is default
font1 is picture2
color1 is unnecessary
aw1 is picture1
visualize is unnecessary
foreach node is for point node, default
aw 2 is picture2
copytopoint1 is default
font1 is picture2
color1 is unnecessary
Technical Discussion » Inside nearpoint() & nearpoints()
- juejuezi
- 27 posts
- Offline
The function of nearpoints is roughly implemented through HDK(c++). You can find “buildPointGrid” and “buildPointTree” in GU_NeighbourList, and I guess that the optimization methods are grid and kdtree.
template <VEX_Precision PREC> static void mynearpoints_Evaluate(int argc, void* argv[], void* data) { UT_Array<VEXint<PREC>>* result = (UT_Array<VEXint<PREC>> *)argv[0]; const char* surfaceAddress = static_cast<const char*>(argv[1]); VEXint<PREC>* input_pt = (VEXint<PREC>*)argv[2]; VEXfloat<PREC>* input_maxdist = (VEXfloat<PREC>*)argv[3]; GU_SopQuery quary; GU_ConstDetailHandle handle = quary.getDetail(surfaceAddress); const GU_Detail* gdp = handle.gdp(); GU_NeighbourList neil; GU_NeighbourListParms neilp; neilp.setRadius(*input_maxdist); neilp.setOverrideRadius(true); neilp.setMode(GU_NeighbourListParms::InteractionMode::NONUNIFORM); neil.build(gdp, neilp); UT_Array<GA_Offset> ptlist; neil.getNeighbours(*input_pt, gdp, ptlist); for (GA_Index pt:ptlist) result[0].append(pt); }
Technical Discussion » Inside nearpoint() & nearpoints()
- juejuezi
- 27 posts
- Offline
-
- Quick Links