Collada demo?

ripper9100
Posts: 10
Joined: Mon Sep 08, 2008 2:27 am

Collada demo?

Post by ripper9100 »

I'm trying to add a texture to my collada model using the demo included in bullet but I have run into a problem. Where is the uv information for the model in the demo stored because at the moment I don't know what coordinates to use for my texture.

Any help would be appreciated thanks.
faichele
Posts: 9
Joined: Wed Aug 27, 2008 7:56 am

Re: Collada demo?

Post by faichele »

Hello!

According to the COLLADA standard specification, texture coordinates are stored as

Code: Select all

<input semantic="TEXCOORD" source="#<reference to vertex source>" offset="<offset>" set="0"/>
I didn't check if the collada example document that comes with Bullet has such an input declared, however.
ripper9100 wrote:I'm trying to add a texture to my collada model using the demo included in bullet but I have run into a problem. Where is the uv information for the model in the demo stored because at the moment I don't know what coordinates to use for my texture.

Any help would be appreciated thanks.