The script is available here: tests/tests.py, and you can launch it on your computer to see if everything happens correctly with: I also use a python script to run tests with Travis (see the build history here), in order to validate that I did not break everything while modifying the code, and also to obtain that nice green badge (I hope it’s still green!!).
RESOLUTION: baked textures resolution, default to 1024.TARGET: depends on the remeshing method: Number of faces (1500 for instance), Relative Haussdorf (try 0.01 for MMGS), Resolution (try 2500 for INSTANT and QUADRIFLOW) or Ratio (try 0.01 for NAIVEQUADS).METHOD: remeshing method: “MMGS”, “INSTANT”, “QUADRIFLOW”, “MESHLAB”, “DEIMATE”, “ITERATIVE”, “DECIMATE” (defaults to “ITERATIVE”).-Z: use to compress the output models and textures to a.Usageīlender -b -P scripts/bakemyscan.py -helpīlender -b -P scripts/bakemyscan.py - IN OUT Check the script body to understand what happens. The whole process is automated thanks to the scripts/bakemyscan.py python script that blender can execute from the command line. If this still does not work, have a look at the current issues to see if you can relate to something I’m working on or planning to implement, and if you think you found a bug, do not hesitate to open a new issue. run the command without -b, which will open blender’s GUI, and look at the blender file to understand what went wrong.check the terminal output to try and understand what happened.If some of the scripts fail, you can try to: I’ll leave that up to you to find your way! If something fails It might be “blender”, “/path/to/blender/blender.exe”, or “blender.exe” if you are using the powershell on Windows.
#Loic indir how to#
If you use linux, I’ll assume that you know how to use a terminal )įinally, make sure to replace “blender” in every command by the correct executable.
#Loic indir windows#
If you do not know what a command prompt is (don’t worry, we’ve all been there!), I’d suggest getting familiar with it first: you’ll find some example instructions for Windows here and for MacOS there. Although they should work, proceed with caution!įirst make sure that you followed the related setup instructions, and navigate with your command prompt into the directory containing the scripts. These scripts are still unstable, and might not work in some cases. Import processed models in a grid layoutĪnd others will come! 0 - Before getting started Get ready to use the command line.Those don’t work at the moment and will be fixed soon (they are here for me to fix them, so don’t even bother reading them): Process one model from the command line.Preprocessing the data: II if (! file.exists( file.path(inDir, 'ndvi_stack.