Izidor
March 29, 2006, 7:25am
1
Hi!
I have an <extra> in my .dae file that looks like this:
<extra>
<technique profile=“NORMAL”>
<texture>
<texture>Map__3</texture>
<texcoord>CHANNEL1</texcoord>
<texelop>modulate</texelop>
</texture>
</technique>
</extra>
(this is for multi-texturing purpose)
In my code I call a getExtra() followed by a getTechnique().
Then I call recursively getContent() on daeElements.
That works to obtain the name of each element (“texture”, “texcoord”, etc.)
but I just fail to obtain the content of these tags.
I tried with the daeElement::getMeta(), getContents(), etc. but just fail.
Any help would be really appreciated,
Izidor.
system
March 29, 2006, 7:42am
2
Izidor:
Hi!
I have an <extra> in my .dae file that looks like this:
<extra>
<technique profile=“NORMAL”>
<texture>
<texture>Map__3</texture>
<texcoord>CHANNEL1</texcoord>
<texelop>modulate</texelop>
</texture>
</technique>
</extra>
(this is for multi-texturing purpose)
In my code I call a getExtra() followed by a getTechnique().
Then I call recursively getContent() on daeElements.
That works to obtain the name of each element (“texture”, “texcoord”, etc.)
but I just fail to obtain the content of these tags.
I tried with the daeElement::getMeta(), getContents(), etc. but just fail.
Any help would be really appreciated,
Izidor.
cast the daeElement in domAny and try domAny::getValue() on it.
Izidor
March 29, 2006, 7:50am
3
Yes, that’s it!
Thanks
[quote=Izidor]Hi!
I have an <extra> in my .dae file that looks like this:
<extra>
<technique profile=“NORMAL”>
<texture>
<texture>Map__3</texture>
<texcoord>CHANNEL1</texcoord>
<texelop>modulate</texelop>
</texture>
</technique>
</extra>
(this is for multi-texturing purpose)
In my code I call a getExtra() followed by a getTechnique().
Then I call recursively getContent() on daeElements.
That works to obtain the name of each element (“texture”, “texcoord”, etc.)
but I just fail to obtain the content of these tags.
I tried with the daeElement::getMeta(), getContents(), etc. but just fail.
Any help would be really appreciated,
Izidor.
cast the daeElement in domAny and try domAny::getValue() on it.[/quote]