These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

TriExporter

First post
Author
Andares Sol
Center for Advanced Studies
Gallente Federation
#121 - 2012-07-28 08:09:05 UTC
FYI: Selvin has made great progress in parsing the Black files and is currently playing with using the original EVE Shaders with SlimDX.

(For me it is a bit depressing, as obviously using the original EVE DX9 Shaders results in a 100% correct and awesome rendering of Ships, which is impossible to copy if you have to redo it the "clumsy way" in OpenGL for EveLiveWallpaper with writing your own Shaders and keeping backwards compatibility with OpenGL ES 1.1.)

So at the moment we have a working experimental Black parser, which can write the content to a Json file. I shoehorned a small Gui around it, which does the conversion if you drag&drop a black file into it. If this is something you guys would be interested in testing / using, then i will release it somewhere. All credits to Selvin of course!

Bests,
Andares Sol
Wild Rho
Imperial Shipment
Amarr Empire
#122 - 2012-07-28 16:32:16 UTC
I'm definitely interested in anything that can parse the black files. I've been lucky and still have versions of the red files but they'll become outdated in time.
Andares Sol
Center for Advanced Studies
Gallente Federation
#123 - 2012-07-29 18:07:59 UTC  |  Edited by: Andares Sol
I uploaded a first version of the Black2Json converter. Quick & Dirty and no guarantees.
This is just using the C# classes from Selvin as is:

Edit:
Sourcecode and ClickOnce Installer now on https://black2json.codeplex.com

Bests,
Andares Sol
Akori Mitsumoto
Mirkur Draug'Tyr
Ushra'Khan
#124 - 2012-08-03 11:25:22 UTC
Here is a mostly-working blender importer for .black files.

Many thanks to Selvin for the work he's done on the .net parser, it was invaluable.

If anyone has feedback on the specular or mirror values and how they map from the .black files, I'd love to hear.

Download from EVE-Files
Fhtagnamus Wiggins
Inner Beard Society
The Watchmen.
#125 - 2012-08-05 22:47:20 UTC
How do you use that black importer?
I'm using newest blender, going to User Preferences->Addons->Install addon, but it doesnt work, or there's some other way of running python scripts i dont know of? (I never had to use them before ><).
Akori Mitsumoto
Mirkur Draug'Tyr
Ushra'Khan
#126 - 2012-08-06 00:52:39 UTC
Fhtagnamus Wiggins wrote:
How do you use that black importer?
I'm using newest blender, going to User Preferences->Addons->Install addon, but it doesnt work, or there's some other way of running python scripts i dont know of? (I never had to use them before ><).


That's how it's supposed to work. The "Install addon" option should let you choose the zip file and then you should have the addon available in the import/export section - you may need to activate it once you've installed it.

One caveat I should have mentioned - this only works on windows because it loads the granny dll in order to import the model.

If it doesn't load for you, can you please enable the system console (from the help menu) and then copy/paste the error it gives when you try to load? If I can, I'll fix it :)
Fhtagnamus Wiggins
Inner Beard Society
The Watchmen.
#127 - 2012-08-06 10:39:18 UTC  |  Edited by: Fhtagnamus Wiggins
Thanks your reply helped :)
What I did wrong was unzipping the archive and trying to add each of py files separately, works now when I choose zip file as addon source.

http://i.imgur.com/EkuUp.png

Here's ss of the console, unfortunately can't paste code in here :)
Wild Rho
Imperial Shipment
Amarr Empire
#128 - 2012-08-06 18:02:35 UTC
Akori Mitsumoto wrote:
Here is a mostly-working blender importer for .black files.

Many thanks to Selvin for the work he's done on the .net parser, it was invaluable.

If anyone has feedback on the specular or mirror values and how they map from the .black files, I'd love to hear.

Download from EVE-Files



Tried using the script in Blender 2.59 and 2.63a and in both versions it installed the script but would not allow me to enable it.
Xenuria
#129 - 2012-08-06 18:14:23 UTC
Wild Rho wrote:
Akori Mitsumoto wrote:
Here is a mostly-working blender importer for .black files.

Many thanks to Selvin for the work he's done on the .net parser, it was invaluable.

If anyone has feedback on the specular or mirror values and how they map from the .black files, I'd love to hear.

Download from EVE-Files



Tried using the script in Blender 2.59 and 2.63a and in both versions it installed the script but would not allow me to enable it.


Facepalm... Roll

STOP USING BLENDER!
Blender is what people use when they are trying to be hip and underground. I repeat using blender will not give you Indy Cred. It will just make people like me frustrated with your stubborn "buck the system" mentality.

If anybody has a working method of extracting WIS models/Textures into MAYA eve mail me and I will pay you for the information.
Akori Mitsumoto
Mirkur Draug'Tyr
Ushra'Khan
#130 - 2012-08-07 00:39:49 UTC
OK, I know it's off topic but can anyone tell me how to /ignore someone in these forums?
Akori Mitsumoto
Mirkur Draug'Tyr
Ushra'Khan
#131 - 2012-08-07 00:46:53 UTC
Wild Rho wrote:
Akori Mitsumoto wrote:
Here is a mostly-working blender importer for .black files.

Many thanks to Selvin for the work he's done on the .net parser, it was invaluable.

If anyone has feedback on the specular or mirror values and how they map from the .black files, I'd love to hear.

Download from EVE-Files



Tried using the script in Blender 2.59 and 2.63a and in both versions it installed the script but would not allow me to enable it.


Can you please enable the system console (from the help menu) and then copy/paste the error it gives when you try to load?
Xenuria
#132 - 2012-08-07 02:56:18 UTC
Akori Mitsumoto wrote:
OK, I know it's off topic but can anyone tell me how to /ignore someone in these forums?

Click under the name and hit hide posts.
Also you are not helping anybody by perpetuating this ignorance.

The problem remains people are trying to build a sandcastle with plastic trowels.
I am trying to encourage people to use more sophisticated tools and for that I am being ostracized.
Wild Rho
Imperial Shipment
Amarr Empire
#133 - 2012-08-07 07:36:02 UTC
Akori Mitsumoto wrote:
Wild Rho wrote:
Akori Mitsumoto wrote:
Here is a mostly-working blender importer for .black files.

Many thanks to Selvin for the work he's done on the .net parser, it was invaluable.

If anyone has feedback on the specular or mirror values and how they map from the .black files, I'd love to hear.

Download from EVE-Files



Tried using the script in Blender 2.59 and 2.63a and in both versions it installed the script but would not allow me to enable it.


Can you please enable the system console (from the help menu) and then copy/paste the error it gives when you try to load?


Here's a screenshot of the console output from my attempt in blender 2.59 (OS is Windows 7).

There are two events in there, the first when I installed the script, the second when I tried to enable it in the add-ons menu.

http://img.photobucket.com/albums/v75/Wild_Rho/ScriptErr.png
Akori Mitsumoto
Mirkur Draug'Tyr
Ushra'Khan
#134 - 2012-08-07 23:33:03 UTC
Wild Rho wrote:

Here's a screenshot of the console output from my attempt in blender 2.59 (OS is Windows 7).

There are two events in there, the first when I installed the script, the second when I tried to enable it in the add-ons menu.

http://img.photobucket.com/albums/v75/Wild_Rho/ScriptErr.png


Hmm. Do you know if you're running a 32-bit or 64-bit blender? That error looks like trying to load a Win32 DLL (granny) into a Win64 program.
Wild Rho
Imperial Shipment
Amarr Empire
#135 - 2012-08-08 05:35:07 UTC
It's the 64bit version, the 32bit version can't allocate enough memory for the compositing work I do.
Akori Mitsumoto
Mirkur Draug'Tyr
Ushra'Khan
#136 - 2012-08-08 21:33:32 UTC
Wild Rho wrote:
It's the 64bit version, the 32bit version can't allocate enough memory for the compositing work I do.


Dang. Looks like I need to find a way of loading a 32-bit DLL into a 64-bit program. I'll post a new version up once I've figured that out..
Andares Sol
Center for Advanced Studies
Gallente Federation
#137 - 2012-08-09 19:12:30 UTC  |  Edited by: Andares Sol
The dead life longer! Selvin has kindly worked on an update for the good old TriExporter and also taken a few of my changes into the code. So we can proudly present you *drumroll* Shocked

TriExporter v0.5.0.0
SourceCode and Binaries are hosted at CodePlex. (Same as TriExporter.NET)
http://triexporter.codeplex.com/


  • The binary got bigger, as we have the library to export Autodesk FBX statically linked to the executeable at the moment (*.fbx).
  • An exporter for Android3D files was added (*.a3d)
  • Also an exporter for the simple binary format for EveLiveWallpaper was added (*.vbo).
  • The main form was redesigned a bit to reduce the scrolling effort when you select a model.
  • The model preview was fixed.
  • If a model which had texture(s) added is exported, also the texture(s) will be exported in PNG format.

Note that the code is still in large parts the same of the original TriExporter, so it has aged a bit over the years.
It ain't pretty, but it works Pirate.

Bests,
Andares Sol

P.S.: You still need to get the granny2.dll from somewhere and put it in the same folder as the program of course.
AlleyKat
The Unwanted.
#138 - 2012-08-10 12:09:40 UTC
Andares Sol wrote:

If a model which had texture(s) added is exported, also the texture(s) will be exported in PNG format.


So much win - now I can import directly into Element, testing tonight.

/bows

This space for rent.

AlleyKat
The Unwanted.
#139 - 2012-08-10 17:51:23 UTC
crashes for me.

win64, latest granny2.dll

-load TriExporter in administrator mode
-D-click on model
-"TriExporter has stopped working"

Ideas? Might be screwing up somewhere...

I also got it pointed at the correct folder, although the folder for EVE and the folder for TriExporter are on two different 'drives...

I can see everything listed on the left as per normal...

AK

This space for rent.

Andares Sol
Center for Advanced Studies
Gallente Federation
#140 - 2012-08-10 22:00:31 UTC
@AlleyKat:
Ah well bound to happen with only two people testing and both have tons of SDKs and debugging tools installed :D
I have it running fine on Win7 64bit with dll 2.8.12.0 - No need to run as administrator either.

So questions:
- Did the old version work?
- Which graphics card do you have?
- Do you have a d3d9.dll in your Windows\system32 folder and DirectX installed?
- If you single-click and just export the model does that work?

@All
Does it work / not work for anybody else?

Bests,
Andares Sol