It would be cool to have something like
“HDK Wizard” application.
Goal of this application is:
Select OP Type….build OP interface…save h,cpp templates.
:roll: :roll: :roll:
Found 88 posts.
Search results Show results as topic list.
Technical Discussion » HDK bin location
- AndrewVK
- 136 posts
- Offline
Technical Discussion » Converting a curve from 1 prim to lots of prims
- AndrewVK
- 136 posts
- Offline
Try Carve SOP:
First U: 0
Second U: 1
Breakpoints mode
Cut at all internal U breakpoints : On
First U: 0
Second U: 1
Breakpoints mode
Cut at all internal U breakpoints : On
Technical Discussion » "look at" at the SOP level?
- AndrewVK
- 136 posts
- Offline
Technical Discussion » "type" datatype
- AndrewVK
- 136 posts
- Offline
Technical Discussion » "type" datatype
- AndrewVK
- 136 posts
- Offline
Houdini Lounge » UI Colours
- AndrewVK
- 136 posts
- Offline
Technical Discussion » VEX Builder...missing features
- AndrewVK
- 136 posts
- Offline
Technical Discussion » VEX Builder...missing features
- AndrewVK
- 136 posts
- Offline
Shading context
Reflectlight, refractlight, trace VOPs missing features:
maxdist, background, environment etc
Sop context
vector toNDC(string camera_name; vector point) is absent
Reflectlight, refractlight, trace VOPs missing features:
maxdist, background, environment etc
Sop context
vector toNDC(string camera_name; vector point) is absent
Houdini Lounge » Metal shader (Chrome, Gold etc.)
- AndrewVK
- 136 posts
- Offline
2. I would like to add support of the blurred reflections dependent on distance between object to which it is applied a shader and the reflected object. How to calculate a distance to the reflected object?int samples = 32;
float angle = radians(10);
Cf = Kr * reflectlight(P, R, bias, Kr,“samples”, samples, “angle”, angle);
Technical Discussion » VEX ?1:0
- AndrewVK
- 136 posts
- Offline
if (something > 0.5)
then return 1
else return 0
…and RSL mod() == VEX % of course
Edited by - Feb. 23, 2004 15:29:55
Technical Discussion » Point instance question
- AndrewVK
- 136 posts
- Offline
Do You mean “Run External Program” ?
Is there any way to transfer point attributes
to this program as parameters? :roll:
Is there any way to transfer point attributes
to this program as parameters? :roll:
Technical Discussion » Point instance question
- AndrewVK
- 136 posts
- Offline
The answer is:
1) Copy Sop :wink:
2) “Mantra Procedural: instance with Hscript” :twisted: :twisted: :twisted: …but its tooooo slow
PS
Instance with Hscript example here
http://www.3dfly.com/community/attachment.php?s=&postid=46503 [3dfly.com]
1) Copy Sop :wink:
2) “Mantra Procedural: instance with Hscript” :twisted: :twisted: :twisted: …but its tooooo slow
PS
Instance with Hscript example here
http://www.3dfly.com/community/attachment.php?s=&postid=46503 [3dfly.com]
Technical Discussion » Converting intergers to strings
- AndrewVK
- 136 posts
- Offline
Technical Discussion » import() function
- AndrewVK
- 136 posts
- Offline
Every point related operator (point sop, attribute create sop, VEX sop e.t.c)
is (for i=0 i<$NPT i++) loop already…where current i = $PT variable!!!
So expression within point sop becomes body of the loop.
Sorry cant explain better
English is not my language. :?
is (for i=0 i<$NPT i++) loop already…where current i = $PT variable!!!
So expression within point sop becomes body of the loop.
Sorry cant explain better
English is not my language. :?
Technical Discussion » import() function
- AndrewVK
- 136 posts
- Offline
Try this expression solution:
1) Create Location POP
Const Birth Rate: 10
Life Expectancy: 10
2) Open custom expression window: Alt+A or Settings -> Aliases and Variables
Switch to Expressions tab and paste this custom expression:
mydist (pt1, pt2)
{
x1 = poppoint(pt1,“P”,0);
y1 = poppoint(pt1,“P”,1);
z1 = poppoint(pt1,“P”,2);
x2 = poppoint(pt2,“P”,0);
y2 = poppoint(pt2,“P”,1);
z2 = poppoint(pt2,“P”,2);
return distance(x1,y1,z1,x2,y2,z2);
}
Click “Apply Changes” and “Close”
3) Append Attribute POP
Name: mydistance
Type: Float
Value XField: mydist($PT, $PT-1)
New $MYDISTANCE attribute redy for use.
Open geometry spreadsheet to see how it changes over time.
1) Create Location POP
Const Birth Rate: 10
Life Expectancy: 10
2) Open custom expression window: Alt+A or Settings -> Aliases and Variables
Switch to Expressions tab and paste this custom expression:
mydist (pt1, pt2)
{
x1 = poppoint(pt1,“P”,0);
y1 = poppoint(pt1,“P”,1);
z1 = poppoint(pt1,“P”,2);
x2 = poppoint(pt2,“P”,0);
y2 = poppoint(pt2,“P”,1);
z2 = poppoint(pt2,“P”,2);
return distance(x1,y1,z1,x2,y2,z2);
}
Click “Apply Changes” and “Close”
3) Append Attribute POP
Name: mydistance
Type: Float
Value XField: mydist($PT, $PT-1)
New $MYDISTANCE attribute redy for use.
Open geometry spreadsheet to see how it changes over time.
Technical Discussion » import() function
- AndrewVK
- 136 posts
- Offline
Technical Discussion » import() function
- AndrewVK
- 136 posts
- Offline
Yes, i need it too,
but doc says
“The SOP Context has some additional functions which the POP context does not have.”
but doc says
“The SOP Context has some additional functions which the POP context does not have.”
Houdini Lounge » VEX shaders
- AndrewVK
- 136 posts
- Offline
It works.
Use input value - ON
Export parameter - ON
You can check i3d file with i3dinfo.exe
Use input value - ON
Export parameter - ON
You can check i3d file with i3dinfo.exe
Technical Discussion » light and object masks
- AndrewVK
- 136 posts
- Offline
Technical Discussion » Light Instance Number?
- AndrewVK
- 136 posts
- Offline
Please, don't stop only on the names for shadow map. The ideal solution would be to have a variable, let's say $IPT. It would allow to solve the problem with names: $OS.$IPT.$F.pic, and also allow to use it, for example, when it is necessary to instance the object in the “Run External Program” mode to transfer the attributes of the current point to the external program.
-
- Quick Links