x3d dom is a js webgl dom that provides inlining of x3d data right in the browser using webgl. more on x3d at www.web3d.org and on x3dom at x3dom.org
Questions tagged [x3dom]
149 questions
2
votes
2 answers
unable to color faces using indexedfaceSet in x3dom
I am looking for a way to display some meshes with color mapping in Chrome browser, so I have tried x3dom and indexedFaceSet. I assume there is a way to assign colors to vertices so that the color of the face is interpolated or at least I should be…

Tomas Letal
- 25
- 4
2
votes
1 answer
x3d light throwing shadows through 'walls'
I want to model a building and inside lights. But there are problems with the shadow... I attached two screenshots 1) how it should look like (rendered scene in blender) and 2) how it looks (exported to x3d, x3dom in browser).
The light is casting…

mikolaskova
- 121
- 6
2
votes
1 answer
WebGL performance problems with a >65k vertex mesh on a MacBook Pro
The following model has good performance on several low-end machines:
http://examples.x3dom.org/example/x3dom_sofaGirl.html
However on a MacBook Pro with Nvidia GT 650m the framerate is very low. I thought it was because the MacBook does not have…

user2939415
- 864
- 1
- 11
- 22
2
votes
1 answer
d3.js x3dom: How to freeze camera position and get an axis?
I saw the 3d bar chart example of d3 and another 3d example, and the one thing I wanted to do was to be able to have a static camera position. Tried the viewpoint fieldOfView, but it just doesn't seem to work. Can anyone help with having a camera at…

Nav
- 19,885
- 27
- 92
- 135
2
votes
2 answers
Displaying the attribute table as popup for x3dom objects
I am a newbie in this field and have been trying to work with the x3dom objects. The problem that I am now facing is how to display the attributes of the x3dom objects as a popup. I have seen the examples given in the x3dom website but have not…

user1879084
- 41
- 4
1
vote
1 answer
X3Dom: How many polygons are supported?
How many plogyns are supported or do also work high resolution models with many polygons as fast as small models?
Are just polygons supported or also normals and so on?
user753676
1
vote
0 answers
X3D: how to add coordinates dynamically into DOM for a IndexedFaceSet?
This is my x3d dom context:
…

Jonathan Swans
- 11
- 1
1
vote
1 answer
How to combine an uploaded X3D file with an inline node?
In my code example I have an upload button and an x3d scene.
After choosing an x3d file from the local file system the method URL.createObjectURL is called.
The content of my html file looks like this:

SebastianM
- 11
- 4
1
vote
1 answer
D3 x3dom - 3d scatter plot
I'm trying to reproduce an 3d-ScatterPlot using the d3 library. The example is written in v3 and I'm having difficulties to recreate it in v5.
The issue is that the axis don't get drawn.
function drawAxis( axisIndex, key, duration ) {
var scale =…

thaweas
- 23
- 4
1
vote
1 answer
Turning real-life object into X3DOM 3D scene
I just started to playing a bit with 3d scenes in X3DOM and I wonder if there is any 'best practice' or 'recommended way' (especially some easy one) to turn some real-life object into a 3d scene for X3DOM. Lets say some cup or any other non trivial…

Jan Zyka
- 17,460
- 16
- 70
- 118
1
vote
0 answers
Give X3DOM access to elements inside Polymer.Element
I want to use x3dom together with my PolymerElements, but if I put the needed x3d tag inside my Polymer.Element, X3Dom states, that no containers are found, because it uses document.getElementsByTagName('X3D');
see here:…

MDenn
- 61
- 6
1
vote
1 answer
X3DOM TwoSidedMaterial tag not working
I try to give blue color outside of the face and green color inside of the same face. I added this tag.

Deepak3301086
- 447
- 2
- 23
1
vote
0 answers
How to scale a shape using d3 and x3dom?
I am trying to create a 3d "chart" using d3 data-binding and x3dom.
The data-binding seems to work correctly and I am able to generate HTML which looks correct, but x3dom does not show the expected scale (as in the size of the shape is not scaled at…

Renato
- 12,940
- 3
- 54
- 85
1
vote
1 answer
Locking the scroll(onmousewheel="false") in X3D model
How do I lock the mousewheel in X3D model in html?

游智博
- 11
- 1
1
vote
0 answers
Can I prevent viewport manipulation though the right mouse button in X3DOM?
I am using the right mouse button for custom user interaction - even when in "view" mode - with x3d.runtime.turnTable() enabled.
Can I prevent x3d from reacting to the right mouse button completely?
Zooming is still ok using the mouse wheel, and…

user2707001
- 1,543
- 12
- 13