CS520 Assignment 3 IK System with Skinning

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: /adolc/sourceCode/, run command $autoreconf -fi
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 /adolc_base/.
If you want to install ADOL-C at a different location, or if you want to customize, you can read /adolc/sourceCode/I On Linux, you also need to add the path to ADOL-C libraries to LD_LIBRARY_PATH.
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/>redlofedocretratsredlof edoc retrats< etucexe ,sresu xuniL dna SOcam roF .dedaol eb lliw noitarugfinoc tcerroc 2024/3/29 10:10 CS520 Assignment 3: IK System with Skinning https://viterbi-web.usc.edu/~jbarbic/cs520-s24/assign3/ stohsneercs elpmaxE .selfi edoc lautca ruoy esare yllatnedicca ton ot luferac eB .)esaeleR/gubeD ni esoht .g.e( selfi gnilipmoc etaidemretni lla evomeR .)ralimis ro ,o. ,jbo.( selfi tcejbo lla evomeR .meht evomeR .selfi tnadnuder egral etareneg lliw oidutS lausiV ,elpmaxe roF .noissimbus erofeb selfi yrassecennu eteled esaelp ,seussi gnidaolpu diova oT .htdiwdnab daolpu detimil a sah draobkcalB :etoN .semarf 006 deecxe ton oD .)retteb ro( noituloser 006x008 eht ta ,)spf 51 si etar emarf demussa( semarf GEPJ timbus esaelP .1 tnemngissA htiw sa tamrof emas eht esu ,noitamina eht roF .puetirw tnemngissa eht yb deriuqer lairetam rehto yna dna ,semarf noitamina eht ,)sLLD deriuqer eht lla edulcni ,caM ro swodniW( elbatucexe delipmoc eht ,elfi EMDAER ruoy edulcni ot tegrof t'noD .draobkcalB eht ot elfi piz eno sa noitulos eritne ruoy daolpU tnemngissa eht timbus ot woH .wodniw lanimreT eht otni kool dna esuom eht htiw ti no kcilc ,tnioj a fo DI eht niatbo oT ."sDItnioJKI*" dlefi ,gfinoc.niks gnitide yb seldnah KI detalupinam eht egnahc nac uoY .hs.nur gniyfidom yb meht neewteb hctiws nac uoY .dnah ,nogard ,ollidamra :somed eerht htiw spihs tnemngissa ehT .)tidercerocrof(ppc.revirdyfidomotdeentonoduoY.noitatnemelpmiruoyedivorpotdeen uoyerehwsecalpehteraesehT.)ralimisro(".sihttnemelpmidluohsstnedutS"htiwdekramsecalplareveseeslliwuoy,edocretratsehtnI someD dna noitatnemelpmI .metsys raenil eht evlos dna ,edis-dnah-thgir eht dna xirtam metsys eht etupmoc ot negiE esu nac uoY .xirtam ytitnedi n × n a si I erehw ,bΔ J=θΔ)Iα+J J( :noitauqe gniwollof eht gnivlos ot tnelaviuqe si melborp noitazimitpo eht gnivloS .ffoedart siht slortnoc hcus sa dna ,dda ot noitaziraluger hcum woh senimreted α retemaraP .snoitisop eldnah deriuqer eht gniteem ton tahwemos fo tsoc eht ta ,noitulos ezilibats ot sdnet siht ;hcum oot selgna reluE gnignahc diova ot mret noitaziraluger a si ∥θΔ∥α 2 mret ehT .dnfi ot tnaw ew selgna reluE fo egnahc eht gnitneserper rotcev 1 × n a si θΔ dna ,snoitisop labolg eldnah fo egnahc eh2t gnitne1serper rotcev 1 × m a si bΔ erehw ,∥θΔ∥α2+ ∥bΔ−θΔJ∥2nθiΔm :melborp noitazimitpo na gnivlos yb detupmoc si KI ,yllamroF .KI mrofrep ot noitaziraluger vonohkiT esu eW .snmuloc n dna swor m sah J xirtam ehT .f fo xirtam naibocaJ Programming Help
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