Custom properties export for Collada

The interface, modeling, 3d editing tools, import/export, feature requests, etc

Moderators: jesterKing, stiv

Myrmecophagavir
Posts: 34
Joined: Tue Aug 24, 2010 1:40 am

Custom properties export for Collada

Postby Myrmecophagavir » Fri Sep 24, 2010 6:16 pm

I was surprised to see custom properties on objects aren't exported to Collada. Seems a natural fit for the <extra> elements. Does anyone have any views on how these should be best laid out? Where is it best to request such a feature?

Myrmecophagavir
Posts: 34
Joined: Tue Aug 24, 2010 1:40 am

Postby Myrmecophagavir » Tue Sep 28, 2010 6:27 pm

OK, how about something like this:

Code: Select all

<node id="Node_1" type="NODE">
  <translate sid="location">-0.639887 -0.7271613 4.013313</translate>
  <rotate sid="rotationZ">0 0 1 0</rotate>
  <rotate sid="rotationY">0 1 0 0</rotate>
  <rotate sid="rotationX">1 0 0 0</rotate>
  <scale sid="scale">1 1 1</scale>
  <extra>
    <technique profile="Blender">
      <property name="My Property" tip="Blah blah" min="0.1" max="3">0.2</property>
      <property name="Foo" tip="Foobar" min="0" max="1">0.5</property>
    </technique>
  </extra>
</node>


Does that seem reasonable? It's easy enough to parse when using the Collada DOM, for instance. I'm not sure exactly what the "tips" are supposed to be, are they just there to allow string values associated with each property in addition to numbers?

rboerdijk
Posts: 6
Joined: Tue Dec 28, 2010 12:46 am

Postby rboerdijk » Wed Apr 27, 2011 2:09 pm

Just tried it in 2.57 - and it doesn't export it. Found this thread while looking for if it's possible. Would be a nice feature indeed.

Myrmecophagavir
Posts: 34
Joined: Tue Aug 24, 2010 1:40 am

Postby Myrmecophagavir » Wed Apr 27, 2011 2:16 pm

Hi rboerdijk! I mentioned this to one of the developers while we were talking about other Collada issues, after I got no replies here. It sounded like he was interested, though evidently lots of other stuff came up first. There was apparently a group of people working on Collada stuff but they never even replied to my emails. I was tempted to add the feature myself, but I switched what I was working on and don't have an immediate need for this now.

However, a recent post on the Blender developer blog mentioned one of the interns was going to be focusing on Collada. I'm hoping this issue has been scheduled along with the other obvious omissions, though the blog post sadly only mentions animation...

MaxDZ8
Posts: 8
Joined: Tue May 24, 2011 8:45 am

Postby MaxDZ8 » Tue May 24, 2011 8:57 am

Hello, I am using 2.57.1.
I see collada still does not export properties.
I wish the feature could be considered, it would consistently streamline asset pipeline.

So far, I have been experimenting with putting everything in the object name but this is a very dirty solution and it is incompatible with some more advanced features in the proprietary solution I am using.

Ideally, I would like a way to explicitly export properties for other formats but I guess that's just not feasible.

jesterKing
Site Admin
Posts: 1848
Joined: Fri Oct 18, 2002 12:48 pm
Location: Finland

On TODO

Postby jesterKing » Mon Jun 27, 2011 4:57 pm

Hi, exporting custom properties is on my todo list.

/Nathan

MaxDZ8
Posts: 8
Joined: Tue May 24, 2011 8:45 am

Postby MaxDZ8 » Mon Jun 27, 2011 5:53 pm

This is good news! Thank you very much!

mslinklater
Posts: 3
Joined: Mon Jun 20, 2011 2:03 pm

Postby mslinklater » Wed Jun 29, 2011 4:31 pm

I too would very much to see this added 8). I'm using Collada as my intermediate data format and the lack of custom property support added to the tiny object name limit is really hurting...

MaxDZ8
Posts: 8
Joined: Tue May 24, 2011 8:45 am

Postby MaxDZ8 » Tue Oct 18, 2011 9:01 am

Uh uh... :cry:
I've been looking at the 2.58, 2.58a and 2.59 changelog... and ... perhaps I've missed this feature.
I'll look into in the the next few days.

I am reviving this thread on purpose.

mdias
Posts: 4
Joined: Sun Dec 12, 2010 8:41 pm
Location: Portugal

Postby mdias » Thu Nov 10, 2011 12:34 pm

I also miss this feature a lot.


Return to “Interface & Tools”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest