-
Notifications
You must be signed in to change notification settings - Fork 73
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
Update mcxpreview #98
Conversation
Not rotate the quadrilateral by srcdir while using planar or pattern source type.
hi @kaoben2731, thanks for the PR. sorry for the delay for reviewing this. the mcxpreview fix looks good - can you just change it to
basically, no rotation is needed in these sources. I would like to ask you about the later two commits - what is the "anglepattern" source? how is it different from a regular pattern? |
According to fangq's suggestion
thanks for sharing this - if the angle-dependent source still needs more work, and is not ready to be shared, I suggest you to close this PR, refork from my mcx repo to a special branch, just patch mcxpreview.m, and create a new PR. alternatively, I will be happy to manually patch mcxpreview.m. |
Thanks for your suggestion. I had created a new PR. Also, I'd like to know if you think the "anglepattern source" is needed? Thanks a lot. |
I absolutely welcome contributions from users and I am sure such a feature, if fully tested, will benefit the greater user community.
both 1/2, but on top of that, I want to first make sure the feature is fully implemented and tested - what is the status of this development? specifically, how do you plan to add the additional user input, such as the user-defined CDF (? or PDF?), which part of the GPU memory that you plan to store such information? generally, I implement a feature both for mcx binary and mcxlab, that means one needs to update |
Not rotate the quadrilateral by srcdir while using planar or pattern source type.
For example, in the
demo_photon_sharing.m
, if I set the srcparam1 and srcparam2 like that, the preview will be not consistent with the setting.But the simulation result will be consistent with the setting.
After change a little bit in
mcxpreview.m
, the preview will be consistent with the setting.