Philipp von Preuschen

CYTE

About Me

Expertise
Freelancer
Location
Germany

Connect

Recent Forum Posts

A task. Attribute blur by time. Oct. 26, 2021, 2:32 a.m.

Hey PVok,

I made an hda that uses CHOPS to do the time blurring. Keep in mind that this is very slow on complex/heavy geometry.

Cheers
CYTE

Any rumours of Houdini 19? Oct. 14, 2021, 3:38 p.m.

bobc4d
even H19 sneak peek video has a model which has horrible geo (6:52)
I think the geo is horrible because it is a low-res/auto-generated preview mesh.

Any rumours of Houdini 19? Oct. 8, 2021, 1:49 p.m.

eikonoklastes
The other day, on the Houdini Discord, someone asked if there was a way to copy a node and have a hotkey to immediately paste it as an Object Merge node with the correct reference.

I made a small python script that does that. You can paste it into a custom shelf tool and assign a hotkey to it.
It works like that: You select the node you want to have in an object merge. Then you press the hotkey. The next time you Ctrl+V an object merge will be pasted with the formerly selected node in it.

I use it all the time.
Cheers
CYTE

import hou
import os.path
import random

selectedNode = hou.selectedNodes()

basecolorr = random.random()
basecolorg = random.random()
basecolorb = random.random()


if len(selectedNode) !=1:
    hou.ui.displayMessage('Please select one Node')
else: 
    for node in selectedNode:
        nodePath = node.path()
        node.setUserData('nodeshape', 'chevron_down')
        node.setColor(hou.Color([basecolorr,basecolorg,basecolorb]))
      
        curPath = os.path.dirname(nodePath)
        
        objectMerge = hou.node(curPath).createNode('object_merge','MERGER')
        objectMerge.parm('objpath1').set(nodePath)
        objectMerge.setColor(hou.Color([basecolorr,basecolorg,basecolorb]))
        objectMerge.setUserData('nodeshape', 'chevron_up')
        objectMerge.setSelected(1,1)
        
        
        sel = hou.selectedNodes()
        hou.copyNodesToClipboard(sel)
        objectMerge.destroy()