Blender nif plugin 2.6.0.alpha-1 up for testing

A place for to discuss the development of our tools for Blender.
Active developers: neomonkeus: Ghostwalker71

Blender nif plugin 2.6.0.alpha-1 up for testing

Postby amorilia » Sun Nov 20, 2011 5:31 pm

Disclaimers
  • no, this does not support Skyrim
  • yes, this is for the new blender (2.60a to be precise)
  • for testing purposes only, and has only minimal functionality - NiTriShape, NiMaterialProperty, and NiTexturingProperty - anything else that works is dumb luck; so don't yet trash your blender 2.49b; to learn more about the porting strategy, refer to http://niftools.sourceforge.net/doc/ble ... g-strategy
  • don't forget to register the addon after installation: http://niftools.sourceforge.net/doc/ble ... -the-addon
  • a first tutorial on how to use the new scripts should follow soon: for now suffice to say that the scripts should import and export any simple static mesh with a uv mapped texture

Download
pyffi-py3k-2.2.0-beta1: https://github.com/downloads/amorilia/p ... indows.exe (install first)
blender_nif_scripts-2.6.0-alpha1: https://github.com/downloads/amorilia/blender_nif_scripts/blender_nif_scripts-2.6.0-alpha1.d5c4914-windows.exe Github nologer supports package downloads 15/01/13

Changes
  • Initial port to Blender 2.60a:
    • geometry (NiTriShape)
    • materials NiMaterialProperty)
    • uv textures (NiTexturingProperty)
  • Upgraded to sphinx to generate documentation.
  • Upgraded to nose for testing.

Bug reporting
http://sourceforge.net/tracker/?atid=77 ... unc=browse
User avatar
amorilia
NifTools Developer
NifTools Developer
 
Posts: 3807
Joined: Sat Oct 08, 2005 3:58 pm
Location: Desele's House of Earthly Delights.

Re: blender nif scripts 2.6.0 up for testing

Postby Snusmumriken » Mon Nov 21, 2011 3:30 pm

I just want to say thank you for your efforts in implementing the Nifscripts!
Working with Blender for Oblivion is my hobby #1 - so if there weren't your
scripts I would probably not play Oblivion anymore. Now as Skyrim is out,
I hope you will still continue scripting for Oblivion. :D

I admire your knowledge and effort!

Best regards to all
Snusmumriken
User avatar
Snusmumriken
 
Posts: 18
Joined: Mon Nov 21, 2011 3:15 pm
Location: Austria

Re: blender nif scripts 2.6.0 up for testing

Postby Growlf » Mon Nov 21, 2011 4:24 pm

Thx, Amorilia (and the whole team), for this heroic effort (to stop playing Skyrim and creating those scripts for an unfinished Blender instead). :D

Will be tested instantly.
Growlf
NifTools Team Member
NifTools Team Member
 
Posts: 411
Joined: Fri Jul 14, 2006 11:25 am
Location: Stuttgart, Germany

Re: blender nif scripts 2.6.0 up for testing

Postby Malo » Mon Nov 21, 2011 7:43 pm

Many Thanks for your hard work.
Malo
NifTools Team Member
NifTools Team Member
 
Posts: 106
Joined: Thu Dec 06, 2007 7:03 pm
Location: Germany

Re: blender nif scripts 2.6.0 up for testing

Postby amorilia » Tue Nov 22, 2011 7:31 pm

Alright - let me assure you that Skyrim is at the top of the nif script's lengthy todo list.

Any obvious issues so far (within the current limited feature set) and/or success stories?
User avatar
amorilia
NifTools Developer
NifTools Developer
 
Posts: 3807
Joined: Sat Oct 08, 2005 3:58 pm
Location: Desele's House of Earthly Delights.

Re: blender nif scripts 2.6.0 up for testing

Postby Malo » Thu Nov 24, 2011 9:18 pm

Is there a "normal" way to install this?
I mean, every addon for Blender would be installed in the User preferences.
I have many Blender Versions installed.
Malo
NifTools Team Member
NifTools Team Member
 
Posts: 106
Joined: Thu Dec 06, 2007 7:03 pm
Location: Germany

Re: blender nif scripts 2.6.0 up for testing

Postby neomonkeus » Thu Nov 24, 2011 10:29 pm

Assuming you are like me you have many folders in your install directory, eg. /Blender2.49, /Blender2.5, /Blender2.5 for each installed version or else something similiar. All you need to do is rename the latest supported version /Blender and run the installer. Then just rename it back to the desired name. Run the blender.exe contained within that folder to ensure you are running the correct version as shortcuts can point to the wrong folder; likewise opening a .blend might open the wrong version. The import scripts should appear in the import/export category. You can just type nif into the search bar and it will instantly appear. Just tick the box to enable.

For importing/exporting don't change any options, this is very much an alpha release so only explicitly stated features in the original posted are supported. Any additional feature are just just a bonus. :wink:
- Please post bugs and feature requests on the forum.

Latest Blender Nif Plug-in News
Blender Nif Plug-in - Dev Version
Blender Nif Plug-in - Dev - Milestone/Issues

A diffuse map is a piece of paper which tells you where the bomb is so that you can diffuse it.
Please avoid using the .obj format, it usually ends in tears :D.
User avatar
neomonkeus
NifTools Developer
NifTools Developer
 
Posts: 1395
Joined: Wed Jul 14, 2010 12:14 pm
Location: whatever couch I can find, Ireland

Re: blender nif scripts 2.6.0 up for testing

Postby Malo » Fri Nov 25, 2011 4:52 pm

Yes, if you dont use Blender only for Oblivion or Fallout modding, you get many differnt builds for Render, optimized older verisions and stuff like that.

Thanks for the info, i will test it if i could get it work.
Malo
NifTools Team Member
NifTools Team Member
 
Posts: 106
Joined: Thu Dec 06, 2007 7:03 pm
Location: Germany

Re: blender nif scripts 2.6.0 up for testing

Postby neomonkeus » Fri Nov 25, 2011 5:08 pm

Malo wrote:Yes, if you dont use Blender only for Oblivion or Fallout modding, you get many differnt builds for Render, optimized older verisions and stuff like that.

It doesn't matter which build you take, if it includes any of the additional renderers eg. cycles, or simulators. The blender scripts run independently to them.
- Please post bugs and feature requests on the forum.

Latest Blender Nif Plug-in News
Blender Nif Plug-in - Dev Version
Blender Nif Plug-in - Dev - Milestone/Issues

A diffuse map is a piece of paper which tells you where the bomb is so that you can diffuse it.
Please avoid using the .obj format, it usually ends in tears :D.
User avatar
neomonkeus
NifTools Developer
NifTools Developer
 
Posts: 1395
Joined: Wed Jul 14, 2010 12:14 pm
Location: whatever couch I can find, Ireland

Re: blender nif scripts 2.6.0 up for testing

Postby mbass » Fri Nov 25, 2011 9:26 pm

I installed the files from the first post, but I don't see .nif for import or export options.

I uninstalled my previous version of Blender, then installed:
Blender 2.6a
Python 3.2.2 (should I install 2.7.2 instead?)
PyFFI 2.2.0 beta
blender nif scripts 2.6.0 alpha

Any ideas? Thank you for your hard work btw!
mbass
 
Posts: 1
Joined: Fri Nov 25, 2011 9:21 pm

Re: blender nif scripts 2.6.0 up for testing

Postby Cold Blood » Fri Nov 25, 2011 10:16 pm

Blender 2.6 has a plugin interface from which you need to enable plugins. Did you enable it from that interface? Go to File -> User Preferences -> Addons and enable it from the addons tab/window.
Cold Blood
NifTools Developer
NifTools Developer
 
Posts: 87
Joined: Mon Mar 14, 2011 3:33 pm

Re: blender nif scripts 2.6.0 up for testing

Postby neomonkeus » Fri Dec 02, 2011 5:27 am

@ Amorilia
While writing up the tutorial I have encountered a show-stopper. There is a problem with exporting the textures, with mapping of UV coordinates. It is possibly due to my methodology so I am going to continue with the documentation so you can reference to see if that is the problem. I will generate a bug report using the log.

@everyone else
If anyone has successfully created an nif using the new scripts, can I pick your brains?
- Please post bugs and feature requests on the forum.

Latest Blender Nif Plug-in News
Blender Nif Plug-in - Dev Version
Blender Nif Plug-in - Dev - Milestone/Issues

A diffuse map is a piece of paper which tells you where the bomb is so that you can diffuse it.
Please avoid using the .obj format, it usually ends in tears :D.
User avatar
neomonkeus
NifTools Developer
NifTools Developer
 
Posts: 1395
Joined: Wed Jul 14, 2010 12:14 pm
Location: whatever couch I can find, Ireland

Re: blender nif scripts 2.6.0 up for testing

Postby amorilia » Fri Dec 02, 2011 1:15 pm

neomonkeus, can you commit and push what you have so far? The most obvious issue you might have encountered (it bit me a few times before I realized what the problem was), is that you forgot to link the UV channel after unwrapping:

Texture Tab > Mapping > Layer

Click it to select your UV map (probably it's named UVTex).
User avatar
amorilia
NifTools Developer
NifTools Developer
 
Posts: 3807
Joined: Sat Oct 08, 2005 3:58 pm
Location: Desele's House of Earthly Delights.

Re: blender nif scripts 2.6.0 up for testing

Postby neomonkeus » Fri Dec 02, 2011 6:32 pm

That is what I used. I think that is what I did :? I will finish up the write up so you can compare to what I am doing it incorrectly.
- Please post bugs and feature requests on the forum.

Latest Blender Nif Plug-in News
Blender Nif Plug-in - Dev Version
Blender Nif Plug-in - Dev - Milestone/Issues

A diffuse map is a piece of paper which tells you where the bomb is so that you can diffuse it.
Please avoid using the .obj format, it usually ends in tears :D.
User avatar
neomonkeus
NifTools Developer
NifTools Developer
 
Posts: 1395
Joined: Wed Jul 14, 2010 12:14 pm
Location: whatever couch I can find, Ireland

Re: blender nif scripts 2.6.0 up for testing

Postby neomonkeus » Sun Dec 11, 2011 10:21 pm

Just finished up the initial write up for the wiki tutorial. Check eeet out - http://niftools.sourceforge.net/wiki/Blender/Beginners_Guide
This assumes that you are relatively experienced with Blender. That said it was written by a dummy so it should be fool proof. It is informative enough too that users of v2.49 who are making the transition to the 2.5/2.6 series should grasp things fair quickly. Apologies about the images, they are being tidied up during the formatting process.
- Please post bugs and feature requests on the forum.

Latest Blender Nif Plug-in News
Blender Nif Plug-in - Dev Version
Blender Nif Plug-in - Dev - Milestone/Issues

A diffuse map is a piece of paper which tells you where the bomb is so that you can diffuse it.
Please avoid using the .obj format, it usually ends in tears :D.
User avatar
neomonkeus
NifTools Developer
NifTools Developer
 
Posts: 1395
Joined: Wed Jul 14, 2010 12:14 pm
Location: whatever couch I can find, Ireland

Next

Return to Blender Plug-in Development

Who is online

Users browsing this forum: No registered users and 1 guest