-
Notifications
You must be signed in to change notification settings - Fork 7
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
Clarification on azimuthal and polar angle bounds #207
Comments
I believe I just set it up in a way such that we treat the azimuthal bound as a circle on the Z-axis, so that I don't believe we ever modify ourselves; we simply treat it as Like I said earlier, the bounds issue was a bit rushed and definitely far from perfect. This was probably my fault, and I should've taken a step back. But then school deadlines happened. |
OK -- we could delay talking through this further until you're off your
internship, if that works better for you!
…On Wed, Aug 5, 2020 at 6:52 AM Chris Gyurgyik ***@***.***> wrote:
I believe I just set it up in a way such that we treat the azimuthal bound
as a circle on the Z-axis, so that [0, 2pi] encompasses the entire sphere
while [0, pi] might only encompass a portion of it. This could probably
be refactored to use [0, pi]. I can't think of a reason why not.
I don't believe we ever modify ourselves; we simply treat it as [0, 2pi].
Like I said earlier, the bounds issue was a bit rushed and definitely far
from perfect. This was probably my fault, and I should've taken a step
back. But then school deadlines happened.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#207 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAVXO2ZVFYN673KOHHGN73R7FBYHANCNFSM4PUYVBMA>
.
|
Yep, I'll probably tag along and read what you post here every once in awhile. Hopefully since next week is my last, its a bit calmer. |
Yes, so this is kind of weird, and perhaps it is worse and than weird and just wrong: we aren't thinking about a coordinate system - we wanted to avoid a coordinate system as much as possible - and just figure out a simple way to count voxels. The way we did this was to break up the interval [0,2pi] by the number of desired sections for each angular region. I imagine that we will want to switch to the standard [0,pi] for the azimuthal angle/angle of inclination; (I think) this would only affect the initialization routine which determines the initial voxel of the ray. However, in the short term, I'm not sure that it matters. If it does, then there might be a bigger problem in the background. |
Will change to [0, pi] once #208 is reviewed and submitted. |
Here's some quick thoughts. We're currently using the following coordinates to represent a sphere: So my question to myself was, does there exist some 1:1 mapping between these two coordinate systems, such that we can simply just have a function For example, to represent a cone in spherical coordinates, we would set Radial-> Looking for your input here as well, @ak-2485 . |
Hi! I was working on some of the previous work when I ran into something that I was unsure of. In the
test_svr.cpp
file, I see lots of areas where the sphere bounds are set to 0 .. 2*pi for both azimuthal and polar angles. My understanding is that we should usually be setting them to 0..pi for polar and 0..2pi for azimuth.Is the code set up to address this somewhere internally? Or does it need to be modified somehow to take this into account?
The text was updated successfully, but these errors were encountered: