ray tracing and bump mapping - Page 3

ray tracing and bump mapping

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

User avatar
Peet
Malcontent
Posts: 4383
Joined: 27 Feb 2006, 22:04

Post by Peet »

feanix wrote: So, for instance, a crater would look more 3d, rather than a simple black splodge.
Have you not noticed the ground deformation? :?
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

You don't notice them unless you play in heightmap mode on some maps.
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

feanix wrote:i wonder if bump mapping for the terrain might be an option? I come from a Source Engine background with regards to modding and stuff, and afaik bump mapping doesnt drain too much.

The only hitch is how to include a bump map in the map making process. It might be an idea to tie a bumpmap tile to terrain types in the text file (its been a while since i tried making a map for spring, i can't remember what that file is called).

This would be more difficult, i think, but it would also be great to have bump mapped decals. So, for instance, a crater would look more 3d, rather than a simple black splodge.
As already stated, it's already there in the new map format, and it looks really cool.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

You don't notice them unless you play in heightmap mode on some maps.
There is no non-heightmap mode.. :?
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

jcnossen wrote:
You don't notice them unless you play in heightmap mode on some maps.
There is no non-heightmap mode.. :?
He means where you get colored bands that represent altitude.
feanix
Posts: 16
Joined: 30 May 2006, 00:11

Post by feanix »

How many craters have you seen that are perfect bowls? Bump mapped craters would give you more detail to play with than you can get with a terrain mesh deformation.
User avatar
mehere101
Posts: 293
Joined: 15 Mar 2006, 02:38

Post by mehere101 »

NO! Units need bumpmapping before craters.
feanix
Posts: 16
Joined: 30 May 2006, 00:11

Post by feanix »

mehere101 wrote:NO! Units need bumpmapping before craters.
There are faaar to many units and they are faaar to small for that to be really practical. You might only notice it if you zoomed in on a unit and watched it for a few seconds. Zoomed out, you'd never notice. However, you would likely notice crater bumpmaps every time without having to zoom in (unless you were really zoomed out quite far)
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

feanix wrote:
mehere101 wrote:NO! Units need bumpmapping before craters.
There are faaar to many units and they are faaar to small for that to be really practical. You might only notice it if you zoomed in on a unit and watched it for a few seconds. Zoomed out, you'd never notice. However, you would likely notice crater bumpmaps every time without having to zoom in (unless you were really zoomed out quite far)
It would probably habitual not to use it much on small units. It's really for the larger units which currently look rather bland.
User avatar
Wolf-In-Exile
Posts: 497
Joined: 21 Nov 2005, 13:40

Post by Wolf-In-Exile »

FYI, Supreme Commander uses normal mapping for its units.

Bumpmapping is nice and all, perhaps to make it easier to get the hang of normal mapping, but its really obsolete in this day and age.

That being said, if the Spring devs decide a bumpmap system would be easier to implement, I won't complain either.
User avatar
FireCrack
Posts: 676
Joined: 19 Jul 2005, 09:33

Post by FireCrack »

^There is absolutely no reason to use normal mapping over bump mapping in this case, or in most cases for that matter. When you use bump-mapping the bumpmap is expanded to a normal map at runtime, it is often quite wastefull to store a normal map on disk.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

What are you talking about? Basically every game uses normal mapping for bumpmapping
feanix
Posts: 16
Joined: 30 May 2006, 00:11

Post by feanix »

normal mapping is a kind of bump mapping. afaik.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Exactly
User avatar
mehere101
Posts: 293
Joined: 15 Mar 2006, 02:38

Post by mehere101 »

I agree that bumpmapping is only feasable for larger units, but IIRC the only way a true normal map could be done is by putting it in a new texture channel. IIRC we only have the blue channel free on the second texture, meaning that a greyscale image could be stored in it.

(I do understand this fully, I just don't want another texture layer)
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

FireCrack wrote:^There is absolutely no reason to use normal mapping over bump mapping in this case, or in most cases for that matter. When you use bump-mapping the bumpmap is expanded to a normal map at runtime, it is often quite wastefull to store a normal map on disk.
A bumpmap isn't expanded to a normal map. Depending on bump map technology used the bump map either does some fudgy crap or is processed into a normal map. The size difference between a bump map and a normal map is generally negligible.

The reason we use normal maps is:
a) there are standard translation library's written for them so we don't need to make any proprietary code.
b) they save the CPU time from parsing the normal information from the bump map
c) they are industry standard and most high end artists are more familiar working with normals than bump maps
d) they give the artist more control over certain aspects of the image render, bump maps have many flaws in the way they work.
Post Reply

Return to “General Discussion”