Found 194 posts.
Search results Show results as topic list.
Technical Discussion » "Auto-Link" with HScript?
- hoknamahn
- 398 posts
- Offline
Thanks, george, everything is crystal-clear now. But there is one question: where information about the parameter, which is used for autolinking, is stored? I don't see nothing similar in the Dialog Script.
Technical Discussion » "Auto-Link" with HScript?
- hoknamahn
- 398 posts
- Offline
Yes, opparm is usefull in callback scripts. But it's not same as autolinking (someone can explain the mechanism of autolinking?)
Technical Discussion » "Auto-Link" with HScript?
- hoknamahn
- 398 posts
- Offline
jrwillette, it's not so simple as you think
I'm always do chadd & chkey if it's possible. But this method is not usable for parameter type “toggle” (I don't know why). Therefore I looking for analog of “Auto- link” in HScript.
Maybe I will switch toggles by callback script.
I'm always do chadd & chkey if it's possible. But this method is not usable for parameter type “toggle” (I don't know why). Therefore I looking for analog of “Auto- link” in HScript.
Maybe I will switch toggles by callback script.
Technical Discussion » "Auto-Link" with HScript?
- hoknamahn
- 398 posts
- Offline
I mean the “Auto-Link” field in the custom op Parameters page. See the pic.
I.e. I'm looking for analog for this thing in HScript.
I.e. I'm looking for analog for this thing in HScript.
Technical Discussion » "Auto-Link" with HScript?
- hoknamahn
- 398 posts
- Offline
Technical Discussion » Bug: Hscript "while" loop structure
- hoknamahn
- 398 posts
- Offline
In this very case it doesn't matter, whether we've got “set somevar = 1” or “set somevar = `$somevar + 1`” - in this case I took the most simple loop checking condition. The problem is that in certain situations (this is a mistery for me) the loop runs as it should, in other cases it runs endlessly (hey, SESI?) and the only way to bypass this drawback is to put additional spaces - as I've shown above.
Technical Discussion » Bug: Hscript "while" loop structure
- hoknamahn
- 398 posts
- Offline
I've found a strange thing, concerning the organization of “while” loops in HScript. The strange thing is that a code of the following type:
set somevar = 0
while($somevar < 1)
set somevar = 1
end
loops. I've tried opening a copy of the code in Houdini's Textport window and running it. The result was as it had been predicted - the loop ran only once.
At last I came to a conclusion that you must put a space after “while” and an opening bracket, between the opening bracket and a condition, between the condition and the closing bracket, i.e.
while ( $somevar < 1 )
In this case the code runs as it should.
set somevar = 0
while($somevar < 1)
set somevar = 1
end
loops. I've tried opening a copy of the code in Houdini's Textport window and running it. The result was as it had been predicted - the loop ran only once.
At last I came to a conclusion that you must put a space after “while” and an opening bracket, between the opening bracket and a condition, between the condition and the closing bracket, i.e.
while ( $somevar < 1 )
In this case the code runs as it should.
Technical Discussion » Animation with HScript
- hoknamahn
- 398 posts
- Offline
I'm interested in the following question - whether it is possible to do the
following:
1. To play the animation, not running the process of scene playback, i.e.
not “pressing” the “play” button.
For example:
for i = 0 to 10 step 0.01
opparm /obj/model t ( $i 0 0 )
end
Thus, we sort of animate an object, but the script itself, as I understand
this, runs in the same thread, as Houdini's interface.
In result we get a UI “freeze” and we can only see the initial and the final
object's state. It is desirable to make script refresh UI at each step of
the cycle.
2. To make Houdini recurrently translate the current frame (by means of fcur
operator, for example), refreshing UI at the same time.
3. To make something that can use interruption by the timer or system
clocks, in order to, let's say, call a part of the code once in a second.
following:
1. To play the animation, not running the process of scene playback, i.e.
not “pressing” the “play” button.
For example:
for i = 0 to 10 step 0.01
opparm /obj/model t ( $i 0 0 )
end
Thus, we sort of animate an object, but the script itself, as I understand
this, runs in the same thread, as Houdini's interface.
In result we get a UI “freeze” and we can only see the initial and the final
object's state. It is desirable to make script refresh UI at each step of
the cycle.
2. To make Houdini recurrently translate the current frame (by means of fcur
operator, for example), refreshing UI at the same time.
3. To make something that can use interruption by the timer or system
clocks, in order to, let's say, call a part of the code once in a second.
Technical Discussion » Need help with expression
- hoknamahn
- 398 posts
- Offline
Technical Discussion » Need help with expression
- hoknamahn
- 398 posts
- Offline
You must use something like frame number or time. Say radius -= $F * scale_factor
Hope this help.
Hope this help.
Technical Discussion » A number of questions concerning the implementation of...
- hoknamahn
- 398 posts
- Offline
It would be interesting to get the answer to several questions, concerning the implementation of occlusion and irradiance functions:
1. Whether the form
vector occlusion(vector P, vector N, )
bent normals (or “average light direction”)' is used for sampling the data of an environment map?
2. As far as I know, the form
void occlusion(float &coverage, vector &missed_direction, )
presupposes that the user himself must sample the enivernment map according to the vector - missed_direction.
But here you get a problem. Putting missed_direction into environment(…) you get the picture different from the one you get, using the same environment map in the the first form of occlusion () - to tell the truth the resulting picture is totally wrong. What can be the reason of the problem?
3. Does “irradiance(…)” use “bent normals” and does it make sense using them? I think it makes no sense because the environment map is sampled in the same way as other objects in the scene.
4.Parameter “width”, which is used in the basic VEX Global Illumination Light (in irradiance and occlusion functions), is not supplied with documentation. Does it do anything with filtration?
1. Whether the form
vector occlusion(vector P, vector N, )
bent normals (or “average light direction”)' is used for sampling the data of an environment map?
2. As far as I know, the form
void occlusion(float &coverage, vector &missed_direction, )
presupposes that the user himself must sample the enivernment map according to the vector - missed_direction.
But here you get a problem. Putting missed_direction into environment(…) you get the picture different from the one you get, using the same environment map in the the first form of occlusion () - to tell the truth the resulting picture is totally wrong. What can be the reason of the problem?
3. Does “irradiance(…)” use “bent normals” and does it make sense using them? I think it makes no sense because the environment map is sampled in the same way as other objects in the scene.
4.Parameter “width”, which is used in the basic VEX Global Illumination Light (in irradiance and occlusion functions), is not supplied with documentation. Does it do anything with filtration?
Technical Discussion » RFE: Temporary Visibility Flag
- hoknamahn
- 398 posts
- Offline
Technical Discussion » RFE: Temporary Visibility Flag
- hoknamahn
- 398 posts
- Offline
Seems to be impossible to view infra red Paint SOP (with visibility flag on) in one view and textured object (with result of painted tension attribute) in other in one moment. All views will be “infra red”, right? :?
Technical Discussion » RFE: Use Mirror option in UVEdit SOP
- hoknamahn
- 398 posts
- Offline
Technical Discussion » RFE: Temporary Visibility Flag
- hoknamahn
- 398 posts
- Offline
It would be prefferable to have something like Temporary Visibility Flag in operator properties which works just like Visibility Flag, but it is
unique for the pane, thus when rendering only Visibility Flag should influence on visibility, and when modeling and viewing a scene in viewport the determining is determining Temporary Visibility Flag. Temporary Visibility Flag is established in the same way and corresponding to Visibility Flag by default, but the user at any moment could establish Temporary Visibility Flag of any operator. Thus, that would be possible to paint attribute tension in one pane, and to see its influence on a placement of a structure on models in the other one. Or i to see low poly geometry in a viewport, and in the other one the subdivided could be viewed.
So, the main target is - to have an opportunity to see the same conditions of one subnet separately in different panes.
unique for the pane, thus when rendering only Visibility Flag should influence on visibility, and when modeling and viewing a scene in viewport the determining is determining Temporary Visibility Flag. Temporary Visibility Flag is established in the same way and corresponding to Visibility Flag by default, but the user at any moment could establish Temporary Visibility Flag of any operator. Thus, that would be possible to paint attribute tension in one pane, and to see its influence on a placement of a structure on models in the other one. Or i to see low poly geometry in a viewport, and in the other one the subdivided could be viewed.
So, the main target is - to have an opportunity to see the same conditions of one subnet separately in different panes.
Technical Discussion » Mantra AA
- hoknamahn
- 398 posts
- Offline
Wren, there is 3 parameters for AA: super sampling, jitter and AA filter. Try to set jitter to zero (if it's a still image) and play with different filter types. Maybe set supersample 4x4. It is possible to find the compromise
DaJuice, is it same to
DaJuice, is it same to
This option (-v option on the command line to mantra) can be used to specify a different anti-aliasing mechanism. Variance Anti-aliasing takes an argument which specifies the acceptable tolerance in color contrast between pixels. If the tolerance is not met, anti-aliasing is performed. This will anti-alias areas of the image which tend to have aliasing (i.e. edges of primitives, texture maps). Increasing the value of the variance (maximum of 1) results in faster renderings. Decreasing the value (min- imum of 0) produces higher quality images.
Technical Discussion » Houdini and locales
- hoknamahn
- 398 posts
- Offline
How Houdini interacts with different locales?
I have a russian locale, LANG=“ru_RU.KOI8-R”.
When I start Houdini I see an error message “save_lang=ru_RU.KOI8-R load failed: No such file or directory”. What does it mean? Just want to understand what Houdini want and what I must do.
For now I'm set LANG to empty string and start houdini. No errors but it's not very good
I have a russian locale, LANG=“ru_RU.KOI8-R”.
When I start Houdini I see an error message “save_lang=ru_RU.KOI8-R load failed: No such file or directory”. What does it mean? Just want to understand what Houdini want and what I must do.
For now I'm set LANG to empty string and start houdini. No errors but it's not very good
Technical Discussion » Refreshing Textures
- hoknamahn
- 398 posts
- Offline
Yes, texcache -c can solve a problem but it's not very good and effective method especially if frequent change and survey of texture is required. it would be better to have the capability to disable texture cache with the possibility of the automatic update of the textures.
Houdini Lounge » KDE 3.3a
- hoknamahn
- 398 posts
- Offline
Houdini Lounge » KDE 3.3a
- hoknamahn
- 398 posts
- Offline
NTmatter2, can you describe KDE 3.3 setup/update process?
I attempt to update KDE 3.2 to 3.3.
The necessary packages are prescribed in /etc/portage/package.keywords, but errors appear.
bash-2.05b# emerge -uD kde
Calculating dependencies
!!! Problem in kde-base/kde dependencies.
!!! “Specific key requires an operator (kde-base/kdebindings-3.3.0) (try adding an ‘=’)”
and
bash-2.05b# emerge -uD /usr/portage/kde-base/kde/kde-3.3.0.ebuild
Calculating dependencies \Traceback (most recent call last):
File “/usr/bin/emerge”, line 2528, in ?
retval,favorites=mydepgraph.select_files(myfiles)
File “/usr/bin/emerge”, line 865, in select_files
if not self.create(,None,“–onlydeps” not in myopts):
File “/usr/bin/emerge”, line 825, in create
if not self.select_dep(“/”,mydep,myparent=mp,myuse=myuse):
File “/usr/bin/emerge”, line 962, in select_dep
myeb=portage.portdb.xmatch(“bestmatch-visible”,x)
File “/usr/lib/portage/pym/portage.py”, line 4699, in xmatch
myval=best(self.xmatch(“match-visible”,None,mydep,mykey))
File “/usr/lib/portage/pym/portage.py”, line 4710, in xmatch
myval=match_from_list(mydep,self.xmatch(“list-visible”,None,mydep,mykey))
File “/usr/lib/portage/pym/portage.py”, line 4696, in xmatch
myval=self.gvisible(self.visible(self.cp_list(mykey)))
File “/usr/lib/portage/pym/portage.py”, line 4806, in gvisible
if db.dbapi.xmatch(“bestmatch-list”, mykey, None, None, ):
File “/usr/lib/portage/pym/portage.py”, line 4703, in xmatch
myval=best(match_from_list(mydep,mylist))
File “/usr/lib/portage/pym/portage.py”, line 3537, in match_from_list
raise KeyError, “Specific key requires an operator (%s) (try adding an ‘=’)” % (mydep)
KeyError: “Specific key requires an operator (kde-base/kdebindings-3.3.0) (try adding an ‘=’)”
What they do indicate and as correct to establish KDE 3.3?
I attempt to update KDE 3.2 to 3.3.
The necessary packages are prescribed in /etc/portage/package.keywords, but errors appear.
bash-2.05b# emerge -uD kde
Calculating dependencies
!!! Problem in kde-base/kde dependencies.
!!! “Specific key requires an operator (kde-base/kdebindings-3.3.0) (try adding an ‘=’)”
and
bash-2.05b# emerge -uD /usr/portage/kde-base/kde/kde-3.3.0.ebuild
Calculating dependencies \Traceback (most recent call last):
File “/usr/bin/emerge”, line 2528, in ?
retval,favorites=mydepgraph.select_files(myfiles)
File “/usr/bin/emerge”, line 865, in select_files
if not self.create(,None,“–onlydeps” not in myopts):
File “/usr/bin/emerge”, line 825, in create
if not self.select_dep(“/”,mydep,myparent=mp,myuse=myuse):
File “/usr/bin/emerge”, line 962, in select_dep
myeb=portage.portdb.xmatch(“bestmatch-visible”,x)
File “/usr/lib/portage/pym/portage.py”, line 4699, in xmatch
myval=best(self.xmatch(“match-visible”,None,mydep,mykey))
File “/usr/lib/portage/pym/portage.py”, line 4710, in xmatch
myval=match_from_list(mydep,self.xmatch(“list-visible”,None,mydep,mykey))
File “/usr/lib/portage/pym/portage.py”, line 4696, in xmatch
myval=self.gvisible(self.visible(self.cp_list(mykey)))
File “/usr/lib/portage/pym/portage.py”, line 4806, in gvisible
if db.dbapi.xmatch(“bestmatch-list”, mykey, None, None, ):
File “/usr/lib/portage/pym/portage.py”, line 4703, in xmatch
myval=best(match_from_list(mydep,mylist))
File “/usr/lib/portage/pym/portage.py”, line 3537, in match_from_list
raise KeyError, “Specific key requires an operator (%s) (try adding an ‘=’)” % (mydep)
KeyError: “Specific key requires an operator (kde-base/kdebindings-3.3.0) (try adding an ‘=’)”
What they do indicate and as correct to establish KDE 3.3?
-
- Quick Links