Hi Matt,
That's because I'm trying to implement something like microservices. One server that people communicate to, which decides what needs to be done, redirects to a proper server that runs the task. So I have at least two separate hython processes.
The manager server receives a POST request from the client. The manager decides this job has to be nadled by the worker server, so it redirects to a different server (which can be the same machine, but doesn't have to). But once the request is received by a worker server, the request.method() is GET.
I can work with GET, but then the manager server has to besically take everything in request.body(), convert to a query string. Because the worker needs instructions on what to do. And depends on how much data is in the request.body() I might run out of characters in the url (I think the limit is 2048).
Redirecting the request, so it's a POST on another server, would be just less complicated for development.
Found 30 posts.
Search results Show results as topic list.
Technical Discussion » hwebserver: how to redirect POST request?
- JJ_FX
- 30 posts
- Offline
Technical Discussion » hwebserver: how to redirect POST request?
- JJ_FX
- 30 posts
- Offline
Hi,
So using hwebserver I cannot figure out how to redirect a request, so that's received as POST.
What I'm talking is a situation like this:
The request received on the server running on the port 5002 is always a GET request. Unless I directly send a POST request.
Can I somehow configure theso it will be received as a POST on the other server?
So using hwebserver I cannot figure out how to redirect a request, so that's received as POST.
What I'm talking is a situation like this:
# Sending from a server on port 5001 @hwebserver.urlHandler(url, is_prefix=True) def handler(request): return hwebserver.redirect(request, f'{localhost}:5002/')
# Receiving server is on port 5002 @hwebserver.urlHandler(url, is_prefix=True) def handler(request): # The request method is always GET print(f'{request.method()}') return hwebserver.Response('')
The request received on the server running on the port 5002 is always a GET request. Unless I directly send a POST request.
Can I somehow configure the
hwebserver.redirect(request)
Work in Progress » Simul8r Project [WIP]
- JJ_FX
- 30 posts
- Offline
Hi all!
So I've been working recently on a personal project that's a web service where you can... do simulations! Yes, simulations in the browser.
And you might ask: Ok, so what it has to do with Houdini? Well currently I'm using Houdini as an engine in the backend for the service.
The app supports only FLIP simulations, but I will keep adding other solvers before the app goes live - hopefuly somewhere around summer.
Will it scale?
https://youtu.be/ktaj06A9ufI [youtu.be]
So I've been working recently on a personal project that's a web service where you can... do simulations! Yes, simulations in the browser.
And you might ask: Ok, so what it has to do with Houdini? Well currently I'm using Houdini as an engine in the backend for the service.
The app supports only FLIP simulations, but I will keep adding other solvers before the app goes live - hopefuly somewhere around summer.
Will it scale?
https://youtu.be/ktaj06A9ufI [youtu.be]
Edited by JJ_FX - March 15, 2023 18:09:09
Technical Discussion » Houdini on Ubuntu
- JJ_FX
- 30 posts
- Offline
@SreckoM - I mean that I used Ubuntu settings tools for that. Ok when I get home will try disabling Secure boot in bios too.
@twod - will check that later tonight and will post you what I have
@twod - will check that later tonight and will post you what I have
Technical Discussion » Houdini on Ubuntu
- JJ_FX
- 30 posts
- Offline
SreckoM
I am using it on 18.04 with Nvidia without problems. I am almost 100% sure you did not install these drivers correctly. What does it says in About section?
Actually I reinstalled new system as I might have done few things not the way I should. Because last time I upg the nvidia drivers in terminal. This time I did that in settings manually. And I managed to run Houdini.
However still sometimes I get some viewport glitches, and aftet that I get a crash. But this time at least there was a backup file created.
Right now I have just:
1) Installed Ubuntu
2) Did updates manually
3) Updated NVIDIA drivers manually. However still in About section the system shows me gpu type NV60 (or sth like that, im at work now) but I have GTX1060.
And thats it for now. Ive read that you need gcc too for houdini. Not sure what that is actually, but know how to install it from terminal.
Im rather new to Linux, always worked on Win.
Technical Discussion » Run custom python script on pressed shortbut key
- JJ_FX
- 30 posts
- Offline
Thanks jordibares!
However the tools Im working on is the navigation in network view, based on cursor position. Very handy and speeding the workflow. And need just to work with pressed key. Im surprised this is so hard to set up…
I have found that once you drop a tool on a shelve, you can edit a script there, and add a shortcut. However they work only for a current session. Once you close houdini the keys are back to default. I think this is because of this:
However the tools Im working on is the navigation in network view, based on cursor position. Very handy and speeding the workflow. And need just to work with pressed key. Im surprised this is so hard to set up…
I have found that once you drop a tool on a shelve, you can edit a script there, and add a shortcut. However they work only for a current session. Once you close houdini the keys are back to default. I think this is because of this:
Edited by JJ_FX - Feb. 21, 2018 00:49:09
Technical Discussion » Run custom python script on pressed shortbut key
- JJ_FX
- 30 posts
- Offline
Hi,
I have a custom scripted behaviour to work in network view. However now I would like to somehow assign a key shortcut to it. So besically “press S” > “run my script”…
Is it possible to set this up in Houdini? Or do I have to make some hacker workaround?
I have a custom scripted behaviour to work in network view. However now I would like to somehow assign a key shortcut to it. So besically “press S” > “run my script”…
Is it possible to set this up in Houdini? Or do I have to make some hacker workaround?
Edited by JJ_FX - Feb. 19, 2018 23:44:07
Houdini Indie and Apprentice » Cloth surface constraint issue
- JJ_FX
- 30 posts
- Offline
So as usual the error hides somewhere I would never look.
I was close to this primitive / polygon thing.
So im Houdini a mesh is not a polygon mesh. A mesh is a one primitive geometry, like nurbs, but looking like a polygon. I guess a mesh is just a viewport representation of a polygon mesh.
So I just had to convert to polygon mesh and everything is working well.
Probably this is some background knowledge for houdini users, but I've been spending too much time in max I think
I was close to this primitive / polygon thing.
So im Houdini a mesh is not a polygon mesh. A mesh is a one primitive geometry, like nurbs, but looking like a polygon. I guess a mesh is just a viewport representation of a polygon mesh.
So I just had to convert to polygon mesh and everything is working well.
Probably this is some background knowledge for houdini users, but I've been spending too much time in max I think
Houdini Indie and Apprentice » Cloth surface constraint issue
- JJ_FX
- 30 posts
- Offline
Hi,
So I used the Attach to Body tool on the shelf. And Im not sure if it works properly. It looks like its setting the constraint with an error. It does not set the goal primitives for the constraint points.
When Im asked (by the tool) to select primitives to narrow the goal primitives, the whole object is beeing selected.
I always thought that a primitive is like a polygon in maya or max. But it looks like its changed now and a primitive is actually the whole object. So what is a polygon in Houdini?
Ok but going back to setting the constraint. I dont know how to properly set it up. Whatever I do the constraint errors and point to the goal object.
And the goal object always has the error
“attach points were not valid for the current goal”
Somehow I have this feeling this is because the constraint should be created between two points, or a point and a primitive. But since now a primitive is the object… No wonder that it does not understand whats going on.
Or am I wrong? Maybe the primitive was an object?
Any help greatly appricieted because Im completely stuck on this the whole day, completely unproductive day…
So I used the Attach to Body tool on the shelf. And Im not sure if it works properly. It looks like its setting the constraint with an error. It does not set the goal primitives for the constraint points.
When Im asked (by the tool) to select primitives to narrow the goal primitives, the whole object is beeing selected.
I always thought that a primitive is like a polygon in maya or max. But it looks like its changed now and a primitive is actually the whole object. So what is a polygon in Houdini?
Ok but going back to setting the constraint. I dont know how to properly set it up. Whatever I do the constraint errors and point to the goal object.
And the goal object always has the error
“attach points were not valid for the current goal”
Somehow I have this feeling this is because the constraint should be created between two points, or a point and a primitive. But since now a primitive is the object… No wonder that it does not understand whats going on.
Or am I wrong? Maybe the primitive was an object?
Any help greatly appricieted because Im completely stuck on this the whole day, completely unproductive day…
Houdini Indie and Apprentice » Apprentice HD and H14
- JJ_FX
- 30 posts
- Offline
Hi,
When I start H14 the Licence Administrator pops up and askes for a licence. It wants to reinstall my free Apprentice licence. However I have a PAID Apprentice HD licence. When I choose reinstall free licence, I get en error. H13 runs without any errors
Do I have to buy another Apprentice HD licence for H14?
When I start H14 the Licence Administrator pops up and askes for a licence. It wants to reinstall my free Apprentice licence. However I have a PAID Apprentice HD licence. When I choose reinstall free licence, I get en error. H13 runs without any errors
Do I have to buy another Apprentice HD licence for H14?
Houdini Indie and Apprentice » Rop Outpur Driver and Pyro
- JJ_FX
- 30 posts
- Offline
Houdini Indie and Apprentice » Rop Outpur Driver and Pyro
- JJ_FX
- 30 posts
- Offline
Hi,
How do I write out pyro simulations? Usually in fluids I use Rop Output Driver and just render my sim out.
But when I plug a ROP Output Driver in my AutoDopNetwork I get an error:
“Operation Unabvailable in Non-Commercial Edition”
Do I have to buy full commercial licence to write out my pyro?
How do I write out pyro simulations? Usually in fluids I use Rop Output Driver and just render my sim out.
But when I plug a ROP Output Driver in my AutoDopNetwork I get an error:
“Operation Unabvailable in Non-Commercial Edition”
Do I have to buy full commercial licence to write out my pyro?
Houdini Indie and Apprentice » Waterfall RND - how to emit foam
- JJ_FX
- 30 posts
- Offline
Hi.
I'm having problems with my sim - waterfall. Here is a quick render i made:
https://vimeo.com/106409823 [vimeo.com]
The problem is that I have no idea how to emit particles on the bottom part, where all the splashy thinkgs happen.
Right now I'm emitting particles from curl and vels, but the highest values I get are on the “falling” water, and ones it hit the surafce both curl and vel are very small. But I'm pretty sure this is where the foam should be most visible.
Do u have any tips for me how to emit particles on that part of the water?
I'm having problems with my sim - waterfall. Here is a quick render i made:
https://vimeo.com/106409823 [vimeo.com]
The problem is that I have no idea how to emit particles on the bottom part, where all the splashy thinkgs happen.
Right now I'm emitting particles from curl and vels, but the highest values I get are on the “falling” water, and ones it hit the surafce both curl and vel are very small. But I'm pretty sure this is where the foam should be most visible.
Do u have any tips for me how to emit particles on that part of the water?
Technical Discussion » Houdini crash on Flipbook (Hserver communication error)
- JJ_FX
- 30 posts
- Offline
Hi.
I'm running an Apprentice HD. I've set my antivirus to allow everything for all the Houdini apps.
When I make a flipbook, sometimes (rather often) I get this error:
And then Houdini crash.
I'm running on H13.0.476, WIN7, GTX 760, 64GB RAM, 2xXeon e5-2689
I'm running an Apprentice HD. I've set my antivirus to allow everything for all the Houdini apps.
When I make a flipbook, sometimes (rather often) I get this error:
And then Houdini crash.
I'm running on H13.0.476, WIN7, GTX 760, 64GB RAM, 2xXeon e5-2689
Houdini Indie and Apprentice » FLIPsolver volume - more complex shape?
- JJ_FX
- 30 posts
- Offline
Houdini Indie and Apprentice » FLIPsolver volume - more complex shape?
- JJ_FX
- 30 posts
- Offline
Hi,
I'm wondering. Can Flipsolver use some outside geometry as volume?
What I mean is… eg I have a situation where simming on one single volume is a big waste of time. It would be nice to split the volumes into few smaller ones.
Is it possible? And how?
I'm wondering. Can Flipsolver use some outside geometry as volume?
What I mean is… eg I have a situation where simming on one single volume is a big waste of time. It would be nice to split the volumes into few smaller ones.
Is it possible? And how?
Houdini Indie and Apprentice » Material Shader Builder - displacement
- JJ_FX
- 30 posts
- Offline
dobin
your setup is correct…you'll just need to increase the displacement bound.
in order to do that add an properties node, from the gear menu on top add “displacement bound” and “true displacement” parameters and plug this into output collect.
thx! sorry for such a late response.
But what do you mean by “gear menu on top”? Do you mean shelf tools? I cant find them anywhere. Sorry Im a noobie in houdini
Houdini Indie and Apprentice » Material Shader Builder - displacement
- JJ_FX
- 30 posts
- Offline
Hi,
I'm trying to build a simple shader. Here is my setup for displacement:
The faces are beeing displaced individually not the whole object. I tried to look how it works in a simple mantra surface node, but the setup there is too complicated.
How can I just add a simple turbulence as a displacement?
I'm trying to build a simple shader. Here is my setup for displacement:
The faces are beeing displaced individually not the whole object. I tried to look how it works in a simple mantra surface node, but the setup there is too complicated.
How can I just add a simple turbulence as a displacement?
Houdini Indie and Apprentice » Scatter - strange bahaviour
- JJ_FX
- 30 posts
- Offline
Ok. I tried my setup on some other files, and it works. So it means that my sim files are the problem. And i have no idea why?
Houdini Indie and Apprentice » Scatter - strange bahaviour
- JJ_FX
- 30 posts
- Offline
Hi!
I cannot make work my scatter sop. I use ‘Poins per Area’ (Compute Number of Points) and it works as a default ‘Number of Points (I mean the resault is both the same).
I’m scattering over the color (Cd, attr bias 1.0) and it's scattering over all object, even on black color (0,0,0).
I have a very similar setup to this one on other scene and is working fine. Maybe I made some mistakes in VOPSOP (generating colors based on the curl and velocity)?
P.S. How can I delete those black points?
I cannot make work my scatter sop. I use ‘Poins per Area’ (Compute Number of Points) and it works as a default ‘Number of Points (I mean the resault is both the same).
I’m scattering over the color (Cd, attr bias 1.0) and it's scattering over all object, even on black color (0,0,0).
I have a very similar setup to this one on other scene and is working fine. Maybe I made some mistakes in VOPSOP (generating colors based on the curl and velocity)?
P.S. How can I delete those black points?
-
- Quick Links