Jump to content

Middlewerks - Model Converter


L B
 Share

Recommended Posts

Here is how to write a plugin (C# .NET Assembly DLL):

 

First, import a reference to Middlewerks.dll.

Then, create a file and add the following code to it:

 

public static class ModelConverterPlugin
{
public const string Extension = "ext";
public const string Description = "Custom";

public static void Convert(string inputPath, string outputPath)
{
	// Do your conversion work here.
	// It has to create a GMF file at outputPath from an EXT file at inputPath.
	// To signify a failure, use the following exception _only_. Any other will crash the utility.

	throw new ConversionFailedException("This plugin isn't implemented.");
}
}

 

I'd be glad to know what plugins we can all make. :(

Don't forget to throw in a little donation if you like this software. :lol:

Link to comment
Share on other sites

Nice work, could be even nicer if you expose configuration settings to the plugin such as the SDK path (most plugins can use the SDK converters so we can write Forms to enable/disable the command-line options). If you would like to add the configuration settings, then it would be useful to allow a plugin to be configured too in the same option Form.

?? FRANCESCO CROCETTI ??

http://skaredcreations.com

Link to comment
Share on other sites

Exposing the SDK path cannot be implicitly done, since it isn't anywhere in the registry.

However, you have access to "Common.ToolsPath", which is basically the "Tools" folder of the program. I have copied the Leadwerks tools there to access them.

 

For other software, like the texture converter, option dialogs will probably be available. However, this is not necessary for a model conversion, since there is basically only 1 way a model can be converted to GMF.

 

I know this can be slightly debated, but essentially, if you have a valid 3D model, it should be converted into GMF without options.

Link to comment
Share on other sites

For other software, like the texture converter, option dialogs will probably be available. However, this is not necessary for a model conversion, since there is basically only 1 way a model can be converted to GMF.

 

I know this can be slightly debated, but essentially, if you have a valid 3D model, it should be converted into GMF without options.

Well, a scaling option would be really, really nice.

When buying an assets pack most objects are at correct scale compared to other objects inside the pack, but not at Leadwerks scale.

desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP

laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32

Link to comment
Share on other sites

  • 2 weeks later...

where can I get a copy?

Tools:

AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro

 

Programing & Scripting Languages:

C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby

Link to comment
Share on other sites

  • 2 weeks later...

Its hard to give feedback based on screenshots.

 

I usually dont get more then 2 comments feedback if I announce a new asset pack in my Blog but after release the people buy it anyways.

Don't judge the interest for a product on the amount of feedback. Just finish some work get yourself some testers or do a trial version and you will get feedback. ;)

 

Middlewerks looks like a good Toolbox for me so don't stop working on it!

Pure3d Visualizations Germany - digital essences

AAA 3D Model Shop specialized on nature and environments

Link to comment
Share on other sites

The reason why there is no downloadable version is that I'm not used yet to key/time restricting applications, and I need the benefits from Middlewerks to fund my game. I'll try to see if I can whip something downloadable for you guys.

 

Meanwhile, you can be sure I won't drop it, because I want to use it myself.

Link to comment
Share on other sites

So no demo, no videos, no description of what the "Beta" is or indeed does .. but people can pre-order (pay up front for a finished product) and get a key to then test it?

 

:blink:

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Who would with no demo, no videos, no description of what the "Beta" is or indeed does?

 

Just wait? for?

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

I'll post my screenshots instead of the gallery though, to avoid spamming it. Like it or not, it will have a node editor, but it will have other mechanisms as well.

Then again, if you don't like it, don't buy it. There seems to be some kind of mentality across this forum that I'm taking the money out of your pocket by force.

 

Wpf.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...