3D - OpenGL
|
Index
|
|
General
|
|
OpenGL
|
|
Mesa
|
- The Mesa 3-D graphics library
- Do
all intel gpu's use software rendering (Mesa) only?
glxinfo | fgrep direct
LIBGL_ALWAYS_SOFTWARE=1 glxinfo|grep
'\<renderer\>'
- Demos
- glxgears
- source
- freedesktop / mesa-demos / xdemos / glxgears.c
- dependčncies
- Mageia
sudo dnf install autoconf automake
libtool lib64glew-devel
- Alma 8
sudo dnf install glew-devel
- compilació / compilation
./autogen.sh
./configure
- make
- sudo
make install
- Problemes / Problems
configure.ac:38: error: possibly
undefined macro: AC_PROG_LIBTOOL
- install
- Mageia
sudo dnf install mesa-demos
- usage
glxgears
- DISPLAY=:0
glxgears
glxgears -display :0 -info -geometry
400x400+200+100
- disable vsync
- enable vsync
- ...
- problems
- vsync not honoured on AWS EC2 g4dn with nvidia
drivers
- glxspheres64
- install
- Mageia
sudo dnf install glxspheres
- Alma Linux
- usage
glxspheres
glxspheres64
- /opt/VirtualGL/bin/glxspheres64
|
Open Inventor
|
|
|
|
|
- usually used with dummy
driver (to be able to run in background) but using
hardware acceleration
- Install
- Mageia
sudo dnf install virtualgl
- Alma
- ...
|
|
-
- Modeladors / Modellers
- 3dPM
- AC3D
- Visualitzadors / Viewers
- CAD
- Arquitectura / Architecture
- Motors / Engines
- Mons virtuals / Virtual worlds
- File formats
- Collada
- VRML
- X3D (wp)
- DXF
- Used by:
- Documents
- Exemples
- recta / straight
- corba / curve
- API
- VTK
- Bullet 3D Game Multiphysics Library
- Ray-tracing
- OpenVDB
(DreamWorks): hierarchical data structure
- Framerate limiter
- libstrangle
- compilació
- dependčncies
- passos / steps
git clone
https://gitlab.com/torkel104/libstrangle.git
cd libstrangle
make 64-bit
sudo -i
make
install-common install-64
- echo
"/usr/local/lib/libstrangle/lib64"
>/etc/ld.so.conf.d/libstrangle.conf
- ldconfig
- ús
strangle 60 /path/to/game
|
Desenvolupament / Development
|
- CUDA
- Unity3D
- Install
Unity3D on Linux
- Passos / Steps
wget
https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage
chmod +x UnityHub.AppImage
./UnityHub.AppImage
- Virtual display
- How
to run Unity on Amazon Cloud or without Monitor
- Running Unity app with graphics on a server
without monitor
- Running Unity app offscreen on your local machine
- Run Unity app with graphics on Amazon Cloud!
-
|
deps |
setup |
X
server |
launch unity |
Running Unity app with graphics on a
server without monitor |
xserver-xorg |
sudo nvidia-xconfig -a
--use-display-device=None
--virtual=1280x1024 |
sudo /usr/bin/X :0 & |
DISPLAY=:0 $your_unity_exec |
Running Unity app offscreen on your local
machine |
xorg-video-abi-15
x11-driver-video-dummy
virtualgl |
# xorg.conf from XDummy
wget http://xpra.org/xorg.conf . |
Xorg -noreset +extension GLX +extension
RENDER -logfile ./10.log -config ./xorg.conf
:10 |
DISPLAY=:10 vglrun $your_unity_exec |
Run Unity app with graphics on Amazon
Cloud (EC2: gxx) |
xserver-xorg
mesa-utils |
# disable nouveau
...
sudo nvidia-xconfig -a
--use-display-device=None
--virtual=1280x1024 |
sudo /usr/bin/X :0 & |
DISPLAY=:0 $your_unity_exec |
- ...
- Eines relacionades / Related tools
- Instruccions antigues / Old instructions
|
|
- Instal·lació / Installation
- Raspberry Pi
- Install
the Unity Hub and Editor
wget
https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubBeta.tar.gz
tar xvf UnityHubBeta.tar.gz
cd Unity\ Hub
chmod +x INSTALL.sh
- mkdir -p
~/.local/share/applications/
./INSTALL.sh
- Manual
- Problemes / Problems
- Ús / Usage
${HOME}/Applications/UnityHub.AppImage
- Plugins
- Video players (play a video from inside Unity)
- FEMTP
- WebRTC
- com.unity.webrtc
- WebRTC
- install: libc++1 libc++abi1
- libc++
- Problemes / Problems
- ...
|
Javascript
|
|
|
|
Impressió / Print
|
|
type |
format |
free |
examples |
comments |
GLpr (dwnld) |
vector |
PS, |
- |
|
It works with Inventor. |
PS
render |
vector |
PS |
× |
GLUT |
Not all the primitives are implemented. |
GLP |
vector |
PS |
× |
Mesa |
|
TGS (3D
Master Suite) |
2D vector |
PS |
- |
|
Not for 3D scenes. |
Iv2Ras |
bitmap |
PS, rgb |
× |
iv2ps |
bitmap |
PS |
× |
|
Ray-tracing, radiosity
|
|
Reconstrucció / Reconstruction
|
|
Mons virtuals / Virtual worlds
|
|
http://www.francescpinyol.cat/opengl.html
Primera versió: / First version:
Darrera modificació: 10 d'agost de 2023 / Last update: 10th August
2023
Cap a casa / Back home |