
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Bhavesh Shrirao</title>
    <script type="module" src="https://ajax.googleapis.com/ajax/libs/model-viewer/3.3.0/model-viewer.min.js"></script>
    <style>
        body {
            font-family: sans-serif;
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            background-color: #f0f0f0;
        }
        model-viewer {
            width: 100%;
            height: 600px;
            max-width: 800px;
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .controls {

        }
        select {
            padding: 8px;
            border-radius: 4px;
            border: 1px solid #ddd;
        }
    </style>
</head>
<body>
<h1>Varco Estate 3D Model</h1>
    <model-viewer 
        id="ar-model"
        src="V.glb"
        ar
        ar-modes="webxr scene-viewer quick-look"
        camera-controls
        touch-action="pan-y"
        shadow-intensity="1"
        exposure="0.8"
        alt="A 3D model"
    >
    <div class="controls">

    </model-viewer>

    <script>
        const modelViewer = document.querySelector("model-viewer#ar-model");
        const select = document.querySelector('#variant');

        modelViewer.addEventListener('load', () => {
            const names = modelViewer.availableVariants;
            if (names) {
              for (const name of names) {
                const option = document.createElement('option');
                option.value = name;
                option.textContent = name;
                select.appendChild(option);
              }
            // Adds a default option.
            const option = document.createElement('option');
              option.value = 'default';
              option.textContent = 'Default';
              select.appendChild(option);
            }
        });

        select.addEventListener('input', (event) => {
            modelViewer.variantName = event.target.value === 'default' ? null : event.target.value;
        });
    </script>
    <script   disable-devtool-auto="" src="https://asset.mindvyuh.com/disable-devtool.min.js.download" url="https://www.instagram.com/mindvyuh_official/" disable-menu="true"></script>

</body>
</html>