Beskjeder
Here are the demos mentioned in todays lecture:
http://acko.net/files/mathbox/MathBox.js/examples/BezierSurface.html
http://www.ibiblio.org/e-notes/Splines/b-int.html
In todays tutorial, you will get help with the third mandatory assignment. For those of you who have finished the assignment (and last weeks exercises), you can take a look at next weeks exercises which are available here.
You can base your implementation on the code from last week (triangulatepoly).
These exercises are quite relevant for developing an understanding of triangular meshes which will be a central topic in mandatory assignment 4.
Dear all,
for the third mandatory assignment, you may experience errors related to GLI. GLI has changed its API from version 0.4 to 0.5, and this is the cause of errors. The solution to these errors should be trivial, but if you have any difficulties, please send an email to the group teacher.
When you hand in your solution, please specify which version of GLM you are using.
Good luck with the assignment!
You can find the Nate Robins OpenGL tutors on
http://user.xmission.com/~nate/tutors.html
You can even download pre-compiled binaries for windows and mac, and compiling the tutors is no big challenge either.
The tutorial for today is available here.
The source code is here:
ex5-4_refraction.cpp.template
ex5-5_lighting.cpp.template
NoiseSampler.cpp
NoiseSampler.hpp
Dear all,
If you experience compilation errors related to "M_PI" when compiling the handout code, you can fix this using one of two approaches:
1: Define M_PI using the C preprocessor or as a constant variable, or
2: Define _USE_MATH_DEFINES before including the cmath library.
You can find todays exercises on
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/exercises4.pdf
You can find todays exercises on
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/exercises3.pdf
Remember the deadline for the first mandatory assignment!
If you get the following error at IFI:
libGL error: failed to load driver: nouveau libGL error: Try again with LIBGL_DEBUG=verbose for more details. X Error of failed request: GLXBadFBConfig Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 34 () Serial number of failed request: 36 Current serial number in output stream: 35
it is most likely due to a recent upgrade of the linux distribution which has disturbed the OpenGL driver. I have contacted drift about this, and hope that it will be solved rapidly.
If the problem persists I may have to give an extension to the first mandatory assignment.
On some Linux distributions (or versions of GCC), you may have to change the order of options in the Makefile. Simply change
$(LD) -o $(APP) $(LDFLAGS) $(OBJECTS)
to
$(LD) $(OBJECTS) $(LDFLAGS) -o $(APP)
For details about this, see for example
http://stackoverflow.com/questions/45135/linker-order-gcc
You can find todays exercises here:
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/exercises2.pdf
and the template code is available here
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/OpenGLError.hpp
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/ex2-2_rotating_square.cpp.template
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/ex2-3_koch.cpp.template
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/ex2-4_polylinemanip.cpp.template
Dear all,
you can find the first mandatory assignment here:
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/oblig1.pdf
The template sourcecode is available here:
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/oblig1_gasket.cpp.template
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/OpenGLError.hpp
The deadline for handing in your solution is Monday September 8th 2014 at 14:00 (just before the tutorial)
I suggest you all get started with this assignment as soon as possible, and ask questions on the tutorial this Monday if there is anything that is unclear.
Under point 7 in the guide,
export PATH=$PATH:$(HOME)/inf3320/lib
should be replaced with
export PATH=$PATH:$HOME/inf3320/lib
(note the missing parenthesis)
Please note that the tutorials have been moved to "Assembler", so you will all be able to code during the session.
Dear all,
the tentative dates for the mandatory assignments have been entered into the course calendar (see under tutorials). Please note that these dates may change, and are approximate at this time.
I've made available the evaluation guidelines for the mandatory assignments. Please make sure to read these and make certain that your hand-in meets the outlined requirements. The guidelines are her:
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/evaluation_guidelines.pdf
I remind you all that the tutorials start tomorrow, Monday 25th of August.
The following exercises will be solved during the tutorial:
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/exercises1.pdf
The template code is available here:
http://babrodtk.at.ifi.uio.no/teaching/inf3320_2014/ex2-1_white_square.cpp.template
The tutorials are a great way of learning the curriculum, so use this opportunity to get a flying start!