You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.
Hello guys, I have a doubt, because I'm trying create an interactive virtual tour. So, I have 3 images, the environment, the floor and the wall, these images all are png images. I want to render environment and choose which wall or floor i want to render.
I trying render just a image now, but doesn't appears on screen.
so, anyone can help me?
// This file contains the boilerplate to execute your React app.
// If you want to modify your application's content, start in "index.js"
import {ReactInstance} from 'react-360-web';
function init(bundle, parent, options = {}) {
const r360 = new ReactInstance(bundle, parent, {
// Add custom options here
fullScreen: true,
...options,
});
// Render your app content to the default cylinder surface
r360.renderToSurface(
r360.createRoot('proj16_pano', { /* initial props */ }),
r360.getDefaultSurface()
);
// Load the initial environment
r360.compositor.setBackground(r360.getAssetURL('enviroment.png'));
}
window.React360 = {init};
Hello guys, I have a doubt, because I'm trying create an interactive virtual tour. So, I have 3 images, the environment, the floor and the wall, these images all are png images. I want to render environment and choose which wall or floor i want to render.
I trying render just a image now, but doesn't appears on screen.
so, anyone can help me?
The text was updated successfully, but these errors were encountered: