Jump to content

Juraj

Members
  • Content count

    382
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Juraj

  1. GLSL shader questions

    Hello, I would like to experiment with GLSL shaders in Houdini viewport a bit, but I had very little success yet As a simple thing I would like to create a "matcap" shader, I have this shader in mantra and it works well, but it is quite simple logic in it and I would like to try it out in GLSL as well. I tried two approaches for creating glsl shaders: New Operator Type - SHOP Type - GLSL Shader This approach does not give me any results, the default shader has quite complex code and in the viewport I can see only white color. I tried to modify couple of variables in the code to at least change color from white to red, but unsuccessfully Reference ogl_glsl_shader parameter on a shader pointing to shader.prog file which references to shader.frag and shader.vert This gives me results in the viewport and works quite well, however I do not know how to reference node's parameter value to the GLSL variables. I created those files based on examples in $HFS/houdini/glsl //fragment shader in vec2 matUv; out vec4 color; uniform sampler2D tex; void main() { vec3 base = texture2D( tex, matUv ).rgb; color = vec4( base, 1. ); } First question: how can I reference parameter on the node to the tex variable in opengl? When googling I found some examples which implied that only creating string parameter tex should work, but when running their example files I never got any result in the viewport. Second question: is this the correct workflow? How could I achieve the same thing with New Operator Type workflow? Do you have some simple examples of those nodes with basic shading? E.g. sampling a texture, using constant color... Thanks for any clarification, Juraj
  2. Hello, I'm playing with bullet dynamics in Houdini. But I'm having quite often one problem - strange motion in e.g. small shards on ground plane. They don't stop moving even after few seconds after they fell on the floor. They are not changing position but just slightly rotating. This motion seems to go on and on... According to docs Linear/Angular Treshold parameter in RBD Packed Object should fix it, but it doesn't seem to have any effect. Have you experienced this type of error and if - have you solved it? Thanks
  3. Juraj's playground

    Quick tip about converting dense SDF volumes to VDB SDF volumes.
  4. Juraj's playground

    Hello community, I am creating this thread where I will be posting links to my tests, experiments, RnD's and other uncategorizable stuff. Also often I will include scene files so feel free to explore them and to learn how not to do things ...hope it will help somebody, somehow. Juraj
  5. Juraj's playground

    Houdini tip | Assets versioning workflow
  6. Cool work guys, thanks for sharing and for the effort
  7. Juraj's playground

    Hello, check out my latest article: Remote debugging of Python running in VFX applications (Houdini, Maya, Blender, Nuke..)
  8. Juraj's playground

    Check out my latest project - creating an open library full of learning resources about various areas of VFX. It has many houdini-related presentations and theses. library: https://github.com/jtomori/vfx_good_night_reading blog post: https://jurajtomori.wordpress.com/2018/06/11/learning-resources-about-vfx-and-cg/
  9. Volume deform tool

    Hi, I tried to do a tool that will enable user to deform volume by lattice. Here you can find my results. I found many many good example files on this forum so I thought I would share this Hope you will like it Juraj project.hipnc
  10. Juraj's playground

    Generating documentation for Houdini Python modules (toolutils and others) https://jurajtomori.wordpress.com/2018/05/28/houdini-tip-houdini-python-modules-documentation/
  11. Point VOP error on Ubuntu

    Hello, I had a similar issue recently on ubuntu mate 16.04.04 lts. I could not get Attrib VOPs from scenes from different builds working and it was very buggy. I always got Vex error ;_name@ Undefined op code Failed loading function Unable to load shader. I was also getting No LSB modules are available. error message after starting Houdini (16.5+) into terminal. LC_ALL = C setting did not help me, but what solved my issue was to install lsb-core package and reboot. So on ubuntu simply run: $ sudo apt-get install lsb-core and reboot. I am posting it here in case somebody has similar problems.
  12. Juraj's playground

    Hello, check my latest tool which I would like to share with you: Batch textures conversion. Find out more on Github or my blog post. https://github.com/jtomori/batch_textures_convert https://jurajtomori.wordpress.com/2018/05/25/batch-textures-conversion-tool/
  13. Juraj's playground

    Houdini tip | Open parameter path in file browser
  14. Juraj's playground

    Houdini tip | Render any node in background
  15. Juraj's playground

    New Houdini tip: Using HOU module in Visual Studio Code. https://jurajtomori.wordpress.com/2018/02/20/houdini-tip-using-hou-module-in-visual-studio-code
  16. pluralize vex

    Seriously? http://www.sidefx.com/docs/houdini/vex/functions/pluralize Can we get a function that will translate things into another language? Or maybe a spell check?
  17. Juraj's playground

    Houdini tip: Camera auto-focus using Python expression https://jurajtomori.wordpress.com/2018/02/06/houdini-tip-camera-auto-focus/
  18. Hello, I wonder if it is an intention to have social media icons at every site here to point to web design company pages Juraj
  19. Juraj's playground

    Feel free to check this tutorial / collection of VEX snippets I prepared. I tried to cover many different areas of VEX scripting, mostly stuff I found useful.
  20. Juraj's playground

    Houdini tip | Faster saving of scenes on network drives Simple houdini env var which will speed up saving of large scenes especially notable on network shares.
  21. Juraj's playground

    Houdini tip | sRGB preview inside Houdini and Mplay Here I show how to set up a sRGB preview color space inside Houdini which will match Nuke's default preview color space
  22. Juraj's playground

    Houdini tip | Taking advantage of environment variables In this post I show some examples of using environment variables to set up multiple configurations of Houdini for both windows and linux.
  23. I AM DYSLEXIC

    Hello, I AM DYSLEXIC - a very nice student project I worked on back in 2015 just got published, I did FX for it, all in Houdini, then handed over caches to lighting and rendering guys (rendered in Mental Ray in Maya). I really like visual style and it was really interesting to do some effects for this style of animation. Enjoy Short breakdown: 00:48 - paper (cloth) sim, a proxy collision geo of hero character was animated and used for interactions 03:22 - RBD simulation advected by hand-drawn guide curves and underlying FLIP simulation, some VDB meshes for hill filling, procedurally generated pages between books with fake dynamics (even though they got totally lost in the renders)
  24. Juraj's playground

    I wrote a guide on writing simple node operating on OpenVDB volumes in HDK: Creating simple C++ OpenVDB node in HDK What it does is basically: the node will take a VDB volume as an input and point cloud, then at position of each point it will activate matching voxel in VDB volume. You can also check repository with the code: VDB Activate from Points
  25. Juraj's playground

    Compiling DreamWorks OpenVDB C++ nodes for Houdini on Linux and another guide - how to add DreamWorks OpenVDB nodes into your Houdini
×