Sorry for the late reply Graham.
Assinging hotkey to a tool that calls the function worked like a charm. But tell me, is it not possible to store these hotkey settings within a digital asset.?
Found 52 posts.
Search results Show results as topic list.
Technical Discussion » Assigning Custom hotkey to a python function
- Raavenish
- 52 posts
- Offline
Technical Discussion » HOM question: Querying current selected point.
- Raavenish
- 52 posts
- Offline
Hello everyone,
What is the HOM command to query the currently selected point.?
Thanks in advance.
What is the HOM command to query the currently selected point.?
Thanks in advance.
Technical Discussion » Assigning Custom hotkey to a python function
- Raavenish
- 52 posts
- Offline
Thanks a lot for such a quick reply Graham. I ll go through these links and get back to you.
Technical Discussion » Assigning Custom hotkey to a python function
- Raavenish
- 52 posts
- Offline
Hello everyone,
How to assign a hotkey (keyboard shortcut) to a python function defined inside an OTL.? I tried searching the documentation and forum regarding this but i couldnt find it out. Kindly help me out with this.
Thanks a lot in advance.
How to assign a hotkey (keyboard shortcut) to a python function defined inside an OTL.? I tried searching the documentation and forum regarding this but i couldnt find it out. Kindly help me out with this.
Thanks a lot in advance.
Technical Discussion » Currently active shape
- Raavenish
- 52 posts
- Offline
Technical Discussion » Currently active shape
- Raavenish
- 52 posts
- Offline
Hello all,
I have 3 objects connected to a blend shape node and their blending is keyframed. My question is, is there a function in HScript or HOM that returns the currently active shape.?
Cheers.
I have 3 objects connected to a blend shape node and their blending is keyframed. My question is, is there a function in HScript or HOM that returns the currently active shape.?
Cheers.
Technical Discussion » Render batch of ifd's
- Raavenish
- 52 posts
- Offline
Hi,
For some reason it dint work to me as well. So i wrote a simplified version of it which works for me well and here it is..
Just save this code as .bat file in the dir where u have ur IFDs.
SET pathName = test.
SET start = 1
SET end = 20
(
FOR /l %%V IN (%start%,1,%end%) DO mantra -f %pathName%_%%V.ifd
)
pause
In the pathName, enter your IFD name and ur starting and ending frames in the start and end respectively.
Then execute it from ur houdini command line tools.
Hope this helps.
For some reason it dint work to me as well. So i wrote a simplified version of it which works for me well and here it is..
Just save this code as .bat file in the dir where u have ur IFDs.
SET pathName = test.
SET start = 1
SET end = 20
(
FOR /l %%V IN (%start%,1,%end%) DO mantra -f %pathName%_%%V.ifd
)
pause
In the pathName, enter your IFD name and ur starting and ending frames in the start and end respectively.
Then execute it from ur houdini command line tools.
Hope this helps.
Technical Discussion » Grouping the shared primitives
- Raavenish
- 52 posts
- Offline
Technical Discussion » Grouping the shared primitives
- Raavenish
- 52 posts
- Offline
Hello guys,
I have two primitive groups in my scene. Some prims are common in both the groups. Is there a way to group the shared prims in a different group.? Should be an easy task but i couldnt find a way to do it.
I have two primitive groups in my scene. Some prims are common in both the groups. Is there a way to group the shared prims in a different group.? Should be an easy task but i couldnt find a way to do it.
Technical Discussion » Pointgroups and Foreach
- Raavenish
- 52 posts
- Offline
U can fuse multiple pointgroups using a copy sop. Take a look at the attached file. Hope this helps u.
Technical Discussion » Problem in lighting the particles
- Raavenish
- 52 posts
- Offline
No Peter, im not using clusterThis because i couldnt find a dso that was compiled for houdini10 and win64. If someone in this forum has one and ready to share, it will be of great help.
Technical Discussion » Problem in lighting the particles
- Raavenish
- 52 posts
- Offline
I think i found out how to export the normal plane. I did just by adding an extra image plane in the mantra rop and mentioning the VEX variable as N..?
Am i right.?
Am i right.?
Technical Discussion » Problem in lighting the particles
- Raavenish
- 52 posts
- Offline
Thanks a lot Jeff. Turning on raytracing in the mantra rop did the trick.
And can someone tell me how to export the normal plane to the mantra rop.?
And can someone tell me how to export the normal plane to the mantra rop.?
Technical Discussion » Problem in lighting the particles
- Raavenish
- 52 posts
- Offline
Peter, I have attached a simplified scene file in my first post. It would be very helpful if you could see it and tell me is that the camera's clipping plane that causing this issue..
Technical Discussion » Problem in lighting the particles
- Raavenish
- 52 posts
- Offline
try assigning a constant shader to it.The problem was not there when i applied a constant shader to my particles.
You can delete the N attribute or assign it to (1,0,0) or a value that is facing the camera.I assigned the normals to (0,1,0) since the camera is on top of the particles but the problem is still there.
Technical Discussion » Problem in lighting the particles
- Raavenish
- 52 posts
- Offline
If you position a default sphere at the same position, does the shading of the sphere behave strangely as well?
i tried with sphere and also another set of particles. Sphere rendered out well but the particles dint. The same prob existed with particles.
And i try assigning a constant shader and then normals and will let u know. Thanks a lot peter.
Technical Discussion » Problem in lighting the particles
- Raavenish
- 52 posts
- Offline
also turn each light on and off to check which light is causing the problem.I have already tried turning on and off the lights and replacing the spot lights with directional lights. Nothing helped me really.
perhaps attributes that are coming from the particles that are causing that strange shading (perhaps N).
And i just noticed that my particles doesnt have an attribute called normal. But the emitter that emits it has normals and i have mentioned the particles to inherit the attributes in the source pop under Attributes tab. Wont that inherit the normals from the emitter.? If not how to go about assigning normals to these particles.?
Thanks a lot in advance.
Technical Discussion » Problem in lighting the particles
- Raavenish
- 52 posts
- Offline
Technical Discussion » Problem in lighting the particles
- Raavenish
- 52 posts
- Offline
Hello guys,
I have a scene with a lot of particles in it. It is been lit by three spot lights. The camera is on top of the particles.
When i render my scene, i get the following output. Can someone please tell me whats the problem and how to solve it.?
I have a scene with a lot of particles in it. It is been lit by three spot lights. The camera is on top of the particles.
When i render my scene, i get the following output. Can someone please tell me whats the problem and how to solve it.?
Technical Discussion » Rendering IFDs
- Raavenish
- 52 posts
- Offline
Thanks a lot for replying Symek. Infact the command i used to render out IFDs from the command line was
mantra -f test_%%V.ifd
where %%V is the frame number. This solves one issue but could someone tell me why am i getting “Command not found” when i execute “hrender -h” in the command line..?
mantra -f test_%%V.ifd
where %%V is the frame number. This solves one issue but could someone tell me why am i getting “Command not found” when i execute “hrender -h” in the command line..?
-
- Quick Links