Author Topic: POF Constructor Suite 2.0 Loads its first model!  (Read 45329 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 Constructor Suite 2.0 Loads its first model!
wtfh ... lwo uses mac byte order
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
POF Constructor Suite 2.0 Loads its first model!
Actually it uses Amiga byte order. :D

Remember where it started? :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
POF Constructor Suite 2.0 Loads its first model!
Hmm, ability to zoom in close to model (especailly for large ones) would be great.


Also should it be a concern that some .pofs I converted with PCS 1,4,? and DO work in game won't open in PCS2?

On the plus side it DID open the nearly 4k Death Glider I just converted and some building sets I was planning on converting fully (5k)

Interesting it opened all the 8k Gundams but crashed on the 1k Core fighter...

Kazan do you want me to send you some of these working .pofs to see if you can notice why PCS1 made them ok but they don't open in PCS2?

Also is .cob opening going to be enabled soon?
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF Constructor Suite 2.0 Loads its first model!
Quote
Originally posted by Getter Robo G
Hmm, ability to zoom in close to model (especailly for large ones) would be great.


Zoom is already there - press shift while right-mouse dragging vertically with


Quote
Originally posted by Getter Robo G
Also should it be a concern that some .pofs I converted with PCS 1,4,? and DO work in game won't open in PCS2?



yes, and i need to know what models they are and i must have the files

unlike MR BWO member telling me about bugs then not ****ing helping me solve them by giving me the offending files


Quote
Originally posted by Getter Robo G
On the plus side it DID open the nearly 4k Death Glider I just converted and some building sets I was planning on converting fully (5k)



cool

Quote
Originally posted by Getter Robo G
Interesting it opened all the 8k Gundams but crashed on the 1k Core fighter...


I don't think the bugs that are causing load crashing are in the geometry load - i need the file that fails

Quote
Originally posted by Getter Robo G
Kazan do you want me to send you some of these working .pofs to see if you can notice why PCS1 made them ok but they don't open in PCS2?


I just need the broken ones


Quote
Originally posted by Getter Robo G
Also is .cob opening going to be enabled soon?


after i create the preferences menu and get textures loading

i haven't even started writing the COB->PMF and PMF->COB functions yet
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
POF Constructor Suite 2.0 Loads its first model!
er, in case I missed it WHERE do I send'em to?  ;)
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline BlackDove

  • Star Killer
  • 211
  • Section 3 of the GTVI
    • http://www.shatteredstar.org
POF Constructor Suite 2.0 Loads its first model!
Quote
Originally posted by Kazan

unlike MR BWO member telling me about bugs then not ****ing helping me solve them by giving me the offending files



Must ask Bobby :p

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF Constructor Suite 2.0 Loads its first model!
getter you can PM me locations or send them to thekazan AT gmail DOT com
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 Constructor Suite 2.0 Loads its first model!
just finished the configuration menu

next up is texture loading
« Last Edit: August 27, 2005, 07:39:04 pm by 30 »
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline mikhael

  • Back to skool
  • 211
  • Fnord!
    • http://www.google.com/search?q=404error.com
POF Constructor Suite 2.0 Loads its first model!
Bless you, Flipside. :D
[I am not really here. This post is entirely a figment of your imagination.]

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF Constructor Suite 2.0 Loads its first model!
hehe.. with all the nasty **** i'm going to have to do for LWO support it's going to probably be the last file format I implement before i release 1.0


file formats to implement support for before 1.0
.cob
.3ds
.lwo
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 Constructor Suite 2.0 Loads its first model!
wtf.. ilLoadL(ILenum type, char *buffer, int size) is failing loading some of the fenris textures... but it's not setting an error code.. *funny look*
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 Constructor Suite 2.0 Loads its first model!
upgrading to the latest DevIL libraries fixed that.. it's loading the textures.. but my texcoords are fuqed

ok.. my texture coordinates aren't fuqed.. it's having problems either in ilLoadL or in it's PCX support.. investigating further..
« Last Edit: August 27, 2005, 09:21:05 pm by 30 »
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
POF Constructor Suite 2.0 Loads its first model!
are they getting rescaled to 2^n? useing almost any FS1 era ship will requier takeing this into acount.
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
POF Constructor Suite 2.0 Loads its first model!
do i have to rescale all to 2^n?
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
POF Constructor Suite 2.0 Loads its first model!
ohyes.

they don't have to be square, take the dimentions, if one or more is not power of 2 rase it/them to the next largest power of two and resize.
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
POF Constructor Suite 2.0 Loads its first model!
making it scale them fixed it

Code: [Select]

iluGetImageInfo(&imginfo);
sz = (imginfo.Width > imginfo.Height)?imginfo.Width:imginfo.Height;
iluScale(sz, sz, imginfo.Depth);


thanks bro!
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 Constructor Suite 2.0 Loads its first model!
here comes a build that supports textures!

the default texture path is

c:\games\freespace2\

you must setup a texture path for EACH mod

my texture paths look like this


d:\games\freespace2\
d:\games\freespace2\wcsaga\
d:\games\freespace2\fsport\
d:\games\babylon5\
d:\games\Wing Commander Saga\
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline BlackDove

  • Star Killer
  • 211
  • Section 3 of the GTVI
    • http://www.shatteredstar.org
POF Constructor Suite 2.0 Loads its first model!
Hehe, crash when I want to resize the window. Any model.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
POF Constructor Suite 2.0 Loads its first model!
since posting that build i fixed a crashing bug related to the POF file having zero PINF strings [load the Charon in 1.x and check if it has zero strings BlackDove, if that is it then right there is why it was crashing]


[edit]
Crashing on resize? odd.. doesn't do that to me.  When the window resizes the controls [tree, and model view] are destroyed and recreated - which means it reloads the textures
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
POF Constructor Suite 2.0 Loads its first model!
I said they _don't_ have to be square, though that will get the job done, this is more what I meant.

iluGetImageInfo(&imginfo);

sx = imginfo.Width;
sy = imginfo.Height;

float b = log(sx)/log(2);
if(b - (int b) > 0)sx =pow(2,int(b)+1);

b = log(sy)/log(2);
if(b - (int b) > 0)sy =pow(2,int(b)+1);

iluScale(sx, sy, imginfo.Depth);

I'm prety sure that does what I think.
although now that I think about it some bitshifting could probly be done to speed that up.
« Last Edit: August 27, 2005, 09:58:26 pm by 57 »
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