Add 3D-file-viewer component #1558
|
@ -78,6 +78,7 @@
|
||||||
"shapeshift.io": "^1.3.1",
|
"shapeshift.io": "^1.3.1",
|
||||||
"source-map-support": "^0.5.4",
|
"source-map-support": "^0.5.4",
|
||||||
"stream-to-blob-url": "^2.1.1",
|
"stream-to-blob-url": "^2.1.1",
|
||||||
|
"three": "^0.93.0",
|
||||||
"tree-kill": "^1.1.0",
|
"tree-kill": "^1.1.0",
|
||||||
"y18n": "^4.0.0"
|
"y18n": "^4.0.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,8 +3,8 @@ import React from 'react';
|
||||||
import Spinner from 'component/spinner';
|
import Spinner from 'component/spinner';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
status: string,
|
|
||||||
spinner: boolean,
|
spinner: boolean,
|
||||||
|
status: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
class LoadingScreen extends React.PureComponent<Props> {
|
class LoadingScreen extends React.PureComponent<Props> {
|
||||||
|
@ -17,7 +17,8 @@ class LoadingScreen extends React.PureComponent<Props> {
|
||||||
return (
|
return (
|
||||||
<div className="content__loading">
|
<div className="content__loading">
|
||||||
{spinner && <Spinner light />}
|
{spinner && <Spinner light />}
|
||||||
{status && <span className="content__loading-text">{status}</span>}
|
|
||||||
|
<span className="content__loading-text">{status}</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
269
src/renderer/component/threeViewer/index.jsx
Normal file
|
@ -0,0 +1,269 @@
|
||||||
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// @flow
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
import * as React from 'react';
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
import * as THREE from './internal/three.js';
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
import detectWebGL from './internal/detector.js';
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
import ThreeScene from './internal/scene.js';
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
import ThreeLoader from './internal/loader.js';
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
import ThreeRenderer from './internal/renderer.js';
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
import LoadingScreen from 'component/common/loading-screen';
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
type Props = {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
theme: string,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
autoRotate: boolean,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
source: {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
fileType: string,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
filePath: string,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
},
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
};
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
class ThreeViewer extends React.PureComponent<Props> {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
constructor(props: Props) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
super(props);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
//Main container
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.viewer = React.createRef();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Object colors
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.materialColors = {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
red: '#e74c3c',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
blue: '#3498db',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
green: '#44b098',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
orange: '#f39c12',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
};
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.state = {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
error: null,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
isReady: false,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
isLoading: false,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
};
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.themes = {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
dark: {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
gridColor: '#414e5c',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
groundColor: '#13233C',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
backgroundColor: '#13233C',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
centerLineColor: '#7f8c8d',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
},
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
light: {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
gridColor: '#7f8c8d',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
groundColor: '#DDD',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
backgroundColor: '#EEE',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
centerLineColor: '#2F2F2F',
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
},
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
};
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const { theme } = this.props;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.theme = this.themes[theme] || this.themes.light;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
createOrbitControls(camera, canvas) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const { autoRotate } = this.props;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const controls = new THREE.OrbitControls(camera, canvas);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Controls configuration
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
controls.enableDamping = true;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
controls.dampingFactor = 0.75;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
controls.enableZoom = true;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
controls.minDistance = 1;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
controls.maxDistance = 50;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
controls.autoRotate = autoRotate;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
return controls;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
createGeometry(data) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const geometry = new THREE.Geometry();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
geometry.fromBufferGeometry(data);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
geometry.computeBoundingBox();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
geometry.computeVertexNormals();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
geometry.center();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
geometry.rotateX(-Math.PI / 2);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
geometry.lookAt(new THREE.Vector3(0, 0, 1));
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
return geometry;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
createWireFrame(group) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const wireframe = new THREE.WireframeGeometry(group.geometry);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.wireframe = new THREE.LineSegments(wireframe);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.wireframe.material.depthTest = false;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.wireframe.material.opacity = 0;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.wireframe.transparent = true;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
group.add(this.wireframe);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
createMesh(geometry) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const material = new THREE.MeshPhongMaterial({
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
opacity: 1,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
transparent: true,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
depthWrite: true,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
vertexColors: THREE.FaceColors,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Positive value pushes polygon further away
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
polygonOffsetFactor: 1,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
polygonOffsetUnits: 1,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
});
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Set material color
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
material.color.set(this.materialColors.green);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const mesh = new THREE.Mesh(geometry, material);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
mesh.name = 'objectGroup';
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.scene.add(mesh);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.fitMeshToCamera(mesh);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.setControlsTarget(mesh.position);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
return mesh;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
toggleWireFrame(show = false) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.wireframe.opacity = show ? 1 : 0;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.mesh.material.opacity = show ? 0 : 1;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
//this.mesh.material.shading(THREE.FlatShading);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
fitMeshToCamera(group) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
let max = { x: 0, y: 0, z: 0 };
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
let min = { x: 0, y: 0, z: 0 };
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
group.traverse(child => {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
if (child instanceof THREE.Mesh) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const box = new THREE.Box3().setFromObject(group);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Max
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
max.x = box.max.x > max.x ? box.max.x : max.x;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
max.y = box.max.y > max.y ? box.max.y : max.y;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
max.z = box.max.z > max.z ? box.max.z : max.z;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Min
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
min.x = box.min.x < min.x ? box.min.x : min.x;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
min.y = box.min.y < min.y ? box.min.y : min.y;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
min.z = box.min.z < min.z ? box.min.z : min.z;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
});
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const meshY = Math.abs(max.y - min.y);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const meshX = Math.abs(max.x - min.x);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const meshZ = Math.abs(max.z - min.z);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const scaleFactor = 10 / Math.max(meshX, meshY);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
group.scale.set(scaleFactor, scaleFactor, scaleFactor);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
group.position.y = meshY / 2 * scaleFactor;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
group.position.multiplyScalar(-1);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
group.position.y += meshY * scaleFactor;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.createWireFrame(group);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
setControlsTarget(point) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.controls.target.fromArray([point.x, point.y, point.z]);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.controls.update();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
startLoader() {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const { source } = this.props;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
source &&
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
ThreeLoader(source, this.renderModel.bind(this), {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
onStart: this.handleStart(this),
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
onLoad: this.handleReady.bind(this),
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
onError: this.handleError.bind(this),
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
onProgress: this.handleProgress.bind(this),
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
});
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
handleStart() {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.setState({ isLoading: true });
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
handleReady() {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Handle load ready
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.setState({ isReady: true, isLoading: false });
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.toggleWireFrame();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
handleResize = () => {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const { offsetWidth: width, offsetHeight: height } = this.viewer.current;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.camera.aspect = width / height;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.camera.updateProjectionMatrix();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.controls.update();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.renderer.setSize(width, height);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
};
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
handleError(url) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.setState({ error: "Sorry, looks like we can't load this file" });
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
handleProgress(url, currentItem, totalItems) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
/// Handle progress
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
handleColorChange(color) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
if (!this.mesh) return;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const pickColor = this.materialColors[color] || this.materialColors.green;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.mesh.material.color.set(pickColor);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.wireframe.material.color.set(pickColor);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
renderModel(fileType, data) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const geometry = this.createGeometry(data);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.mesh = this.createMesh(geometry);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
renderScene() {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.renderer = ThreeRenderer({
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
antialias: true,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
shadowMap: true,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
});
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.scene = ThreeScene({
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
showFog: true,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
showGrid: true,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
...this.theme,
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
});
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const viewer = this.viewer.current;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const canvas = this.renderer.domElement;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const { offsetWidth: width, offsetHeight: height } = viewer;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Camera
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.camera = new THREE.PerspectiveCamera(80, width / height, 0.1, 1000);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.camera.position.set(-9.5, 14, 11);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Controls
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.controls = this.createOrbitControls(this.camera, canvas);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Set viewer size
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.renderer.setSize(width, height);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Load file and render mesh
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.startLoader();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const updateScene = () => {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
requestAnimationFrame(updateScene);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.controls.update();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.renderer.render(this.scene, this.camera);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
};
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
updateScene();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Append canvas
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
viewer.appendChild(canvas);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
componentDidMount() {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
if (detectWebGL()) {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.renderScene();
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// Update render on resize window
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
window.addEventListener('resize', this.handleResize, false);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
} else {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
// No webgl support, handle Error...
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
this.state({ error: 'No webgl support!' });
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
componentWillUnmount() {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
window.removeEventListener('resize', this.handleResize, false);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
render() {
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const { isReady, isLoading, error } = this.state;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const loadingMessage = 'Rendering model.';
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const showViewer = isReady && !error;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
const showLoading = isLoading && !error;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
return (
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
<React.Fragment>
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
{error && <LoadingScreen status={error} />}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
{showLoading && <LoadingScreen status={loadingMessage} />}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
<div style={{ opacity: isReady ? 1 : 0 }} className="three-viewer" ref={this.viewer} />
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
</React.Fragment>
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
);
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
}
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
|||||||
|
export default ThreeViewer;
|
||||||
You shouldn't need to bind You shouldn't need to bind `this` in these functions. `handleStart` (and the others) uses the same `this` reference
I think we will hold off on the progress bar for now, we have a progress percentage below the file. I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it. I think we will hold off on the progress bar for now, we have a progress percentage below the file.
I am going to add analytics for start to stream time, that will give us an idea of average time spent looking at the loading screen. If it's decently high I think we can add it.
|
10
src/renderer/component/threeViewer/internal/detector.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
const detectWebGL = () => {
|
||||||
|
// Create canvas element.
|
||||||
|
const canvas = document.createElement('canvas');
|
||||||
|
// Get WebGLRenderingContext from canvas element.
|
||||||
|
const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
|
||||||
|
// Return the result.
|
||||||
|
return gl && gl instanceof WebGLRenderingContext;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default detectWebGL;
|
35
src/renderer/component/threeViewer/internal/loader.js
Normal file
|
@ -0,0 +1,35 @@
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
import { LoadingManager, STLLoader, OBJLoader } from './three.js';
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
const Manager = ({ onLoad, onStart, onProgress, onError }) => {
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
const manager = new THREE.LoadingManager();
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
manager.onLoad = onLoad;
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
manager.onStart = onStart;
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
//manager.onProgress = onProgress;
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
manager.onError = onError;
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
return manager;
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
};
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
const Loader = (fileType, manager) => {
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
const fileTypes = {
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
stl: () => new STLLoader(manager),
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
obj: () => new OBJLoader(manager),
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
};
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
return fileTypes[fileType] ? fileTypes[fileType]() : null;
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
};
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
const ThreeLoader = ({ fileType, filePath }, renderModel, managerEvents) => {
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
if (!fileType) return;
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
const manager = Manager(managerEvents);
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
const loader = Loader(fileType, manager);
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
// Unsuported loader
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
if (!loader) return false;
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
loader.load(filePath, data => {
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
renderModel(fileType, data);
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
});
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
};
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
|||||||
|
export default ThreeLoader;
|
||||||
I don't think this function is being used? I see it being called below, but that value isn't being used. I don't think this function is being used? I see it being called below, but that value isn't being used.
https://github.com/lbryio/lbry-desktop/blob/34ba2cf3ebad8383e045d606ff8b5c27921e53a7/src/renderer/component/threeViewer/internal/loader.js#L24
|
15
src/renderer/component/threeViewer/internal/renderer.js
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
import { WebGLRenderer } from './three';
|
||||||
|
|
||||||
|
const ThreeRenderer = ({ antialias, shadowMap }) => {
|
||||||
|
const renderer = new WebGLRenderer({
|
||||||
|
antialias,
|
||||||
|
});
|
||||||
|
// Renderer configuration
|
||||||
|
renderer.setPixelRatio(window.devicePixelRatio);
|
||||||
|
renderer.gammaInput = true;
|
||||||
|
renderer.gammaOutput = true;
|
||||||
|
renderer.shadowMap.enabled = shadowMap;
|
||||||
|
return renderer;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default ThreeRenderer;
|
57
src/renderer/component/threeViewer/internal/scene.js
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
import * as THREE from './three.js';
|
||||||
|
|
||||||
|
const addGrid = (scene, { gridColor, centerLineColor, size }) => {
|
||||||
|
const divisions = size / 2;
|
||||||
|
const grid = new THREE.GridHelper(
|
||||||
|
size,
|
||||||
|
divisions,
|
||||||
|
new THREE.Color(centerLineColor),
|
||||||
|
new THREE.Color(gridColor)
|
||||||
|
);
|
||||||
|
grid.material.opacity = 0.4;
|
||||||
|
grid.material.transparent = true;
|
||||||
|
scene.add(grid);
|
||||||
|
};
|
||||||
|
|
||||||
|
const addLights = (scene, color, groundColor) => {
|
||||||
|
// Light color
|
||||||
|
const lightColor = new THREE.Color(color);
|
||||||
|
// Main light
|
||||||
|
const light = new THREE.HemisphereLight(lightColor, groundColor, 0.4);
|
||||||
|
// Shadow light
|
||||||
|
const shadowLight = new THREE.DirectionalLight(lightColor, 0.4);
|
||||||
|
shadowLight.position.set(100, 50, 100);
|
||||||
|
// Back light
|
||||||
|
const backLight = new THREE.DirectionalLight(lightColor, 0.6);
|
||||||
|
backLight.position.set(-100, 200, 50);
|
||||||
|
// Add lights to scene
|
||||||
|
scene.add(backLight);
|
||||||
|
scene.add(light);
|
||||||
|
scene.add(shadowLight);
|
||||||
|
};
|
||||||
|
|
||||||
|
const Scene = ({ backgroundColor, groundColor, showFog, showGrid, gridColor, centerLineColor }) => {
|
||||||
|
// Convert colors
|
||||||
|
backgroundColor = new THREE.Color(backgroundColor);
|
||||||
|
groundColor = new THREE.Color(groundColor);
|
||||||
|
// New scene
|
||||||
|
const scene = new THREE.Scene();
|
||||||
|
// Background color
|
||||||
|
scene.background = backgroundColor;
|
||||||
|
// Fog effect
|
||||||
|
scene.fog = showFog === true ? new THREE.Fog(backgroundColor, 1, 95) : null;
|
||||||
|
|
||||||
|
showGrid &&
|
||||||
|
addGrid(scene, {
|
||||||
|
size: 100,
|
||||||
|
gridColor,
|
||||||
|
centerLineColor,
|
||||||
|
});
|
||||||
|
|
||||||
|
// Add basic lights
|
||||||
|
addLights(scene, '#FFFFFF', groundColor);
|
||||||
|
// Return new three scene
|
||||||
|
return scene;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Scene;
|
10
src/renderer/component/threeViewer/internal/three.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
import * as THREE from 'three';
|
||||||
|
|
||||||
|
// Currently it's not possible to import the files within the "examples/js" directory.
|
||||||
|
// Fix: https://github.com/mrdoob/three.js/issues/9562#issuecomment-383390251
|
||||||
|
global.THREE = THREE;
|
||||||
|
require('three/examples/js/controls/OrbitControls');
|
||||||
|
require('three/examples/js/loaders/OBJLoader');
|
||||||
|
require('three/examples/js/loaders/STLLoader');
|
||||||
|
|
||||||
|
module.exports = global.THREE;
|
|
@ -8940,6 +8940,10 @@ text-table@~0.2.0:
|
||||||
version "0.2.0"
|
version "0.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
|
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
|
||||||
|
|
||||||
|
three@^0.93.0:
|
||||||
|
version "0.93.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/three/-/three-0.93.0.tgz#3fd6c367ef4554abbb6e16ad69936283e895c123"
|
||||||
|
|
||||||
throttleit@0.0.2:
|
throttleit@0.0.2:
|
||||||
version "0.0.2"
|
version "0.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-0.0.2.tgz#cfedf88e60c00dd9697b61fdd2a8343a9b680eaf"
|
resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-0.0.2.tgz#cfedf88e60c00dd9697b61fdd2a8343a9b680eaf"
|
||||||
|
|
You shouldn't need to bind
this
in these functions.handleStart
(and the others) uses the samethis
reference