COLLADA Files Viewer [closed]
Asked Answered
W

12

13

UPDATE: looks like it's my own fault for not studying enough SketchUp's GUI. See my own answer.

Hi,

I'm planning to implement an "export to COLLADA" functionality in my mapping software, but I'm hampered by a lack of a good COLLADA files viewer. I've tried several applications:

  1. Google SketchUp provides the best viewing experience I've come across so far, but importing COLLADA files is very slow. I tried this sample I found, but it takes 2-3 minutes to load it into SketchUp, and I'm running this on a decent machine. Since developing an export code involves a lot of trials and errors, SketchUp is just too slow for experimental work.
  2. I've tried Blender, but the user interface is pretty alien for someone not doing day-to-day 3D games development. But I have to praise it for being able to load the sample file almost instantly, which makes me think SketchUp guys either do some deliberate slowing down of the import in the free version or they need to freshen up on their programming skills. (UPDATE: it turns out you can load it fast, see my answer, Sorry guys.)
  3. I also tried some other free viewers, but they are either not showing the sample properly or they have very limited viewing capabilities (no panning or orbiting, for example).

I'd be grateful for any hints, but I'm looking for first-hand experience, not just googling (I've tried that myself). I realize this is not a typical programming question, but I see no better place on StackExchange to ask this.

Wiersma answered 26/4, 2011 at 16:51 Comment(0)
S
4

I've been working on a program called meshtool. You can load and view a collada file like this:

meshtool --load_collada file.dae --viewer

The pycollada library has gotten pretty good. Almost all collada files I've come across in the wild are supported properly.

Admittedly, the meshtool program is in its infancy, so I haven't written good installation instructions yet. You will need to have python 2.5+, numpy, panda3d, PIL, and lxml installed. If you let me know your platform, I can give some more detailed instructions.

Sunstone answered 26/4, 2011 at 17:19 Comment(9)
I've accepted your answer, but I have to admit installing 6 software packages in order to view a file is not what I was looking for. Keep up the good work, though.Wiersma
Agreed! The plan is to eventually package it up with a nice installer for windows, mac, and linux. Until then, it is what it is :) Good luck with your collada exporter.Sunstone
meshtool looks nice, but it is not usable as a Collada viewer: requires a so called “direct.task” module, which seems provided by Panda3D only, which in turn cannot be installed on Ubuntu, because Panda3D is too old (require avcodec52, while modern Ubuntu have avcodec53). Would be better without dependencies to Panda3D.Deductive
@Deductive you can install the .deb manually from panda3d.org/download.php?sdk&version=develSunstone
@JTerrace. Thanks for the pointer. I was first disappointed to see it's all for AMD64, but then I found there is an unstable for Oneiric, which is close to Precise: panda3d.org/… By the way, here is a pointer I feel worth to share here: subdude-site.com/WebPages_Local/RefInfo/Computer/Linux/… P.S. My apologizes for such a long URL.Deductive
Wow, that's an impressive listSunstone
I managed to install panda3d 1.9 as well on ubuntu quantal. But still, I get "Warning: filter 'sander_simplify' disabled because of ImportError: No module named networkx" after which I get a traceback which ends in - "File "/usr/lib/python2.7/dist-packages/numpy/lib/arraysetops.py", line 178, in unique perm = ar.argsort(kind='mergesort') TypeError: requested sort not available for type " Any help here?Abrams
What version of numpy do you have? You might have to upgradeSunstone
Yes, you were right about the numpy version. Thanks. I've updated to version 1.7.1 from 1.6.2. But still, when I try the viewer I get a blank panda window. I've confirmed that panda 3d works for me. Now, when I try to run meshtool with collada_viewer on a dae file I get "Known pipe types: glxGraphicsPipe (all display modules loaded.) :display:glxdisplay(warning): No suitable FBConfig contexts available; using XVisual only. depth_bits=24 color_bits=24 alpha_bits=8 stencil_bits=8 back_buffers=1 force_hardware=1" as the output followed by grey blank panda window.Abrams
A
17

There is also MeshLab which is free and open-source, cross-platform (Windows, Mac OS X, Linux), it supports several formats (COLLADA, VRML 2.0, 3DS etc.) and has extensive viewing capabilities (e.g. panning/orbiting).

MeshLab example

Aurelioaurelius answered 25/10, 2013 at 9:15 Comment(0)
W
7

Well it turns out SketchUp is slow because it validates the COLLADA file when importing. You can turn it off:

  1. Select File | Import... menu.
  2. Click on the Options button in the Open dialog.
  3. Uncheck Validate COLLADA file checkbox.

Maybe a suggestion to SketchUp developers: either make this option more visible or turn it off by default.

Wiersma answered 27/4, 2011 at 4:43 Comment(0)
S
4

I've been working on a program called meshtool. You can load and view a collada file like this:

meshtool --load_collada file.dae --viewer

The pycollada library has gotten pretty good. Almost all collada files I've come across in the wild are supported properly.

Admittedly, the meshtool program is in its infancy, so I haven't written good installation instructions yet. You will need to have python 2.5+, numpy, panda3d, PIL, and lxml installed. If you let me know your platform, I can give some more detailed instructions.

Sunstone answered 26/4, 2011 at 17:19 Comment(9)
I've accepted your answer, but I have to admit installing 6 software packages in order to view a file is not what I was looking for. Keep up the good work, though.Wiersma
Agreed! The plan is to eventually package it up with a nice installer for windows, mac, and linux. Until then, it is what it is :) Good luck with your collada exporter.Sunstone
meshtool looks nice, but it is not usable as a Collada viewer: requires a so called “direct.task” module, which seems provided by Panda3D only, which in turn cannot be installed on Ubuntu, because Panda3D is too old (require avcodec52, while modern Ubuntu have avcodec53). Would be better without dependencies to Panda3D.Deductive
@Deductive you can install the .deb manually from panda3d.org/download.php?sdk&version=develSunstone
@JTerrace. Thanks for the pointer. I was first disappointed to see it's all for AMD64, but then I found there is an unstable for Oneiric, which is close to Precise: panda3d.org/… By the way, here is a pointer I feel worth to share here: subdude-site.com/WebPages_Local/RefInfo/Computer/Linux/… P.S. My apologizes for such a long URL.Deductive
Wow, that's an impressive listSunstone
I managed to install panda3d 1.9 as well on ubuntu quantal. But still, I get "Warning: filter 'sander_simplify' disabled because of ImportError: No module named networkx" after which I get a traceback which ends in - "File "/usr/lib/python2.7/dist-packages/numpy/lib/arraysetops.py", line 178, in unique perm = ar.argsort(kind='mergesort') TypeError: requested sort not available for type " Any help here?Abrams
What version of numpy do you have? You might have to upgradeSunstone
Yes, you were right about the numpy version. Thanks. I've updated to version 1.7.1 from 1.6.2. But still, when I try the viewer I get a blank panda window. I've confirmed that panda 3d works for me. Now, when I try to run meshtool with collada_viewer on a dae file I get "Known pipe types: glxGraphicsPipe (all display modules loaded.) :display:glxdisplay(warning): No suitable FBConfig contexts available; using XVisual only. depth_bits=24 color_bits=24 alpha_bits=8 stencil_bits=8 back_buffers=1 force_hardware=1" as the output followed by grey blank panda window.Abrams
O
2

GLC_Player is definitely also worth mentioning. Multi-platform, pretty fast and with a handy album function for viewing lots of files (you can open an entire folder hierarchy) with it.

Overwind answered 14/12, 2011 at 20:21 Comment(0)
H
2

Photoshop (at least since CS4) can open and view COLLADA files.

Hosmer answered 27/6, 2012 at 3:42 Comment(0)
H
2

The open asset import library has a standalone viewer, AssimpView, which I've been using to test an exporter I'm working on. It's fast and has some useful options for debugging. It also gives decent error messages when you screw something up, which has been a huge help.

Hopi answered 9/8, 2012 at 22:19 Comment(0)
E
1

I have created collada-viewer, an HTML5 app that brings together ColladaLoader.js, three.js, and HTML5 File API to allow easy persistent storage and loading of 3D models in the COLLADA file format.

http://www.ravenrend.com/2012/11/26/collada-viewer/

Should make viewing of multiple files pretty easy, that was the idea.

Eisen answered 30/11, 2012 at 22:22 Comment(1)
the website is down but you can see the full source at github.com/csbrandt/collada-viewerEisen
G
1

You can use Vanda Engine to load your scenes in COLLADA format and convert them to real time scenes. This is their website.

Gladstone answered 2/1, 2014 at 23:2 Comment(0)
A
1

I downloaded it from autodesk:

http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=20481519

(if link is not working: http://www.autodesk.com/products/fbx/overview)

fbx converter include dae collada viewer

Anemometry answered 19/2, 2014 at 10:8 Comment(0)
D
1

If you accept commercial tools, the best solution to view a COLLADA file is using Autodesk 3ds Max or Maya with OpenCollada plugin. It has support for COLLADA version 1.4.1 and 1.5, and gives better results then all free viewers in my experience.

Another possibility might be the Unity. Actually, it is not viewer, but a game engine. Nevertheless, it can import COLLADA files really succesfully.

Devonian answered 28/9, 2016 at 12:34 Comment(0)
E
1

COLLADA had now been replaced by glTF format.

F3D can open glTF and many other file format. F3D is a free, opensource VTK based software.

f3d file.gltf
Eth answered 5/6, 2020 at 13:49 Comment(0)
D
0

There is also MeshLab which is free and open-source, cross-platform (Windows, Mac OS X, Linux), it supports several formats (COLLADA, VRML 2.0, 3DS etc.) and has extensive viewing capabilities (e.g. panning/orbiting).

Dachshund answered 5/6, 2020 at 13:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.