Saturday, March 27, 2021

Houdini Courses

 

[1] https://www.cgcircuit.com/tutorial/houdini-basics-episode-i

 

Developer postions Brazil

 

[1] https://jobs.kenoby.com/eldorado

 

Friday, March 26, 2021

Houdini18 topics

 

Import libraries

 

/opt/hfs18.0/python/lib/python2.7


 

Asset libraries

Digital assets are stored in digital asset library files, with a .hda extension. (Older versions of Houdini used a .otl extension.) Houdini loads any .hda (or .otl) files it finds in HOUDINIPATH/otls.

Steps:

 1) Create Subnet

 2) Define Parameters and Save .otl

References:

[1] creating an otl on Houdini18 https://www.sidefx.com/tutorials/getting-cozy-with-houdini-engine-lesson-3-creating-our-first-otl/ 

[2] Create digital assets https://www.sidefx.com/docs/houdini/assets/create.html

[2] https://www.youtube.com/watch?v=Q6U_q5PASiU


Tuesday, March 23, 2021

Rendering by Python 3

 

trimesh
trimesh-3.9.10-py3-none-any.whl

pyrender
pyrender-0.1.45-py3-none-any.whl

Dependences:
  PyOpenGL==3.1.0
  PyOpenGL-3.1.0.tar.gz

  pyglet>=1.4.10
  pyglet-1.5.15-py3-none-any.whl

  freetype-py
  freetype_py-2.1.0.post1-py2.py3-none-manylinux1_x86_64.whl
 



 

Friday, March 19, 2021

Amazonas deforestation

 

Main page

[1] http://terrabrasilis.dpi.inpe.br/en/home-page/

Dataset

[2] http://www.dpi.inpe.br/prodesdigital/dadosn/

[3] 2005-2009 http://www.dpi.inpe.br/prodesdigital/dadosn/mosaicos/

[4] Image 9GB http://www.dpi.inpe.br/prodesdigital/dadosn/mosaicos/2019/

Wednesday, March 17, 2021

Python set right version to execute 3.6 3.7 3.8

 

 

https://tech.serhatteker.com/post/2019-12/upgrade-python38-on-ubuntu/

https://stackoverflow.com/questions/63823964/importerror-cannot-import-name-sysconfig-from-distutils-usr-lib-python3-8

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

python3 get-pip.py --force-reinstall


ModuleNotFoundError: No module named 'apt_pkg' error
sudo apt-get remove python3-apt
sudo apt-get install python3-apt

 

 


ImportError: No module named OpenGL.GL

apt-get install python3-opengl
or  
pip3 install pyopengl --user

As well as:

sudo apt-get install python python-numpy python-opengl python-qt4 python-qt4-gl

 

 

 

 

Monday, March 15, 2021

Cuda on Linux18 (y2021)

After installation don't forget it(.bashrc):

#Cuda 8.0 Settings
export CUDA_HOME=/usr/local/cuda-8.0
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64  
PATH=${CUDA_HOME}/bin:${PATH}
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:

 

Drivers

[1] Legacy https://www.nvidia.com/en-us/drivers/unix/

To Review (Cuda and Driver)

CUDA 11.2             >= 450.80.02
CUDA 11.1 (11.1.0)     >= 450.80.02
CUDA 11.0 (11.0.3)     >= 450.36.06
CUDA 10.2 (10.2.89)     >= 440.33
CUDA 10.1 (10.1.105)     >= 418.39
CUDA 10.0 (10.0.130)     >= 410.48
CUDA 9.2 (9.2.88)     >= 396.26
CUDA 9.1 (9.1.85)     >= 390.46
CUDA 9.0 (9.0.76)     >= 384.81
CUDA 8.0 (8.0.61 GA2)     >= 375.26
CUDA 8.0 (8.0.44)     >= 367.48
CUDA 7.5 (7.5.16)     >= 352.31
CUDA 7.0 (7.0.28)     >= 346.46

[1] Compatibility  https://docs.nvidia.com/deploy/cuda-compatibility/index.html 

To Review (Cuda and GCC)

CUDA version     Max GCC version
11.1             10.0
11                9
10.1, 10.2    8
9.2, 10.0      7
9.0, 9.1        6
8                  5.3
7                  4.9
5.5, 6           4.8
4.2, 5           4.6
4.1               4.5
4.0               4.4

Cuda Toolkit from 6.5 to 10 and more

[1] https://developer.nvidia.com/cuda-toolkit-archive

Common problems

[1] Can't locate InstallUtils.pm in @INC

$sh ./cuda(your version).run --tar mxvf #for unpack

$cp InstallUtils.pm /usr/lib/x86_64-linux-gnu/perl-base #check path in error message

[2] Messages during Cuda installation

$sudo ./cuda_6.5.14_linux_64.run --override

$sudo ./cuda_xxx.run --override  #to ignore last compiler or related

#During Cuda 6.5

Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.29?

#During Cuda 8

Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 375.26?

#During Cuda 9

Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 384.81?

[3] Adicional  notes

https://forums.dual.sphysics.org/discussion/1324/get-the-gpu-running


[4] How to disable nouveau driver to install NVIDIA drivers

$vi /etc/modprobe.d/blacklist-nvidia-nouveau.conf
blacklist nouveau
options nouveau modeset=0
$sudo update-initramfs -u 
$sudo reboot 

 

 

Friday, March 12, 2021

Ubuntu users tools

 

To hidden (no initial list at login)

sudo vi /var/lib/AccountsService/users/cloud

SystemAccount=true #change this from false to true

References:

[1] add user https://linoxide.com/usr-mgmt/give-normal-user-root-privileges/

[2] hidden user https://swatij.me/hacks/ubuntu/hide-user-from-login-screen-in-ubuntu-14-04.html

Wednesday, March 10, 2021

Ubuntu enable Sony Xperia USB transfer

 

sudo apt-get install libusb-dev

sudo apt-get install gmtp

References:

[1] Manual installation of libmtp http://www.humans-enabled.com/2011/12/how-to-fix-samsung-galaxy-nexus-mtp.html

[2] https://gmtp.sourceforge.io/

[3] Original post https://android.stackexchange.com/questions/36376/cant-explore-files-on-my-sony-xperia-u-using-my-ubuntu-12-10-laptop

VideoChat Background Filter

 

[1] https://github.com/scumjr/cameo

 


Friday, March 05, 2021

Deep nostalgia

 

https://time-travel-rephotography.github.io/

https://www.myheritage.com.br/deep-nostalgia

Tuesday, March 02, 2021

3D Models (free)

 

[1] Gallery https://free3d.com/3d-models/toys?page=2


[2] Cat with Wings https://www.cgtrader.com/items/716159/download-page

Firefox open multiple private window

    /opt/firefox/firefox-bin --profile $(mktemp -d) --private-window www.google.com www.bing.com