i-nod
1e4ac04582
3ds2pie tool update. Belongs to #1553 .
...
- Added PIE3 support.
- Conversion routine has been split into 2 parts, with intermediate PIE structure that can be used for model preview: PIE structure is filled with dump_3ds_to_pie(), PIE structure is dumped to .pie file with dump_pie_file().
- Duplicated points removal routine has been added into dump_3ds_to_pie(). "Borrowed" from simplipie tool.
- Implement 'twosided' material handler (instead of old global hack). WARNING! It's completely untested and optional.
- Command line interface is broken, most likely. Should be fixed or removed entirely.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10374 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-20 16:17:48 +01:00
Dennis Schridde
aac41748dc
Bump copyright
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6617 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-10 18:01:48 +00:00
Per Inge Mathisen
cf48229cc3
Update the usage help for 3DS conversion tools.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4500 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 19:54:12 +00:00
Per Inge Mathisen
a433f0c362
Add new tool: 3ds2wzm to convert from 3DS MAX to WZM format.
...
3ds2pie: Fix calculation of number of levels to import.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3929 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-05 21:23:23 +00:00
Dennis Schridde
9fec1a998e
Use QLayout instead of fixed size.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3859 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-23 12:25:37 +00:00
Dennis Schridde
2c10e37c49
Add Slider/SpinBox combination to set model scale. Closes patch #986 (but differs from it).
...
Also fix minimum/maximum sizes to prevent resizing of the window.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3858 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-23 11:44:36 +00:00
Per Inge Mathisen
69e71c5778
3ds2pie: Add option to scale imported model by a given factor to correct errors
...
seen in Blender 3DS export.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3853 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-22 18:47:21 +00:00
Per Inge Mathisen
b174ddd773
Make PIE/WZM tools more easily compile on Windows.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3730 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-09 18:56:31 +00:00
Per Inge Mathisen
0f647f937e
Make 3ds2pie tool conform to PIE standard even though the Warzone code ignores
...
the exact number given in the LEVEL directive.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3703 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-06 17:35:28 +00:00
Dennis Schridde
d8d2697d0d
Per says all of swapYZ, reverseWinding, invertUV are necessary for 3DS Max created .3ds files, so enable them all by default. (In GUI and CLI.)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3477 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 12:55:22 +00:00
Dennis Schridde
d22bf8f49c
Add tooltips
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3476 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 22:28:13 +00:00
Dennis Schridde
bb6437fe06
Drag&Drop support. (Any filename ending in ".3ds" is accepted.)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3469 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 19:40:40 +00:00
Dennis Schridde
4ac1dfecfd
- Replace texpageNr lineEdit, with texturePage spinBox.
...
- Remove associated error-checking (emptyness), since that is guaranteed by Qt.
- Use Ui::Gui3ds2pie instead of Ui_Gui3ds2pie. (Autodetected by Qt/UIC. make distclean if it complains.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3466 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 02:26:05 +00:00
Dennis Schridde
716d1796b5
Enable swapYZ by default, like in the commandline variant.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3465 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 01:54:49 +00:00
Dennis Schridde
356ed35cbb
Add Qt4 GUI. It uses 3ds2pie.c:dump_pie_file() and only has very basic error checking right now.
...
- To get the (currently only german) translation, run "lrelease 3ds2pie_gui.pro".
- When translating with (Qt Linguist), make sure to use the preview function to check whether your strings fit into the UI.
If they don't, try to use a shorter translation, otherwise adapt the UI.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3464 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 01:19:55 +00:00
Dennis Schridde
4ea16727f9
3ds2pie says it is licensed as LGPL-2.1, so use that instead.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3463 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 01:14:19 +00:00
Dennis Schridde
cb768653a6
Remove unnecessary (CVS?) header.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3462 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 01:13:31 +00:00
Dennis Schridde
5dc7edf2c1
Move 3ds2pie.c out of src/ again...
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3461 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 00:28:00 +00:00
Dennis Schridde
b557a843ca
- Make dump_pie_file work on parameters instead of globals
...
- Use C89 tolower() for string conversion
- Fix unsignedness warnings
- Some variable renames
- Move parse_args and associated globals into !WZ_3DS2PIE_GUI
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3460 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 23:39:45 +00:00
Dennis Schridde
7edfeb0b0e
Move C file to src/ to match default project settings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3459 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 23:10:46 +00:00
Dennis Schridde
a01c019d97
Prepare for additional GUI.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3457 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 22:01:21 +00:00
Dennis Schridde
ad2658fcec
Move 3ds2pie from conversion_tools to a dedicated directory.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3456 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 21:30:55 +00:00