source code for collada|obj to gltf converter online tool
232 views
Skip to first unread message
hell...@gmail.com
unread,
Jun 21, 2017, 10:04:55 AM6/21/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev
I am trying out the online converter for "collada|obj to gltf". I found out it provides better result than "obj2gltf". I am wondering whether there is any similar command-line tool or node model available for "collada|obj to gltf converter", or I can use it as a library in my program. Here is the link for the converter https://cesiumjs.org/convertmodel.html.
Rachel Hwang
unread,
Jun 21, 2017, 10:55:13 AM6/21/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev, hell...@gmail.com
Hi there,
What do you mean by better results? The online tool actually uses the same code as those two repositories -- it's just a few versions behind actually.
Best,
- Rachel
Zhaokun Xue
unread,
Jun 21, 2017, 11:25:21 AM6/21/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev, hell...@gmail.com
These two tools generated different results for me. For my case, it seems the result generated by "obj2gltf" with lower quality, i.e. it seems the result loses some detail. Here are the two results. The first one is generated by the online ui tool. The second one is generated by "obj2gltf".
Rachel Hwang
unread,
Jun 21, 2017, 2:55:47 PM6/21/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev, hell...@gmail.com
That's unexpected! I'll look into what the version differences might be. Meanwhile, do you know if there's anything unusual about your obj? Better yet, would you be willing to share your model? It may help us debug.
Thanks,
- Rachel
Message has been deleted
zxue
unread,
Jun 21, 2017, 3:02:47 PM6/21/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev, hell...@gmail.com
I found another old version obj2gltf here. It works as well as the online tool. I don't think there is anything unusual with my obj file. I open the obj file on my local machine. It looks fine. Attached is my obj file.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev, hell...@gmail.com
Hi Rachel,
I still got the same result after setting the generateNormals flag. Another thing I noticed that the old version works much faster than the new "obj2gltf". The old version just takes about half time than the new version.
Sean Lilley
unread,
Jun 22, 2017, 9:17:52 PM6/22/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Before obj2gltf used to generate normals on its own, but has since moved to using gltf-pipeline for tasks like these. That's the major difference between the old and new versions mentioned here.
zxue
unread,
Jun 23, 2017, 12:35:38 PM6/23/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message