Author Topic: I made PCS explain it'self a little better  (Read 6457 times)

0 Members and 1 Guest are viewing this topic.

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: I made PCS explain it'self a little better
PCS2 has been worked on in MSVC6 to date.  If all three of us have MSCV8 i have no objection to porting it over, the hardest part i believe is getting wxWidgets set back up - it compiles to single target libs in MSVC6 but i think it compiles to a sicken slew of libs in MSVC8

i'm not using std::vector and std::string at the moment because i needed to be able to debug into those - so i have temp replacements (included in the util folder) called kaz_string and kaz_vector - they're interface compatable so when we're ready a simple string replacement will flip it back to std::(vector|string)

the internal model format of PCS1 was POF
the internal model format of PCS2 is PMF (PCS Model Format) - module interface defined in pcs_file.h

POF<-->PMF conversion in pcs_pmf_pof.cpp (implemented) - BSP compiler/decompiler in pcs_pof_bspfuncs.(h|cpp)
COB<-->COB conversion in pcs_pmf_cob.cpp (incomplete)
adding support for additional file types like COB is comparatively trivial in PCS2 when compared to PCS1

POF handling code in the POF folder
BSP handling code in the BSP folder (messy, but gets the job done)
COB handling code in the COB folder (minimal support - only that which we need)

util folder has various ****e (platform abstracting directory lister w/ search support), my templates, openGL texture loader that follows fs2 search path/VPs, VP reader

compat folder - obvious

GUI folder - obvious (split into source/headers) - most of the work to be done here is with the editors (in subfolders) and fancy stuff for the openGL window (wxGL_PMFCanvas.cpp)

[edit]
i think i already had it working in MSVC8 on my machine.. lemme double check.. i made a bunch of changes i needed to roll back

PS: i have 32bit <--> 64bit portability warnings turned on... and i'm not supressing warning C4267 - it aint pretty, we need to clean that up.. when i tried i made things worse (what i just rolled back)
« Last Edit: March 22, 2007, 08:06:35 am by Kazan »
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
Re: I made PCS explain it'self a little better
somone demonkey kaz, i bet it makes him feel unwelcome.

very perceptive, thank you :D
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
Re: I made PCS explain it'self a little better
building on MSVC8 - .sln file commited to CVS - requires wxWidgets 2.8 compiled to static link, not dll

[edit]
forgot to answer - been using the GUI by hand

[edit again]
i see you've already got write access bob (probably from ferrium)

Access List to my repo:
Me (admin),
Bob (cvs, release tech)
Kara (cvs, release tech, shell)
Goob (cvs)
Taylor (cvs)

[edit3]
i turned 32/64 portability warnings off
« Last Edit: March 22, 2007, 09:16:29 am by Kazan »
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: I made PCS explain it'self a little better
good ole signed/unsigned mismatch error, my own little project has that same issue, I got over 200 of em :lol: (mostly the same ones in a header getting tripped every time that header is included) when I first noticed them I figured it'd be easy to fix them later, now that it's later it's more like 'well it's not that big of a problem' so the lessen learned is if you are going to fix it fix it sooner rather than later.

it seems glcanvas isn't enabled by default, seems I need to recompile wx...
« Last Edit: March 22, 2007, 03:20:45 pm by Bobboau »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: I made PCS explain it'self a little better
hmmm... got it to run, I though it was going to use a tree control for navigation, what ever happened to that?

ok, I'm going to start work on this, my basic plan is a ground up approach, I'm going to make sevral common editors derived from a panel, things like an array control that has new/erase/copy buttons, a combo box for selecting an indevidual item, and a sub panel for more controls (editors for the elements in the array) and a vector control (which could have derived normal control that handled things like normalisation).
« Last Edit: March 22, 2007, 03:17:58 pm by Bobboau »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: I made PCS explain it'self a little better
hmmm... got it to run, I though it was going to use a tree control for navigation, what ever happened to that?
it was clunky, and ugly

and yeah i forgot to warn you about glcanvas
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: I made PCS explain it'self a little better
this needs it's own topic
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: I made PCS explain it'self a little better
word of warning - the way PCS2 deals with infinite recursion situations is by terminating that path - thereby truncating the geometry
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 
Re: I made PCS explain it'self a little better
Good, at least then I'll know where the errors are, instead of having it freeze.  :)
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: I made PCS explain it'self a little better
Good, at least then I'll know where the errors are, instead of having it freeze.  :)

yup
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: I made PCS explain it'self a little better
you could have it make the last set of polygons red flat polys, that would make it even more aparent, or sence it's going to be internal just highlight them.

do you mind if I bring the tree back?
I realy liked the idea and I don't see how it could have been determined to be clunky seeing as PCS2 never got to a state were it could be used enough to make that determination
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: I made PCS explain it'self a little better
I realy liked the idea and I don't see how it could have been determined to be clunky seeing as PCS2 never got to a state were it could be used enough to make that determination

you can try.. lemme see if i deleted the code, or just disabled it

[edit]
disabled -

wxCTreeCtrl.h

yup.. most of the code is still there, just commented out
« Last Edit: March 22, 2007, 04:45:22 pm by Kazan »
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline takashi

  • Better than TrashMan
  • 29
Re: I made PCS explain it'self a little better
does it still leave the turrets in there proper places instead of sticking them in the middl of the ship?

 
Re: I made PCS explain it'self a little better
I've never had that problem with PCS, now with Max exporter I've always had that problem.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: I made PCS explain it'self a little better
hey, what do you use to convert xpm files?
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: I made PCS explain it'self a little better
hey, what do you use to convert xpm files?

paint shop pro
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
Re: I made PCS explain it'self a little better
does it still leave the turrets in there proper places instead of sticking them in the middl of the ship?

word to the wise - don't blame me for other people's bugs
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Re: I made PCS explain it'self a little better
Kazan: Just ignore takashi... it's safer for your heart in the long run, truuust me.
Freelance Modeler | Amateur Artist

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: I made PCS explain it'self a little better
yeah, read his title.

anyway PSP doen't have xpm as a type, but I found something that should work.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: I made PCS explain it'self a little better
does it still leave the turrets in there proper places instead of sticking them in the middl of the ship?

its not the converters fault if you forget to reset xform :D

that said a max->pmf plugin would be cool. actually be sure to thouroughly document that pmf format so that plugin devs can write output scripts/plugins for *insert name of modeling program here*. also support for an ascii version of the format would be cool cause some scripting languages cant really deal with binary file types.
« Last Edit: March 22, 2007, 10:13:57 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN