Hi folks,
here I am again with my strange questions,
today I would like to insert 3D models into my html pages.
I've read several pages and seen several solutions, but each one gives me complex problems or doesn't work at all.
With this code I can view the "Deer.x3d" file (the sample file found with the code) but I can't see my "h146.x3d" test file ...
Could you tell me why I can't just copy the code and replace my 3D model with deer.x3d?
Can you suggest me another method to embed my 3d file into an html page?
the link to your h146.x3d file gives ...
HTTP Error 404.3 - Not Found
As a test, I uploaded the Deer.x3d to my website and it worked OK.
the link to your h146.x3d file gives ...
HTTP Error 404.3 - Not Found
As a test, I uploaded the Deer.x3d to my website and it worked OK.
.. i've find also this : https://modelviewer.dev/
very good very fine ..
I've copied/download all the entire website and put here: www.nastri-trasportatori.com/3dmd/index.html
but i cant see no one 3d model ...
what makes me sad is that if I go here https://www.nastri-trasportatori.com/3dmd/editor/index.html and I drag or upload "NeilArmstrong.glb" I'll see correctly the 3d model ...
(3d model that you can find here nastri-trasportatori.com/3dmd/shared-assets/models/NeilArmstrong.glb instead "HTTP Error 404.3 - Not Found" message)
(her you can download the same models https://nastri-trasportatori.com/3dmd/shared-assets/models/All-3d-models.zip 11.4mb)
.... sob ...
Can anyone help me understand something?
You probably did not edit the code fully.
Try this one, instead...
model_viewer.html ( 8.93k ) Number of downloads: 52
...it works OK for me.
Hi there calmabubbasst,
if you are mildly interested, these are the reported errors for you page...
Loading failed for the <script> with source “https://www.nastri-trasportatori.com/www.google-analytics.com/analytics.js”. index.html:48:63
Loading failed for the <script> with source “https://www.nastri-trasportatori.com/web3dsurvey.com/collector.js”. index.html:40:54
Source map error: Error: request failed with status 404
Resource URL: https://www.nastri-trasportatori.com/3dmd/node_modules/%40google/model-viewer/dist/model-viewer.min.js
Source Map URL: model-viewer.min.js.map
if you are mildly interested, these are the reported errors for you page...
Loading failed for the <script> with source “https://www.nastri-trasportatori.com/www.google-analytics.com/analytics.js”. index.html:48:63
Loading failed for the <script> with source “https://www.nastri-trasportatori.com/web3dsurvey.com/collector.js”. index.html:40:54
Source map error: Error: request failed with status 404
Resource URL: https://www.nastri-trasportatori.com/3dmd/node_modules/%40google/model-viewer/dist/model-viewer.min.js
Source Map URL: model-viewer.min.js.map
Also could you tell me how to "erase/clear" the (A) pages zone?
Yes, I can do that.
Change this code...CODE
<style>
.demo model-viewer {
background-color: #fff;
}
</style>
...to this...CODE
<style>
.demo model-viewer {
background-color: #fff;
}
.slogan, pre {
display: none;
}
</style>
Ok ... tnx you, i do 1 more step
https://www.nastri-trasportatori.com/3dmd/test3.html
but ... i dont want to stay in the right side but i wanna have my 4 glb files spread across the entire page without leaving empty areas
How i can reach it?
And more importantly, I don't understand why my 3D files aren't showing while the others work? (I tried and even in Windows Explorer you can see my 3Ds clearly)
Why can't they be seen online?
I want to have my 4 glb files spread across the entire page without leaving empty areas
Try this...
test3.html ( 2.83k ) Number of downloads: 58
I don't understand why my 3D files aren't showing while the others work?
I cannot say from where I'm standing.
You will have to check your coding for them, as it is probably flawed.
Hi @coothead, tnx to your help i've got this
https://www.nastri-trasportatori.com/3dmd/test33.html
instead i dont understand whats wrong to my files ... I've transleted it from .stp to .glb with online translator, so i dont know how to check coding ..
As i tell you, the strange things it's that in my win10 explorer, that files runs good ...
here my 3D files videos https://streamable.com/wzqv0d
<iframe src="https://streamable.com/e/wzqv0d" width="560" height="277" frameborder="0" allowfullscreen></iframe>
Maybe you are able to suggest me how to check coding and fix - ora how to embedd others 3D format files?
Many thanks for your support and patience
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)