[1] https://www.babylonjs.com/
Software Developer, Programming, Web resources and entertaiment. Desarrollo de software, programaciĆ³n, recursos web y entretenimiento.
[1] How to use textures on Houdini
http://wordpress.discretization.de/houdini/home/advanced-2/textures/
[2] Repository of textures with normals
https://opengameart.org/content/50-free-textures-4-normalmaps
[3] Textures for Blender
https://polyhaven.com/textures/brick/outdoor/wall
[4] HDRs (Environment Ilumination patterns) https://polyhaven.com/hdris
def save2grid(filename,volume,dimx,dimy,dimz): with open(filename, "wb") as file: for i in range(dimx): for j in range(dimy): for k in range(dimz): f = (volume[i][j][k]*255).astype(np.uint8) #numpy.uint8 #print(type(f)) b = struct.pack('B', f) #was f file.write(b) def save2gridfast(filename,volume,dimx,dimy,dimz): flat=volume.reshape((dimx*dimy*dimz)) flat=(flat*255).astype(np.uint8) with open(filename, "wb") as file: b = struct.pack('%sB' % len(flat), *flat) file.write(b)
Python version for floats
def save2grid(filename,volume,dimx,dimy,dimz): with open(filename, "wb") as file: for i in range(dimx): for j in range(dimy): for k in range(dimz): f = volume[i][j][k] #[3.14, 2.7, 0.0, -1.0, 1.1] b = struct.pack('f', f) file.write(b) def save2grid2(filename,volume,dimx,dimy,dimz): flat=volume.reshape((dimx*dimy*dimz)) with open(filename, "wb") as file: for i in range(dimx*dimy*dimz): f = flat[i] b = struct.pack('f', f) file.write(b) def save2grid3(filename,volume,dimx,dimy,dimz): flat=volume.reshape((dimx*dimy*dimz)) with open(filename, "wb") as file: b = struct.pack('%sf' % len(flat), *flat) #b = struct.pack('f', f) file.write(b)
Setting temp directory
$ locate houdini.env
/home/cloud/houdini18.0/houdini.env
#
# Houdini Environment Settings
#
# The contents of this file are read into the environment
# at startup. They will override any existing entries in
# the environment.
#
# The syntax is one entry per line as follows:
# VAR = VALUE
#
# Values may be quoted
# VAR = "VALUE"
#
# Values may be empty
# VAR =
#
# Example:
#
# HOUDINI_NO_SPLASH = 1
HOUDINI_TEMP_DIR = /home/cloud/.houdinitmp
First Step: Create geometry
[1] FreeCAD https://www.freecadweb.org/downloads.php
[2] Plugin DesignSPHysics https://github.com/DualSPHysics/DesignSPHysics
Second Step: Compile/Install DualSPHysics
[1] How to https://melhorum.blogspot.com/2019/07/dualsphysics.html
Third Step: Run smulation CPU or GPU
[1] ...
Fourth Step: Polygonize/Render
[1] ...
PDG & examples (~2020)
[1] https://www.sidefx.com/learn/pipeline-pdg/
Materials
[1] https://www.youtube.com/watch?v=TzDAxvPFh1E
Hair Shading
[1] https://www.youtube.com/watch?v=aO1r5yv3QT8
Objects
[1] Rock https://www.youtube.com/watch?v=gINvU11LHB0
Flip
[0] Tips to improve https://blendermarket.com/posts/flip-fluids-10-tips-to-improve-your-blender-workflow
[1] https://vimeo.com/182074285
[2] https://vimeo.com/189254805
[3] Splash https://vimeo.com/209763376
[4] Collider https://vimeo.com/252645795
Sources
[1] pool https://www.sidefx.com/forum/topic/27689/?page=1#post-130379
Models online
[1] Fluid, Physics models https://hdbp.io/browse?page=3
[2] Complete dops examples with Houdini files to download
https://www.tokeru.com/cgwiki/index.php?title=HoudiniDops
$cmake -DVTK_DIR:PATH=/home/me/vtk_build ..
[1] Diario/Seq https://apps.odoo.com/apps/modules/17.0/sequence_for_journal