-
Notifications
You must be signed in to change notification settings - Fork 1
Version 0.0.2 #4
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
base: main
Are you sure you want to change the base?
Conversation
LinkunGao
commented
Dec 6, 2021
- create obj/mtl module loader
- create progressing bar
- create gltf/glb module loader
…, you can check it in app/example_01
- we can use .obj file url to load module, more details see example_02 - add light control into gui - the camera position now is fixed, it cannot be fit different module size automatically, next version I may consider to fix it.
- see example04 - add renderer setting into gui controler - there are some code need to reuse, we can fix it in next version
Looks awesome thanks @LinkunGao!! |
seems that the first example (example_01_uploadImage) is not working? Would you mind double-checking if it is working on your side? might be because of the version of threejs/amijs? Apart from the first example, others are working great! |
Other notes:
|
Hi Chinchien,
As the first example does not work is because of the version of
threejs/amijs. if I change the version it can work ok. I will show it to
you when we meet.
For the .DS_Store I will remove it and add it to .gitgnore. Sorry about
that, and thank you very much for your advice.
Kind regards,
Linkun
…On Tue, 7 Dec 2021 at 11:02, Chinchien Lin ***@***.***> wrote:
seems that the first example (example_01_uploadImage) is not working?
Would you mind double-checking to see if it is working on your side? might
be because of the version of threejs/amijs?
Apart from the first example, others are working great!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATIN5BJREY77JPEZEVGOOBTUPUXHZANCNFSM5JNUIEHA>
.
|
@LinkunGao Also, it would be awesome if you could also add some docstrings to the functions/classes? |
@LIN810116 for the documentation, I've already written some short descriptions in the readme file, I will write it more clear next time. |
Hi @LinkunGao, Oh I mean the function docstrings. have a look at this: https://en.wikipedia.org/wiki/Docstring#JavaScript |
- how to run project and see example: (1)npm install,(2)npm run serve - build webpack environment - config babel.js, when we run build converting high-level JS/ES6 syntax into low-level code for greater code compatibility. - config webpack, now we can run serve at 127.0.0.1:3000, and config webpack each loader and plugins so we can import css less scss glb/gltf obj mlt and image files. - there are only three load modules function works, .obj,.mlt,.gltf/.glb - the ami.js is not work, the error is same to its official example error. - if I have the correct ami.js documentation with it's version, I think I can work very fast. - next step: focus on JS docstring, load multiple dicom images if the ami.js is work, make more interaction with gui, Integrating code to make it more object-oriented.
Hi @LinkunGao , The load model examples are working. Well done! Just a few small things: |
Thank you Chinchien, |
- build example04 to display load dicom - change the project structure
- the error 'cannot read width' in the console may due to the webpack config setting has something wrong, I will check it later - there is a new challenge is about when we upload different dicom images, we must reset the camera positions. I also try to use camera lookAt function, but it doesn't work.