niftools and blender plugin

Moderator: Example suite forum moderator

User avatar
psi29a
Posts: 3448
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: niftools and blender plugin

Post by psi29a » 12 Jan 2017, 21:09

i said to remove the '.zip'. extension, not extract them. ;)
A limitation of forum post attachments.

User avatar
Frik
Posts: 124
Joined: 20 Dec 2016, 05:22

Re: niftools and blender plugin

Post by Frik » 12 Jan 2017, 21:11

Oh, sorry. I must have skimmed that part. :oops:
My Mods
Uncle Sweet's Cellar V1.4
Ship Masters of Solstheim V1.1
Better Dwemer Coin V1.1
Get Them From NexusMods

User avatar
psi29a
Posts: 3448
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: niftools and blender plugin

Post by psi29a » 12 Jan 2017, 21:28

blender output is piped to console, so run it from cli to get a clean stack trace.

User avatar
Frik
Posts: 124
Joined: 20 Dec 2016, 05:22

Re: niftools and blender plugin

Post by Frik » 12 Jan 2017, 21:34

Ok, will do on the trace. Was able to export the house you posted after removing the texture. Is that what I should have done, remove it? How does importing and exporting of textures work with the Blender .nif plugins?

Thanks!
My Mods
Uncle Sweet's Cellar V1.4
Ship Masters of Solstheim V1.1
Better Dwemer Coin V1.1
Get Them From NexusMods

User avatar
psi29a
Posts: 3448
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: niftools and blender plugin

Post by psi29a » 12 Jan 2017, 21:40

Not sure yet, haven't gotten that far yet. ;)

I usually create/export the NIF then use nifskope to have the vert(s) point to textures, at least that is how I did it for 2.49b.

I don't think OpenMW supports textures embedded in NIF (yet?).

User avatar
Frik
Posts: 124
Joined: 20 Dec 2016, 05:22

Re: niftools and blender plugin

Post by Frik » 12 Jan 2017, 22:06

psi29a wrote:I usually create/export the NIF then use nifskope to have the vert(s) point to textures, at least that is how I did it for 2.49b.
Works for me.
psi29a wrote:I don't think OpenMW supports textures embedded in NIF (yet?).
Some of the vanilla nifs like in_c_door_wood_square.nif uses Tx_common_door.tga (and several others) in NiSourceTexture. I just assumed that texture was embedded, being I couldn't find the tga anywhere.

I extracted all the data from the bsa files. Maybe I'm looking in the wrong place. :?:
My Mods
Uncle Sweet's Cellar V1.4
Ship Masters of Solstheim V1.1
Better Dwemer Coin V1.1
Get Them From NexusMods

User avatar
psi29a
Posts: 3448
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: niftools and blender plugin

Post by psi29a » 12 Jan 2017, 22:48

I could be wrong, but I remember reading something along that line somewhere. Maybe someone can verify this? Scrawl? Zini?

User avatar
sjek
Posts: 407
Joined: 22 Nov 2014, 10:51

Re: niftools and blender plugin

Post by sjek » 12 Jan 2017, 22:54

https://bugs.openmw.org/issues/2295

nipixeldata is supported. if the method is same as in 2.49 it's set inside blender baking the uv textures with absolute filepath.
"life is crazy"
"craziness has beauty which only crazies understand" some movie clip in the head.
https://wiki.openmw.org/index.php?title=Testing

User avatar
Frik
Posts: 124
Joined: 20 Dec 2016, 05:22

Re: niftools and blender plugin

Post by Frik » 13 Jan 2017, 06:09

Looking at some other vanilla models in nifskope, It appears that all the texture file extensions in those .nif files were .tga. Can I assume the game engine falls back or simply loads up a .dds whenever it encounters the .tga extension?
My Mods
Uncle Sweet's Cellar V1.4
Ship Masters of Solstheim V1.1
Better Dwemer Coin V1.1
Get Them From NexusMods

User avatar
psi29a
Posts: 3448
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: niftools and blender plugin

Post by psi29a » 13 Jan 2017, 10:16

I can't really answer that, I don't know. Thanks sjek for the link, so there is a way to get texture data into a nif. I would rather just link (path name) to a texture external of a nif since it would be easier to test and adjust.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests