Do you mean that we should change the step size as we are doing the descent?
Is there any good method to adapt the step size when we are moving forward?
It seems like u update velocity using current offset, then update offset using the updated velocity.
What will the formulae be for the Sympletic Euler? Like the one in forward and backward euler.
This is missing an |\Omega| over the N.
Why do we divide p(w_j) here? Shouldn't we multiply it?
Why would dot(N, L) be negative here? Isn't the direction to light (L) always pointing "up" in with regard to the surface?
Whoops, looks like I messed up the printf statement here. It should be
printf("%s It's %d.\n", str, i)
.
Just goes to show that printf can be finicky...
Note that this q^{-1} is the same as q_bar on the earlier slides when the quaternion has unit magnitude (as it does for rotations).
You can take a look at the example code that I used in this lecture at the following link:
https://github.com/Flafla2/GLTutorial/tree/master/checkpoints
The environment that I've set up in the render()
function is similar to the DrawSVG hardware renderer stubs. Feel free to experiment! If you would like, you can also change the OpenGL version to use by changing this line.
This is the slide that had the error during class today. Notice that when we increment y by one, we should change dE by -dX.
@zhangsiy There are exactly two assignments related to math: The linear algebra review and the 3D calculus review. The programming assignments are separate.
Does each of the homework has a warm-up math review or we only have one assignment related to math review?
In the last red note, should it be "...from point p, in direction w' to p'"? I'm a bit confused by the two 'p's.