File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 < p id ="mv-status "> </ p >
4545 < input type ="checkbox " id ="do_antialias " checked > antialias</ input >
4646 < input type ="checkbox " id ="do_multiview " checked > use multiview</ input >
47+ < input type ="checkbox " id ="do_reprojection "> webgl based reprojection</ input >
4748 </ details >
4849 </ header >
4950 < script type ="module ">
5758 // XR globals.
5859 let do_antialias = document . getElementById ( 'do_antialias' ) ;
5960 let do_multiview = document . getElementById ( 'do_multiview' ) ;
61+ let do_reprojection = document . getElementById ( 'do_reprojection' ) ;
6062 let xrButton = null ;
6163 let xrImmersiveRefSpace = null ;
6264 let inlineViewerHelper = null ;
147149 depthSensing : {
148150 usagePreference : [ "gpu-optimized" ] ,
149151 dataFormatPreference : [ "unsigned-short" ] ,
150- matchDepthView : false
152+ matchDepthView : ! do_reprojection
151153 } } ) . then ( ( session ) => {
152154 xrButton . setSession ( session ) ;
153155 session . isImmersive = true ;
You can’t perform that action at this time.
0 commit comments