Skip to content

mhagiwara/renderman-dexed-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

renderman-dexed-linux

This is a tutorial for how to run RenderMan + Dexed on Linux (Ubuntu 18.04). Using xvfb to work around the X Window System was the easiest.

Install prerequisites

sudo apt-get update
sudo apt-get install libboost-all-dev llvm clang libfreetype6-dev libx11-dev libxinerama-dev libxrandr-dev libxcursor-dev mesa-common-dev libasound2-dev freeglut3-dev libxcomposite-dev libcurl4-gnutls-dev xvfb

Build RenderMan

git clone https://github.com/fedden/RenderMan.git
cd RenderMan/Builds/LinuxMakefile/
perl -i -pe 's/-fvisibility=hidden/-fvisibility=default/' Makefile
make

Build Dexed

cd
git clone --branch v0.9.4 https://github.com/asb2m10/dexed.git
cd dexed/Builds/Linux/
make

Run

cd ~/RenderMan/Builds/LinuxMakefile/build/
xvfb-run python

Run the following Python code:

import librenderman as rm

engine = rm.RenderEngine(44100, 512, 512)
engine.load_plugin('/your/home/dexed/Builds/Linux/build/Dexed.so', 0)
print(engine.get_plugin_parameters_description())
generator = rm.PatchGenerator(engine)
random_patch = generator.get_random_patch()
engine.set_patch(random_patch)
engine.render_patch(40, 127, 4.0, 5.0)
audio = engine.get_audio_frames()

Reference: turian/renderman-dexed-linux

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published