Blender Import/export Dooranim

Post » Mon Oct 19, 2009 10:41 am

I'm just starting off with blender, but where I'm especially good at is loosing the animations that were attached to a .nif somewhere along the way. Could someone enlighten me what settings may be causing the issue, or that maybe I'd better give it a go in nifskope?

Something simple as attaching a texture to a model in blender or modifying them in any other way just seems to remove the animation in the end. I have no idea if it has to do with the import or export options, or something else ^_^

This time it was a custom door someone else created, the old .nif just shows the animation in nifksope as working and when I simply applied a texture to it it lost all its animations as far as I can see. I tried changing some flags but didn't really got to a result. This model was already unwrapped, so it might be possible to apply the texture in nifskope itself for this model, but I'd rather know how to do it correctly at blender if that is possible. :shifty:

http://img405.imageshack.us/img405/5428/nifskopebefore.png
http://img83.imageshack.us/img83/4404/blenderanimimport.png
http://img52.imageshack.us/img52/6392/blenderanimexport.png
http://img257.imageshack.us/img257/5278/nifskopeafter.png
User avatar
Ellie English
 
Posts: 3457
Joined: Tue Jul 11, 2006 4:47 pm

Post » Tue Oct 20, 2009 1:16 am

There are simple animated objects with one animation, and then there are those with multiple animations. Blender's animation export scripts have come a long way, but they aren't designed to facilitate multiple animations contained in one .nif file directly after export. If you need that structure then you have to build off of your export in Nifskope. In fact, I don't think that blender can even import multiple animations directly off of an object correctly. However you can get around this issue with a little extra work. Basically you weren't doing anything wrong.

If you examine the .nif structure of a door you will see that it is set up to handle multiple animations, and that the structure is different from the exported .nif file. This is indicated by the NiControllerManager in the original .nif. However, you should be able to work around this issue by simply copying the NiTriStrips mesh part of your door and pasting it into the original .nif over the existing nitristrips mesh. Or, if you didn't change the UV unwrap coordinates then you should be able to just switch textures in nifskope and avoid the whole hassle. If you would like detailed instructions on the Nifskope procedure or just want me to take a look at it you will have to post download links to both the original door and your edited door.
User avatar
A Dardzz
 
Posts: 3370
Joined: Sat Jan 27, 2007 6:26 pm

Post » Mon Oct 19, 2009 2:49 pm

The http://www.megaupload.com/?d=JQBSKBT4, the http://www.megaupload.com/?d=0D3JFTQ4.
I haven't touched the UV but the fact I exported it to create a new texture outside of blender.

I hope it would be instructions, but I'd be glad if you'd take a look in the first place :laugh: .
(And yes, it's a simple texture, no normal map yet and I need to fix some other bits.)
User avatar
Micah Judaeah
 
Posts: 3443
Joined: Tue Oct 24, 2006 6:22 pm

Post » Mon Oct 19, 2009 8:29 pm

you cant import anim sequences that are embeded in a nif.but you can do it if they are kfs.

see those 2 sequences in the nif, Open and Close? right click nicontrollersequence "Open">block>crop to branch. save as Open.kf. do the same with close.

import the door nif then import the first kf. now you have a mesh and anim in scene. once your done editing the mesh/anim in your program, ie blender, you can export with manager, then you can import the kfs back into the nif. dunno if that helps though.

You should be able to to have multiple sequences in the same blend file. though I don't know how connected the scripts are up for exporting multiple appended sequences. < perhaps you have a dope sheet editor equiv.
User avatar
Sasha Brown
 
Posts: 3426
Joined: Sat Jan 20, 2007 4:46 pm

Post » Tue Oct 20, 2009 1:04 am

And...It's solved ^_^ . I'll just keep it to nifkope as I can easily export and attach back the .kf there.

Thank you both for your help! The topic may be locked if wanted.
User avatar
Arnold Wet
 
Posts: 3353
Joined: Fri Jul 07, 2006 10:32 am

Post » Mon Oct 19, 2009 7:44 pm

I'm glad that your issue was solved. I had my brother's birthday party yesterday so I didn't have enough time to help you last night.

When I looked at the original door it didn't even have nitexturingproperty's nor nisourcetextures assigned for the mesh nitristrips so I was going to spend some time explaining the nif structure, but as long as you don't try to build your own door you should be ok. I recommend you read the nifskope guide on the CS wiki if you have other questions.
http://cs.elderscrolls.com/constwiki/index.php/Working_With_Nifs_101_:_An_Introduction
User avatar
Heather M
 
Posts: 3487
Joined: Mon Aug 27, 2007 5:40 am


Return to IV - Oblivion