Author Topic: Kazan's New Version of PCS  (Read 7373 times)

0 Members and 1 Guest are viewing this topic.

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
the pof->cob code is imperfect, and most likely not in it's final version
it's just another one of those low priority things
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Quote
Originally posted by Bobboau
I know, I have made a few models ;)
but when converting from a pof to a cob the axes of the subobjects are centered at the center
I don't have any problems the other way around


Oops, misread the pof to cob as cob to pof. :)
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline Fry_Day

  • 28
Kazan, I might nto remember my math right, but aren't the only cases that will really hurt a BSP tree building algorithm in cases where polygons are on the same plane or something? I don't see how any other cases could lead to problems with splitting correctly.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Quote
Originally posted by Fry_Day
Kazan, I might nto remember my math right, but aren't the only cases that will really hurt a BSP tree building algorithm in cases where polygons are on the same plane or something? I don't see how any other cases could lead to problems with splitting correctly.

yes you remember correctly - but there's also the case in which two polygons have the same geometric center - because that's what my system uses to dtermine the polygon's "position"
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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

 

Offline Fry_Day

  • 28
Oh. I see. Tell me, do you use any heuristics for trying to find the best BSP tree (Least amount of subdivisions), or do you simply split along the plane that creates the least subdivisions in each iteration?

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
you split along the longest axis in the bounding box - you split fully until each terminating region has one polygon in it

this is a full tree and proides the greatest acceleration
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

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