Getting non-Lightwave created models into the game
19 years 4 months ago #13302
by Vali
When a boss says “Go!” the leader says “Let’s move out!”
Replied by Vali on topic Getting non-Lightwave created models into the game
Well I have to get those things textured.
Yes those things will be useful.
Send me the Chiliskinner. I think that you already know my e-mail address but just in case
(alva at zappmobile.ro)
Yes those things will be useful.
Send me the Chiliskinner. I think that you already know my e-mail address but just in case
(alva at zappmobile.ro)
When a boss says “Go!” the leader says “Let’s move out!”
Please Log in or Create an account to join the conversation.
- Second Chance
- Topic Author
- Offline
- King of Space
18 years 11 months ago #14406
by Second Chance
Replied by Second Chance on topic Getting non-Lightwave created models into the game
Here is an excerpt from this post on Lightwave surface names and attributes.
www.i-war2.com/forum/topic.asp?TOPIC_ID=2214
. . .
Now that I've actually got Lightwave 5, I've learned a few things about the unusual way in which it handles the specular and luminosity surface maps for EoC.
For specularity, the maps work as expected. With the map completely overriding the specularity setting, and the gradations from 100% black to 100% white representing 255 level of specularity; from totally dull to highly specular and everywhere in between. (I say 255 levels of specularity because 100% black is non-specular.) Sadly, the old LW doesn't have a map channel (or even a numeric setting) for glossiness. It uses only a pull-down selector with Low, Medium, High and Maximum as the only options. But, it doesn't even matter, because those settings don't affect the surface's glossiness in flux at all when using a specular map. (But I do believe these settings work when not using a specular map, just the specular level. At least they do in newer LW exported to 5.6.) As you can see in the first big picture below; the specular mapped surface on the left had Glossiness set to Maximum (not high) and the one on the right had it set to Low. Not only is there no visible difference between the two, you can't even see the seam in the middle where the two meet.
For Luminosity in EoC, LW 5 does something I've never seen in all my years in 3D art. Usually, luminosity (also called self-illumination or glow) maps are handled in the same way every other map that isn't diffuse color, specular color or ambient color are handled; as a grayscale alpha-map, with areas of 100% black being transparent and representing 0% effect and areas of 100% white being solid and representing 100% effect. So for a typical glow map, white areas would cause the pixel color at that spot on the diffuse color map to be rendered at 100% saturation with no specular highlights or ambient shadows. In other words, simulated self-illumination. Every 3D package I've ever worked with or seen does things this way. Even Lightwave itself works this way, for normal in-package renders. But when rendered in the flux engine; the luminosity map, rather than affecting the pixel color on the diffuse map, acts more like an overlay or decal. Replacing the diffuse map colors (or mixing them) with it's own colors where the self-illumination occurs. For instance, look at the first large picture below. I used a black and white map in the luminosity channel of the surface on the middle right side. What should have happened (and what does happen in the Lightwave render), is that the grid should have shown up as bright pale gray (based on the color of the diffuse map), not pure white. But flux is actually overlaying the luminosity map on top of the diffuse map, and using it's own color instead.
Now look at the left side. The colored grid is not part of the diffuse texture. It is a colored grid on a black background used in the luminosity channel of the surface. The actual map is below the big pic.
As you can see; black is still considered totally transparent, but gradations into color, any color, cause that color to show up as a self-illuminated area on top of the diffuse surface.
The bottom left surface was supposed to show a transparancy map, but I messed it up somehow and didn't feel like screwing with it when I took these pictures. The bottom right is supposed to be for testing reflection mapping, but nobody knows how that works yet. And when I ran the ball through the converter with a map in the reflection channel, it wouldn't produce any LBM textures with the pso. So I left it blank for now.
The colored luminosity map.
Ok. So now that we've seen how luminosity and specularity maps work. Here's how they work with gradient fades to black. As you can see in both examples, 100% black is completely transparent and gradients to white (for specular) or color (for luminosity) are smooth and clean.
. . .
I've also made several updates to the info on getting ships into the game, including links to Jasper's thread on his new pso2lwo converter and FTEX generator.
mailto:second_chance@cox.net
The Ultimate Guide To Modding: I-War 2 - Edge Of Chaos
.
www.i-war2.com/forum/topic.asp?TOPIC_ID=2214
. . .
Now that I've actually got Lightwave 5, I've learned a few things about the unusual way in which it handles the specular and luminosity surface maps for EoC.
For specularity, the maps work as expected. With the map completely overriding the specularity setting, and the gradations from 100% black to 100% white representing 255 level of specularity; from totally dull to highly specular and everywhere in between. (I say 255 levels of specularity because 100% black is non-specular.) Sadly, the old LW doesn't have a map channel (or even a numeric setting) for glossiness. It uses only a pull-down selector with Low, Medium, High and Maximum as the only options. But, it doesn't even matter, because those settings don't affect the surface's glossiness in flux at all when using a specular map. (But I do believe these settings work when not using a specular map, just the specular level. At least they do in newer LW exported to 5.6.) As you can see in the first big picture below; the specular mapped surface on the left had Glossiness set to Maximum (not high) and the one on the right had it set to Low. Not only is there no visible difference between the two, you can't even see the seam in the middle where the two meet.
For Luminosity in EoC, LW 5 does something I've never seen in all my years in 3D art. Usually, luminosity (also called self-illumination or glow) maps are handled in the same way every other map that isn't diffuse color, specular color or ambient color are handled; as a grayscale alpha-map, with areas of 100% black being transparent and representing 0% effect and areas of 100% white being solid and representing 100% effect. So for a typical glow map, white areas would cause the pixel color at that spot on the diffuse color map to be rendered at 100% saturation with no specular highlights or ambient shadows. In other words, simulated self-illumination. Every 3D package I've ever worked with or seen does things this way. Even Lightwave itself works this way, for normal in-package renders. But when rendered in the flux engine; the luminosity map, rather than affecting the pixel color on the diffuse map, acts more like an overlay or decal. Replacing the diffuse map colors (or mixing them) with it's own colors where the self-illumination occurs. For instance, look at the first large picture below. I used a black and white map in the luminosity channel of the surface on the middle right side. What should have happened (and what does happen in the Lightwave render), is that the grid should have shown up as bright pale gray (based on the color of the diffuse map), not pure white. But flux is actually overlaying the luminosity map on top of the diffuse map, and using it's own color instead.
Now look at the left side. The colored grid is not part of the diffuse texture. It is a colored grid on a black background used in the luminosity channel of the surface. The actual map is below the big pic.
As you can see; black is still considered totally transparent, but gradations into color, any color, cause that color to show up as a self-illuminated area on top of the diffuse surface.
The bottom left surface was supposed to show a transparancy map, but I messed it up somehow and didn't feel like screwing with it when I took these pictures. The bottom right is supposed to be for testing reflection mapping, but nobody knows how that works yet. And when I ran the ball through the converter with a map in the reflection channel, it wouldn't produce any LBM textures with the pso. So I left it blank for now.
The colored luminosity map.
Ok. So now that we've seen how luminosity and specularity maps work. Here's how they work with gradient fades to black. As you can see in both examples, 100% black is completely transparent and gradients to white (for specular) or color (for luminosity) are smooth and clean.
. . .
I've also made several updates to the info on getting ships into the game, including links to Jasper's thread on his new pso2lwo converter and FTEX generator.
mailto:second_chance@cox.net
The Ultimate Guide To Modding: I-War 2 - Edge Of Chaos
.
Please Log in or Create an account to join the conversation.