-
Notifications
You must be signed in to change notification settings - Fork 359
about the mouse thing #33
Comments
It's here : https://github.com/stephomi/sculptgl/blob/master/src/mesh/Selection.js It only displays the circle while we are picking the mesh. And if we sculpt, I only show the small dot. |
I saw that, what about the sketchfab? where is the circle of it defined? https://github.com/sketchfab/sculptgl |
Ah... it was different back then. |
is the js function called "picking", or just loadshaders function load the .frag file? |
It's the shader that draw the circle... The picking is the stuffs that check what is under your cursor by casting a ray. Keep in mind that the sculptfab version is almost 2 years old and that I don't maintain it. |
okay, thanks for your reply and patience, I will try the latest version, |
I saw there was a circle at where the mouse moved or click, I use other controller to do the mouse thing, but could you tell me how to add the circle to my controller? there are the X-position and Y-position on the page of my controller, which part of the code add the circle at the position? thanks
The text was updated successfully, but these errors were encountered: