Yes you can, I don't mind. WTFPL license :)
mmozeiko, what's the license of your perf test code? Can I add it to my repo under public domain?
Yeah, seeing same results on MSVC2017,
with "/fp:fast /Ox /Ot":
1
2quats = 252.16msec
gibbs = 2…
Hey!
So I've been using 4Coder for a while, and I recently found a bug (happened to me twice now…
GCC:1
2quats = 107.97msec
gibbs = 118.78msec
MSVC:1
2quats = 240.22msec
gibbs = 222.37msec
MS…
Try removing `if (unlikely(dot==1.0f)) return (v3){0,0,0}; /* a == b */`
Benchmark for transforming a lot of vectors against the same quaternion or gibbs rotation: https:…
Actually wait, I forgot @vurtun send me a link yesterday: https://gist.github.com/vurtun/82f65d6f…
For Skylake the performance of MULPS and DIVPS is the same as for MULSS and DIVSS.
I think it'll be fair to compare 1 div to 2 muls (given 3 divs of Gibbs vector vs 7 muls of quate…
I'm glad you are at least having fun with it!
These are all pretty interesting issues you've bro…
Hi
Sorry about the crash! It does sound like it might be an out of memory situation. The data …
I've had another perforce user ask a similar sort of question. Although I have to admit I'm a bi…
Procedural I like the transition between unsure "may be" to confident "it is" :) Is it because yo…
Procedural ratchetfreak For example take a car on a flat surface turning in a circle.
At some po…
I'm not going to continue this thread until you show me the empirical evidence to prove your poin…
Before talking about the performance cost I want to get back to this statement of yours:
gingerB…
Procedural gingerBill "3 divides may be more expensive than 7 multiplies" It is on many architect…
gingerBill "3 divides may be more expensive than 7 multiplies" It is on many architectures. Show …
What I should have said is "you cannot represent all angles uniquely".
"3 divides may be more ex…
gingerBill 3 divides may be more expensive than 7 multiplies
Excuse me?
gingerBill You have los…
ratchetfreak For example take a car on a flat surface turning in a circle.
At some point it need…
3 divides may be more expensive than 7 multiplies. Show me the empirical evidence, not theoretica…
gingerBill You lose information when you reduce the degrees of freedom.
Yes, and for Gibbs vecto…
Which is kind of my point. RPs cannot be used to store an orientation which can then be used as a…
gingerBill First off, how do you encode an zero rotation, half a turn or a full turn around a par…
Quaternions are used for storing an orientation, not just rotations. RPs cannot do this. I'll rep…
Procedural
ratchetfreak's problem is not a problem for unit quaternions (and Gibbs vectors are …
First off, how do you encode an zero rotation, half a turn or a full turn around a particular axi…
gingerBill It actually is a problem. RPs can be zero unlike quaternions.
It is not, until proven …