Author Topic: Should we consider using 3rd party libs  (Read 3618 times)

0 Members and 1 Guest are viewing this topic.

Offline RandomTiger

  • Senior Member
  • 211
Should we consider using 3rd party libs
Take a look at this site:

http://openil.sourceforge.net

 

Offline Killfrenzy

  • Slaughter-class cruiser
  • 210
  • Randomly Existing
Should we consider using 3rd party libs
The question is: Would it be useful or not?
Death has more impact than life, for everyone dies, but not everyone lives. [/b]
-Tomoe Hotaru (Sailor Saturn
------------
Founder of Shadows of Lylat

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Should we consider using 3rd party libs
well once implemented we would be able to load precisely 1.265 full craploads of image types
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 Killfrenzy

  • Slaughter-class cruiser
  • 210
  • Randomly Existing
Should we consider using 3rd party libs
Which you wouldn't really want to do.

Wasn't tga support for textures going to be implemented or not?
Death has more impact than life, for everyone dies, but not everyone lives. [/b]
-Tomoe Hotaru (Sailor Saturn
------------
Founder of Shadows of Lylat

 

Offline RandomTiger

  • Senior Member
  • 211
Should we consider using 3rd party libs
If you are talking about the DX8 branch Im running into complications and Im considering all my options.

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Should we consider using 3rd party libs
If that library can be used to load image data into the same kinds of structures the engine uses, then it could be a relatively easy way to get cross platform support for bitmap and targa files. (Remember, eventually people want a Linux port and a Mac OSX port. Direct X8 wasn't designed with cross platform use in mind.)
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 aldo_14

  • Gunnery Control
  • 213
Should we consider using 3rd party libs
Why exactly would we prefer, or even need, TGA and BMP over 32 bit PCX, anyway?  Is there some sort of compatibility thing I don't know of?  I can understand using the TGA alpha channel, I suppose......

 

Offline Stryke 9

  • Village Person
    Reset count: 4
  • 211
Should we consider using 3rd party libs
Quote
OpenGL-style syntax.


Yeeech. DX8 will do nicely.

 

Offline vyper

  • 210
  • The Sexy Scotsman
Should we consider using 3rd party libs
Quote
Originally posted by aldo_14
 I can understand using the TGA alpha channel, I suppose......


Thats why then! :p
"But you live, you learn.  Unless you die.  Then you're ****ed." - aldo14

 

Offline aldo_14

  • Gunnery Control
  • 213
Should we consider using 3rd party libs
So why BMP?

 

Offline daveb

  • WHEE!!
  • 25
Should we consider using 3rd party libs
Just having an alpha channel in your texture buys you nothing. Without proper rendering support for sorted alpha objects (difficult) it'll do nothing but buy you lots of wacky rendering screwups.

Having alpha in texture != having transparent objects (not without a good deal of work above and beyond support for the texture itself).

 

Offline vyper

  • 210
  • The Sexy Scotsman
Should we consider using 3rd party libs
I say go for it anyway. I'll be right here to grin like an idiot no matter what. :D
"But you live, you learn.  Unless you die.  Then you're ****ed." - aldo14

 

Offline RandomTiger

  • Senior Member
  • 211
Should we consider using 3rd party libs
I have had to work on sorting transparent objects for this type of problem before so theres no need to totally rule it out.
However realistically it would have to be fairly limited system.

I wish card makers could come up with some sort of magic solution to that problem. Its soooo annoying.

 

Offline Fry_Day

  • 28
Should we consider using 3rd party libs
Transparency is evil. Ideally you need to draw everything except the transparent stuff, then draw the transparent polies in a back-to-front order for correct rendering. assuming transparent polygons will be part of the models, that is a pain to implement, and think what happens if poly-counts start rising. sorting 1000s of polies each frame isn't nice (Of course you can use frame cohesion for your advantage there, but that kind of idea is painful in itself)

Just a small note, aldo, PCXs come in 8-bit or 24-bit colors (Well, that's except older formats with less colors), so no alpha channel there.

By the way, RandomTiger, are models drawn in a front-to-back order? since they're BSPs. it's simple to do, and the reduced frame-buffer access should yield some preformance increase.

 

Offline RandomTiger

  • Senior Member
  • 211
Should we consider using 3rd party libs
Your right, pain the the ass. But if limited system was chosen to be implemented as part of a larger restructure to the graphics engine it could be OK. Perhaps we could steal some code from somewhere else to handle it:)

I guess people would have to choose what they wanted, transparrency functionality or a whole host of other things.

Im not despairate to implement it, I just know I could do a limited system.

Things seem to be rendered back to front and we will have to leave it this way I believe. Otherwise it will mess up the rendering of transparrent textures.

 

Offline Fry_Day

  • 28
Should we consider using 3rd party libs
I guess you're right about the drawing order -  Since most pixels tend to have adepth-complexity of 0 (just space), the speed gain probably won't be worth the hassle, since it'd be fairly small.

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Should we consider using 3rd party libs
Quote
Originally posted by aldo_14
So why BMP?


Many 3D modeling programs use bitmaps for textures but don't support pcx files. (For example, Truespace 1) It would be easier to just copy files over rather then have to convert bitmaps into pcx files. Not all graphic programs support saving pcx files and of those that do some don't save/convert them very well. (Gimp being the best I've seen.) And Direct X 8 don't mean diddly for the Linux/Mac ports.
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 phreak

  • Gun Phreak
  • 211
  • -1
Should we consider using 3rd party libs
MSPaint!!!!!1
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord