Questions tagged [collada]

COLLADA is a royalty-free XML schema that enables digital asset exchange within the interactive 3D industry.

COLLADA is a royalty-free XML schema that enables digital asset exchange within the interactive 3D industry.

524 questions
10
votes
4 answers

Three.js Collada - What's the proper way to dispose() and release memory (garbage collection)?

I've successfully imported a .dae scene via ColladaLoader. The problem is, I need to switch between several .dae files. I can't seem to implement the dispose method properly. dae.traverse(function(obj) { console.log('unloading '…
10
votes
4 answers

load a collada (dae) file into SCNNode (Swift - SceneKit)

This works let scene = SCNScene(named: "house.dae") Is there an equivalent for a node? let node = SCNNode(geometry: SCNGeometry( ..??.. "house.dae" ..??.. )) I have searched high and low, finding nothing that will load an entire dae file into a…
quemeful
  • 9,542
  • 4
  • 60
  • 69
9
votes
1 answer

Find object dimensions in three.js

Short question. How does one find the dimensions of a mesh in three.js? I have Collada (.dae) files which I would like to know the size of in units (x,y,z). I have seen comments about using geometry.computeBoundingBox(), but I am still not exactly…
9
votes
4 answers

Changing texture and color on Three.js collada object

I recently got three.js example from the official site working with my collada objects (.dae) using the ColladaLoader.js. Now my question is, how do i change the loaded collada object color attribute and add a custom texture?? I tried adding the…
psychok7
  • 5,373
  • 9
  • 63
  • 101
8
votes
4 answers

Converting Collada file to a a3d (Android3d) object

I am looking into Renderscript capabilities and stuck with the A3D (Android 3d) file format. I can't find an easy way to convert a Collada file into an A3D format to store my blender model. I was wondering if you guys have an idea I could try…
Mark Mooibroek
  • 7,636
  • 3
  • 32
  • 53
8
votes
1 answer

Layered COLLADA Loader for OpenGL3.1+ Context

What layers would aid in implementing this efficiently? Preferably such that I am able to get these three components listed below up with the early layers and code the rest as I go. I am writing a COLLADA loading library to use with my graphics…
8
votes
1 answer

Solve z-Up exported collada file from blender in OpenGL

I export models from Blender to Collada with animation. As it is known, Blender is a right-handed system so its up axis is z and OpenGL ES2 is Y-Up. For static meshes I can rotate the object around x axis for 90° degrees but when I apply the…
Mohamed
  • 337
  • 3
  • 18
8
votes
1 answer

Location of three.js ColladaLoader source file

I have been researching Javascript 3d programming. As such, I have learned about the THREE.js framework, and have had some success with it. Afterwards, I exported a Google Sketchup file I created (.skp) to Collada (.dae) and found some tutorials…
user1567060
  • 179
  • 1
  • 3
  • 11
7
votes
1 answer

SceneKit. Which way is up?

It seems that most 3D authoring applications use Z as the 'Up' axis. While SceneKit uses Y as the 'Up' axis. SceneKit allows you to load scenes as Collada .DAE files. When loading a Scene via either: SCNScene(named: String?, inDirectory: String?,…
BassetMan
  • 461
  • 6
  • 13
6
votes
3 answers

Collada to JSON

I try to display some Collada files with WebGL and Three.js. I tried with THREE.ColladaLoader() but it returns some materials errors. I see it's possible to convert the file to JSON and then import it to WebGL. I look around but didn't any solution…
Xavier
  • 3,919
  • 3
  • 27
  • 55
6
votes
1 answer

Where may one get sample 3d environments?

I want to test my 3d rendering engine as it gets developed, but I am using really lame objects like COLLADA models and such. I was wondering if anyone knew about a repository where one could download full 3d scenes, like cities, but not full levels.
solinent
  • 1,605
  • 1
  • 17
  • 19
6
votes
2 answers

Xpath fails if an element has a a xmlns attribute

Possible Duplicate: xPath finds nothing but * Im trying to use xml to parse a .COLLADA file. The problem is I can't seem to use xpath() to access elements if the root tag has a xmlns attribute. For example this works: $string = <<
Callum
  • 610
  • 6
  • 12
6
votes
1 answer

Dynamic 3DObject use in ARKit-SceneKit

I want to download the 3D Object-dae(collada) file from server and want to display on surface dynamically so can please share how can I achieve this in ARKit via SceneKit or else?
Hardik Gajjar
  • 5,038
  • 8
  • 33
  • 51
6
votes
1 answer

Is there a way to convert gltf to dae?

I can make gltf files with the collada to gltf converter. But is there a way to reverse this?
Ryad Shaanbi
  • 109
  • 2
  • 16
6
votes
1 answer

SceneKit – Playing DAE and USDZ animation using Objective-C

I want to create walking man animation in SceneKit. I'm exporting animated .dae files from 3DSMax + OpenCollada , I also use ConvertToXcodeCollada to combine all animations in one. How i get animation: SCNScene *humanScene = [SCNScene…
1
2
3
34 35