Jump to content

Importing/Exporting hair = not-right transparency/lighting


Septfox

Recommended Posts

Hey guys.

 

Back in my Oblivion days, I found that I rather liked one of the coolsims hairstyles. I tweaked, prodded and experimented until it was perfect for my character. Ended up using it until I stopped playing a while back.

 

Fast forward to the year 200x. I find that another of the coolsims styles is about right for my character, so I load it up in 3ds to add my personal touches. Everything goes fine; I import it, make my changes, export to a nif, and copy the LightingShaderProperty and AlphaProperty blocks from the old nif so all the settings are right, check normals to make sure they are in fact normal, make sure tangents are updated, etc etc.

 

The game loads fine, no unusual loading time, no crash. But my hair...well.

 

Before:

 

http://i1192.photobucket.com/albums/aa336/septfox/Skyrim/hair0.jpg

 

After import/export:

 

http://i1192.photobucket.com/albums/aa336/septfox/Skyrim/hair1.jpg

 

(just to clarify: the hair actually uses two nifs, the outer, nicely-transparent hair you see the most of, and the inner, mostly-opaque hair that provides a backdrop since Skyrim's transparency handling is kind of bad. the problem here is some spots in the outer nif don't seem to be lighting the same as the rest)

 

I don't get what I've done wrong. I didn't add or remove any vertices, only moved some, but it still seems like some kind of weird sorting error.

 

3ds import/export settings:

 

http://i1192.photobucket.com/albums/aa336/septfox/Skyrim/import.jpghttp://i1192.photobucket.com/albums/aa336/septfox/Skyrim/export.jpg

 

 

Any ideas? Do I have something set wrong, or am doing something stupid here?

Link to comment
Share on other sites

  • 1 month later...
I doubt that, looks like a sorting error to me. Often you just can't import nifs without reordering the vertices. One solution is to actually reorder the verts prior to exporting in max. You could try exporting the hair as an obj from nifskope and getting the model in scene that way, which possibly will keep vert index intact. The export should work correctly as long as you do not strippify it.
Link to comment
Share on other sites

  • 1 month later...
  • 4 years later...

your hair problem :

http://wiki.tesnexus.com/index.php/File:3ds_Max_exporting_custom_assets_image_7.jpg

Quote : "I also exported it as a NiTriStrip. By ticking the generate strips box. If this model used alpha transparency(or was rigged), I would have unticked that box, as very often stripifying causes alpha sorting problems."

http://wiki.tesnexus.com/index.php/3ds_Max_exporting_custom_assets

Edited by didiusdeddysalam
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...