2024/3/29 10:10 CS520 Assignment 3: IK System with Skinning
First, we need to install some necessary tools for compiling ADOL-C. For MacOS (tested on 10.14.2), we recommend installing Homebrew.
Homebrew is a MacOS software package management system that provides an easy way to use libraries on MacOS as if using them on Li Then, open Terminal, run
$brew install autoconf automake libtool
to install the tools.
For Linux, run
$sudo apt-get install autoconf automake libtool to install the tools.
Next, enter the ADOL-C folder:
to create a configure script. If no errors are reported, run
$./configure
to create a Makefile. If no errors are reported, run $make
to compile the code.
Finally run
$make install
to install ADOL-C at
If you want to install ADOL-C at a different location, or if you want to customize, you can read
For using ADOL-C, see https://core.ac.uk/download/pdf/62914383.pdf for a brief introduction.
We also provide a simple example file ADOLCExample.cpp in the starter code which includes all the ADOL-C functions we need in this assign
In this assignment, OpenGL is used for rendering.
For Windows and Linux users, no need to do anything for OpenGL.
For Mac users, it is a little bit tricky:
If you are using Mac OS X Mojave, make sure you update it to the latest version; otherwise, OpenGL errors can occur. Next, use Homebrew to install freeglut, which is an implementation of GLUT:
$brew install freeglut
(Note that although macOS comes with a GLUT framework, it is now deprecated and may not be stable.)
Then, open Makefile, comment the line
OPENGL_LIBS=-lGL -lGLU -lglut
and uncomment
OPENGL_LIBS=-framework OpenGL /usr/local/Cellar/freeglut/3.0.0/lib/libglut.dylib
Now you should be able to compile the starter code in macOS.
https://viterbi-web.usc.edu/~jbarbic/cs520-s24/assign3/ 1/4
eht dna 7102SV ni nottub gubed eht gnisu revird eht hcnuaL .seitreporp tcejorp eht ot dedda neeb sah tnemugra siht ,sresu swodniW roF
.gfinoc.niks/ollidamra/>redlofedocretrats
2024/3/29 10:10 CS520 Assignment 3: IK System with Skinning
https://viterbi-web.usc.edu/~jbarbic/cs520-s24/assign3/
CSU ,iL gnijiY ,cibraB jenreJ
.degaruocne era snoitubirtnoc tiderc artxe evitaerc ynA
.ecnatsid lanigiro eht fo noitrop a no melborp KI eht sevlos pets-bus
hcae erehw ,noitulos eht evorpmi ot spets-bus lareves otni ssecorp KI eht edivid ,ecnatsid gnol a rof eldnah KI eht sevom resu eht nehW
.dohtem KI esrevnioduesp eht sa hcus ,smhtirogla KI rehto erapmoc dna tnemelpmI
.gninniks evlovni ot sdeen won noitatupmoc KI eht taht snaem sihT .stnioj noteleks ta fo daetsni secitrev hsem ta seldnah KI tnemelpmI
.gninniks noinretauq
laud dna gninniks dnelb raenil neewteb nosirapmoc a edivorP .gninniks noinretauq-laud sa hcus sdohtem gninniks rehto tnemelpmI
saedi tiderc artxE
程序代写 CS代考 加微信: cstutorcs