Re: [PyMOL] Collada export with instances?

2018-06-09 Thread Thomas Holder
Hi Jared, Only writing one sphere geometry per color makes a lot of sense, yes let's talk about that offline! I also see some dispensable elements like with identity matrix, which we could safely remove to reduce file size further. Cheers, Thomas > On Jun 6, 2018, at 10:49 PM, Jared

Re: [PyMOL] Collada export with instances?

2018-06-06 Thread Gary Oberbrunner
This is great, thanks! I created a dae file with some geometry instances before I saw this email, but I think you guys are well beyond that point already. And yes -- one sphere per color seems like the best that can be done simply with Collada 1.4, and it would already be a huge improvement in

Re: [PyMOL] Collada export with instances?

2018-06-06 Thread Jared Sampson
Hi Gary and Thomas -  As Thomas mentioned, the sphere/cylinder/etc. primitives described in the COLLADA 1.5 spec as ("boundary representation") elements would be the best option for spheres and basically all other PyMOL representations except for molecular surfaces.  Unfortunately COLLADA 1.5

Re: [PyMOL] Collada export with instances?

2018-06-06 Thread Thomas Holder
Hi Gary, Do you know an application which can actually read COLLADA files with sphere primitives? We've faced the problem that most tools only handle COLLADA 1.4, so if PyMOL would use COLLADA 1.5 features, the programs we know wouldn't read the exported files. See

[PyMOL] Collada export with instances?

2018-06-06 Thread Gary Oberbrunner
The collada file exported by pymol would be smaller and export/import faster, I think, if it used geometry_instance for spheres rather than giving each sphere its own geometry/mesh/accessors/etc.. Has that been discussed before? -- Gary Oberbrunner

[PyMOL] Collada export using instances?

2018-06-06 Thread Gary Oberbrunner
The collada file exported by pymol would be smaller and export/import faster, I think, if it used geometry_instance for spheres rather than giving each sphere its own geometry/mesh/accessors/etc.. Has that been discussed before? -- Gary