Yunus Balcioglu

animatrix_

About Me

専門知識
Technical Director
Location
Canada
ウェブサイト

Senior FX Technical Director @ Industrial Light & Magic | Feature film credits include: Star Wars: The Rise of Skywalker, X-Men: Dark Phoenix, Aquaman, Alien: Covenant, Pirates of the Caribbean: Dead Men Tell No Tales and many more

Connect

My Talks

obj-image Worldwide HUG
Retiming Ocean Spectra & The Pragmatic Approach to Solving Technical Problems in VFX

My Tutorials

obj-image Advanced
Pragmatic VEX 1 | Implementing Catmull-Clark Subdivision | Introduction & Rules
obj-image Advanced
Pragmatic VEX 1 | Gradient Ascent, Descent & Contour Lines | Heightfields
obj-image Advanced
Pragmatic VEX 1 | Gradient Ascent & Descent | Contour Lines
obj-image Advanced
Pragmatic VEX 1 | Gradient Ascent & Descent | 3D Geometry
obj-image Advanced
Pragmatic VEX 1 | Gradient Ascent & Descent | Planar Geometry
obj-image Advanced
Pragmatic VEX Volume 1

Recent Forum Posts

Vex equivalent of Group Expand node? 2021年2月12日9:25

Hi,

You can use neighbours and polyneighbours functions:
https://www.sidefx.com/docs/houdini/vex/functions/neighbours.html [www.sidefx.com]
https://www.sidefx.com/docs/houdini/vex/functions/polyneighbours.html [www.sidefx.com]

This one does it for points:

function int [ ] getPointNeighbours ( int geo; int ptindex; int depth; int accumulate )
{
    int pts [ ] = array ( ptindex );
    int lastpts [ ] = pts;
    
    for ( int i = 0; i < depth; ++i )
    {
        int newpts [ ] = { };
        foreach ( int pt; lastpts )
        {
            int connected [ ] = neighbours ( geo, pt );
            foreach ( int c; connected )
            {
                if ( find ( pts, c ) < 0 )
                {
                    append ( pts, c );
                    append ( newpts, c );
                }
            }
        }
        lastpts = newpts;
    }
    
    if ( accumulate )
        return pts;
    else
        return lastpts;
}

int pts [ ] = getPointNeighbours ( 0, 42, chi("depth"), chi("accumulate") );
foreach ( int pt; pts )
    setpointgroup ( 0, "pts", pt, 1 );

Good resources for learning VOPs? 2021年1月27日2:05

Best exercise you can do is to get a good VEX course and try to do it using VOPs

Network over the viewport 2021年1月9日0:08

If you want to have this feature, feel free to send SESI an RFE (feature request)