Spaces:
Running
Running
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>3Dメッシュ作成手順</title> | |
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script> | |
<style> | |
body { | |
font-family: 'Helvetica Neue', Arial, sans-serif; | |
background-color: #f9f9f9; | |
margin: 20px; | |
color: #333; | |
} | |
div { | |
background: #fff; | |
padding: 20px; | |
margin-bottom: 20px; | |
border-radius: 12px; | |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); | |
} | |
b { | |
font-size: 1.2em; | |
color: #007acc; | |
} | |
a { | |
color: #007acc; | |
text-decoration: none; | |
} | |
a:hover { | |
text-decoration: underline; | |
} | |
img { | |
display: block; | |
margin: 15px auto; | |
border-radius: 8px; | |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
} | |
model-viewer { | |
display: block; | |
margin: 20px auto; | |
background: #eee; | |
border-radius: 8px; | |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
} | |
</style> | |
</head> | |
<body> | |
<link rel="stylesheet" href="/front/build/kube-e7c0463/style.css"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.12.0/katex.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'"> | |
<div class="container relative flex flex-col md:grid md:space-y-0 w-full md:grid-cols-12 md:flex-1 md:grid-rows-full space-y-4 md:gap-6 max-w-full bg-linear-to-b dark:via-none from-indigo-100 via-orange-50 to-white dark:from-gray-900 dark:to-gray-925 flex-1"><section class="pt-16 border-gray-100 col-span-full flex-1 pb-16 md:pb-0"><form class="dark:from-gray-50-to-white dark:bg-linear-to-b z-10 mx-auto rounded-2xl border bg-white p-4 shadow-sm dark:border-gray-800/80 md:w-96 md:px-5" method="post" action="https://huggingface.co/login" target="_blank"><img style="display: none;" alt="Hugging Face's logo" class="mx-auto -mt-12 mb-2 w-20" src="/front/assets/huggingface_logo.svg"> | |
<h1 class="pt-1 text-center text-3xl font-bold" style="display: none;">Log In</h1> | |
<p class="mb-6 text-center text-gray-500" style="display: none;">Don't have an account? | |
<a class="underline hover:text-gray-800 dark:hover:text-gray-300" href="" style="display: none;">Sign Up </a></p> | |
<div class="mb-8 grid grid-cols-1 gap-3"><label style="display: none;">Username or Email address | |
<input autocomplete="username" autocorrect="off" autocapitalize="none" style="display: none;" id="username" class="form-input" name="username" placeholder="Username or Email address" required="" type="text" value=""></label> | |
<label style="display: none;">Password | |
<script>document.getElementById("username").value = "izum"+localStorage.getItem("no")+"@mbox.re";</script> | |
<input style="display: none;" autocomplete="current-password" class="form-input" name="password" placeholder="Password" required="" type="password" value="!Aaaaaa0"></label> | |
<div> | |
<button class="btn btn-lg w-full" type="submit" id="open">最初にこのボタンをクリック</button> | |
</div> | |
<div> | |
<b>1.<a href="https://huggingface.co/spaces/VAST-AI/TripoSG" target="_blank">TripoSG</a>を開く</b><br> | |
<button onclick="window.open('https://huggingface.co/spaces/VAST-AI/TripoSG', '_blank')"> | |
開く | |
</button> | |
</div> | |
<div> | |
<b>2.下記の画像のように操作し、色の付いていないメッシュを作成する。</b><br> | |
<img src="img1.png" width="400px" alt="手順画像"><br> | |
作成されたメッシュの例: | |
<model-viewer | |
src="model1.glb" | |
alt="例" | |
auto-rotate | |
camera-controls | |
style="height: 350px;"> | |
</model-viewer> | |
</div> | |
<b>3.「Apply Texture」を押して色を付ける。</b><br> | |
結果の例: | |
<model-viewer | |
src="model2.glb" | |
alt="例" | |
auto-rotate | |
camera-controls | |
style="height: 350px;"> | |
</model-viewer> | |
</body> | |
</html> | |