Jump to content

Odd mesh flickering...


Jokerine

Recommended Posts

Hey all! I come here today with a probably pretty stupid issue that I seem unable to fix...


I'm putting together a little diner that will most likely be my last mod, and I wanted to have a Mr Handy wearing a chef hat. Easy enough, right? I got the model in two parts (the puffy top and the bottom), linked them to the mesh and all. But something odd has been going on with my Blender lately -- it's gone really crash-happy and it just won't behave.


So, my problem is that, although the two-part hat displays OK in.game and all, it occasionally flickers out of sight depending on the player's camera angle, such as the hat being in the corner of the screen. Same in the GECK. :pinch:


It's not that big of a deal, but it bothers me endlessly! Ugh! I've been trying to see what's wrong with these meshes, changing flags here and there, but nothing I do seems to work...


So, I was wondering if anybody feels like taking look at these meshes to see if you can spot the issue? I've uploaded both parts of the hat and the Handy. I didn't include the textures because I doubt those are the problem. I tested with vanilla textures and they kept flickering anyway...


I asked for help while I was doing my own testing, but sadly nothing worked - removing NiStencil, adding NiAlpha, changing the bone the parts are rigged to... No luck.


I really hope you guys and gals can help me out! Thank you. I just need my robots wearing hats :smile:

Edited by Jokerine
Link to comment
Share on other sites

I can't see anything obvious with the meshes,only time I've hit something like this is when there's been multiple meshes with alpha on them, but the only mesh I can see that might cause trouble with alpha is the main body.

 

You could try adding NiStringExtraData to the hat parts with Prn and attach them to a bone each.

Link to comment
Share on other sites

Jokerine - Hello!

"So, my problem is that, although the two-part hat displays OK in.game and all, it occasionally flickers out of sight depending on the player's camera angle, such as the hat being in the corner of the screen. Same in the GECK."

Classic symptoms of a problem with the model's Radius setting.

The Radius setting in the NiTriStrips' NiTriStripsData tells the game how big the model is.

If this Data is incorrect than the game can end up thinking the model is a different size than it really is.

If it's told the model is smaller than it really is it will cull it when it thinks it's out of view, at the edge of the screen.

Normally happens when a NiTriStrip is enlarged in Nifskope without going to Radius & right clicking it - Mesh - Update Center/Radius.

In your case the Radius is being messed up because the NiTriStrip's of the hat top & bottom are Scaled 17x larger but their Radius is still set tiny.

You probably enlarged them to size in Blender & did not update the objects before export.

Normally you could fix it in Nifskope with right clicking the affected NiTriStrip & - Transform - Apply.
Then updating the Radius as mentioned above but because these have BSDismemberSkinInstance that would be messed up so you must use Blender.

Easy fix still. Import the hat parts into Blender, right click the hat part to select & press Ctrl A, from the menu select - Scale & Rotation to ObData.

Export the piece out & repeat for the other hat part.

You'll notice in Nifskope they are no longer scale 17x & that their Radius is much larger (correct to their size).

Don't forget to select Skinned in the shaders again as this is lost on export from Blender.

 

I tested the result in mini GECK & it stopped disappearing at the edges.

By the way, the chef's hat on the Mister Gutsy is very cute. :smile:

Hope this helps!

Prensa

Edited by prensa
Link to comment
Share on other sites

Easy fix still. Import the hat parts into Blender, right click the hat part to select & press Ctrl A, from the menu select - Scale & Rotation to ObData.

prensa has it right. I was trying to do that fix in nifskope earlier and forgot that apply messed up rigging. I just tested the blender fix and it works fine now.

Edited by flamenx01
Link to comment
Share on other sites

Jokerine - Hello!

"YAY! THANK YOU, PRENSA! It's working now! "

Great! Glad to have helped. :)

"I have no idea where you guys pick up these things! "

Way back when I only used Nifskope to make models I made a washing machine using the shotgun ammo box as it's body.
Didn't know you had to update the Radius so I ended up with the same odd disappearing at the edge of view your hat had.

Took me ages to work out the problem back then & I've always remembered it since. :)

"I'm glad this robot will get to keep his hat after all! Thanks again!"

He does look cool in it!

 

Best of luck with your Diner!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Pixelhate - Hello!

"Prensa is a Master! I'm compiling all the tips, tricks and good advices she's been given on the forum and privately. I'd be a great tutorial."

Thanks for the vote of confidence! Just pleased my ramblings are of some use. :)

Take care,

Prensa

Link to comment
Share on other sites

  • Recently Browsing   0 members

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