Found 67 posts.
Search results Show results as topic list.
Houdini Indie and Apprentice » Activating Houdini Apprentice offline?
- GOgraphR
- 67 posts
- Offline
Technical Discussion » Can I independently control the F-Stop Near and F-Stop Far ?
- GOgraphR
- 67 posts
- Offline
Short answer: No, the two are not independently adjustable.
In lack of a better explanation: Depth of field [en.wikipedia.org]on Wikipedia.
Sorry! Just can't explain it better than they already did !
In lack of a better explanation: Depth of field [en.wikipedia.org]on Wikipedia.
Sorry! Just can't explain it better than they already did !
Edited by GOgraphR - June 4, 2023 22:15:50
Technical Discussion » Can really VEX save so much memory?
- GOgraphR
- 67 posts
- Offline
I think it like this:
Wrangle
DATA= ((0,-1,0));
pts= ( (p1,DATA), (p2,DATA)...);
AttrCreate
pts = ( (p1,(0,-1,0)); (p2,(0,-1,0))...);
Which means in Attrcreate you have n times the vector stored, but in Wrangle vector is stored once, but referenced n times, which is less memory consuming. And this is the principlpe of instncing.
Wrangle
DATA= ((0,-1,0));
pts= ( (p1,DATA), (p2,DATA)...);
AttrCreate
pts = ( (p1,(0,-1,0)); (p2,(0,-1,0))...);
Which means in Attrcreate you have n times the vector stored, but in Wrangle vector is stored once, but referenced n times, which is less memory consuming. And this is the principlpe of instncing.
Edited by GOgraphR - June 4, 2023 21:41:40
Houdini Learning Materials » HELP! I need to know how this was made
- GOgraphR
- 67 posts
- Offline
Hey there !
For the first one. It is a quite advanced one. Involves instancing and the like. Sorry can't give you more on that one.
But: "good newws evryone!!"
For the second one. Have a look at the attached file.
It is quite simple from the geometry. Needs some creativity with parameters and coloring. It should give you a starting point...
HTH!!
For the first one. It is a quite advanced one. Involves instancing and the like. Sorry can't give you more on that one.
But: "good newws evryone!!"
For the second one. Have a look at the attached file.
It is quite simple from the geometry. Needs some creativity with parameters and coloring. It should give you a starting point...
HTH!!
Edited by GOgraphR - May 25, 2023 15:54:07
Houdini Learning Materials » PolyExtrude Inset Parameter
- GOgraphR
- 67 posts
- Offline
aprameya0505
Hi,
i'm learning Houdini
can someone let me know why is this happening? and i have to be worried..
Sorry I do not know, what your quesiton is here... 0.33 is about 1/3 an in your next screenshot it seems to be fine.
For the "missing" bounding box, as you can see from the sliders in the scene view (lower left side), or the parameter line in the top left, there is still the polyextrude "selected". Just reselect your group node.
Looks like the occasional "refresh" miss in the scene viewer...
Edited by GOgraphR - May 25, 2023 15:12:14
Technical Discussion » how to delete points not impacting the shape of an object
- GOgraphR
- 67 posts
- Offline
john-wright
Hello.
how should I delete these points? thanks.
Hi John !
Algorithmically you would take the vector from one point to the next connected point, and you would delete any point, that can be described by adding this vector to the start point. Thats what "inline point" means. The actual mathematical term is colinearity.
Basically, if the Equation Start+(End-Start)*l=TestPoint has a solution in l then this point can be deleted.
Here's the mathematical backgrund on this topic.
Coplanarity [en.wikipedia.org] and Collinearity [en.wikipedia.org]
Technical Discussion » After System lost power, Houdini19_5_569 no longer works
- GOgraphR
- 67 posts
- Offline
Have you tried to delete your Preferences for H19.5 and/or RM ??
Do not forget to "backup" the folders before deleting them...
could've been just while writing to the prefs, or before file cache was flushed the outage stepped in...
HTH!
Do not forget to "backup" the folders before deleting them...
could've been just while writing to the prefs, or before file cache was flushed the outage stepped in...
HTH!
Technical Discussion » AttributeError: 'NoneType' object has no attribute...
- GOgraphR
- 67 posts
- Offline
Should be related, if not the same as
I had this issue only with scene viewers in floating windows. The scene viewers, that were attached to the main window were not affected...
At one point I even got a SIGSEV in je_bitmap_unset
And on another occasion this: in the python shell
Side Effects Support Ticket: #136088
I had this issue only with scene viewers in floating windows. The scene viewers, that were attached to the main window were not affected...
At one point I even got a SIGSEV in je_bitmap_unset
And on another occasion this: in the python shell
Traceback (most recent call last): File "/opt/hfs19.5.605/houdini/python3.7libs/houpythonportion/qt/ViewerOverlay.py",line 57, in closeEvent self._scene_viewer.removeEventCallback(self._onViewportEvent) File "/opt/hfs19.5.605/houdini/python3.7libs/hou.py", line 77406, in removeEventCallback return _hou.SceneViewer_removeEventCallback(self, callback) hou.ObjectWasDeleted: Attempt to access an object that no longer exists in Houdini.
Technical Discussion » [Q]: Python SOP "Maintain State". How "dangerous"
- GOgraphR
- 67 posts
- Offline
Ok, I see what you meant.
And no, its just to set some variables, that do not mind beeing "overcooked". I noticed, that when I advance one frame the python SOP cooks sometimes more than just once... But that's OK, for me and now at least. I have "safeguards" for that case, although the remaining network doesn't care.
What I do is getting the "real World" time and use it to render the rendertime in the scene.
Idea is kind of a "timelapse" on my Desk and a Wall clock that jumps every frame...
First run sets attribute s@StartTime @startEpoc, and then s@NowTime @NowEpoc @diffEpoc
so I can have a desk clock display the time, the image was rendered... (I don't think I'll get an Academy award for that :-( )
That's it... so I am safe I guess...
Thanks !
And no, its just to set some variables, that do not mind beeing "overcooked". I noticed, that when I advance one frame the python SOP cooks sometimes more than just once... But that's OK, for me and now at least. I have "safeguards" for that case, although the remaining network doesn't care.
What I do is getting the "real World" time and use it to render the rendertime in the scene.
Idea is kind of a "timelapse" on my Desk and a Wall clock that jumps every frame...
First run sets attribute s@StartTime @startEpoc, and then s@NowTime @NowEpoc @diffEpoc
so I can have a desk clock display the time, the image was rendered... (I don't think I'll get an Academy award for that :-( )
That's it... so I am safe I guess...
Thanks !
Technical Discussion » [Q]: Python SOP "Maintain State". How "dangerous"
- GOgraphR
- 67 posts
- Offline
Thx tamte !
I was just thinking to use it in a way like
And then I would just access this detail attribute. So I hope there is no danger getting into trouble.
Thanks again!
I was just thinking to use it in a way like
try: LastRun=PreviousRun # On first run previous is unknown, so it raises "Name Error". # The second time PreviousRun is already set, so the except part is skipped... except: PreviousRun=1 do_Some_Setup() # Just to explain intent set_initial_detail_Attrib() compute_new_Attrib() set_updated_Attrib()
And then I would just access this detail attribute. So I hope there is no danger getting into trouble.
Thanks again!
Technical Discussion » [Q]: Python SOP "Maintain State". How "dangerous"
- GOgraphR
- 67 posts
- Offline
Hi All !
The python SOP has a new option since 19.5 "Maintain State". The docs [www.sidefx.com] say:
I have now a setup in which I just want to maintain a few variables. In pre-19.5 I used a SOP solver for this. Just storing about 5 detail attributes.
Has anyone encountered this "unexpected behaviour"? And how does it manifest?
OTOH, there are these guys around
Are they the prefered Method to keep data/information between cooks? Which one gets used in "real life" out there ?
Thanks for any insight !
HAND!
The python SOP has a new option since 19.5 "Maintain State". The docs [www.sidefx.com] say:
SideFX
When enabled, the underlying Python interpreter will not be cleared between cooks. This may give some performance gains, but can also lead to unexpected behaviour. It is generally recommended to leave this disabled.
I have now a setup in which I just want to maintain a few variables. In pre-19.5 I used a SOP solver for this. Just storing about 5 detail attributes.
Has anyone encountered this "unexpected behaviour"? And how does it manifest?
OTOH, there are these guys around
- setUserData(name, value)
- setCachedUserData(name, value)
- setDataBlock(key, block, blocktype)
Are they the prefered Method to keep data/information between cooks? Which one gets used in "real life" out there ?
Thanks for any insight !
HAND!
Edited by GOgraphR - May 19, 2023 21:10:38
Technical Discussion » How to open Edit Tool window with python?
- GOgraphR
- 67 posts
- Offline
The closest I got by now is:
And there the
node=hou.node(PATH_TO_NODE) hou.ui.openTypePropertiesDialog(node)
And there the
Interactive
and ShelfTools
tabs.
Technical Discussion » How to open Edit Tool window with python?
- GOgraphR
- 67 posts
- Offline
Hey Jerry7 !
What exactly do you want to do ?
Maybe you would look into hou.shelves, hou.Shelf, hou.Tool ?
Probably you could find a method there that does what you want.
HTH!
HAND
What exactly do you want to do ?
Maybe you would look into hou.shelves, hou.Shelf, hou.Tool ?
Probably you could find a method there that does what you want.
HTH!
HAND
Technical Discussion » accessing "$FSTART" "$FEND" and "$NFRAMES" from python
- GOgraphR
- 67 posts
- Offline
Thanks Enivob !!!
Well this time I obviously didn't follow my own advice.... Coffee'n'Break & Rerun...
But... (*sorry*) No fps there... (but in hou.fps()) Anyways !
Maybe we will notice early enough if SideFX starts hou2 to be heard.
Again Thanks!!
*puttingKettleOnStove*
Have A Nice Day !
Well this time I obviously didn't follow my own advice.... Coffee'n'Break & Rerun...
But... (*sorry*) No fps there... (but in hou.fps()) Anyways !
Maybe we will notice early enough if SideFX starts hou2 to be heard.
Again Thanks!!
*puttingKettleOnStove*
Have A Nice Day !
Technical Discussion » accessing "$FSTART" "$FEND" and "$NFRAMES" from python
- GOgraphR
- 67 posts
- Offline
I got into trouble accessing "$F" "$FPS" and "$NFRAMES" from python and/or VEX without abusing parameters.
there is hou.frame(), hou.time(), hou.fps() and in VEX @Frame and @Time. Is this all I have?
is there really no hou.startFrame(), hou.endFrame() and @StartFrame @EndFrame ?
I know I could use a parameter with the Variable I want. But I want to do it directly from within VEX/Python. It looks (and IS) cleaner. And there are also cases where I do not have spare parameters available. Especially in python.
$FSTART,$FEND,$TSTART,$TEND
there is hou.frame(), hou.time(), hou.fps() and in VEX @Frame and @Time. Is this all I have?
is there really no hou.startFrame(), hou.endFrame() and @StartFrame @EndFrame ?
I know I could use a parameter with the Variable I want. But I want to do it directly from within VEX/Python. It looks (and IS) cleaner. And there are also cases where I do not have spare parameters available. Especially in python.
$FSTART,$FEND,$TSTART,$TEND
Technical Discussion » sourcing material from another houdini file ?
- GOgraphR
- 67 posts
- Offline
Technical Discussion » sourcing material from another houdini file ?
- GOgraphR
- 67 posts
- Offline
tanguybc
Maybe that would be a way to get there:
https://www.sidefx.com/docs/houdini/hom/hou/fileReferences.html [www.sidefx.com]
Hi tanguybc !
Sorry !! Not really...
This will tell you only where your current HIP file has its external references.
hou.fileReferences()
((None, '$HIP/houdini19.0/otls/vop_vec2tohvec1.hdanc'),
(<hou.Parm taskgraphfile in /tasks/topnet1>, '$HIP/$HIPNAME.taskgraph.$F.py'),
(<hou.Parm pdg_workingdir in /tasks/topnet1/localscheduler>, '$HIP'))
(<hou.Parm baseNormal_texture in /obj/alarm_clock_01_1k_fbx/materials/alarm_clock_01>, '/home/BIG/3DStuff/Assets/alarm_clock_01_1ktextures/alarm_clock_01_nor_gl_1k.exr')
(<hou.Parm rough_texture in /obj/alarm_clock_01_1k_fbx/materials/alarm_clock_01>, 'Y:\\Poly Haven\\admin.polyhaven.com\\tmp\\Staging\\Models\\alarm_clock_01\\_upload\\fbx\\1k\\alarm_clock_01\\textures\\alarm_clock_01_rough_1k.jpg')
(<hou.Parm baseNormal_texture in /obj/alarm_clock_01_1k_fbx/materials/alarm_clock_01_glass>, '/home/BIG/3DStuff/Assets/alarm_clock_01_1k/textures/alarm_clock_01_nor_gl_1k.exr')
(<hou.Parm rough_texture in /obj/alarm_clock_01_1k_fbx/materials/alarm_clock_01_glass>, 'Y:\\Poly Haven\\admin.polyhaven.com\\tmp\\Staging\\Models\\alarm_clock_01\\_upload\\fbx\\1k\\alarm_clock_01\\textures\\alarm_clock_01_rough_1k.jpg')
[/code]
As in this case. It shows me really fast, why I don't get the render I want. The source of the FBX has set wrong paths for rough_texture
.What you could do is try this : Entagma short on "new" default scene [entagma.com]
entagma
In this tut we create a 123.py file which contains the command to merge a scene file into your new scene when Houdini launches: hou.hipFile.merge(“C:/Users/Your_User/Documents/houdini19.5/ mydefault.hip”)
Edited by GOgraphR - May 14, 2023 21:55:55
Technical Discussion » Why error?
- GOgraphR
- 67 posts
- Offline
And by the way.... I just noticed....
the vectovec2 has a typo in the parameter label. It reads "Input Vectorr"
the vectovec2 has a typo in the parameter label. It reads "Input Vectorr"
Technical Discussion » Why error?
- GOgraphR
- 67 posts
- Offline
Soothsayer
It looks like a bug to me. Submit it and see what they say.
Got it nailed !!!
Right click on the culprit, and open the
Type properties
.in the
Parameter
tab you will find that input 1 is called vec
input 2 is called avec
But then, in the Code tab $hvec = $vec2; setcomp($hvec, $avec2.x, 2); setcomp($hvec, $avec2.y, 3);
So the parameter interface has different variable names than the script expects.
New Code Should be then
$hvec = $vec; setcomp($hvec, $avec.x, 2); setcomp($hvec, $avec.y, 3);
And there we go! It should work as intended
Edited by GOgraphR - May 14, 2023 19:42:55
Technical Discussion » Combining two uneven Meshes
- GOgraphR
- 67 posts
- Offline
Would a merge and a following fuse be a help ? maybe preceded with a convert, to have polygons only ?
Edited by GOgraphR - May 13, 2023 14:12:49
-
- Quick Links