-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use "view" and "up" vectors? #36
Comments
Or use quaternions? Those are always fun ... We could probably even allow both ... "view" vectors (with 3 elements) for the simple cases and quaternions (with 4 elements) for the general case. |
Could you give an example where a (x, y, z) and (nx, ny, nz) are not enough to describe the loudspeaker. |
Sorry, loudspeakers weren't really a good example. Unless they have a strange non-circular pattern around their main axis, it doesn't make a difference. It would, however, make a difference for the orientation of loudspeaker arrays. The sixth degree of freedom might also matter if we ever support arbitrary measured directivities. Another example is I'm not sure if those situations will ever come up in our usage, I just wanted to raise awareness and discuss the possibility.
It is. It's just leaving the sixth degree of freedom unspecified, I should have given a more meaningful example. |
Ah, ok, I see your point. I was not thinking about a real loudspeaker, but the calculations in the driving functions involving loudspeakers. For a line source a simple orientation vector should also be fine for handling that one, see also http://sfstoolbox.org/en/latest/#equation-v.ls |
Unfortunately it does not work that well. |
It is working in the sense that we need only (x,y,z) and (nx,ny,nz). But I guess you are referring to the problem is that for the secondary sources (nx,ny,nz) is used as direction, whereas for the line source (nx,ny,nz) is used as orientation which is inconsistent. Aren't you? |
Exactly. As a result, we cannot use arbitrary line sources as secondary sources (Green's functions). |
Using the It probably needs fewer arguments here and there and we can save a few numbers. However, we are losing generality and may run into problems, as @trettberg pointed out. |
I would prefer a solution with two vectors, i.e. "front-view" and "up". Although quaternions are really nice for describing rotations, it is not worth the effort imho. |
If we want to describe objects (e.g. loudspeakers) in space unambiguously, our current "position" and "orientation" might not be enough.
We would probably also need some kind of "up" vector to specify the sixth degree of freedom.
Will this be necessary?
The text was updated successfully, but these errors were encountered: