eokeeffe / potree_vr

Potree viewer working with Three.js WebVR
Other
10 stars 3 forks source link

HTC VIVE problem #1

Open omidfaraji opened 7 years ago

omidfaraji commented 7 years ago

Hi. Thank you for this nice development.

when i test examples or my own point clouds in HTC VIVE , can't see any thing.

is there any different implementation for Google Cardboard and HTC VIVE in potree_vr and VRControls? what should i do to fix it?

eokeeffe commented 7 years ago

Thank you Just to check, are you using the squares or circles quality settings?

I'm still working on the splat & EDL shaders, as they need to be reworked for VR viewing.

omidfaraji commented 7 years ago

thank you for answer. when I test it on HTC VIVE quality is on the HQ-Splat and EDL is enable. do you mean if i use another setting it may work? i don't access to HTC VIVE today.

eokeeffe commented 7 years ago

Ah yes, disable EDL and use either the Square or Circle quality settings. I'm currently still working on the other renderers at the moment.

omidfaraji commented 7 years ago

Ah. Ok i will test tomorrow and will give you feedback. thank you again for new improvement you are working on. i can't wait for those.

omidfaraji commented 7 years ago

i test it again. with disabling EDL and using Circle or Square it will show the points but has 2 problem.

in VREffect at lines 318 and 319 : vrDisplay.depthNear = camera.near; vrDisplay.depthFar = camera.far; i get this error: TypeError: Value being assigned to VRDisplay.depthNear is not a finite floating-point value. potree.js:17445:8

but by changing this 2 lines like this: vrDisplay.depthNear = .1; vrDisplay.depthFar = 1000000; it will be ok and can show the points but have a big problem and that problem is points strongly blinks i mean points has king of shake or jumps or hide and show quickly.

also with skybox and gradient i can't see point and just can see sky box or gradient background. but always when i can see points, it will be hide and show quickly.

please if you know what is wrong , tell me.

thanks