Found 180 posts.
Search results Show results as topic list.
Technical Discussion » HDK frame problem
- Stalkerx777
- 183 posts
- Offline
OP_Director *opdir = OPgetDirector();
CH_Manager *chman = opdir->getChannelManager();
fpreal fps = chman->getDefaultFPS();
fpreal time = chman->setEvaluateTime();
Houdini Lounge » Post your favourite Wrangle SOP presets
- Stalkerx777
- 183 posts
- Offline
jerry7
Convert to polgon to polyline. Use clean sop to remove overlap.
What's the difference with Ends SOP?
Houdini Lounge » GPattern HDK Plugin
- Stalkerx777
- 183 posts
- Offline
OK, here is version for mantra.
GPattern mantra procedural [youtube.com]
Actually mantra version is pretty controversial. It is much slower at render than SOP version, but at the same time it uses less memory and rendering begins almost immediately, while SOPs have to build all geometry in houdini before it get passed to mantra. Anyway it was interesting little project, as i promise, i'l share source code soon. 8)
UPDATE:
Source code: https://bitbucket.org/alexxbb/hdk_gpattern/overview [bitbucket.org]
GPattern mantra procedural [youtube.com]
Actually mantra version is pretty controversial. It is much slower at render than SOP version, but at the same time it uses less memory and rendering begins almost immediately, while SOPs have to build all geometry in houdini before it get passed to mantra. Anyway it was interesting little project, as i promise, i'l share source code soon. 8)
UPDATE:
Source code: https://bitbucket.org/alexxbb/hdk_gpattern/overview [bitbucket.org]
Houdini Lounge » Post your favourite Wrangle SOP presets
- Stalkerx777
- 183 posts
- Offline
tamteStalkerx777Wouldn't this be enough?addpoint(0, @P);
Creates a point in the center of each primitive.
This is for AttribWrangle SOP, run over primitives:
…
removeprim(0, @primnum, 1);
Heh, yes, you right Tomas This code is my old one, my shame :wink:
Technical Discussion » [HDK] GR_UserOption set attribute?
- Stalkerx777
- 183 posts
- Offline
Hi. I want to create GR_UseOption from my hdk code.
GRgetOptionTable()->createOption(). But i cant find a way to set which geometry attribute to display: http://www.sidefx.com/docs/hdk13.0/_g_r___user_option_8h_source.html#l00052 [sidefx.com]
There are virtual get* methods, but no set*. Is it possible to do in HDK?
Thanks!
GRgetOptionTable()->createOption(). But i cant find a way to set which geometry attribute to display: http://www.sidefx.com/docs/hdk13.0/_g_r___user_option_8h_source.html#l00052 [sidefx.com]
There are virtual get* methods, but no set*. Is it possible to do in HDK?
Thanks!
Houdini Lounge » Post your favourite Wrangle SOP presets
- Stalkerx777
- 183 posts
- Offline
Creates a point in the center of each primitive.
This is for AttribWrangle SOP, run over primitives:
int numvertex = primvertexcount(0, @primnum);
int vt = vertexpoint(0, vertexindex(0, @primnum, 0));
vector ptpos = point(0, “P”, vt);
for(int i=1; i < numvertex; i++)
{
int pt_n = vertexpoint(0, vertexindex(0, @primnum, i));
ptpos += point(0, “P”, pt_n);
}
vector centroid = ptpos/numvertex;
int newpt = addpoint(0, centroid);
vector prim_n = prim_normal(0, @primnum, @s, @t);
removeprim(0, @primnum, 1);
This is for AttribWrangle SOP, run over primitives:
int numvertex = primvertexcount(0, @primnum);
int vt = vertexpoint(0, vertexindex(0, @primnum, 0));
vector ptpos = point(0, “P”, vt);
for(int i=1; i < numvertex; i++)
{
int pt_n = vertexpoint(0, vertexindex(0, @primnum, i));
ptpos += point(0, “P”, pt_n);
}
vector centroid = ptpos/numvertex;
int newpt = addpoint(0, centroid);
vector prim_n = prim_normal(0, @primnum, @s, @t);
removeprim(0, @primnum, 1);
Houdini Lounge » GPattern HDK Plugin
- Stalkerx777
- 183 posts
- Offline
cklosters
nice plugin, will give it a go. What does it do with the source point / vert / prim attributes? Will it stamp those on the copied meshes or do they get lost?
All attributes will be keeping.
Houdini Lounge » GPattern HDK Plugin
- Stalkerx777
- 183 posts
- Offline
Houdini Lounge » GPattern HDK Plugin
- Stalkerx777
- 183 posts
- Offline
Hello there!
Trying to implement something similar to VrayPattern plugin for Vray. For now it's just SOP, but i have a plans to make mantra procedural out of it.
Compiled plugins for Windows and Mac will be available a couple of days later.
Source code also may be shared, if i get lazy to finish it.
GPattern on Youtube [youtube.com]
Compiled plugin for windows [dropbox.com]
Update:
Source code: https://bitbucket.org/alexxbb/hdk_gpattern/overview [bitbucket.org]
Trying to implement something similar to VrayPattern plugin for Vray. For now it's just SOP, but i have a plans to make mantra procedural out of it.
Compiled plugins for Windows and Mac will be available a couple of days later.
Source code also may be shared, if i get lazy to finish it.
GPattern on Youtube [youtube.com]
Compiled plugin for windows [dropbox.com]
Update:
Source code: https://bitbucket.org/alexxbb/hdk_gpattern/overview [bitbucket.org]
Edited by - Dec. 27, 2014 08:09:01
Houdini Lounge » Rendering in Houdini - A big call for discussion
- Stalkerx777
- 183 posts
- Offline
DASD, why don't you just put RFE? Why do you post it here? There are tons of such a newbie topics like this. This is drives me crazy. Why peoples want tens of pre-build materials, instead of learn shading and build whatever you want?
Yeah, one button to make it look cool! Why use brain, use a button!
Takes, bundles, flipbook, visibility nodes, layers? Even if all these things were necessary, the user should have a simple centralized control and a simple overview over the functions and purposes of these things. One menu to rule them all. One menu to bind them… One menu to control everything that controls what gets rendered where, how and why.
Yeah, one button to make it look cool! Why use brain, use a button!
Technical Discussion » Custom File Importer
- Stalkerx777
- 183 posts
- Offline
El_DuderinoNope. This is because it slow as hell :twisted:
I'm guessing this is why I couldn't find any other python based importers for Houdini…… :?
it looks like I need capture, override, and deform nodes.Capture - creates weights attributes.
Override - can modify them (optional)
Deform - use capture attributes (weight, region) to deform geometry.
but I can't find any information in the python documentation anywhere about bones or geometry capture etcAnd you don't. Because in houdini there is no such thing as bones and geometry capture from python point of view. Python cares about nodes, parameters and geometry attributes. If you want to use standard Deform sop, you have to create capture attributes in your “custom importer”, then Deform sop will do his job.
SI Users » Custom Kinematics Solver
- Stalkerx777
- 183 posts
- Offline
Working with vopchop is a little bit tricky. Here is an example how to work with matrices in vopchop. There are 2 key moments:
- To get input you have to use chinput vex function.
- You have to use switch vop to output multiple channels from chops, because otherwise, vopchop cooks only one channel.
https://www.dropbox.com/s/71svmnrnwk6jwii/chop_matrix_vex.hip?dl=0 [dropbox.com]
- To get input you have to use chinput vex function.
- You have to use switch vop to output multiple channels from chops, because otherwise, vopchop cooks only one channel.
https://www.dropbox.com/s/71svmnrnwk6jwii/chop_matrix_vex.hip?dl=0 [dropbox.com]
Houdini Lounge » Path Deform HDK Plugin
- Stalkerx777
- 183 posts
- Offline
Joker386
Really thanks Stalkerx777 for this great tool.
I really like your method for path deforming.
I made similar tool with VEX , of course with some little changes and optimizing for VEX language. 8)
Download :
http://www.orbolt.com/asset/Sadjad::JK_PathDeformer [orbolt.com]
Thanks. Thats cool, now we have 2 implementations to choose from :wink:
Cool plugin!
But the error:
Code:
(hsvg.exe:10988): Pango-WARNING **: No builtin or dynamically
loaded modules were found. Pango will not work correctly.
This probably means there was an error in the creation of:
‘E:\PROGRA~1\SIDEEF~1\HOUDIN~1.567\hsvg\etc\pango\pango.modules’
You should create this file by running pango-querymodules.
Fontconfig error: Cannot load default config file
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org [fontconfig.org]
Generating new icons…
Done generating new icons.
Russian Operating System Windows 7 x64
I thinks this warning message is unrelated to plugin.
Technical Discussion » Attach Root Normal/Tangent for Fur
- Stalkerx777
- 183 posts
- Offline
On skin geometry calculate a normal attribute and name it somewhat different from N, for example hN.
Then in fur shader pass this attribute to output node. Then add extra image plane N on mantra top. Thats it.
P.S. Don't know why it won't work with N attrib name.
Then in fur shader pass this attribute to output node. Then add extra image plane N on mantra top. Thats it.
P.S. Don't know why it won't work with N attrib name.
Houdini Lounge » Houdini 14 Wishlist
- Stalkerx777
- 183 posts
- Offline
Remove(or rearrange) all redundant operator RMB menu content. There are tons of menu actions witch are useless (select, edit-network, distribute.., align..) who use this? :?
Technical Discussion » script : change parameter value on condition
- Stalkerx777
- 183 posts
- Offline
Technical Discussion » H13 and Retina display
- Stalkerx777
- 183 posts
- Offline
twod
Houdini 14 supports high-DPI displays natively. There are enough minor issues with scaling in H13 in native high-dpi mode that we've left it disabled.
Great news twod!Thanks!
Technical Discussion » H13 and Retina display
- Stalkerx777
- 183 posts
- Offline
Houdini Lounge » Houdini 14 Wishlist
- Stalkerx777
- 183 posts
- Offline
I'd like to have multi-input nodes in SOP context such as ApplyData DOP, where first input to the left is separated from other inputs to the right.
Houdini Lounge » Path Deform HDK Plugin
- Stalkerx777
- 183 posts
- Offline
This is known as “But it works on my machine…” bug
I'll try to figure out what's wrong.
I'll try to figure out what's wrong.
-
- Quick Links