Questions tagged [x3d]

X3D is a markup language for 3D graphics.

Extensible 3D Graphics (X3D) is the royalty-free open ISO standard for publishing, viewing and archiving interactive 3D models on the Web. X3D scene graphs include geometry, animation and user interaction.

X3D encodings include XML (.x3d extension) and ClassicVRML (.x3dv extension), with renewed standardization work on JavaScript Object Notation (.json), efficient binary encoding (SRC+EXI) and a run-time Java API (X3DJSAIL).

Multiple tools, converters and applications are available, with open-source and commercial support. Further information and many resources can be found at

178 questions
2
votes
1 answer

X3D Calculating IndexedFaceSet coordIndex

I would like to create an X3D arch through html, something like this: http://x3dgraphics.com/examples/X3dForAdvancedModeling/3DPrinting/UavBeehiveIndex.html Since I have found that a cylinder shape is not enough to create an arch, I cannot define…
mag paige
  • 29
  • 5
2
votes
1 answer

How to convert .stl files into a .x3d file using Java / Javascript

I want to convert .stl files to a .x3d file so that it can be used by HTML5 supported browser. I have figured out way to display x3d in HTML5 but struggling with converting .stl files to .x3d format using either Java or Javascript. Please help.
Kallol
  • 21
  • 2
2
votes
1 answer

x3d - how to create polygon (polyhedron)?

I'm new to x3d and have no idea how to create flat area like on picture in x3d? Here are the coordinates of…
Somerussian
  • 381
  • 4
  • 17
2
votes
1 answer

Rotating Objects in x3d

So I've been trying for the last couple of hours to get this sofa model I got from here to rotate 360* on its x axis with no success. The code I've been using is below. The sofa model itself contains a few different objects. Like arms, legs, and…
Aizzle
  • 133
  • 1
  • 9
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
2 answers

X3D Relative URL's

So I'm developing an X3D scene with NetBeans and the X3D plugins (Similar to X3D-Edit), after validating my file with the built in quality assurance validator I get the following error; url array address(es) missing online…
omegaFlame
  • 245
  • 3
  • 9
  • 21
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…
2
votes
0 answers

RapidXml attribute 100 character limit

I am trying to parse an .x3d document using RapidXml. Unfortunately, it only gives me the first 100 characters of any node attribute. I looked through the documentation, and it looks like there shouldn't be any limit on attribute value length. I'm…
2
votes
3 answers

Convert OpenGL 4-matrix into VRML T*R*S

I am trying to export a scene from a direct-mode OpenGL program to VRML. In both OpenGL and VRML, faces can be grouped into objects with their own translation, rotation and scale relative to the scene origin. In OpenGL these are stored as a 4-matrix…
Rich
  • 15,048
  • 2
  • 66
  • 119
1
vote
1 answer

WebGL Normals and Indices / Directional lighting / X3D / Blender

I have put a question up in html as I think it helps to have images to ask the question. http://www.jamestrusler.co.uk/files/webglquestion/question1.html Here is the covering question that can be seen within the html page too: Can you rotate/scale…
Jimmyt1988
  • 20,466
  • 41
  • 133
  • 233
1
vote
0 answers
1
vote
2 answers

Python web app for programmatic 3D scene construction

I'm currently developing a Django app that allows students to programmatically develop SVG graphics. They can code Python in their browser with ACE editor. The code is executed on the server, stored in a database and the generated SVG (custom…
Marc Koch
  • 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

jQuery selection problem

was just wondering if you could help. I have the following bit of code:
adwilk
  • 55
  • 8
1
vote
0 answers

Blender: python batch/script to convert x3d format to obj format

In a Blender context, I am trying to convert an x3d file into an obj file format. To run the script I use the command blender -b -P. Here is the x3d file:
Sim81
  • 1,574
  • 2
  • 9
  • 15
1
2
3
11 12