Questions tagged [xml3d]

XML3D is a XML format for 3D scenegraphs and has a WebGL engine called xml3d.js.

XML3D is a XML format for 3D scenegraphs and has a WebGL engine called xml3d.js.

It is a joint project of the DFKI, the Computergraphics Lab of the Saarland University and the Intel Visual Computing Institute.

19 questions
3
votes
3 answers

Export ThreeJS Geometry to JSON

I need to export Three Geometry to JSON so I can used with xml3D. I am trying to find the THREE.GeometryExporter() but I can't. Has it been completely deprecated? It is mentioned here Once I have the Three JSON I should be able to use this…
PolGuixe
  • 63
  • 1
  • 7
2
votes
1 answer

Load XML3D models with AJAX/javascript (.stl or .json)

Is it possible to change the model from javascript/jquery/ajax? I managed only to visualize an .stl file (using the xml3d-stl-plugin mentioned by ksons on Can i use xml3d with stl models?) or xml3d .json file using the basic xml3d.js on get request…
1
vote
1 answer

XML3D getLocalBoundingBox gives "this.renderNode.getObjectSpaceBoundingBox is not a function" Error

This is quite hard to understand, I am working with current xml3D.js version 5.2. I am plaing with *BoundingBox() functions to ease the positioning of assets & cameras. Contents are properly loaded, The error appears unsing an xml3D assets file. It…
jbheren
  • 516
  • 3
  • 11
1
vote
1 answer

xml3d-tools gives XML3D.URIResolver is undefined error

I began Working with xml3d.tools.js which seems quite not updated anymore. Actually the library fails at executing this part : oldRefNode = XML3D.URIResolver.resolveLocal(oldRef); TypeError: XML3D.URIResolver is undefined xml3d.js Version is…
jbheren
  • 516
  • 3
  • 11
1
vote
0 answers

how to access asset in xml3d 5.1

I am a beginner in learning 3d modeling and particularly interested in xml3d. I do not work in IT. I want to know how to use external assets and the only detailed resource I can find is GitHub xml3d-examples. This site assets example shows how to…
Nathan
  • 11
  • 2
1
vote
1 answer

XML3D Bounding boxes

From what I've read in specs each scene element form XML3D has bounding box associated with it. I would like to ask how is the size of bounding boxes calculated? Especially for the and elements - does it take into consideration the…
Xyz
  • 1,522
  • 17
  • 23
1
vote
2 answers

XML3D: Camera controls & XML3D tools

What is the suggested approach for handling user input and camera controls in XML3D? Basic interactivity can be added using the DOM tree events, but I'm not sure if that would be enough to provide rotation gizmos (for example). Does library provides…
Xyz
  • 1,522
  • 17
  • 23
1
vote
2 answers

Access to render pipeline in XML3D: Object highlightning

I want to make object to become highlighted when selected in order to do this I need a custom shader that scales that renders the model outline - this part of the task I'm familiar with - XML3D provides a way to implement custom shader. But the…
Xyz
  • 1,522
  • 17
  • 23
1
vote
3 answers

Can i use xml3d with stl models?

I'd really like to use STL models with XML3d. Is there a way to convert back and forth between these formats?
tnorman
  • 11
  • 3
1
vote
1 answer

XML3D API methods and scene hierarchy

I'm using XML3D library to make a simple 3D editor. I wonder if the users of this library are supposed to use its API too or just treat this lib as a tool that renders scene from XML scene definition. First thing i need would be to create some js…
Xyz
  • 1,522
  • 17
  • 23
1
vote
1 answer

XML3D, document.createElementNS, and Meteor

I posted this to the Meteor-Talk Google Group, but I figure that this is such an obscure question, it needs a signal boost. I'm trying to create a plugin that let's you add XML-style elements to an HTML document, as is possible with HTML5, for use…
Hunter Beast
  • 782
  • 7
  • 17
0
votes
1 answer

XML3D: Efficient display & change of large textures

I'm using XML3D and sphere model to display 360 photos. The problem is I need to change large textures frequently. What is the optimal way to use XML3D or webgl for rendering 360 photos? How can I optimize the texture switching? Would it be better…
Xyz
  • 1,522
  • 17
  • 23
0
votes
1 answer

Looking for examples of programmatic generation of geometries in xml3d

There are various examples here in the specification but I could not find an end-to-end example on how to start e.g. with a numerical dataset representing an object surface, construct the meshes on the fly and display in a browser.
0
votes
1 answer

Loading XML3D with require.js

XML3D doesn't work with require.js even if one make sure its loaded first and use "shim" configuration option (for non-AMD modules). I've following code: index.html that contains xml3d tags ...some stuff..
Xyz
  • 1,522
  • 17
  • 23
0
votes
1 answer

XML3D: Exporting animations from blender

How one should prepare the animations for export to xml3d? Does the exporter supports pose library? Or the exported animations are keyframe based. Is there any documentation where I can check how exporter maps the animation data?
Xyz
  • 1,522
  • 17
  • 23
1
2