Armour/Clothing rendering

Everything about development and the OpenMW source code.
jhooks1
Posts: 780
Joined: 06 Aug 2011, 21:34

Re: Armour/Clothing rendering

Post by jhooks1 »

Committed some functions that I think will help make adding and removing clothing/armor parts more organized. Committed them to clothingarmor branch, but haven't actually tried running them yet.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Armour/Clothing rendering

Post by Zini »

Considering that we will most likely have a feature freeze within a few days, can I assume that we will have to move armour and clothing rendering to 0.15.0?
jhooks1
Posts: 780
Joined: 06 Aug 2011, 21:34

Re: Armour/Clothing rendering

Post by jhooks1 »

I think I may be able to get this done within the next few days.
jhooks1
Posts: 780
Joined: 06 Aug 2011, 21:34

Re: Armour/Clothing rendering

Post by jhooks1 »

Right now shirts are being stored in the same slot as cuirasses. This is not good, shirts should be able to be worn underneath cuirasses.

EDIT: Put them in the shirt slot, it's all good now 8-)
jhooks1
Posts: 780
Joined: 06 Aug 2011, 21:34

Re: Armour/Clothing rendering

Post by jhooks1 »

Making good progress, almost done. Just have to add a few things to handle robes and skirts.
User avatar
Rhys
Posts: 113
Joined: 06 Aug 2011, 01:51
Location: Australia

Re: Armour/Clothing rendering

Post by Rhys »

Awesome! Go jhooks :D
jhooks1
Posts: 780
Joined: 06 Aug 2011, 21:34

Re: Armour/Clothing rendering

Post by jhooks1 »

Also it should be noted, nothing is equipped initially when the cell is loaded. Then things are equipped 2 seconds after the cell is loaded, leaving a hanging time. It would be much more efficient if everything was equipped before the npcs were initialized.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Armour/Clothing rendering

Post by Zini »

There is a delay of at most 0.25 seconds. Any other delay is the result of resources loading not having finished in time or something else entirely.
jhooks1
Posts: 780
Joined: 06 Aug 2011, 21:34

Re: Armour/Clothing rendering

Post by jhooks1 »

At this point I think I am done. We should test this on many npc's to make sure there are no crashes.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Armour/Clothing rendering

Post by Zini »

Merged into master.

I am getting a few errors.
Error in framelistener: boost::bad_any_cast: failed conversion using boost::any_cast
Error in framelistener: boost::bad_any_cast: failed conversion using boost::any_cast
Post Reply