Visual explicitation on executed command #26

Open
opened 2 years ago by utopiah · 3 comments
Owner

e.g HUD pointer or camera

e.g HUD pointer or camera
utopiah added the
demo
label 2 years ago
utopiah added the
core interactions
label 2 years ago
Poster
Owner

Also useful for #36

Also useful for https://git.benetou.fr/utopiah/text-code-xr-engine/issues/36
Poster
Owner
Consider visibility from camera viewpoint using e.g https://stackoverflow.com/questions/17624021/determine-if-a-mesh-is-visible-on-the-viewport-according-to-current-camera
Poster
Owner

see

document.querySelector("[line]").object3D.children[0].material = 
  new THREE.LineBasicMaterial( { vertexColors: true, depthTest: false, depthWrite: false, toneMapped: false, transparent: true } )

to force a line as overlay, remaining visible over other objects.

From https://github.com/mrdoob/three.js/blob/master/src/helpers/SkeletonHelper.js#L46

see ```javascript document.querySelector("[line]").object3D.children[0].material = new THREE.LineBasicMaterial( { vertexColors: true, depthTest: false, depthWrite: false, toneMapped: false, transparent: true } ) ``` to force a line as overlay, remaining visible over other objects. From https://github.com/mrdoob/three.js/blob/master/src/helpers/SkeletonHelper.js#L46
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: utopiah/text-code-xr-engine#26
Loading…
There is no content yet.