Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Ashrak on November 05, 2003, 10:40:14 am

Title: might be asked: Bump Mapping
Post by: Ashrak on November 05, 2003, 10:40:14 am
can we do it? i mean without any vid card requirements :p
Title: might be asked: Bump Mapping
Post by: phreak on November 05, 2003, 01:58:47 pm
its possible, but it still is going to require a good amount of GPU power.  anyone have a normal map generator?
Title: might be asked: Bump Mapping
Post by: Fineus on November 05, 2003, 02:00:59 pm
There must be an easier way to do this than to have 3 or 4 differents files per "texture".. putting it all together takes up quite a bit of power, even my system slows down with a lot going on...
Title: might be asked: Bump Mapping
Post by: phreak on November 05, 2003, 02:02:01 pm
were going to need 3 rendering passes at this point in time if we do any more upgrades
Title: might be asked: Bump Mapping
Post by: Flipside on November 05, 2003, 02:02:37 pm
The problem with Alpha layered images is that the Alpha layers are only 256 colour greyscale , which is no good for Glows or Shines, though would still work with Bumpmapping for those that support it.

Flipside :D
Title: might be asked: Bump Mapping
Post by: Fineus on November 05, 2003, 02:05:56 pm
So what options are there? I mean the latest games (UT2K3, Battlefield1942, Freelancer, Starlancer (I think)) have multi-maps but are much more efficient at this stage. And if things are going to be done it might be better to start now before it becomes a problem down the road....
Title: might be asked: Bump Mapping
Post by: Liberator on November 05, 2003, 02:14:43 pm
It may become necessary to implement DDS textures like Homeworld 2 uses.  One of many reasons to update to DX9.
Title: might be asked: Bump Mapping
Post by: IceFire on November 05, 2003, 04:06:11 pm
Is there a DDS plugin for Photoshop or something that makes texture conversion easy?  One of the big things about PCX at this point is the ease of format.
Title: might be asked: Bump Mapping
Post by: Vilkacis on November 05, 2003, 04:34:18 pm
Yes there is, you can get it from www.nvidia.com somewhere in the developers section.
Title: might be asked: Bump Mapping
Post by: Fineus on November 05, 2003, 05:04:06 pm
http://developer.nvidia.com/object/nv_texture_tools.html More specifically - though kudos to you for finding it on nVidia in the first place :)
Title: might be asked: Bump Mapping
Post by: Fry_Day on November 06, 2003, 06:31:15 am
Quote
It may become necessary to implement DDS textures like Homeworld 2 uses. One of many reasons to update to DX9.
Compressed textures work just fine on DX8. And I think DX7, for the matter.

Quote
So what options are there? I mean the latest games (UT2K3, Battlefield1942, Freelancer, Starlancer (I think)) have multi-maps but are much more efficient at this stage. And if things are going to be done it might be better to start now before it becomes a problem down the road....
I'm pretty sure none of those games use more than two maps simultaneously (Though I'm not sure about BF1942) - even UT2k3 doesn't use a gloss map like FS2Open does.

Only the next crop of games (Namely, HL2 and Doom 3, and games based on their engines) will use more maps, and they'll require at least DX7-class hardware (And in Doom's case, use specific extensions, like register combiners, to squeeze much closer to PS1.1 capabilities for hard-coded effects even for those cards). It's just that multiple textures are inherently much slower, which is exactly why they aren't commonly used.
Title: might be asked: Bump Mapping
Post by: Foxer on November 08, 2003, 11:04:27 am
Is bump-mapping is in Relese 3.5.5 or in any build? I'm asking becouse i see this Hecate screen (http://home.att.net/~jwcamp/hectate.jpg) with really cool scratches, etc. on hull. Is it avaible only with some vid cards and special maps? :confused:

BTW. Hi and salute to all of you :D
Title: might be asked: Bump Mapping
Post by: bKtHeG on November 08, 2003, 11:26:19 am
Quote
Originally posted by Liberator
It may become necessary to implement DDS textures like Homeworld 2 uses.  One of many reasons to update to DX9.


As I said before: This would be a real problem under linux because there is no directx - only opengl. And even if dds is working under windows opengl it won't under linux.

If there is an alternative - use it instead of dds
Title: might be asked: Bump Mapping
Post by: Flaser on November 08, 2003, 11:38:35 am
Quote
Originally posted by Foxer
Is bump-mapping is in Relese 3.5.5 or in any build? I'm asking becouse i see this Hecate screen (http://home.att.net/~jwcamp/hectate.jpg) with really cool scratches, etc. on hull. Is it avaible only with some vid cards and special maps? :confused:

BTW. Hi and salute to all of you :D


It is not.

What you see is a nice trick with shinemaps made by Lightspeed.

It gives a simiral impression - but not up close.

That's why we will need bumb mapping.
Title: might be asked: Bump Mapping
Post by: Zarax on November 08, 2003, 11:58:34 am
Well, too bad for linsux, but since all users uses windows we should implement it... if linsux will ever catch up then the linsux guys at scp would implement it...
Title: might be asked: Bump Mapping
Post by: Lightspeed on November 08, 2003, 12:05:59 pm
Quote
Originally posted by Flaser


It is not.

What you see is a nice trick with shinemaps made by Lightspeed.

It gives a simiral impression - but not up close.

That's why we will need bumb mapping.


that screenie doesn't use my shinemaps. In fact, it's quite old ;)
Title: might be asked: Bump Mapping
Post by: karajorma on November 08, 2003, 12:25:10 pm
Quote
Originally posted by bKtHeG


As I said before: This would be a real problem under linux because there is no directx - only opengl. And even if dds is working under windows opengl it won't under linux.

If there is an alternative - use it instead of dds


As I keep saying we just make it a requirement that everyone's ships come with both .dds and pcx/tga/jpg textures.

That way everyone is happy. I don't see why every single windows user should be forced to use a slower system when there is a compromise that would make everyone happy.
Title: might be asked: Bump Mapping
Post by: Drew on November 08, 2003, 12:25:59 pm
those scrathces were in the original texture ;P
Title: might be asked: Bump Mapping
Post by: Bobboau on November 08, 2003, 12:47:46 pm
doesn't OGL have a comparable texture compression, I would think it would
Title: might be asked: Bump Mapping
Post by: phreak on November 08, 2003, 02:14:00 pm
it can use dds textures, you need a radeon or geforce.  i think devil accepts them too.
Title: might be asked: Bump Mapping
Post by: Bobboau on November 08, 2003, 03:17:48 pm
devIL, DDS, realy?
devIL is crossplatform, so if it realy can load it, cool
Title: might be asked: Bump Mapping
Post by: bKtHeG on November 08, 2003, 06:24:01 pm
If devIL is able handle dds under both linux and windows it would really solve the problem (ok - somebody has to implement it in fs2_open). Another nice thing would be if we could not only make use of devIL in order to load dds but also all the other image types devIL supports.