Topic: GMax2MOD plugin  (Read 27734 times)

0 Members and 1 Guest are viewing this topic.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
GMax2MOD plugin
« on: July 28, 2008, 01:31:17 am »
I while back I found bridge commander import export plugins for Gmax. I contacted one of the authors and asked him if he would be willing to try and compile the 3DMax .MOD source to make import export plugins for Gmax for us. Well, to make a long story short, he has successfully compiled the .MOD plugins to work in Gmax. I haven't tried all of the functionality to see if there are no bugs, but I did successfully import and export .MOD with LODS with Gmax. It works just like 3DMax.

You'll need Gmax version 1.2. It's available at

http://www.turbosquid.com/gmax
http://www.fileplanet.com/69843/60000/fileinfo/gmax-v1.2
http://www.4shared.com/file/56695695/3378fb01/gmax12.html?dirPwdVerified=ae1a9a1c

I've tried to upload the plugins to battleclinic, but to no avail. I'm not sure what the problem is. Here's a link you can DL it from until I can sort out why I can't get the upload to work. Enjoy!

http://www.4shared.com/file/56811432/d16fefa0/SFCgmax.html?dirPwdVerified=ae1a9a1c

Finally folks a free modeler for SFC! :dance:
« Last Edit: August 01, 2008, 05:00:22 pm by Rod ONeal »
If Romulans aren't cowards, then why do they taste like chicken?

Offline KBF-Crim

  • 1st Deacon ,Church of Taldren
  • Global Moderator
  • Commodore
  • *
  • Posts: 12271
  • Gender: Male
  • Crim,son of Rus'l
Re: Really awesome modeling development (IMHO)
« Reply #1 on: July 28, 2008, 01:36:46 am »
WOW....that IS cool news...after all these years...I might finally learn to model....

COOL! ;D

Offline I, Mudd.

  • Lt. Junior Grade
  • *
  • Posts: 251
  • Gender: Male
  • Still Building Models Nobody Wants ...
Re: Really awesome modeling development (IMHO)
« Reply #2 on: July 28, 2008, 09:19:05 am »
Awesome and profound!

Perhaps this should be stickied!

JM.

Offline Terradyhne

  • Lt.
  • *
  • Posts: 687
    • Terradyhne-yards
Re: Really awesome modeling development (IMHO)
« Reply #3 on: July 28, 2008, 10:10:01 am »
I while back I found bridge commander import export plugins for Gmax. I contacted one of the authors and asked him if he would be willing to try and compile the 3DMax .MOD source to make import export plugins for Gmax for us. Well, to make a long story short, he has successfully compiled the .MOD plugins to work in Gmax. I haven't tried all of the functionality to see if there are no bugs, but I did successfully import and export .MOD with LODS with Gmax. It works just like 3DMax.

cool, good that i have a backup of my GMax 1.2 somewhere, even if i have max now, i will try this and have to ask if the guy could make some ST-Armada1 and 2 plugins for GMax  :)



"there will be no better worlds with human presence as mankind tends to ignorance, intolerance and selfishness, despite they tell you about themselves"

intermech

  • Guest
Re: Really awesome modeling development (IMHO)
« Reply #4 on: July 28, 2008, 12:29:49 pm »
Can you please compress it in Zip format rather than *.rar .

Most people now have Zip compatibility with Windows, *.rar is slow in comming. Thanks.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #5 on: July 28, 2008, 02:27:51 pm »
TD, Do you have the max source for the Armada plugins? I can see what can be done. Be aware though, these took a couple of months to get.

This is also good for Vista users, I believe. FWIU GMax runs on vista.
If Romulans aren't cowards, then why do they taste like chicken?

Offline GotAFarmYet?

  • Lt. Commander
  • *
  • Posts: 1188
Re: Really awesome modeling development (IMHO)
« Reply #6 on: July 28, 2008, 02:33:52 pm »
Thanks maybe I will get back to kitbashing ships again, not just reskinning them.
People always said they wanted the government to listen to them and now the government is listening, taking notes and names...and coming to see you soon!

America-Not the land of the free anymore...
 Its the land of the freeloaders

Remember the axiom of big government bureaucrats: If it moves, tax it. If it keeps moving, regulate it. When, finally, under the crushing weight of taxes and regulation, it stops moving, subsidize it.

Offline Greenvalv

  • Trekkie at large.....
  • Lt.
  • *
  • Posts: 688
  • Sfc3files Dept Site Admin
Re: Really awesome modeling development (IMHO)
« Reply #7 on: July 28, 2008, 04:43:09 pm »
Hot dog!! Permission to upload the plugins at SFC3Files?

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #8 on: July 29, 2008, 01:14:45 am »
Hot dog!! Permission to upload the plugins at SFC3Files?

These are totally freeware. Upload to your hearts content.
If Romulans aren't cowards, then why do they taste like chicken?

Offline Centurus

  • Old Mad Man Making Ship Again....Kinda?
  • Captain
  • *
  • Posts: 8501
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #9 on: July 29, 2008, 01:18:16 am »
Think you could also post the plugins for BC?  Would love those too.
The pen is truly mightier than the sword.  And considerably easier to write with.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #10 on: July 29, 2008, 01:26:36 am »
This is the complete .nif installer. It's for all of the .nif games, including BC, and multiple versions of studio max, as well as GMax.

http://www.4shared.com/file/32075088/b16baa7/niftools-max-plugins-02160.html?dirPwdVerified=ae1a9a1c
If Romulans aren't cowards, then why do they taste like chicken?

Offline Centurus

  • Old Mad Man Making Ship Again....Kinda?
  • Captain
  • *
  • Posts: 8501
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #11 on: July 29, 2008, 01:27:45 am »
This is the complete .nif installer. It's for all of the .nif games, including BC, and multiple versions of studio max, as well as GMax.

http://www.4shared.com/file/32075088/b16baa7/niftools-max-plugins-02160.html?dirPwdVerified=ae1a9a1c


 :notworthy: :notworthy: :notworthy: :notworthy: :thumbsup:
The pen is truly mightier than the sword.  And considerably easier to write with.

Offline KBF MalaK

  • Just Another Target
  • Lt.
  • *
  • Posts: 673
Re: Really awesome modeling development (IMHO)
« Reply #12 on: July 29, 2008, 10:14:57 am »
yea !!! Now I can permanently delete Milkshape.
"Artificial Intelligence is not a suitable substitute for natural stupidity"                                                                                                                                                                                                                                                                       

Offline MrCue

  • Site Designer
  • Lt.
  • *
  • Posts: 977
  • Gender: Male
  • Proud Father
    • Battleclinic
Re: Really awesome modeling development (IMHO)
« Reply #13 on: July 29, 2008, 10:38:41 am »
Im not sure what issue you were having uploading it, but it uploaded fine when i tried it.
http://www.battleclinic.com/docks/dock/4628-SFC-Gmax-Plugin-details.html#4628

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #14 on: July 29, 2008, 02:18:27 pm »
Thanks, Mr. Cue.

Maybe it's firefox? I go to the upload screen enter all of the info, and before I can click to upload the page automatically goes to BC's home page.
If Romulans aren't cowards, then why do they taste like chicken?

Offline MrCue

  • Site Designer
  • Lt.
  • *
  • Posts: 977
  • Gender: Male
  • Proud Father
    • Battleclinic
Re: Really awesome modeling development (IMHO)
« Reply #15 on: July 29, 2008, 02:47:00 pm »
Thanks, Mr. Cue.

Maybe it's firefox? I go to the upload screen enter all of the info, and before I can click to upload the page automatically goes to BC's home page.
I used FF to do the upload.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #16 on: July 29, 2008, 10:19:03 pm »
Maybe it's this Kiwi internet? lol  (Now don't try and tell me that you're in NZ too. :P)
If Romulans aren't cowards, then why do they taste like chicken?

Offline Rhaz

  • Lt. Junior Grade
  • *
  • Posts: 374
Re: Really awesome modeling development (IMHO)
« Reply #17 on: July 30, 2008, 09:07:35 pm »
Wow - great news  :D

 Anybody tried running this on Xp or Vista yet?

Offline Centurus

  • Old Mad Man Making Ship Again....Kinda?
  • Captain
  • *
  • Posts: 8501
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #18 on: July 31, 2008, 03:41:07 am »
Most people run XP anyway, so chances are there are no XP issues.

Not sure about Vista.  I know though from using the NIF plugin installers that they'll install into MAX 9, which does run on Vista. 

I don't know if GMAX 1.2 runs on Vista though.
The pen is truly mightier than the sword.  And considerably easier to write with.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #19 on: July 31, 2008, 03:56:07 am »
I have XP and GMax runs fine. The problem with older versions of max on Vista is max's license server. Vista's security protocols don't like it. GMax doesn't use a licensing server. It should work fine. These plugins won't work on studio max. Just GMax.
If Romulans aren't cowards, then why do they taste like chicken?

Offline wulf111

  • Member of OutaLance Shipyards
  • Lt.
  • *
  • Posts: 626
  • Gender: Male
  • OutaLance, Where Dreams Become a Reality
Re: Really awesome modeling development (IMHO)
« Reply #20 on: July 31, 2008, 01:38:50 pm »
ran into a little issue when exporting from GMAX it seems that all the normals are flipped when viewed in the model viewer has anyone else had this issue?


Chuck Norris floats like a butterfly and stings like a tomahawk missile. At mach 3. In the face.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #21 on: July 31, 2008, 03:34:32 pm »
I've done a couple of exports. One by importing and then exporting a stock Taldren model, with the LODs. The second by importing a .3ds model that I made and then exporting it. Both exported fine.

Did you make the model in GMax, or did you import it into GMax?

If you imported it, what format was it in?
If Romulans aren't cowards, then why do they taste like chicken?

Potemkyn

  • Guest
Re: Really awesome modeling development (IMHO)
« Reply #22 on: July 31, 2008, 10:00:32 pm »
Cool!  Maybe this won't load my system down so much.

Mike

Offline wulf111

  • Member of OutaLance Shipyards
  • Lt.
  • *
  • Posts: 626
  • Gender: Male
  • OutaLance, Where Dreams Become a Reality
Re: Really awesome modeling development (IMHO)
« Reply #23 on: August 01, 2008, 06:38:25 am »
I've done a couple of exports. One by importing and then exporting a stock Taldren model, with the LODs. The second by importing a .3ds model that I made and then exporting it. Both exported fine.

Did you make the model in GMax, or did you import it into GMax?

If you imported it, what format was it in?


i made the model in GMAX and exported it to .mod format. maybe it is just me then.


Chuck Norris floats like a butterfly and stings like a tomahawk missile. At mach 3. In the face.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #24 on: August 01, 2008, 07:38:56 am »
I just made a sphere and exported it to .mod and it was OK. It's possible you accidentally reversed the normals while making the model?


If it persists send me the model and I'll have a look to see what's going on. If there's a bug I want to sort it out.
If Romulans aren't cowards, then why do they taste like chicken?

Offline wulf111

  • Member of OutaLance Shipyards
  • Lt.
  • *
  • Posts: 626
  • Gender: Male
  • OutaLance, Where Dreams Become a Reality
Re: Really awesome modeling development (IMHO)
« Reply #25 on: August 01, 2008, 08:46:56 am »
Must have been something i did with that particular model that screwed it up.i even imported the .mod and it was fine.  i exported a few other quickly made parts with no problem.

all in all it is great. GMAX doesn't have the overhead that 3DS Max does and runs alot smoother on older systems. also for some reason the boolean functions tend to work better as well.

great job on these plugins i am sure that this will open up alot of new modelers to SFC since it is a great program that is also free.


Chuck Norris floats like a butterfly and stings like a tomahawk missile. At mach 3. In the face.

Offline Greenvalv

  • Trekkie at large.....
  • Lt.
  • *
  • Posts: 688
  • Sfc3files Dept Site Admin
Re: Really awesome modeling development (IMHO)
« Reply #26 on: August 01, 2008, 01:51:53 pm »

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: Really awesome modeling development (IMHO)
« Reply #27 on: August 01, 2008, 03:22:01 pm »
Cool to see some modeling coming from these. Here's a renderer for Gmax. It allows you, with a bit of effort, to export your Gmax scene to Yafray. You might like it better than the mod viewer.

http://www.4shared.com/file/57412627/789a9a21/gmaxrender.html?dirPwdVerified=ae1a9a1c
If Romulans aren't cowards, then why do they taste like chicken?

yochenhsieh

  • Guest
Re: GMax2MOD plugin
« Reply #28 on: August 02, 2008, 07:40:47 pm »
This is the gmax forum if you need more info about using gmax.
http://www.turbosquid.com/Forum/Index.cfm/stgAct/ForumList/intGroupID/1004

Don't forget to download and install the help and tutorial file! They are very useful.;-)
http://www.turbosquid.com/gmax

Offline Centurus

  • Old Mad Man Making Ship Again....Kinda?
  • Captain
  • *
  • Posts: 8501
  • Gender: Male
Re: GMax2MOD plugin
« Reply #29 on: August 03, 2008, 05:30:20 pm »
The BC plugins are great.  On some models that I port from BC to SFC, I get these smoothing group errors when I use MS3D.

But, when I use the plugins for MAX/GMAX, I don't get those smoothing group errors.
The pen is truly mightier than the sword.  And considerably easier to write with.

Offline FA Frey XC

  • Site Owner
  • Administrator
  • Captain
  • *
  • Posts: 5694
  • Gender: Male
    • XenoCorp.Net
Re: GMax2MOD plugin
« Reply #30 on: August 04, 2008, 10:27:38 pm »
Ya'll, remember you can upload stuff for distribution here on D.net

If you click on the frontpage (click on the dynaverse banner in the up right corner) then click on Downloads, then Library upload, you can upload it to the D.net FTP.

Send me a brief note about it and I'll move it to the proper location, and send you back a link to post for DL's.

Regards,
Vice President of Technology,
Dynaverse Gaming Association
Owner, CEO XenoCorp Inc.


Justicar

  • Guest
Re: GMax2MOD plugin
« Reply #31 on: August 17, 2008, 03:09:32 am »
Perhaps someone here can help me out?  I seem to be having trouble with the Star Union dreadnought. 

It works fine in SFC ModViewer...

Anim8or doesn't seem to import .mod, unless I've missed something...?

Zmodeler 1.x doesn't believe it's actually a .mod file, 2.x doesn't have .mods as a supported option (that I've seen, anyway).

It crashes MilkShape 1.8.3 (with the Assimsoft plug-in) every time it tries to load (but MS works fine with most other models).

GMax 1.2 will load it, but I can't output it to anything useful other than .nif (from the nif-tools plug-in for Max), which should work, but I have 3ds Max 2009 (aka Rev 11), and the nif-tools only support through Rev 9.

It loads fine in Ultimate Unwrap 3D, but the lousy demo doesn't give even a single save.  And since there's no returns on the software, I'm not inclined to blow $50 for one model on the chance that it might export to something useful.

Basically, I'm not having any luck, regardless of what I try.  I just want to get the model into .3ds (or .lwo, or .3dm, or .stl or something that's bloody useful).  Any chance somebody here can help me out?  Please?  And no, I wouldn't upload it without permission.  I may be new, but I'm suicidal  :-X  Thanks in advance.

\edit

After further gnashing of teeth, I finally found where Atheorhaven said to go to http://outalance.battleclinic.com/atheorhaven/html/_sgg/m1m3s1_1.htm for some useful tools, where I found moddxfv1.zip.  It's a .mod to .dxf converter and it works flawlessly and is super simple.  From .dxf I can get it into whatever I need, so I'm happy (after two frakking days...sigh).  Thanks to Stealth/darkjedi for writing this useful tool.

/edit
« Last Edit: August 17, 2008, 03:32:32 am by Justicar »

Offline Starfox1701

  • Lt. Commander
  • *
  • Posts: 1049
Re: GMax2MOD plugin
« Reply #32 on: August 21, 2008, 01:56:27 pm »
Has there been any progress on the SOD importer-exporter?

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: GMax2MOD plugin
« Reply #33 on: August 21, 2008, 03:19:01 pm »
Has there been any progress on the SOD importer-exporter?

I've just sent off an email to Rockstar games. They acquired Mad Doc software. Maybe they have the .SOD source code and maybe they'll release it? We'll see?
If Romulans aren't cowards, then why do they taste like chicken?

Offline Centurus

  • Old Mad Man Making Ship Again....Kinda?
  • Captain
  • *
  • Posts: 8501
  • Gender: Male
Re: GMax2MOD plugin
« Reply #34 on: August 21, 2008, 06:04:54 pm »
I wonder if your contact would be willing to compile new SFC plugins for MAX 9.  One can hope.
The pen is truly mightier than the sword.  And considerably easier to write with.

Offline RBM

  • Lt. Junior Grade
  • *
  • Posts: 28
Re: GMax2MOD plugin
« Reply #35 on: August 23, 2008, 03:41:51 pm »
I wonder if anyone else has run into this issue. On starting Gmax 1.2, I'm getting notifications that the two SFC plugins aren't initializing.

Any guesses? Thanks.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: GMax2MOD plugin
« Reply #36 on: August 23, 2008, 03:55:40 pm »
Here's some things to check/try. Post if it sorts it out for you.

1, Have you installed the winmm.dll into the main gmax directory (That's what allows the plugins to work. ) and the plugins into the gmax/plugins directory?

2, You could try installing the niftools-max-plugins. They give you a new .exe called "nifgmax.exe"  to start the program from.

3, Are you certain that you have gmax 1.2?

4, Make sure you have the gmax plugins and not the 3ds studio max plugins.
If Romulans aren't cowards, then why do they taste like chicken?

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: GMax2MOD plugin
« Reply #37 on: August 23, 2008, 04:19:22 pm »
On the subject of Armada plugins... Rockstar has directed me to Activision, unfortunately. I have filled out a customer service form with Activision, but I don't hold out a lot of hope. We'll see.
If Romulans aren't cowards, then why do they taste like chicken?

Offline RBM

  • Lt. Junior Grade
  • *
  • Posts: 28
Re: GMax2MOD plugin
« Reply #38 on: August 24, 2008, 07:22:41 am »
Here's some things to check/try. Post if it sorts it out for you.

1, Have you installed the winmm.dll into the main gmax directory (That's what allows the plugins to work. ) and the plugins into the gmax/plugins directory?
Yep, winmm.dll is tucked in with all the other DLLs and the plugins are in the right folder. Still get the message headed "Loading DLLs" and the failures.

Quote
2, You could try installing the niftools-max-plugins. They give you a new .exe called "nifgmax.exe"  to start the program from.
If it comes to it, I may give that a try.

Quote
3, Are you certain that you have gmax 1.2?
Yep, though I'm running on Win98 and noticed the winmm.dll is listed as one for NWN2, which IIRC, runs on XP and above. Might that be it?

Quote
4, Make sure you have the gmax plugins and not the 3ds studio max plugins.
The downloaded file, from Battleclinic, is listed as SFCgmax.

Thanks for the suggestions.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: GMax2MOD plugin
« Reply #39 on: August 24, 2008, 02:23:00 pm »
Might be the win98. I'm not sure if the NIF tools will help in that case. It's all that I can think of trying though. It works without the .dll file
If Romulans aren't cowards, then why do they taste like chicken?

Offline Starfox1701

  • Lt. Commander
  • *
  • Posts: 1049
Re: GMax2MOD plugin
« Reply #40 on: August 24, 2008, 02:27:41 pm »
I thought Activiosion got bought out too though for the life of me I can't remember which?

Offline pepperman

  • Lt. Junior Grade
  • *
  • Posts: 338
  • Gender: Male
Re: GMax2MOD plugin
« Reply #41 on: November 15, 2008, 12:39:52 pm »
Sorry to post in a relatively old thread but I was wondering if Rod had heard anything back from Activiosion regarding the source code for Armada plugins. 

Anyway...don't know if this helps or not but here is the Storm3D Object Definition (SOD) File Format document as well as an extract from the Milkshape plugin creator Chris Graham

Storm3D Object Definition (SOD) File Format
===========================================
Author: Steve Williams
Modified for v1.93 : Chris Graham
Storm3D Graphics Engine Lead.
Copyright © Activision 2000.

Modifications : Updated to SOD v1.93 (as for Armada 2 mods).

Audience
========
This document is intended for use by experienced 3D tools programmers
for the purposes of writing exporters, importers and conversion tools
to/from the .SOD format. A good understanding of real time 3D graphics
principles is assumed. The reader is expected to be familiar with
real time 3D geometry concepts such as lighting, animation & scene
graph hierarchies.


Introduction
============
The SOD file format is a binary file format describing the 3D directed
scene graph hierarchies used by the Storm3D rendering engine.
Each .SOD file describes one such hierarchy.


The SOD file format has evolved through several versions.
This document describes the latest format, 1.93.


Datatypes used in this document
===============================
UINT8 unsigned 8 bit integer
UINT16 unsigned 16 bit integer
UINT32 unsigned 32 bit integer
FLOAT floating point (4 byte) value
VECTOR2 {FLOAT u, FLOAT v}
VECTOR3 {FLOAT x, FLOAT y, FLOAT z}
MATRIX34 { VECTOR3 RIGHT, UP, FRONT, POSITION } MATRICES MUST BE ORTHOGONAL.
COLOUR { FLOAT red, FLOAT green, FLOAT blue } Component range 0.0 - 1.0

Other local datatypes are defined where appropriate.

Additional Syntax
=================
TYPE ARRAY(nentries) - A contiguous array of nentries of type TYPE

Identifiers
===========

IDENTIFIER
{
UINT16 strlen(string), string (8 bit ascii values) including terminating '\0'
OR
UINT16 0 - Indicates null string.
}

File Structure
==============

Section 1 : File Header
Section 2 : Lighting Materials
Section 3 : Nodes - Written recursively from the root.
Section 4 : Animation Channels
Section 5 : Animation References

Section Description
===================


Section 1 : File Header
=======================

HEADER Storm3D_SW File identification header (8 bit ascii values) - no strlen or terminating '\0'.
FLOAT version Current version is 1.93. 1.91 has also been found and is similar.


Section 2 : Lighting Materials
==============================
Defines the characteristics of the vertex lighting materials defined in this .SOD file.

UINT16 count - The number of lighting materials defined in this file.

LIGHTING_MATERIAL ARRAY(count) Array of lighting materials.

LIGHTING_MATERIAL
{
IDENTIFIER identifier Name of the lighting material.
COLOUR ambient Real time lighting ambient component
COLOUR diffuse Real time lighting diffue component
COLOUR specular Real time lighting specular component (only used by the phong illumination model)
FLOAT specular power Specular exponent, used to determine the 'shininess' of material using the phong illumination model.
UINT8 lighting model (constant=0, lambert=1, phong=2)
UINT8 unknown (=0)
}


Section 3 : Nodes
=================

The nodes consist of 5 types NULL, LOD_CONTROL, SPRITE, MESH and EMITTER which together form
a scene graph which describes the object's hierarchy.

UINT16 count - The number of nodes in the hierarchy.

NODE
{
UINT16 node_type (0 - null, 1- mesh, 3 - sprite, 11 - LOD control node, 12 - emitter) DO NOT USE OTHER VALUES.
IDENTIFIER identifier
IDENTIFIER parent (which will be null for root node)
MATRIX34 local transform
TYPE_SPECIFIC_DATA<node_type> Type specific data field as defined below.
}


Null Nodes
==========

TYPE_SPECIFIC_DATA<NULL>
{
No addtional data required.
}

Null nodes are used for two purposes :
1. As 'glue' to stick the rest of the hierarchy together
2. To mark specific locations in the hierachy, for example, hardpoints.


LOD Control Nodes
=================

TYPE_SPECIFIC_DATA<LOD_CONTROL>
{
No addtional data required.
}

Storm3D uses discrete (rather than dynamic) LODs for level of detail control. Each
child of an LOD control node indicates a discrete LOD that the graphics engine may
use when rendering this object. LOD selection is based on visible on-screen area.


Sprite Nodes
============

TYPE_SPECIFIC_DATA<SPRITE_NODE>
{
None: The appropriate sprite node definition to use is determined from the
identifier. The sprite node definition is defined in the .spr files.
}

Examples of sprite node usage include running lights in ST:Armada.

TYPE_SPECIFIC_DATA<PARTICLE_EMITTER>
{
IDENTIFIER Emitter used by this node as defined by an @emitter description in the .spr files.
}

Polygon Mesh Nodes
==================

TYPE_SPECIFIC_DATA<MESH>
{
IDENTIFIER texture material (0 for default) - Defines the TEXTURE_MATERIAL to be used by this mesh.
if (version==1.93)
{
byte unknown[4]
UINT32 textures=1|2
} else textures=1
IDENTIFIER texture
if (version==1.93)
{
UINT32 unknown=0
}
if (textures==2)
{
IDENTIFIER bump
UINT32 unknown
}
if (version==1.93)
{
UINT32 unknown=0
} else UINT16 unknown=0

UINT16 nvertices : Number of vertices
UINT16 number of texture coordinates (ntexcoords)
UINT16 number of vertex lighting groups (ngroups)

VECTOR3 ARRAY vertex positions (nvertices entries)
VECTOR2 ARRAY texture coordinates (ntexcoords entries)

VERTEX_LIGHTING_GROUP ARRAY (ngroups entries)
}


UINT8 cull type (0 - no cull, 1- (backface cull)

UINT16 0 - unused must be 0.
VERTEX_LIGHTING_GROUP
{
UINT16 num_faces (all faces are triangles)
IDENTIFIER lighting_material (0=default)
FACE ARRAY (num_faces entries)
}

FACE_VERTEX
{
UINT16 index into mesh vertex positions array
UINT16 index into mesh texture coordinate array
}

FACE
{
FACE_VERTEX ARRAY(3) 3 entries describing a triangular faces vertex link.
}


Emitter nodes
=============

IDENTIFIER emitter_id

Section 4 : Animation Channels (Defines transform animation)
================================================== ==========

UINT16 count // Number of animation channels

ANIMATION_CHANNEL ARRAY(count) Array of animation channels.

ANIMATION_CHANNEL
{
IDENTIFIER node : The node to which this animation channel refers.
UINT16 nkeyframes : The number of keyframes used by this channel.
FLOAT channel_period : The length of time one loop of this channel lasts.
UINT16 0 : Not currently used. Must be 0.
MATRIX34 ARRAY(nkeyframes) keyframe_data : The actual animation transforms, evenly spaced over time 'channel_period'.
}

Section 5 : Animation References (Defines texture animation)
================================================== ==========

Animation references are a way of linking texture (flipbook) animations defined in the
.spr files to the geometry of a .SOD mesh node. An example of their usage is the
flipbook animation applied to the geometry for the various shield effects in Armada.


UINT16 num_animation_references

ANIMATION_REFERENCE ARRAY(num_animation_references)


ANIMATION_REFERENCE
{
UINT8 type : Must be 4
IDENTIFIER node : The node to which this animation applies.
IDENTIFIER anim : The animation (as defined in .spr files) that is to be applied to this node.
FLOAT playback_offset : Time offset in seconds to be applied to this animation reference.
}

Additional Information
======================

Vertex Lighting Material Sharing
================================

Vertex lighting materials are shared between objects, when parsing a .SOD file,
Storm3D searches for a match in all previously loaded files. If a match is found, that
material is used. This prevents artists from having to ensure the material characteristics
of commonly used materials are correct in each file, and also saves memory.

A 'palette' of commonly used materials can be found in materials.sod
In Armada, this file is loaded prior to most other SOD files & so defines the
characteristics of many common materials.


Hierarchy Structure (Armada Specific)
=====================================
Armada uses various nodes in a Storm3D hierarchy for special purposes.
These include hardpoints, damage nodes, running lights, borgification.
When generating new artwork, the artist must pay careful attention to the
structure of the hierarchy for the new object to function correctly in Armada.
A definition of the hierarchy structure required by Armada is beyond the scope
of this document. For the time being, existing artwork can be used as a reference.


TEXTURE_MATERIAL Definition
===========================
A texture material defines the characteristics of the polygon rasterizer used to
render the polygons in a given mesh. The texture materials are currently fixed
and defined within the executable.

Useful values are :

default - Standard material

additive - Use additive blending

opaque - don't use alpha channel for translucency (use it for glow)

translucent - Semi transparent

alphathreshold - Use for objects using alpha channel 'cut outs' - alpha
channels will have hard edged 'threshold' but objects will be
drawn quickly.

alpha - Uses entire alpha channel. Object will require sorting, so
will have performance implications.

wireframe - Use wireframe graphics.

yochenhsieh

  • Guest
Re: GMax2MOD plugin
« Reply #42 on: March 04, 2009, 07:40:36 am »
The newer version of niftools which can also installed on GMax can be found here:
http://niftools.sourceforge.net/wiki/NifTools

It's been updated frequently for better compatibility and bug fixes.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: GMax2MOD plugin
« Reply #43 on: March 05, 2009, 01:25:08 am »
The newer version of niftools which can also installed on GMax can be found here:
http://niftools.sourceforge.net/wiki/NifTools

It's been updated frequently for better compatibility and bug fixes.


These plugins, while very cool, aren't for SFC. Just don't want to confuse anyone.
If Romulans aren't cowards, then why do they taste like chicken?

Offline candle_86

  • The Old School
  • Lt.
  • *
  • Posts: 509
  • Gender: Male
  • Position Gamma Hydra sector 10
Re: GMax2MOD plugin
« Reply #44 on: September 06, 2009, 12:43:49 am »
ok noob question tring to conver to SFC1 and cant find the lightmaps, I know there there, I can tell as much in model viewer and the fact the model has the light maps, how do I get rid of these things

Offline FoaS_XC

  • Photorps, Sammiches, woot woot.
  • Global Moderator
  • Commander
  • *
  • Posts: 4571
  • Gender: Male
    • Robinomicon
Re: GMax2MOD plugin
« Reply #45 on: October 18, 2009, 08:34:58 pm »
It occurs to me that it might be possible to write a MOD exporter with maxscript (without the need of the Max SDK) if we know how the MOD file is structured...
Robinomicon
"When I was 5 years old, my mom always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down “happy.” They told me I didn’t understand the assignment and I told them they didn’t understand life."

Offline marstone

  • Because I can
  • Commander
  • *
  • Posts: 3014
  • Gender: Male
  • G.E.C.K. - The best kit to have
    • Ramblings on the Q3, blog
Re: GMax2MOD plugin
« Reply #46 on: October 19, 2009, 06:15:49 am »
It occurs to me that it might be possible to write a MOD exporter with maxscript (without the need of the Max SDK) if we know how the MOD file is structured...

where would I get my hands on maxscript (to see how it is written)?
The smell of printer ink in the morning,
Tis the smell of programming.

Offline FoaS_XC

  • Photorps, Sammiches, woot woot.
  • Global Moderator
  • Commander
  • *
  • Posts: 4571
  • Gender: Male
    • Robinomicon
Re: GMax2MOD plugin
« Reply #47 on: October 19, 2009, 08:32:14 am »
scriptspot.com has a bunch of maxscripts, inluding file import/export stuff.. it's really not that hard a scripting language at all
Robinomicon
"When I was 5 years old, my mom always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down “happy.” They told me I didn’t understand the assignment and I told them they didn’t understand life."

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: GMax2MOD plugin
« Reply #48 on: October 19, 2009, 01:47:50 pm »
FWIU a script isn't version specific. As long as the version of Max you are using has the features to support the script. So, since every version from at least Max3 has the features needed to be able to import or export a .MOD, a script would be version independent. Nobody should have to write a new script every time Autodesk adds a feature and changes the version number.
If Romulans aren't cowards, then why do they taste like chicken?

Offline FoaS_XC

  • Photorps, Sammiches, woot woot.
  • Global Moderator
  • Commander
  • *
  • Posts: 4571
  • Gender: Male
    • Robinomicon
Re: GMax2MOD plugin
« Reply #49 on: October 19, 2009, 03:05:21 pm »
it CAN be version specific, but it usually isn't. Even if a particular script may not work in version 3, a rewrite to MAKE it work in version 3 should be doable.
Robinomicon
"When I was 5 years old, my mom always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down “happy.” They told me I didn’t understand the assignment and I told them they didn’t understand life."

Offline atheorhaven

  • Lt. Commander
  • *
  • Posts: 1801
    • Mare Imbrium Shipyards
Re: GMax2MOD plugin
« Reply #50 on: October 19, 2009, 03:09:13 pm »
ok noob question tring to conver to SFC1 and cant find the lightmaps, I know there there, I can tell as much in model viewer and the fact the model has the light maps, how do I get rid of these things

Responding to old question..

You have to go into the Material Map and physically remove them from the materials on the mesh.  Once that's done, the mesh should work in SFC 1.

I had an old tutorial up on it, but don't know if it's still accessible through the various iterations of my site..
..ooOOoo..totally useless information..ooOOoo..

Mare Imbrium Shipyards - http://mareimbrium.webhop.net

Don't bother checking out my website for the most recent updates, because I've
been too lazy to update it!  Check Battleclinic!

Offline KBF_Gow

  • Lt. Junior Grade
  • *
  • Posts: 97
Re: GMax2MOD plugin
« Reply #51 on: December 25, 2009, 03:23:23 am »
Hmm, got gmax 1.2 downloaded, it runs fine, but, if I put the winmm.dll in the gmax folder the application will not start.

If I remove it, it starts fine again.

Offline Rod ONeal

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 3592
  • Gender: Male
Re: GMax2MOD plugin
« Reply #52 on: December 25, 2009, 05:19:15 pm »
Without it the plugns won't work though. I'm not sure what is causing the problem. An alternative is to DL the niftools plugin and install that. It gives you a new .exe that should run the .mod plugins as well. You then don't need to use the winmm.dll.

http://sourceforge.net/projects/niftools/files/max_plugins/

So, keep the .mod plugins installed and install the niftools as well. Remove the winmm.dll and use the nifgmax.exe to start gmax

I hope it sorts it for you. Let us know if it helps.
If Romulans aren't cowards, then why do they taste like chicken?