The last Ubuntu LTS version has many new features, but some exotic programs have stopped working and you have to compile them or wait for
versions to run them on this version.
Just follow this guide if you want make your own Tente(R), Lego(R), Exin Castillos(R), etc... 3D models with the open format LDraw.
LDraw editors: MLCad & LeoCAD
LDraw viewer: LDView
Then you can install it with commands like this:
sudo dpkg -i ldview-4.2-ubuntu-16.04.XXX.deb
sudo apt-get install -f
Professional screenshots: povray
You can get screenshots like a 3D professional:
- Export the model to povray form LDVIEW
- You can get a
Full HD screenshot with a command like this:
povray my_model.pov -W1920 -H1080
The problem is
that if we install the povray package in the Ubuntu 16.04 repositories
it does not work because of a problem in a library, so we have to
recompile it ... ugh! how difficult! That it is enough that you copy and paste in your console the following commands:
sudo apt-get install git build-essential libvips-dev libboost-system1.58-dev
libboost-thread1.58-dev libc6-dev libgcc1 libilmbase12 libjpeg8-dev
libopenexr22 libpng12-dev libsdl1.2-dev libstdc++6-4.7-dev libtiff5-dev
zlib1g-dev
./configure COMPILED_BY="tu nombre y correo" --disable-io-restrictions
git clone https://github.com/POV-Ray/povray
cd unix
./prebuild.sh
cd ..
make check
sudo make install
And now you get it.
Set of pieces
Then unzip them in differents folders, for example:
- /home/your_user/ldraw/tente
- /home/your_user/ldraw/lego
- /home/your_user/ldraw/exincastillos
Then we can run LDView with this parameter:
LDView -LDrawDir=path_to_set_of_pieces