mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-24 08:35:41 +08:00
* initial commit for viewer refactor * updating name change to nerfactory * adding headers * making the rendering fix which broke from a merge * things are starting to work. removing old commands now * removed prints * cleanup * updating state works now even for nested dictionaries * updating state in redux. listening for state changes. trying to draw three.js now * added drawing functionality. need to fix translation of frustums and image planes * images and frustums drawn correctly * fixing lint * github actions * back to npm * fixing eslint * remove package.json from root * new favicon * some viewer cleanup * notebook * fixed camera drawings speed to avoid redraw * trying to get Leva to update * quick fix * synced config panel * adding notebook * fixing output print error
15 lines
413 B
React
15 lines
413 B
React
import React from 'react';
|
|
import ReactDOM from 'react-dom/client';
|
|
import { Provider } from 'react-redux';
|
|
import App from './App';
|
|
import WebSocketProvider from './modules/WebSocket/WebSocket';
|
|
import store from './store';
|
|
|
|
const root = ReactDOM.createRoot(document.getElementById('root'));
|
|
root.render(
|
|
<Provider store={store}>
|
|
<WebSocketProvider>
|
|
<App />
|
|
</WebSocketProvider>
|
|
</Provider>,
|
|
); |