xboxscene.org forums

Author Topic: Nif Files  (Read 100 times)

daedelus7183

  • Archived User
  • Jr. Member
  • *
  • Posts: 76
Nif Files
« on: August 17, 2005, 05:26:00 PM »

Is anyone here willing to convert standard 3D models into NIFs? The plugins for blender is crap, and 3DS Max is WAY too expensive for my budget.
Logged

metalmulisha247

  • Archived User
  • Full Member
  • *
  • Posts: 151
Nif Files
« Reply #1 on: August 17, 2005, 07:32:00 PM »

smile.gif
> >
> > 1. A typo on line 1424
> >
> > 2. For some reason, triShape.getNiSkinInstance() does not return None
> > when the NiSkinInstanceId is -1 ... I didn't trace the cause, but
below
> > is a quick and dirty fix.
> >
> > Note that things don't seem very well lined up when importing that
> > model... problems in transformation matrices?
> >
> > Cheers,
> > Amorilia
> >
> > Index: nif_import_237.py
> > ===================================================================
> > --- nif_import_237.py (old)
> > +++ nif_import_237.py (new)
> > @@ -1421,7 +1421,7 @@
> > triShape = block.getChildren()[0]
> > xform = xform * triShape.getMatrix()
> > else:
> > - trishape = block
> > + triShape = block
> > # Texturing property. From this I can retireve texture info
> > texProperty = triShape.getNiTexturingProperty()
> > # Material Property, from this I can retrieve material info
> > @@ -1521,8 +1521,8 @@
> > meshObj.setMatrix(xform)
> > # Skinning info, for meshes affected by bones. Adding
> groups to
> > a mesh c an be done only after this is already
> > # linked to an object
> > - skinInstance = triShape.getNiSkinInstance()
> > - if skinInstance:
> > + if (triShape.getNiSkinInstanceId() != -1):
> > + skinInstance = triShape.getNiSkinInstance()
> > skinData = skinInstance.getNiSkinData()
> > weights = skinData.getWeights()
> > for idx, bone in enumerate(skinInstance.getBones()):
> >
> >
> >
> >
> > (NIFLA) NetImmerse File Format: Liberation Association
> > Yahoo! Groups Links






(NIFLA) NetImmerse File Format: Liberation Association
Yahoo! Groups Links
Logged

daedelus7183

  • Archived User
  • Jr. Member
  • *
  • Posts: 76
Nif Files
« Reply #2 on: August 17, 2005, 08:54:00 PM »

I got hold of a copy of Milkshape. Seem to work well for simple stuff, weapons, armor, things like that that don't require a whole lot. Not bad for 30 bucks, and the plugin actually works properly. The Importer still has issues with some things, but seems to work for the most part.
Logged

elitewolverine

  • Archived User
  • Newbie
  • *
  • Posts: 36
Nif Files
« Reply #3 on: August 17, 2005, 11:31:00 PM »

QUOTE(daedelus7183 @ Aug 17 2005, 10:05 PM)
I got hold of a copy of Milkshape. Seem to work well for simple stuff, weapons, armor, things like that that don't require a whole lot. Not bad for 30 bucks, and the plugin actually works properly. The Importer still has issues with some things, but seems to work for the most part.
Logged