Thanks Mike!
in the file I downloaded, although the constraint lines follow the deforming RBD, They are not really moving with the object. Additionally changing the constraint type to glue you can see that they just stop moving all together.
Any further help would be appreciated !
Found 18 posts.
Search results Show results as topic list.
Technical Discussion » Dynamic Constraints On Deforming Passive Mesh
- kni8_2k
- 18 posts
- Offline
Technical Discussion » Dynamic Constraints On Deforming Passive Mesh
- kni8_2k
- 18 posts
- Offline
Hi Constraint Gurus,
Wondering if someone could take a quick look. I'm having a hard time trying to get these dynamically created constraints to stick to this animated passive object.
is my approach wrong ?
What I'm trying to do is Have the sphere represent a cached anim - hit the wall, then pull away some pieces like its stuck to it. I've seen several approaches to this via all dynamic objects, but have not seen it done on a passive deforming mesh. Which is what the sphere is setup to be.
doing it this way or perhaps via dynamic meshes stuck to the deforming mesh to do the same thing…? I've spun my wheels on this too much !
any direction would be appreciated !
Wondering if someone could take a quick look. I'm having a hard time trying to get these dynamically created constraints to stick to this animated passive object.
is my approach wrong ?
What I'm trying to do is Have the sphere represent a cached anim - hit the wall, then pull away some pieces like its stuck to it. I've seen several approaches to this via all dynamic objects, but have not seen it done on a passive deforming mesh. Which is what the sphere is setup to be.
doing it this way or perhaps via dynamic meshes stuck to the deforming mesh to do the same thing…? I've spun my wheels on this too much !
any direction would be appreciated !
PDG/TOPs » Just saying Thanks
- kni8_2k
- 18 posts
- Offline
as we get more and more bugs fixed and learn how to use TOPS/PDGS together, I just wanted to say…
This is a great feature and I think we've only scratched the surface of its capabilities. Thank you for all those involved in bringing this to us and we as a community are appreciative of your dedication and great work.
~A
This is a great feature and I think we've only scratched the surface of its capabilities. Thank you for all those involved in bringing this to us and we as a community are appreciative of your dedication and great work.
~A
PDG/TOPs » Sop Simple Baker -
- kni8_2k
- 18 posts
- Offline
Yes That is exactly the issue.
and to fix it on the PythonModule of the simpleBaker rop in ropnet1 I had to adjust it to read the index attrib into the pre and post bake functions with the code above :
index = str (node.parm(“index”).eval())
host_name = socket.gethostname() + index
then I plumbed through the @wedgeindex into the parm which gave each job its own temp file.
I just baked 60 asset variations in one go. works well when its working.
troubleshooting it was a MindBonker ! it was really difficult knowing where the problem originated from as the feedback was minimal (or atleast I didn't know where to look at first )
and to fix it on the PythonModule of the simpleBaker rop in ropnet1 I had to adjust it to read the index attrib into the pre and post bake functions with the code above :
index = str (node.parm(“index”).eval())
host_name = socket.gethostname() + index
then I plumbed through the @wedgeindex into the parm which gave each job its own temp file.
I just baked 60 asset variations in one go. works well when its working.
troubleshooting it was a MindBonker ! it was really difficult knowing where the problem originated from as the feedback was minimal (or atleast I didn't know where to look at first )
PDG/TOPs » Sop Simple Baker -
- kni8_2k
- 18 posts
- Offline
ok I got this working, but I had to make a new hda with modified python code
basically I added a parameter to the rop baker which is called index
then shove @wedgeindex in it and reference it via channel params in the file (although this may be unnecessary based on the next step)
then in the PythonModule script I added
index = str (node.parm(“index”).eval())
host_name = socket.gethostname() + index
basically I added a parameter to the rop baker which is called index
then shove @wedgeindex in it and reference it via channel params in the file (although this may be unnecessary based on the next step)
then in the PythonModule script I added
index = str (node.parm(“index”).eval())
host_name = socket.gethostname() + index
PDG/TOPs » Sop Simple Baker -
- kni8_2k
- 18 posts
- Offline
here is a file Bonsak and I made from our discussion over discord which shows the problem.
if your wedge goes over two then the render fails.
if your wedge goes over two then the render fails.
PDG/TOPs » Sop Simple Baker -
- kni8_2k
- 18 posts
- Offline
How do you bake through the sop simple baker HDA in Tops.
Using the Rop Fetch tops it will execute the bake but the results come back black.
Cheers,
Ali
Using the Rop Fetch tops it will execute the bake but the results come back black.
Cheers,
Ali
Technical Discussion » alembic ROP broken in 12.5.533?
- kni8_2k
- 18 posts
- Offline
Yes,
its doing the same for me. It also does not read an animated sequence of alembics in, it only loads a single frame.
a.
its doing the same for me. It also does not read an animated sequence of alembics in, it only loads a single frame.
a.
Houdini Indie and Apprentice » can't drag and drop through out houdini
- kni8_2k
- 18 posts
- Offline
Makes Creating OTL's a real pain !
I notice that the problem goes away if I am VPN'ed into the computer. Must be a UI issue with the GL drivers.
I notice that the problem goes away if I am VPN'ed into the computer. Must be a UI issue with the GL drivers.
Work in Progress » WIP of my first 3D app for a friend...
- kni8_2k
- 18 posts
- Offline
I know Travis from the rugby Beachboks ! awesome to see him on kickstarter. have not played with the boys for a long time.
and great work on the App.
Say hi for me please.
Ali.
and great work on the App.
Say hi for me please.
Ali.
Houdini Lounge » Intersection of Curves and Spheres
- kni8_2k
- 18 posts
- Offline
tjeeds
Here's an alternate method, maybe a bit cleaner.
this is my favorite solution to date !
:-)
Technical Discussion » Python Optimization
- kni8_2k
- 18 posts
- Offline
SYmek
Yes, you're python-looping over call to HOM library. Not good.
Take a look on:
http://www.sidefx.com/docs/houdini12.1/hom/hou/Geometry#pointFloatAttribValuesAsString [sidefx.com]
http://www.sidefx.com/docs/houdini12.1/hom/hou/Geometry#primFloatAttribValuesAsString [sidefx.com]
or without “AsString” for little slower, yet as easy to use access to attributes.
hmmm… I hear a resounding… silly Peon …. :-)
Thanks for the pointer.
Perhaps the housekeeping is worth the speed increase.
Problem with the pointFloatAttribValues is that it returns a large list. so there is not differentiation between float1 float2, float3 just a bigger list.
so I may need to keep track of the attribute.size() as well and reorder a new list with the right grouping for easier access later. but doing that in python's data structures will be alot faster than going through HOM.
Ints and vectors are also just treated as floats by this function. so there is also that house keeping.
The next issue, is doing this for vertices (liek UVs). and I don't see any functions for getting this for verts.
Here is a quick implementation using the list. It runs about twice as fast.
But I still have the slowdown on verts.
HDK extension of HOM ?
attribStack = {}
indexStack = {}
vList=
startb = time.clock()
for attr in myGeo.pointAttribs():
name = attr.name()
attribStack =
indexStack =
if str(attr.dataType()) == “attribData.Float”:
listPAttrib = myGeo.pointFloatAttribValues(attr.name())
pAttribSize = attr.size()
vindx = 0
for v in vertIndex:
for indx in range(pAttribSize):
attribStack.append(listPAttrib)
indexStack.append(vertIndex)
print (time.clock()-startb)
Technical Discussion » Python Optimization
- kni8_2k
- 18 posts
- Offline
Hi All,
I was just writing a bit of python code that goes through an object and creates a dictionary of attributes and vertex indices.
It works fine for small meshes(under 100k Points, but as you get bigger it inevitably gets slower. I've tracked the majority of the slowness to a couple of lines that is run many times (per vertex)
attribStack.append(v.point().attribValue(attr))
indexStack.append(v.point().number())
I think this is because of how HOM is accessing the info (or better, how I am accessing the info through HOM)
here is the code block :
attribStack = {}
indexStack = {}
index = 0
for attr in myGeo.pointAttribs():
if attr is not None:
name = attr.name()
attribStack =
indexStack =
#Here I am storing the Float type and size as a first element in the attribute
attribStack.append(str(attr.dataType())+str(attr.size()))
indexStack.append(str(attr.dataType())+str(attr.size()))
for prim in myGeo.prims():
for vid in xrange(prim.numVertices()):
# get vertex
v = prim.vertex(vid)
#Majority of slowness is here
attribStack.append(v.point().attribValue(attr))
indexStack.append(v.point().number())
The basic things that I need to happen are :
Create a list of values for each attrib
Create a point index on the vertices (for shared data)
Any thoughts on other ways to optimize this bit of code. perhaps I'm missing the obvious answer.
Cheers,
Ali
I was just writing a bit of python code that goes through an object and creates a dictionary of attributes and vertex indices.
It works fine for small meshes(under 100k Points, but as you get bigger it inevitably gets slower. I've tracked the majority of the slowness to a couple of lines that is run many times (per vertex)
attribStack.append(v.point().attribValue(attr))
indexStack.append(v.point().number())
I think this is because of how HOM is accessing the info (or better, how I am accessing the info through HOM)
here is the code block :
attribStack = {}
indexStack = {}
index = 0
for attr in myGeo.pointAttribs():
if attr is not None:
name = attr.name()
attribStack =
indexStack =
#Here I am storing the Float type and size as a first element in the attribute
attribStack.append(str(attr.dataType())+str(attr.size()))
indexStack.append(str(attr.dataType())+str(attr.size()))
for prim in myGeo.prims():
for vid in xrange(prim.numVertices()):
# get vertex
v = prim.vertex(vid)
#Majority of slowness is here
attribStack.append(v.point().attribValue(attr))
indexStack.append(v.point().number())
The basic things that I need to happen are :
Create a list of values for each attrib
Create a point index on the vertices (for shared data)
Any thoughts on other ways to optimize this bit of code. perhaps I'm missing the obvious answer.
Cheers,
Ali
Houdini Lounge » Intersection of Curves and Spheres
- kni8_2k
- 18 posts
- Offline
Here is another thread that covers this.
basically its a way of getting information from one chain of sops to another that has the same point order and count. Although this has also been used in clever ways by other people.
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=26471&highlight=Tx2 [sidefx.com]
basically its a way of getting information from one chain of sops to another that has the same point order and count. Although this has also been used in clever ways by other people.
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=26471&highlight=Tx2 [sidefx.com]
Houdini Lounge » Intersection of Curves and Spheres
- kni8_2k
- 18 posts
- Offline
Soo,
I think I found a solution. but its really dirty and I feel horrible about it.
Check it out and please let me know if there is a cleaner way.
I can't sleep thinking there is no other way that is simpler.
I think I found a solution. but its really dirty and I feel horrible about it.
Check it out and please let me know if there is a cleaner way.
I can't sleep thinking there is no other way that is simpler.
Houdini Lounge » Intersection of Curves and Spheres
- kni8_2k
- 18 posts
- Offline
Hi,
I've also posted this topic on Odforce and will cross post any solutions that come up.
http://forums.odforce.net/index.php?/topic/16492-cutting-curves-with-spheres/ [forums.odforce.net]
I would like to get the intersection of multiple curves objects with multiple nurbs spheres. I can also work with polygons. but I need to keep the scene clean. So doing things like polywire -> cookie wont work unless I can somehow get back to my lines.
here is a file with a solution of getting the internals of the sphere. but I still cannot get the lines between the spheres.
Thanks in advance for any help.
cheers.
a.
I've also posted this topic on Odforce and will cross post any solutions that come up.
http://forums.odforce.net/index.php?/topic/16492-cutting-curves-with-spheres/ [forums.odforce.net]
I would like to get the intersection of multiple curves objects with multiple nurbs spheres. I can also work with polygons. but I need to keep the scene clean. So doing things like polywire -> cookie wont work unless I can somehow get back to my lines.
here is a file with a solution of getting the internals of the sphere. but I still cannot get the lines between the spheres.
Thanks in advance for any help.
cheers.
a.
Technical Discussion » system with chs() on Windows
- kni8_2k
- 18 posts
- Offline
Hi there,
I am trying to run some system commands on my mantra Rop during the pre-render scripts.
I wanted to embed the name of the file that is being written out in to some system command that runs an operation on the file. ie: we have version controlling of files, and I would like to have the checkout/editing of that file be automatically handled by the rop.
but I cannot get it to do the run the command properly. I think its the way I'm trying to reference the channel which has the name in it.
system("cmd /c vesionControler.exe edit chs('/out/Render/vm_picture'))
when I replace the chs with the full expanded path of the file it works, but I can't access the parameter live.
and I guess the mistake I'm making is probably sooo simple that I can't find any documentation about the correct syntax for accessing parameters from with in strings.
any help would be appreciated.
Thank you.
Ali.
I am trying to run some system commands on my mantra Rop during the pre-render scripts.
I wanted to embed the name of the file that is being written out in to some system command that runs an operation on the file. ie: we have version controlling of files, and I would like to have the checkout/editing of that file be automatically handled by the rop.
but I cannot get it to do the run the command properly. I think its the way I'm trying to reference the channel which has the name in it.
system("cmd /c vesionControler.exe edit chs('/out/Render/vm_picture'))
when I replace the chs with the full expanded path of the file it works, but I can't access the parameter live.
and I guess the mistake I'm making is probably sooo simple that I can't find any documentation about the correct syntax for accessing parameters from with in strings.
any help would be appreciated.
Thank you.
Ali.
Houdini Lounge » Houdini crashes on Nvidia 285 1GB
- kni8_2k
- 18 posts
- Offline
Hi,
I'm evaluating Houdini for use in a studio, working with the apprentice version of 10.0.295 and constantly get Video card Crashes.
The only applicaiton that causes this on my machine is houdini, and it is also the only application that stops working completely. I have the latest video card drivers, and have tested this on both single video card machines dual SLI setups.
workflow :
general node work in the program
screen goes black
everything else comes back,
Houdini stays black,
video card crash window apears,
Houdini doesn't recover and I loose all my work.
please advise,
Cheers.
Ali
I'm evaluating Houdini for use in a studio, working with the apprentice version of 10.0.295 and constantly get Video card Crashes.
The only applicaiton that causes this on my machine is houdini, and it is also the only application that stops working completely. I have the latest video card drivers, and have tested this on both single video card machines dual SLI setups.
workflow :
general node work in the program
screen goes black
everything else comes back,
Houdini stays black,
video card crash window apears,
Houdini doesn't recover and I loose all my work.
please advise,
Cheers.
Ali
-
- Quick Links