Found 224 posts.
Search results Show results as topic list.
Houdini Engine API » Houdini engine 17 for linux
- phtj
- 224 posts
- Offline
Houdini Indie and Apprentice » Convert UV Layout to geometry on XY plane
- phtj
- 224 posts
- Offline
Houdini Indie and Apprentice » Convert UV Layout to geometry on XY plane
- phtj
- 224 posts
- Offline
Is there a way to convert the UV Layout into geometry on the XY plane?
I have a 3d object, and I use UV Layout to generate a nicely packed set of polygons in UV space. Now I want to convert those geometries into polygons on the XY plane.
I have a 3d object, and I use UV Layout to generate a nicely packed set of polygons in UV space. Now I want to convert those geometries into polygons on the XY plane.
Technical Discussion » Crash baking textures
- phtj
- 224 posts
- Offline
I am using apprentice licensing. My license file in /usr/lib/sesi shows that I have a non-commercial houdini master and rendering license.
I have set the resolution of my texture to 950 by 950, so I am within the limit of the apprentice rendering.
When I run the hython script on Ubuntu I get the error (on amazon ec2, via ssh). When I run it on my windows laptop, it works fine, there is no error.
However, there is one thing that happens on windows, I get a msg about windows defender blocking some features of hython.exe. I am wondering, what is hython doing, could that be causing any error on ubuntu?
Any other ideas what the issue might be?
LICENSE Generic Houdini-Master-NonCommercial 16.5 ...
LICENSE Generic Render-NonCommercial 16.5 ...
I have set the resolution of my texture to 950 by 950, so I am within the limit of the apprentice rendering.
When I run the hython script on Ubuntu I get the error (on amazon ec2, via ssh). When I run it on my windows laptop, it works fine, there is no error.
However, there is one thing that happens on windows, I get a msg about windows defender blocking some features of hython.exe. I am wondering, what is hython doing, could that be causing any error on ubuntu?
Any other ideas what the issue might be?
Technical Discussion » Crash baking textures
- phtj
- 224 posts
- Offline
I have a Houdini model in which I bake some textures. I am using H16.5 and Ubuntu 16. I am automating the process using a hython script.
I am calling the RopNode render method like this:
I get the following error:
It does actually render the texture, I get a PNG file at the end that looks fine. So I am not sure what the problem is.
I googled the error, I see it is something to do with threadingbuildingblocks. This seems to be a library that houdini is using for doing some parallel c++ stuff.
I am calling the RopNode render method like this:
render_texture = _get_hou_node("obj/render_texture/baketexture1")
render_texture.render(verbose=True)
I get the following error:
ubuntu@ip-172-31-87-114:~/run_on_aws$ hython run.py
10:20:20 baketexture1 frame 1
terminate called after throwing an instance of 'tbb::missing_wait'
what(): wait() was not called on the structured_task_group
Traceback (most recent call last):
File "run.py", line 87, in <module>
run_houdini("process_h16.hipnc")
File "run.py", line 77, in run_houdini
render_texture.render(verbose=True)
File "/opt/hfs16.5/houdini/python2.7libs/houpythonportion.py", line 3262, in decorator
return func(*args, **kwargs)
File "/opt/hfs16.5/houdini/python2.7libs/hou.py", line 46540, in render
return _hou.RopNode_render(*args, **kwargs)
hou.OperationFailed: The attempted operation failed.
Error: Command Exit Code: 6
It does actually render the texture, I get a PNG file at the end that looks fine. So I am not sure what the problem is.
I googled the error, I see it is something to do with threadingbuildingblocks. This seems to be a library that houdini is using for doing some parallel c++ stuff.
Edited by phtj - Oct. 30, 2018 06:38:53
Houdini Indie and Apprentice » Getting apprentice license manually
- phtj
- 224 posts
- Offline
This link allows you to get an apprentice license manually
https://www.sidefx.com/services/non-commercial-license/ [www.sidefx.com]
Currently it seems to be returning licenses for h16.5
How can I get a license for h17?
https://www.sidefx.com/services/non-commercial-license/ [www.sidefx.com]
Currently it seems to be returning licenses for h16.5
How can I get a license for h17?
Houdini Indie and Apprentice » Non-graphical houdini on amazon ec2
- phtj
- 224 posts
- Offline
I re-tested the whole process, downloading 16.5, now it works. I will start a new thread to ask how to get 17 license from https://www.sidefx.com/services/non-commercial-license/ [www.sidefx.com]
Houdini Indie and Apprentice » Non-graphical houdini on amazon ec2
- phtj
- 224 posts
- Offline
I just noticed that the licenses that I have seem to be for 16.5, not sure why this is…
Does the web page at https://www.sidefx.com/services/non-commercial-license/ [www.sidefx.com] return 16.5 licenses?
Does the web page at https://www.sidefx.com/services/non-commercial-license/ [www.sidefx.com] return 16.5 licenses?
Houdini Engine API » Hython an Houdini Engine
- phtj
- 224 posts
- Offline
I am a little unclear on how hython relates to Houdini engine.
Currently, I have some hython scripts that perform some geometric processes in non-graphical mode. The scripts use the hou module to open a hip file, set some parameter values, and cook one of the nodes. It all works fine using normal houdini in non-graphical mode.
My question, can I also use houdini engine to execute these scripts?
Currently, I see docs for all the engine plugins, (unreal, maya, etc). I also see docs for the houdini engine hapi c api. But I don't see any docs for stand alone houdini engine. (Is there even such a thing?)
I also see here
https://www.sidefx.com/faq/license-acquisition/ [www.sidefx.com]
I think this means that when I execute hython at the bash shell, hserver will ask for a Houdini-Engine license. Is that right?
Currently, I have some hython scripts that perform some geometric processes in non-graphical mode. The scripts use the hou module to open a hip file, set some parameter values, and cook one of the nodes. It all works fine using normal houdini in non-graphical mode.
My question, can I also use houdini engine to execute these scripts?
Currently, I see docs for all the engine plugins, (unreal, maya, etc). I also see docs for the houdini engine hapi c api. But I don't see any docs for stand alone houdini engine. (Is there even such a thing?)
I also see here
https://www.sidefx.com/faq/license-acquisition/ [www.sidefx.com]
- Product Name: Houdini Engine
- Keystring Name: Houdini-Engine
- Executable Name(s): hbatch,hython
I think this means that when I execute hython at the bash shell, hserver will ask for a Houdini-Engine license. Is that right?
Technical Discussion » Confused by different logins
- phtj
- 224 posts
- Offline
Technical Discussion » Confused by different logins
- phtj
- 224 posts
- Offline
I am confused by the different sidefx logins, one for the website and another for licenses.
My website login works fine (i.e. the one I use for posting questions in this forum).
If I go to https://www.sidefx.com/services/licenses/, [www.sidefx.com] I can see that I have a couple of existing Indie licenses.
I can also see in the top right hand corner, an Account, which has the name of the company and a number. (This is not the same as my normal user login name.)
If I try to install the Indie licenses using sesictrl -L, it asks me for a email and password. I have tried to enter the same ones as for the website (it is the only ones I have), but it gives me an error.
It is all very complicated. Please can someone help…
My website login works fine (i.e. the one I use for posting questions in this forum).
If I go to https://www.sidefx.com/services/licenses/, [www.sidefx.com] I can see that I have a couple of existing Indie licenses.
I can also see in the top right hand corner, an Account, which has the name of the company and a number. (This is not the same as my normal user login name.)
If I try to install the Indie licenses using sesictrl -L, it asks me for a email and password. I have tried to enter the same ones as for the website (it is the only ones I have), but it gives me an error.
It is all very complicated. Please can someone help…
ubuntu@ip-172-31-25-183:/usr/lib/sesi$ sesictrl -L
Retrieving information about installed licenses...done
Please log in to Houdini Online Services:
Email address: my@email.address
Password:
ERROR: Invalid email address or password.
Note that passwords are case-sensitive.
Houdini Indie and Apprentice » Non-graphical houdini on amazon ec2
- phtj
- 224 posts
- Offline
I am having trouble getting houdini running in non-graphical mode on an amazon ec2 Ubuntu. I have hython script that I want to run, doing mainly geometry processing. Any help would be much appreciated.
I have been trying first with apprentice licensing. (I know Houdini Engine Indie is also an option, but I though I would first try to get apprentice running…)
All seems find so far. Then it says I need to use hkey to install licenses, which of course I cannot do in ssh.
If I run houdinicore, I get
If I run houdini, I get
I also tried installing the licenses manually
This had no effect, running houdinicore and houdini both had the same result.
If I look at /var/log/sesinetd.log, I see this:
I have been trying first with apprentice licensing. (I know Houdini Engine Indie is also an option, but I though I would first try to get apprentice running…)
- I started an instance with Ubuntu Server 16 (18 gave me some other issues)
- I installed ubuntu-desktop (just as a way of getting the required dependencies, I have no need of the desktop)
- I downloaded houdini-17.0.352-linux_x86_64_gcc6.3.tar.gz
- I installed houdini, choosing “Apprentice licensing” option
- I ran “source houdini_setup”
All seems find so far. Then it says I need to use hkey to install licenses, which of course I cannot do in ssh.
If I run houdinicore, I get
ubuntu@ip-172-31-25-183:/usr/lib/sesi$ houdinicore
No protocol specified
Qt Error: QXcbConnection: Could not connect to display :0
If I run houdini, I get
ubuntu@ip-172-31-25-183:/usr/lib/sesi$ houdini
No protocol specified
Qt Error: QXcbConnection: Could not connect to display :0
No protocol specified
Qt Error: QXcbConnection: Could not connect to display :0
I also tried installing the licenses manually
- I got the server details using sesictrl -n
- I pasted these into https://www.sidefx.com/services/non-commercial-license/ [www.sidefx.com]
- I installed each of the keys using sesictrl -I
- I saw that the keys were added to /usr/lib/sesi/licences
This had no effect, running houdinicore and houdini both had the same result.
If I look at /var/log/sesinetd.log, I see this:
...
16:14:47 10/27/18 sesinetd: installing new server key
16:15:54 10/27/18 sesinetd: License file modification detected -- reloading
16:15:54 10/27/18 sesinetd: installing new license key
16:16:16 10/27/18 sesinetd: License file modification detected -- reloading
16:16:16 10/27/18 sesinetd: installing new license key
16:16:24 10/27/18 sesinetd: License file modification detected -- reloading
16:16:24 10/27/18 sesinetd: ubuntu@ip-172-31-25-183.ec2.internal: attempt checkout Houdini-Escape[0] failure
16:16:24 10/27/18 sesinetd: ubuntu@ip-172-31-25-183.ec2.internal: attempt checkout Houdini-Escape[0] failure
16:16:24 10/27/18 sesinetd: ubuntu@ip-172-31-25-183.ec2.internal: attempt checkout Houdini-Escape-NonCommercial[0] failure
16:16:24 10/27/18 sesinetd: cdbb0546: Generic Houdini-Master-NonCommercial 16.5 1/1 free
6c748cd1: Generic Render-NonCommercial 16.5 1/1 free
16:16:24 10/27/18 sesinetd: ubuntu@ip-172-31-25-183.ec2.internal: attempt checkout Houdini-Escape-NonCommercial[0] failure
Houdini Engine API » Houdini engine 17 for linux
- phtj
- 224 posts
- Offline
On the download page, there seems to be no Houdini engine 17 for linux?
Or is it included in the main houdini install?
I see the folder /opt/hfs17.0.352/engine, but it does not contain much…
Or is it included in the main houdini install?
I see the folder /opt/hfs17.0.352/engine, but it does not contain much…
Technical Discussion » Running sesinetd
- phtj
- 224 posts
- Offline
Technical Discussion » Running sesinetd
- phtj
- 224 posts
- Offline
How do I run a local houdini license server on a remote ubuntu server using sesinetd via ssh? The docs say:
But when i do:
I just get the help docs. These docs also don't seem to say which options to use to actually start the, license server.
I also saw a file called sesinetd.startup. Is that what i am supposed to run?
Thanks for any help.
sesinetd {start|stop}
But when i do:
sesinetd start
I just get the help docs. These docs also don't seem to say which options to use to actually start the, license server.
I also saw a file called sesinetd.startup. Is that what i am supposed to run?
Thanks for any help.
Edited by phtj - Oct. 27, 2018 02:45:07
Houdini Indie and Apprentice » Problems with SOP "for loop"
- phtj
- 224 posts
- Offline
The behaviour of the “for loop” nodes in SOP is confusing. Attached is an example.
I am trying to paint some point parameters (p0, p1, p2). So I use the “for loop” and link the paint “cdname” parameter to the iteration number. But the behaviour is unpredictable.
In the example attached, I switch the order of two nodes (a transform and a paint). The order change should in theory have no effect. But it does, with the left one producing the wrong result. This kind of thing makes it hard to use these nodes, since you never really know if it is going to work or not.
Can anyone explain, or is this a bug?
I am trying to paint some point parameters (p0, p1, p2). So I use the “for loop” and link the paint “cdname” parameter to the iteration number. But the behaviour is unpredictable.
In the example attached, I switch the order of two nodes (a transform and a paint). The order change should in theory have no effect. But it does, with the left one producing the wrong result. This kind of thing makes it hard to use these nodes, since you never really know if it is going to work or not.
Can anyone explain, or is this a bug?
Houdini Indie and Apprentice » OpenGL rendering with white background
- phtj
- 224 posts
- Offline
I am trying to create an openGL rendering (PGN image) with a white background. Currently I am getting black in the areas that are transparent.
I tried to go to the openGL node and set Scene>Background Image to a white image, same pixel resolution as the rendering. But it seems to have no effect. When I click render (Output image is ‘ip’), i still don't get a white background.
In MPlay:
I tried to go to Windows>Display Options>Background Colour to white. Then I saved the PNG image. But no effect, still a black background.
I tried to go to Windows>Display Options>Filename to a white image, same pixel resolution. Then I saved the PNG image. But no effect, still a black background.
Any suggestions? How to get a white background?
I tried to go to the openGL node and set Scene>Background Image to a white image, same pixel resolution as the rendering. But it seems to have no effect. When I click render (Output image is ‘ip’), i still don't get a white background.
In MPlay:
I tried to go to Windows>Display Options>Background Colour to white. Then I saved the PNG image. But no effect, still a black background.
I tried to go to Windows>Display Options>Filename to a white image, same pixel resolution. Then I saved the PNG image. But no effect, still a black background.
Any suggestions? How to get a white background?
Technical Discussion » Hqueue for sops
- phtj
- 224 posts
- Offline
Technical Discussion » Hqueue for sops
- phtj
- 224 posts
- Offline
Thanks, I did a simple test, but did not yet run it on Hqueue.
See H15 file attached. Does it seem about right?
See H15 file attached. Does it seem about right?
Technical Discussion » Hqueue for sops
- phtj
- 224 posts
- Offline
I have been looking at this in more detail. It seems I will have to create my own ROP since HQueue Render and HQueue Simulation will not work for me.
Here is what I am thinking. Am I on the right track? Or is there a better way?
From the HQueue API
http://www.sidefx.com/docs/hqueue15.0/help/api.html [sidefx.com]
The key method seems to be
newjob( jobspec, parent_id=None, child_ids= )
So for each building in my model, I start a new job to process that building.
The jobspec seems to be the key piece of data, which can include a script like this.
http://www.sidefx.com/docs/hqueue15.0/help/jobdetails [sidefx.com]
{
“name”: “Process building 1”,
“command” : “hython /path/to/myScript.py 1”,
}
So now for the script… it should load the hip file, set a few parameters, cook, and write a bgeo file to a shared drive.
Finally, I just need to merge all the bgeo files, which I think I should be able to define as a separate child job (so that it only executes when the others have finished).
Here is what I am thinking. Am I on the right track? Or is there a better way?
From the HQueue API
http://www.sidefx.com/docs/hqueue15.0/help/api.html [sidefx.com]
The key method seems to be
newjob( jobspec, parent_id=None, child_ids= )
So for each building in my model, I start a new job to process that building.
The jobspec seems to be the key piece of data, which can include a script like this.
http://www.sidefx.com/docs/hqueue15.0/help/jobdetails [sidefx.com]
{
“name”: “Process building 1”,
“command” : “hython /path/to/myScript.py 1”,
}
So now for the script… it should load the hip file, set a few parameters, cook, and write a bgeo file to a shared drive.
Finally, I just need to merge all the bgeo files, which I think I should be able to define as a separate child job (so that it only executes when the others have finished).
-
- Quick Links