Author Topic: POF CS Conversion Code Update  (Read 5794 times)

0 Members and 1 Guest are viewing this topic.

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF CS Conversion Code Update
Current COB Conversion Status: per checklist

Texture Translation: Check
PolyGon Points Translation: Check
PolyGon Faces Translation: to Texture reference translation, will write texture reference realiasing code tommorow, then will have to determine bounding min/max, radius, center [center predidence will be: First light in group, if no lights determine poly center as (X center, y center, z center)]
Extending Objects Translation: This is translating my new features like placing light points with certain names for engine glows, etc

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Did you say you wanted your head used as a soccer ball?
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
POF CS Conversion Code Update
Wow, nice job! I can't wait for the final release.  
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.

 

Offline Styxx

  • 211
    • Hard Light Productions
POF CS Conversion Code Update
Hooza! I have plenty of ships to be converted with it. Way to go!  
Probably away. Contact through email.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF CS Conversion Code Update
I'm at school, just wrote the code for finding the texture (4 or 5 functions deap indirecting, first you find the actualy Mat1 structure, then you strip the path and extension from the name, then you search the intermediate [soon to be POF] texture list for that reference.. so i guess it's 3 functions deap)

now on the making a centerpoint
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF CS Conversion Code Update
Normal Calcuation done, Radius Calculation done, now to figure center, then i have to go over to untextured polys.. but most of the things are common

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Did you say you wanted your head used as a soccer ball?
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF CS Conversion Code Update
done with textured polys.. now to untextured polys
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
POF CS Conversion Code Update
This'll speed MT up a bit, eh Styxx?  
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF CS Conversion Code Update
Ack, i forgot with the polygon translation i have to do a bunch of BSP work

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Did you say you wanted your head used as a soccer ball?
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline PSYCHO

  • 26
POF CS Conversion Code Update
Can you make it with unlimited material count? thanks

------------------

 

Offline PSYCHO

  • 26
POF CS Conversion Code Update
And Nice work keep it up  

------------------
Got to be Psychopathic to use TS
United Space

 

Offline Jabu

  • One of our many cases
  • 29
POF CS Conversion Code Update
Still gonna be a while, right?

Nothing's ever quite that simple  

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
POF CS Conversion Code Update
I've been trying to con my 23 year old brother into helping Xenolith and Kazan and all the other programmers in the FS community, but he's not too enthusiastic. He says there's nothing he wants to learn about the game. Shame really.  
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF CS Conversion Code Update
the simple way i wrote the code allowed unlimited materals.. but over a certain number may break the engine

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Did you say you wanted your head used as a soccer ball?
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF CS Conversion Code Update
im running list compliations through the debugger

Texture conversion is A-1 SUPAR
Point Conversion appears to be A-1 SUPAR
Poly Conversion appears to be OK, more testing needed

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Did you say you wanted your head used as a soccer ball?
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline JarC

  • 28
POF CS Conversion Code Update
 
Quote
Originally posted by Kazan:
im running list compliations through the debugger

Texture conversion is A-1 SUPAR
Point Conversion appears to be A-1 SUPAR
Poly Conversion appears to be OK, more testing needed


support for FS1 pof's? I mean, if COB and 3DS are supported, why not FS1?   diffs ain't _that_ big ?




------------------
JarC

"I am scared Dave..."
"Daisy, Daisy..."
Use the WiKi Luke
See You @ WIGGY's

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF CS Conversion Code Update
dif's are about 500 lines of code worth of difference

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Did you say you wanted your head used as a soccer ball?
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline JarC

  • 28
POF CS Conversion Code Update
 
Quote
Originally posted by Kazan:
dif's are about 500 lines of code worth of difference


so? COB/3DS a whole different world...


------------------
JarC

"I am scared Dave..."
"Daisy, Daisy..."
Use the WiKi Luke
See You @ WIGGY's

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF CS Conversion Code Update
there is no reason for me to write an extra 500-1000 lines of code just to support obsolete formats, there is no reason why i should have to write code to read/write out POFs earlier than version 2116 the difference between 2116 and 2117 is three lines of code on read, and then it writes out 2117 POFs

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Did you say you wanted your head used as a soccer ball?
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline JarC

  • 28
POF CS Conversion Code Update
 
Quote
Originally posted by Kazan:
there is no reason for me to write an extra 500-1000 lines of code just to support obsolete formats, there is no reason why i should have to write code to read/write out POFs earlier than version

for one thing, you're throwing the door into the face of a lot of descent 1/2/3/fs1 MODers that also could benefit from this tool.

But, if the 'master' ego can't be bothered with this small feature...so be it...

for everyone else interrested...keep an eye out for a WYSIWYG POF editor for BOTH formats...



------------------
JarC

"I am scared Dave..."
"Daisy, Daisy..."
Use the WiKi Luke
See You @ WIGGY's

  

Offline Jabu

  • One of our many cases
  • 29
POF CS Conversion Code Update
Come on, give Kazan some credit. He doesn't HAVE to to this tool, you know.