General FreeSpace => FreeSpace Discussion => Topic started by: Kazan on June 09, 2001, 09:31:00 am
Title: Ok, for the good of the code
Post by: Kazan on June 09, 2001, 09:31:00 am
I'm not going to do the 3DS conversion code myself. I don't use 3DS studio max, and I don't like the documentation for the file format.
What I am going to do is im writing code right know that will make it so people ran write Conversion Plugins.
These DLLs will have a set API so my program can use them, but it will be able to load as many as are written.
Ok... i just set the basic API - the basic functions you must include are
const char* GetFormatInfo(); int CountFormatExt(); const char* GetFormatExt(int ExtNum); const char* GetAuthorInfo(); int Capabilties();
int ConvertToPof(const char* Inputfile, POF &PCinst); int ConvertFromPof(const char* Outputfile, POF &PCinst);
I'll write full documentation on writing plugins at a later time.
The Plugin SDK's PCSApi.h has comments that expain each of the functions ------------------ FreeSpace 2: The Babylon Project Effects Nerd and Programmer. http://freespace.volitionwatch.com/babylon (//"http://freespace.volitionwatch.com/babylon")
Did you say you wanted your head used as a soccer ball? The Klooges are coming! RUN! RUN FOR YOUR LIVES!
[This message has been edited by Kazan (edited 06-09-2001).]
[This message has been edited by Kazan (edited 06-10-2001).]
Title: Ok, for the good of the code
Post by: Snipes on June 09, 2001, 11:22:00 am
Title: Ok, for the good of the code
Post by: Pez on June 09, 2001, 11:28:00 am
Quote
Originally posted by Snipes:
Whoo....that rolling text is weird and annoying (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)
Title: Ok, for the good of the code
Post by: Snipes on June 09, 2001, 01:26:00 pm
it's called < marquee > marquee >
hehe
I forgot that HLP had HTML on (http://dynamic.gamespy.com/~freespace/ubb/noncgi/tongue.gif)
Title: Ok, for the good of the code
Post by: Jabu on June 09, 2001, 04:51:00 pm
If you didn't understand that, it pretty much doesn't apply to you (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)
Title: Ok, for the good of the code
Post by: Sandwich on June 09, 2001, 06:04:00 pm
Quote
Originally posted by Snipes: it's called < marquee > marquee >
hehe
I forgot that HLP had HTML on (http://dynamic.gamespy.com/~freespace/ubb/noncgi/tongue.gif)
You have done well, my Padawan learner... (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)
Hehe - HTML + stylesheets:
WARS
------------------ "He who laughs last thinks slowest." "Just becase you're paranoid doesn't mean they're not out to get you." "To err is human; to really screw up you need a computer." Creator of the Sandvich Bar ("http://michael.randelman.com")
[This message has been edited by sandwich (edited 06-09-2001).]
Title: Ok, for the good of the code
Post by: Snipes on June 09, 2001, 06:19:00 pm
Quote
Originally posted by sandwich: Stories
hehe, that's too much html (http://dynamic.gamespy.com/~freespace/ubb/noncgi/devil.gif)
[This message has been edited by Snipes (edited 06-09-2001).]
Title: Ok, for the good of the code
Post by: Kazan on June 09, 2001, 06:26:00 pm
pls stay ON subject
------------------ FreeSpace 2: The Babylon Project Effects Nerd and Programmer. http://freespace.volitionwatch.com/babylon ("http://freespace.volitionwatch.com/babylon")
Did you say you wanted your head used as a soccer ball? The Klooges are coming! RUN! RUN FOR YOUR LIVES!
Title: Ok, for the good of the code
Post by: Pez on June 09, 2001, 06:36:00 pm
Yeah, let's stay on the subject. I don't quite follow you here Kazan.
Quote
What I am going to do is im writing code right know that will make it so people ran write Conversion Plugins.
While I be able to use this in 3DS Max or are these DLL files something that someone else must finish writing and then they are complete?
[This message has been edited by Pez (edited 06-09-2001).]
Title: Ok, for the good of the code
Post by: Kazan on June 09, 2001, 06:40:00 pm
I dont feel confident writing the code for 3DS since I don't use 3DS so I'm writing a plugin support into POF CS so people can write plugins to do different file types such as 3DS
------------------ FreeSpace 2: The Babylon Project Effects Nerd and Programmer. http://freespace.volitionwatch.com/babylon ("http://freespace.volitionwatch.com/babylon")
Did you say you wanted your head used as a soccer ball? The Klooges are coming! RUN! RUN FOR YOUR LIVES!
Title: Ok, for the good of the code
Post by: DragonClaw on June 09, 2001, 09:39:00 pm
TREK
------------------ -Director of the staff of Hidden Terror. ("http://www.hiddenterror.f2s.com") -Fleet Admiral of The Ancients Armada ("http://ancientsarmada.cjb.net/")
Quote
The fear always controls our attitude, let us fear no more!
[This message has been edited by RKIF-DragonClaw (edited 06-09-2001).]
Title: Ok, for the good of the code
Post by: Kazan on June 09, 2001, 09:49:00 pm
Growl what did i say about ON TOPIC
Title: Ok, for the good of the code
Post by: Setekh on June 09, 2001, 11:36:00 pm
Nice work Kazan - hopefully this will help the dude who is writing the 3DS->POF plugin.
Did you say you wanted your head used as a soccer ball? The Klooges are coming! RUN! RUN FOR YOUR LIVES!
Title: Ok, for the good of the code
Post by: Sandwich on June 10, 2001, 05:02:00 pm
Quote
Originally posted by Kazan: Growl what did i say about ON TOPIC
Sorry for starting it (actually it was Snipes, as usual (http://dynamic.gamespy.com/~freespace/ubb/noncgi/tongue.gif)), but at least I didn't continue the OTish-ness... And since all this coding stuff is waaaayy over my head (and I'm a tall guy...) I'll forget this topic exists. "Have fun storming the castle!"
------------------ "He who laughs last thinks slowest." "Just becase you're paranoid doesn't mean they're not out to get you." "To err is human; to really screw up you need a computer." Creator of the Sandvich Bar ("http://michael.randelman.com")
Title: Ok, for the good of the code
Post by: Sandwich on June 10, 2001, 05:03:00 pm
What the heck happened to my post?!? Kazan, you bloodied it! (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)
------------------ "He who laughs last thinks slowest." "Just becase you're paranoid doesn't mean they're not out to get you." "To err is human; to really screw up you need a computer." Creator of the Sandvich Bar ("http://michael.randelman.com")
Title: Ok, for the good of the code
Post by: Pez on June 10, 2001, 05:17:00 pm
Kazan, as always. Great work, hopefully this will be to some good for us 3DS Maxers out there some day.
And Sandwich. Your siggie is wrong, it should be: "....doesn't mean they're not after you". (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)
Pez
Title: Ok, for the good of the code
Post by: Kazan on June 10, 2001, 05:30:00 pm
a good 3DS modeller and programmer could write a 3DS plugin
------------------ FreeSpace 2: The Babylon Project Effects Nerd and Programmer. http://freespace.volitionwatch.com/babylon ("http://freespace.volitionwatch.com/babylon")
Did you say you wanted your head used as a soccer ball? The Klooges are coming! RUN! RUN FOR YOUR LIVES!
Title: Ok, for the good of the code
Post by: Sandwich on June 10, 2001, 05:55:00 pm
Quote
Originally posted by Pez: And Sandwich. Your siggie is wrong, it should be: "....doesn't mean they're not after you". (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)
Pez
You sure?
------------------ "He who laughs last thinks slowest." "Just becase you're paranoid doesn't mean they're not out to get you." "To err is human; to really screw up you need a computer." Creator of the Sandvich Bar ("http://michael.randelman.com")
Title: Ok, for the good of the code
Post by: Kazan on June 10, 2001, 06:35:00 pm
gentlemen please stay on subject
------------------ FreeSpace 2: The Babylon Project Effects Nerd and Programmer. http://freespace.volitionwatch.com/babylon ("http://freespace.volitionwatch.com/babylon")
Well the thing is that I dont rely know what the topic is (http://dynamic.gamespy.com/~freespace/ubb/noncgi/frown.gif) oh well I guess Ill just have to read the whole thing (http://dynamic.gamespy.com/~freespace/ubb/noncgi/wink.gif) (http://dynamic.gamespy.com/~freespace/ubb/noncgi/rolleyes.gif)
------------------ Calvin (Calvin & Hobbes): YAAH! DEATH TO OATMEAL!
------------------
Terrans use guns, Vasudans use punching and kicking, but Shivans have 5 legs multiple eyes and built in Plasma beams (Dr.Zer0, as seen on VBB)
Title: Ok, for the good of the code
Post by: Kazan on June 11, 2001, 09:00:00 pm
You know snipes is correct
IF YOU DON'T UNDERSTAND THE FIRST POST IN THIS TOPIC DON'T POST IN HERE!
Title: Ok, for the good of the code
Post by: Black Ace on June 11, 2001, 10:07:00 pm
Quote
Originally posted by Kazan: You know snipes is correct
IF YOU DON'T UNDERSTAND THE FIRST POST IN THIS TOPIC DON'T POST IN HERE!
------------------ Staff Member, Hard Light Productions ("http://www.3dap.com/hlp") Creator / Project Coordinator: The Perfect Storm ("http://ross128.telefragged.com/hosted/perfectstorm/index.html") TPS Forums Page - Click Here ("http://dynamic.gamespy.com/~freespace/ubb/forumdisplay.cgi?action=topics&forum=The+Perfect+Storm&number=15") Think you've got killer vocal cords? Voice actors needed! Email me @ [email protected]
These detonators were a piece of junk! I even followed the directions... - Lt. Commander Snipes - Special Operations Command
Title: Ok, for the good of the code
Post by: LOA--JK47 on June 11, 2001, 11:28:00 pm
Lol, Hi KAZAN, Am i right in believing that your posts states the following? >>
I have the bare basics you need to make a file converter here kiddies go play and make an app !!!
That right? corect me if im wrong (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)
------------------ (http://mysmilies.com/cgi-bin/r.cgi?games/mm/mmxa) All shall fear the redness of my ageless war machine (http://mysmilies.com/cgi-bin/r.cgi?games/mm/mmxa)
Title: Ok, for the good of the code
Post by: Shrike on June 11, 2001, 11:59:00 pm
Don't make me turn off html. (http://dynamic.gamespy.com/~freespace/ubb/noncgi/tongue.gif)
Title: Ok, for the good of the code
Post by: Fineus on June 12, 2001, 12:50:00 am
Agreed, it's all very clever and everything guys, well done - but unless you have a purpose for it then just keep to the subject (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)
------------------ - ICQ: 57179504 Co-Creator: Hard Light Productions ("http://www.3dap.com/hlp/") Webmaster: Sounds of Thunder ("http://www.3dap.com/hlp/sot/")
Title: Ok, for the good of the code
Post by: Kazan on June 12, 2001, 08:52:00 am
no.. it says i have written support for extending the functionality of the file converter - i have the COB conversion written into it
------------------ FreeSpace 2: The Babylon Project Effects Nerd and Programmer. http://freespace.volitionwatch.com/babylon ("http://freespace.volitionwatch.com/babylon")
Did you say you wanted your head used as a soccer ball? The Klooges are coming! RUN! RUN FOR YOUR LIVES!
Title: Ok, for the good of the code
Post by: Grey Wolf on June 13, 2001, 03:56:00 pm
Um, Kazan, just letting you know your POF to COB converter in POFCS completely messed up the UV Mapping coordinates on all 3 models I tried converting. (Note: I'm using TS1)
Title: Ok, for the good of the code
Post by: Kazan on June 13, 2001, 04:08:00 pm
Note: Truespace Version < 3 is not supported
Title: Ok, for the good of the code
Post by: Nico on June 13, 2001, 04:39:00 pm
I really hope someone will make the 3ds2pof plugin... that would be so handy... :me thinks poping out models by the dozen:
------------------ venom2506 Member of the Robotech mod for FS2 ("http://robotechlan.com/freespace2/")
and of Hidden Terror, the Shivan campaign ("http://www.hiddenterror.f2s.com/index2.html")
and My own page ("http://www.geocities.com/venom250681/Venom2506.html")
Title: Ok, for the good of the code
Post by: Kazan on June 13, 2001, 06:39:00 pm
I think styxx is considering it
------------------ FreeSpace 2: The Babylon Project Effects Nerd and Programmer. http://freespace.volitionwatch.com/babylon ("http://freespace.volitionwatch.com/babylon")
Did you say you wanted your head used as a soccer ball? The Klooges are coming! RUN! RUN FOR YOUR LIVES!
Title: Ok, for the good of the code
Post by: Grey Wolf on June 13, 2001, 08:19:00 pm
Quote
Originally posted by Kazan: Note: Truespace Version < 3 is not supported
[sarcasm]Thank you very much for posting that on the VBB thread.[/sarcasm] It's kinda wierd though that it converts from TS1 COBs but will not convert to TS1 COBs.
Title: Ok, for the good of the code
Post by: Setekh on June 14, 2001, 03:50:00 am
Quote
Originally posted by Kazan: I think styxx is considering it
Isn't wEvil's friend doing that too? (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)
Title: Ok, for the good of the code
Post by: Nico on June 14, 2001, 02:08:00 pm
two is better than none :þ (http://dynamic.gamespy.com/~freespace/ubb/noncgi/wink.gif)
Title: Ok, for the good of the code
Post by: DragonClaw on June 15, 2001, 01:19:00 pm
=® LOL
=Þ
------------------ -Director of the staff of Hidden Terror. ("http://www.hiddenterror.f2s.com") -Fleet Admiral of The Ancients Armada ("http://ancientsarmada.cjb.net/")
Quote
The fear always controls our attitude, let us fear no more!