Hello,
I'm working with BulletColladaConverter. I load a .dae file with ColladaConverter load's method and then I save some snapshots in some moments of the simulation.
The problem is that when I save a snapshot (I use a different file that source file) in the dae file when it inserts a reference to the same file references source document not the document which is writing.
An example of the problem is:
<technique_common>
<accessor count="25" source="file:///datos/universidad/pfc/bullet-2.67/Demos/prueba2/preprocess.daei#Plane-Geometry-Position-array" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
The source file is preprocess.daei and the file in which is writen this is /home/inakin/p3.dae.
Another problem that I have is when I try to load for example preprocess.dae the converter looks for preprocess.daei file so I have to change the name of the files in order it rules.
Thank you and sorry for my English.
Collada Exporter
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Collada Exporter
We currently don't support multi-document COLLADA .dae files. Bullet ships with a stripped-down version of libxml: we removed external URI/URL reference support in the libxml version that ships with Bullet, in order to prevent some licensing issues.
Can you try to use a single COLLADA document, without
but instead, just referring within the file like this:
Alternatively, please use a full version of libxml.
Hope this helps,
Erwin
Can you try to use a single COLLADA document, without
Code: Select all
<accessor count="25" source="file:///datos/universidad/pfc/bullet-2.67/Demos/prueba2/preprocess.daei#Plane-Geometry-Position-array" stride="3">
Code: Select all
<accessor count="25" source="#Plane-Geometry-Position-array" stride="3">
This could be a bug, we need to check it out.Another problem that I have is when I try to load for example preprocess.dae the converter looks for preprocess.daei file so I have to change the name of the files in order it rules.
Hope this helps,
Erwin
-
- Posts: 9
- Joined: Wed Jan 16, 2008 6:36 pm
Re: Collada Exporter
I just use the save method giving a filename as parameter and the Collada Converter done the reference to the file other file. The problem is this:
I load the prueba.dae document. Then I save the Simulation in the p3.dae file. In the p3.dae file appears the references to the prueba.dae document. I only load from one document and save in another document.
Thanks
I load the prueba.dae document. Then I save the Simulation in the p3.dae file. In the p3.dae file appears the references to the prueba.dae document. I only load from one document and save in another document.
Thanks
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Collada Exporter
We just fixed some of the Bullet Collada Converter issues.
Can you try out the updated (new) Bullet 2.67 file from googlecode?
http://code.google.com/p/bullet/
Thanks,
Erwin
Can you try out the updated (new) Bullet 2.67 file from googlecode?
http://code.google.com/p/bullet/
Thanks,
Erwin