[ / / / / / / / / / / / / / ] [ dir / arepa / bol / funegros / hisrol / kc / lds / leftpol / vg ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 9d205d1d447f242⋯.jpg (104.91 KB, 838x322, 419:161, threadthumbnail.jpg) (h) (u)

[–]

 No.901941>>902349 [Watch Thread][Show All Posts]

Has anyone worked with Collada or 3d file formats?

>working with binary file format that is mostly reverse engineered

>have enough information to convert files to another 3d file format

>look up interoperable open source 3d file formats

>find COLLADA promising

>2 unmaintained C++ libraries, 1 sort of maintained but not documented

>only library left of a language I know is python

>look a little harder

>https://github.com/tatwood/libdae

>Auto generated C library for processing COLLADA files based on the XSD schema

>auto-generated

>one of the c files is 20k+ lines of code

Is this some clever malware with thousands of lines of unauditable code?

No wonder most just make a 3dsmax import script for these types of things while ignoring Blender for whatever reason.

 No.902341

Here's some advice for working with COLLADA: Don't.


 No.902349>>902400 >>902420

>>901941 (OP)

>COLLADA

Use glTF 2.0, faggot.


 No.902400>>902415

>>902349

I'm mainly going for editors- something that can be imported in blender, 3dsmax, etc- not rendering. Is glTF still good for that?


 No.902415

>>902400

Even with the limited amount of glTF 2.0 import plugins for editors (it's a relatively new format and most of the existing plugins are exporters), it's still a much better option than the clusterfuck that is COLLADA and is getting more industry attention. You can read the spec at https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md if you're interested.


 No.902420>>902422

>>902349

This is the future, but right now wavefront probably has the best support. Just the way it is.


 No.902422>>902777

>>902420

.obj was one of my first considerations, but the target format needs to support bones.


 No.902777

>>902422

Look into AssImp and as others have said, glTF. I think obj may support bones but as a separate file. also can use .mat file to define materials for obj files.

my work with 3D files was to use AssImp to convert Blender exported OBJ files into my custom binary format, complete with bones, anims, and some basic material settings. I don't have much experience going the other way.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
7 replies | 0 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / arepa / bol / funegros / hisrol / kc / lds / leftpol / vg ][ watchlist ]