You could try the fit expression. Something like this is the y channel:
fit($F,1,5,0,5)
which will move the object in y from 0 to 5 during frames 1-5.
If you have several objects that do the same motion but delayed in time, you could place in their y channels an expression like chf(“/obj/foo”, $F-3) … /obj/foo is the node you put the fit expression on. In this example, the y motion is delayed by 3 frames.
HTH
Found 152 posts.
Search results Show results as topic list.
Houdini Indie and Apprentice » how to use linear() as expression
- rdms
- 201 posts
- Offline
Technical Discussion » render points like particle
- rdms
- 201 posts
- Offline
luoqiulin
oh thank you very much
but the problem is the render shape
my purpose is to render it as disks
maybe i must use instance
Not sure what you're looking for. Are you wanting to control the size of the disks? On the render node inside a popnet there is the prsize parameter to do this. Does this help?
Technical Discussion » render points like particle
- rdms
- 201 posts
- Offline
luoqiulin
oh thank you very much
but the problem is the render shape
my purpose is to render it as disks
maybe i must use instance
Not sure what you're looking for. Are you wanting to control the size of the disks? On the render node inside a popnet there is the prsize parameter to do this. Does this help?
Houdini Indie and Apprentice » Creating a node to switch between inputs
- rdms
- 201 posts
- Offline
werwack
Hello,
I would like to create a new node which would have multiple inputs and that would output only one of them according to the value of its parameter (a slider or a combo box).
This is to easily switch between a primitove object and its proxy or between several primitive objects (sphere, cube…) in a geometry network.
Should I use a Vex node?
It there an other way to do so than creating a new node?
Thank you very much,
Werwack
Umm … switch SOP?
Houdini Lounge » Is mantra only for rendering balls and cubes?
- rdms
- 201 posts
- Offline
werwackLike any window, if you close it then you've lost it. You can minimize though.
Rob, small question for you: I detached the Render View window and it did exactly what I want so I saved the desktop.
I closed this window because I didn't need it permanently opened. Hum, how can I call it back?
I don't find it listed anywhere and it doesn't show up when I reload the desktop.
Do I have to create a completely new Render View? Activate the settings and tear the pane off again? Every time?
I just did a test of tearing off the Render View then saving a new desktop. When I restarted Houdini and selected the new desktop, the floating Render View window appeared.
If you save the hipfile then restart, the floating window doesn't remember the settings Maybe a RFE?
Not sure if I answered your question but I hope it helps.
Houdini Lounge » Is mantra only for rendering balls and cubes?
- rdms
- 201 posts
- Offline
werwackDid you know you can store renders in the Render View? (…)Well, no, I didn't. And thanks again for this tip.
In fact if I don't know that, and many other things I am sure, it is because for me there are some major weaknesses in the documentation regarding basic concepts and first steps for beginners. These tips are not mentionned either in the video tutorials I've seen so far because as good as they can be they cannot mention everything.
Totally agree. In the meantime, keep asking questions on these forums and keep those suggestions coming. We gotta a lot of talented & generous artists waiting to help
Houdini Lounge » Is mantra only for rendering balls and cubes?
- rdms
- 201 posts
- Offline
werwack
Hi,
- - the fact that when we start we usually prefer using the MPlay to receive the rendered images rather than the Render View (it is quite useful to be able to compare a result with previous one, in a floating window, and this approach is similar to Maya),
Did you know you can store renders in the Render View? RMB in viewport & select Color Correction. At the bottom you'll see a little camera icon. When you click on this, it will store the rendered image … with the name you provide in the field beside the icon. To the left of that you can scroll thru the memorized images or use the pull down menu.
And on the far right you have a method to compare images with one another; split, difference, blend, compare.
If you want, you could detach the pane and have a floating window of the Render View. So you can begin to see it's similar to Maya
Houdini Lounge » Is mantra only for rendering balls and cubes?
- rdms
- 201 posts
- Offline
werwack
- - We are many to prefer MPlay to the Render View because MPlay has these nice buttons allowing you to see every channels of the image independently.
RMB in viewport of Render View … select Color Correction … you'll see choices at bottom
Work in Progress » Light Dome | Preview
- rdms
- 201 posts
- Offline
claudio_101
Hey guy's,
One of the problems I'm still having is with the shadow maps.
I can't seem to get them working.
On pointLight_01 the shadow map doesn't work and on pointLight_02 it does.
Does anybody understand why this is happening.
I have attached a sample file.
Cheers
Well … not exactly sure what you mean by not working but I did notice that when you look thru pointLight_01 there is nothing visible. Therefore, your shadow map will be blank.
Houdini Lounge » Is mantra only for rendering balls and cubes?
- rdms
- 201 posts
- Offline
td3d
Sorry guys, I don't want to Compare Mantra vs Cinema 4D Advanced Render,
but Mantra is very, very, very, very, very and very slow!
Hmm … do you mean setting it up or actual rendering time? Are you talking about ray tracing? AO? Shadows? etc
It would be helpful if you could give/provide an example instead of a blanket statement.
Houdini Indie and Apprentice » instancepoint controlling delayed archive sequence
- rdms
- 201 posts
- Offline
kustaa
this technique would mean that i need to have one DRA shader for each archive file. would it be possible with just one DRA shader and overriding its file attribute per instance point?
You can use the same expression Soothsayer described if you want to randomly apply geometry to the points.
However, do you want to control exactly what geometry goes on what point? If so, then add an integer point attribute inside your grid object (call it foo). Use whatever technique you want to apply values to this new attribute. At the end of the SOP chain place a null SOP and call it OUT. This assumes your geometry is named nicely like geo1.bgeo, geo2.bgeo, etc.
Then in your shader put the expression in the file parameter something like:
$HIP/bgeo/geo`point(“/obj/grid/OUT”,instancepoint(),“foo”,0)`.bgeo
Does this help?
Houdini Lounge » Python scripting editor
- rdms
- 201 posts
- Offline
Just to be clear, I did set the sys.path to be something like /mypathtoHoudini/houdini/scripts/python (no $HFS) but gvim still crashed on import of hou module.
Houdini Lounge » Python scripting editor
- rdms
- 201 posts
- Offline
Getting slightly different results …
Using gvim 7.0.237, if I do
:python import sys
:python sys.path.append(“$HFS/houdini/scripts/python”)
:python import hou
it says it can't find hou. Looking at the path a bit closer, the $HFS didn't expand so I manually appended to the sys path and when I did python import hou, gvim crashed
Using gvim 7.0.237, if I do
:python import sys
:python sys.path.append(“$HFS/houdini/scripts/python”)
:python import hou
it says it can't find hou. Looking at the path a bit closer, the $HFS didn't expand so I manually appended to the sys path and when I did python import hou, gvim crashed
Houdini Lounge » Python scripting editor
- rdms
- 201 posts
- Offline
Technical Discussion » hou method for instancepoint?
- rdms
- 201 posts
- Offline
Is there a hou method that is equivalent to the instancepoint() expression? I want to take an expression like:
points(“/obj/geo”,instancepoint(),“foo”)
and convert to a python line.
points(“/obj/geo”,instancepoint(),“foo”)
and convert to a python line.
Technical Discussion » python script error
- rdms
- 201 posts
- Offline
Python does work. As Graham mentioned, you need to return with the groups quoted. In addition, you need to make sure the group parameter is turned into a python expression (the field becomes reddish magenta colour).
Houdini Lounge » how to make the Houdini UI look decent
- rdms
- 201 posts
- Offline
I also choose black for my viewport background which can be selected using the Display Options -> Background -> Color Scheme (though I do like your bg colour you use). Strange I don't see the transparent sphere on the handle though.
Technical Discussion » Stain & Blck spot Problem in my rendered surface
- rdms
- 201 posts
- Offline
Again, without an image &/or hipfile, it's really hard to give you a solution. However, if I was to guess …
If you have deforming surface, check to see if you have vertex normals on the geometry. If you do, delete them using an attribute SOP.
In terms of mantra slowness, enabling depth of field will increase your rendering times.
If you have deforming surface, check to see if you have vertex normals on the geometry. If you do, delete them using an attribute SOP.
In terms of mantra slowness, enabling depth of field will increase your rendering times.
Technical Discussion » Stain & Blck spot Problem in my rendered surface
- rdms
- 201 posts
- Offline
Ummm … a picture would be nice to see. Also a bit more information about type of shader, etc. Maybe a hipfile? Kinda tough to diagnose without info
Technical Discussion » Houdini textport weirdness
- rdms
- 201 posts
- Offline
10.0.545
My hscript textport no longer shows the prompt nor displays history on a saved hipfile. If I type the command prompt in the textport, it reports ‘->’ but it doesn't display this in the textport. I tried the following to no avail:
1) resourcing the 123.cmd
2) re-entering the prompt command manually by typing something like prompt ‘foo ->’.
3) renamed $HOME/houdini10.0 directory
As for the history, nothing appears when I type the command. If I open a brand new hipfile, everything works. I must be missing something obvious. Has anyone run into this before?
My hscript textport no longer shows the prompt nor displays history on a saved hipfile. If I type the command prompt in the textport, it reports ‘->’ but it doesn't display this in the textport. I tried the following to no avail:
1) resourcing the 123.cmd
2) re-entering the prompt command manually by typing something like prompt ‘foo ->’.
3) renamed $HOME/houdini10.0 directory
As for the history, nothing appears when I type the command. If I open a brand new hipfile, everything works. I must be missing something obvious. Has anyone run into this before?
-
- Quick Links