Thanks for reply and suggestions.
Would you mind explaining it on the provided example hip? You talk about USD concepts that I am not familiar with.
Found 120 posts.
Search results Show results as topic list.
Solaris and Karma » Assign materials ahead of importing them to stage
- tas3d
- 120 posts
- Offline
Solaris and Karma » Assign materials ahead of importing them to stage
- tas3d
- 120 posts
- Offline
Hi,
Problem:
I use Assign Material to do what it is supposed to do, but if graph is time dependent, it does it on every frame. I want to assign them just once, because it can take quite some time on large scene during exporting USD file.
Attempted solution:
1. Layout my graph so that my non time dependent operations are first. But that is very restrictive and not intuitive.
2. Move Assign Material directly after Import SOP, but at that point materials do not exist in graph, so I get error. Is it possible to assign it ahead of material creation? Kinda a promise of where mat will be once graph is evaluated for rendering?
Is there a better way to force one time evaluation?
Thanks!
Problem:
I use Assign Material to do what it is supposed to do, but if graph is time dependent, it does it on every frame. I want to assign them just once, because it can take quite some time on large scene during exporting USD file.
Attempted solution:
1. Layout my graph so that my non time dependent operations are first. But that is very restrictive and not intuitive.
2. Move Assign Material directly after Import SOP, but at that point materials do not exist in graph, so I get error. Is it possible to assign it ahead of material creation? Kinda a promise of where mat will be once graph is evaluated for rendering?
Is there a better way to force one time evaluation?
Thanks!
Edited by tas3d - April 25, 2021 22:08:31
Technical Discussion » How to expand/eval string in VEX?
- tas3d
- 120 posts
- Offline
Technical Discussion » Ordered Menu populated by Menu Script evaluates many times
- tas3d
- 120 posts
- Offline
oh, thats so awesome!
Didnt know about those methods. This will reduce disk load even more.
Thanks
Didnt know about those methods. This will reduce disk load even more.
Thanks
Technical Discussion » Ordered Menu populated by Menu Script evaluates many times
- tas3d
- 120 posts
- Offline
Thanks everyone for chiming in.
I ended up writing to tempfile results from first iteration, plus timestamp.
Next time its run, it will read this file and compare timestamp. If its close enough, will get the data from file.
Much faster now
Quite a lot of work just to workaround Menu Script. Oh oh.
I ended up writing to tempfile results from first iteration, plus timestamp.
Next time its run, it will read this file and compare timestamp. If its close enough, will get the data from file.
Much faster now
Quite a lot of work just to workaround Menu Script. Oh oh.
Technical Discussion » Ordered Menu populated by Menu Script evaluates many times
- tas3d
- 120 posts
- Offline
jsmack
For database/disk hits, use caching to prevent unnecessary actions.
Disk queries are my reason for asking.
Could you elaborate idea of caching?
Technical Discussion » Python Shell and PythonSOP produce different results
- tas3d
- 120 posts
- Offline
Technical Discussion » Ordered Menu populated by Menu Script evaluates many times
- tas3d
- 120 posts
- Offline
Hi,
I have a Null SOP, added Ordered Menu and used Menu Script to fill it up.
All good, but it get evaluated 12 times!
Any clues why is that and how to get it populated once?
Thanks
I have a Null SOP, added Ordered Menu and used Menu Script to fill it up.
r = [] i = 0 for x in range(0,10): r.append(str(i)) r.append(str('name_'+str(i))) i += 1 print 'test' return r
All good, but it get evaluated 12 times!
Any clues why is that and how to get it populated once?
Thanks
Edited by tas3d - March 29, 2021 16:02:23
Technical Discussion » How to expand/eval string in VEX?
- tas3d
- 120 posts
- Offline
That is a cool solution.
To be even more accurate and still on point with my problem, I actually use '${F}'.
This is what is generated by File - Geometry parameter, so I want to make it easy for users. They just pick the sequence and don't worry about pattern.
To be even more accurate and still on point with my problem, I actually use '${F}'.
This is what is generated by File - Geometry parameter, so I want to make it easy for users. They just pick the sequence and don't worry about pattern.
Technical Discussion » Python Shell and PythonSOP produce different results
- tas3d
- 120 posts
- Offline
Hi,
When I type this in Python Shell
When I do the same thing in PythonSOP, string gets expanded. Why?!
How can I avoid string expansion in PythonSOP?
Thank you
When I type this in Python Shell
>>> print '$HIP' >>> '$HIP'
When I do the same thing in PythonSOP, string gets expanded. Why?!
>>> print '$HIP' >>> C:/blabla
How can I avoid string expansion in PythonSOP?
Thank you
Edited by tas3d - March 29, 2021 14:57:14
Technical Discussion » How to expand/eval string in VEX?
- tas3d
- 120 posts
- Offline
Hi,
Here is better explanation of why I use chsraw()
I have this string in paramemter:
I would like to replace '.$F4.' with @primnum.
If I use chs(), then I wont have frame padding pattern, it will be expanded to current frame.
Once I manipulate string, I would like to write it to @path in expanded form.
On the bright side, I got it working in PythonSOP. Just curious what happened to evals() and what is the replacement method.
Thanks!
Here is better explanation of why I use chsraw()
I have this string in paramemter:
$JOB/houdini/geo/GEO_ProcessedSection.$F4.bgeo.sc
I would like to replace '.$F4.' with @primnum.
If I use chs(), then I wont have frame padding pattern, it will be expanded to current frame.
Once I manipulate string, I would like to write it to @path in expanded form.
On the bright side, I got it working in PythonSOP. Just curious what happened to evals() and what is the replacement method.
Thanks!
Technical Discussion » How to expand/eval string in VEX?
- tas3d
- 120 posts
- Offline
Hi,
In Python we have something like hou.expandString() to evaluate string with ie. env variables.
In VEX is kinda works automatically, but not when I use chsraw().
Please taka a look at screenshot.
I would like to get the raw string from parameter, do some string modification, and write it to attribute as an expanded(evaluated) version of string. $JOB should expand to path. I am puzzled why it doesn't.
I saw in some old post that there used to be eval() and evals() functions, but they are no more.
In Python we have something like hou.expandString() to evaluate string with ie. env variables.
In VEX is kinda works automatically, but not when I use chsraw().
Please taka a look at screenshot.
I would like to get the raw string from parameter, do some string modification, and write it to attribute as an expanded(evaluated) version of string. $JOB should expand to path. I am puzzled why it doesn't.
I saw in some old post that there used to be eval() and evals() functions, but they are no more.
Edited by tas3d - March 28, 2021 14:00:39
Solaris and Karma » render delegate selection in husk
- tas3d
- 120 posts
- Offline
I am not, at least not intentionally. Seems like PowerShell is.
I will keep this in mind if I need to run it on different shell. Not sure what Deadline will do once I start sending husk to deadline.
FYI, im on Win10.
I will keep this in mind if I need to run it on different shell. Not sure what Deadline will do once I start sending husk to deadline.
FYI, im on Win10.
Solaris and Karma » render delegate selection in husk
- tas3d
- 120 posts
- Offline
Good to know about this debug variable.
It was my terminal issue, wasn't reading my Env variables. I switched to different terminal, rather then fixing the broken one. Probably my Cmder is not configured properly, PowerShell works fine.
Thank you
It was my terminal issue, wasn't reading my Env variables. I switched to different terminal, rather then fixing the broken one. Probably my Cmder is not configured properly, PowerShell works fine.
Thank you
Solaris and Karma » Multiple camera in USD, error on USD Render ROP
- tas3d
- 120 posts
- Offline
Solaris and Karma » render delegate selection in husk
- tas3d
- 120 posts
- Offline
Hi,
I have installed and working Arnold. I renders fine in stage viewport or via USD Render ROP.
When I try to run husk and select it as alternate Hydra client, it doesn't get recognized.
What am I missing?
Thank you!
I have installed and working Arnold. I renders fine in stage viewport or via USD Render ROP.
When I try to run husk and select it as alternate Hydra client, it doesn't get recognized.
What am I missing?
[21:49:24] husk version 18.5.462 [21:49:24] Command Line: husk -f 60 -n 1 -V 7 -R Arnold -o 'out.$F.exr' scene2.usd [21:49:25] Loading: scene2.usd [21:49:26] Defaulting to use settings found at /Render/rendersettings [21:49:26] Can't find Hydra plugin 'Arnold'. Choose one of: [21:49:26] - GL (HdStormRendererPlugin) [21:49:26] - Houdini GL (HD_HoudiniRendererPlugin) [21:49:26] - Karma (BRAY_HdKarma) [21:49:26] Unable to load render plugin: Arnold
Thank you!
Solaris and Karma » Multiple camera in USD, error on USD Render ROP
- tas3d
- 120 posts
- Offline
Hi,
I have two cameras, I pick one of them in Render Settings, but I am still getting error message:
Am I missing something or bug?
Houdini 18.5.462
Karma
I have two cameras, I pick one of them in Render Settings, but I am still getting error message:
Found 2 cameras in the USD file. Please select the camera for rendering using render settings or a command line option
Am I missing something or bug?
Houdini 18.5.462
Karma
Technical Discussion » QDoubleSpinBox not consistent with hou.ui.stylesheet
- tas3d
- 120 posts
- Offline
3rd Party » CrusherSOP - artistic fracturing tool
- tas3d
- 120 posts
- Offline
CrusherSOP is a Houdini HDA designed to speed up process of artistic fracturing geometry. It makes the process quick and efficient. Based on drawing curves in viewport to cut the object. Tested and improved over the course of producing promo video.
Available with example HIP Scene where promo video was created. Every step is described and explained. Includes library of HDA tools that speeds up daily RBD tasks.
You can use CrusherSOP HDA and HIP Scene to build your RBD demoreel or enchance your existing workflows.
https://www.orbolt.com/asset/Tas::CrusherSOP
Available with example HIP Scene where promo video was created. Every step is described and explained. Includes library of HDA tools that speeds up daily RBD tasks.
You can use CrusherSOP HDA and HIP Scene to build your RBD demoreel or enchance your existing workflows.
https://www.orbolt.com/asset/Tas::CrusherSOP
Edited by tas3d - March 20, 2023 13:53:03
Technical Discussion » QDoubleSpinBox not consistent with hou.ui.stylesheet
- tas3d
- 120 posts
- Offline
Is there other way to define this style for QDoubleSpinBox ?
I tried setStyle(), setStylesheet, setPalette() during UI init, but none works.
Or should I do it for
I dont have access to base.qss
I tried setStyle(), setStylesheet, setPalette() during UI init, but none works.
Or should I do it for
I dont have access to base.qss
-
- Quick Links