When we flush the command queue, we want to make sure all operations are complete before continuing (for example, when resizing the swap chain or exiting the application) regardless if the user signaled after executing the last command list or not (as signaling the command queue is not required!)

]]>I suppose if the quaternion was normalized, you could use the conjugate, but the general formula is:

\[ p’=qpq^{-1} \]

If you read a little bit further, we come to this conclusion:

Hamilton recognized (but didn’t publish) that if we post-multiply the result of \(qp\) by the inverse of \(q\) then the result is a pure quaternion and the norm of the vector component is maintained.

I hope this clears it up?

]]>BTW this website is the cleanest explanation i’ve come across. Seriously.

]]>

x = 1 + log_2(nb_lights)

y = a * exp(b * x) = a * exp(b) * exp(b * log_2(nb_lights))

= c * nb_lights^(b / ln(2))

with a, b and c some constants.

`a`

some constant.
]]>p’ = qp is simply wrong.

p’=qpq* is the correct formula

]]>void CommandQueue::Flush()

{

WaitForFenceValue(Signal());

}