Jump to content

Search the Community

Showing results for tags 'openvdb'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Lounge/General chat
    • Education
    • Jobs
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 7 results

  1. Hi, Can someone help, and explain why after translating a cube up in sops, on the geometry node to postion a box on top of another box. then making it a RBD object. then simply add a deactivate object from the shelf tools, why my pivot and object change position when I jump into dops. Perhaps Im missing something silly here, anyone help please? thanks in advance.
  2. Vdb to Field Microsolver

    Advanced sourcing for Houdini. it’s not only 10-100x faster but also gives more control over sourcing especially when many sources involved in sim. Houdini16 Hipfile with examples included https://github.com/abryutinalexey/vdb_to_field
  3. I'm trying to figure out how to create an OpenVDB volume by writing out the voxels, to make a custom SOP. The OpenVDB Hello World example goes something like this: // Initialize the OpenVDB library. This must be called at least // once per program and may safely be called multiple times. openvdb::initialize(); // Create an empty floating-point grid with background value 0. openvdb::FloatGrid::Ptr grid = openvdb::FloatGrid::create(); // Get an accessor for coordinate-based access to voxels. openvdb::FloatGrid::Accessor accessor = grid->getAccessor(); // Define a coordinate with signed indices. openvdb::Coord xyz(5, 5, 5); // Set the voxel value at (5, 5, 5) to 1. accessor.setValue(xyz, 1.0); But now how would I get this to work in Houdini in my "cookMySop()" function? How do I attach this grid to a GU_PrimVDB (or something) to actually create the OpenVDB primitive in Houdini? Could I get a Houdini-specific "Hello World" example?
  4. How to write to VDB?

    Scripting in python, I can programmatically create a volume sop and then use setVoxel() or setAllVoxels() to fill in the voxels with data. ( http://archive.sidefx.com/docs/houdini15.0/hom/hou/Volume ) How can I do this with a VDB? I thought it should be somewhat similar, but there are no "set" functions I can call. ( http://archive.sidefx.com/docs/houdini15.0/hom/hou/VDB )
  5. I am having quite a bit of troubles accessing SOP OpenVDB nodes from Houdini 12.1 after compiling OpenVDB 2.0. I manage to compile both the Core Library and Houdini Tooklit. I successfully installed the library here : $HOME/dev/openvdb/ and $HOME/houdini12.1/dso/ contains all the *.so 10212 -rwxrwxr-x 1 alexp artist 10456537 Nov 20 12:52 SOP_OpenVDB_Advect_Level_Set.so* 856 -rwxrwxr-x 1 alexp artist 876302 Nov 20 12:52 SOP_OpenVDB_Advect_Points.so* ... 764 -rwxrwxr-x 1 alexp artist 781040 Nov 20 13:05 SOP_OpenVDB_Visualize.so* 356 -rwxrwxr-x 1 alexp artist 364020 Nov 20 13:05 SOP_OpenVDB_Write.so*[/CODE] At this point , I thought It would be enough to open Houdini and at the Geometry level I should already be able to access all the VDB_* nodes. For some reason it's not working for me. I checked the variable HOUDINI_DSO_PATH using 'hconfig -a | grep DSO ' from my linux (Debian) shell and this is the feedback: [CODE] HOUDINI_AUDIO_DSO_PATH := '<not defined>' HOUDINI_DISABLE_IMAGE_DSO := 0 HOUDINI_DSO_ERROR := 0 HOUDINI_DSO_EXCLUDE_PATTERN := '<not defined>' HOUDINI_DSO_PATH := '<not defined>' HOUDINI_IMAGE_DSO_PATH := '<not defined[/CODE]>' Which (please correct me if i am wrong) means that Houdini should search for dso's in "@/dso_^;@/dso" by default. Which expands to: 1) "$HIP/dso" 2) "$HOME/houdini12.1/dso" (<---this is where my SOP_OpenVDB_* files are) 3) "$HFS/houdini/dso" What i tried with no luck: - copy the files to /opt/hfs12.1/houdini/dso - edit $HOME/houdini12.1/houdini.env [append] HOUDINI_DSO_PATH= /home/alexp/houdini12.1/dso/ .. and restart houdini from a new shell. Nothing seems to work. Does anyone has any clue about why I cannot access OpenVDB 2.0.0 dso's from Houdini 12.1 ?
  6. I am trying to access the data in a VDB sdf volume container that I use as a 3rd input in my node. I managed to install the openvdb headers and everything seems to compile just fine. All I'd like to do is basically access the distance and gradient values in the vdb sdf, given a world space position. I found this beautiful method which seems to address the gradient question... UT_Vector3 GEO_PrimVDB::getGradient ( const UT_Vector3 & pos ) const And this is the code snippet I am using: GU_Detail *sdfInput = new GU_Detail; duplicateSource(2, context,sdfInput); GU_PrimVDB myVDB(sdfInput,0); UT_Vector3 samplepos(1.0,0.0,0.0); UT_Vector3 gradient; gradient=myVDB.getGradient(samplepos); // <--- CRASH [/CODE] ... but when I try to use it , Houdini crashes (it crashes only on the line where I use getGradient method, it doesn't crash when I define *myVDB) I couldn't find the method to access the distance value by the way. I am pretty sure I am doing something terribly wrong cause of my limited c++ knowledge Can someone help me to correct the above code snippet and add the method to access the 'distance' data ?
  7. cmiVFX Releases New Houdini Frictional Viscosities In Motion High Definition Training Videos for the Visual Effects Industry Princeton, NJ (May 24th, 2013)‚ cmiVFX has released Visco-Elastic Fluids in Houdini. This video is based around the theme of Learn, Test & Create. Firstly we'll be covering basic ways of producing a Jiggly / Squishy effect without heavy techniques. We'll also be learning about adding Microsolvers into Houdini's solvers and using a ready made group of microsolvers wrapped in a digital asset. Next we'll cover a workflow for Testing the different parameters of a simulation. As sometimes there are many different values you'd want to try, we'll set up a simulation and run it many times with certain values changed - then bring them all side-by-side for comparison. Finally we will Create an exploding egg with elasticity, setting up egg white and egg yolk in a cool slow motion scene. As a bonus chapter, we will create an "Exploder" digital asset and import forces for use in Fluids / Pyro / RBD. This video also looks at some brand new Houdini 12.5 features such as Open VDB tools and the Point Wrangle node. VIMEO TEASER https://vimeo.com/66951165 Short Description This video covers going deeper into Houdini's Solvers and DOP context. Using microsolvers and digital assets we'll add Visco-Elastic functionality that isn't in the FLIP solver by default. We'll follow a path of Learn, Test and Create which could be applied to any new techniques and effects you might try in Houdini. NOTICE TO VIEWERS: (A basic understanding of SideFX Houdini functionality and use is recommended before viewing this lesson.) Here at cmiVFX we maintain a current training library for the latest versions of popular software titles. When it comes to high end CG and VFX training, there is only once choice... cmiVFX! |||||||||||||||||||||| Houdini Frictional Viscosities In Motion |||||||||||||||||||||| http://cmivfx.com/st...nal Viscosities Chapter Descriptions Jiggle And Squish To start off we'll be looking at some methods of achieving some jiggle and squishy motion without using flip fluids. The aim is to see if we can get a good result with lower level tools instead of diving straight into a higher technique. This could save a lot of valuable time developing a shot. Microsolvers Intro This chapter is about getting a better understanding of how microsolvers work within a solver. We'll perform some R&D to recreate how non-newtonian fluids act in real life, adding extra functionality to the base FLIP solver. Elasticity Intro We will be using an asset that uses some microsolvers to add Visco-Elastic properties to the FLIP solver. Much like if handed the asset in a production environment, we will learn how its created and cover the basics of how to use it. Tests Create Now we know how microsolvers and the elasticity asset work, lets create some tests to see the effect different parameters have. To start with we will set up a zombie head to melt into gloop. Tests Wedge In this chapter we will look into how we can efficiently run a simulation any number of times, changing values in each version. We'll set up 5 variations of the same simulation using Takes and the Wedge Rop, and cover how to use either random or precise values for each. Tests Mesh With our simulation variations cached to disk, we can use the wedge ROP again to mesh each one. We will also look at some new features in Houdini 12.5 such as Open VDB and Point Wrangle. Tests Display As a small final chapter for this section, we will lay out our different tests side by side so we can directly compare the differences in each one. This will really emphasize differences and allow for direct comparisons. Egg Setup So finally lets create! This chapter we'll get our simulation up and running. We'll create an egg that has different color, viscosity and refraction for the egg white and yolk. Egg Elastic In this chapter we will create a flexible system that will give us impulse / explosion velocities. Alongside this we can add on the elasticity asset and get our egg looking cool! Egg Finish Finally we'll cover some finishing touches. I'll look at the final simulation and mesh settings i used, as well as looking into notes points for rendering. We'll use the new Open VDB tools to create the egg yolk interior and add our custom refraction parameter into a shader. BONUS! Exploder Asset As a bonus chapter, we'll look into turning the system we made in chapter 09 into a digital asset. We'll then use this asset to affect Pyro / Fluid simulations and RBD's! About the Instructor Craig Tonks is a young VFX Artist out to create beautiful and exciting images. With an MA in Digital Effects and a growing number of VFX jobs under his belt the future is bright and fun! His passion for playing in Houdini whilst combining both artistic and technical methods makes for fun and explorative videos. Always on the lookout for work, friends and feedback you can contact him at: craig@mrtonks.co.uk Additional Credit Special Thanks to John Lynch for his research and hard work that resulted in this excellent visco-elastic flip OTL asset. (included in project files) Project Contents All cmiVFX videos come with all the training materials you can need right from our website. No matter what time of day, your location, or how your feeling, cmiVFX will be there waiting for you! This video is available today at the cmiVFX Store: http://store.cmivfx.com/ About cmiVFX cmiVFX is the leader in High Definition Video Training for the Visual Effects Community. Register for FREE and receive hours of FREE content at the cmiVFX Video-on-Demand Player.For additional information about cmiVFX, visit http://www.cmivfx.com or email eric@cmivfx.com © 2013 cmiVFX | cmiStudios | cmiUniverse. All rights reserved.