fsgregs wrote:Reiko:
I know absolutely nothing about 3ds and CMOD modeling, so my question is from a novice standpoint. If I understand correctly, you added some "emissive textures" to the CMOD file, to get the windows to glow. They look great!
There are probably 20 - 30 spacecraft models available for Celestia that have windows. Is this something that could be done to those existing 3ds or CMOD files? What kind of emissive textures did you use? How would one go about doing this?
Thanks in advance
Frank
I stumbled on it by accident. I can't seem to get them to work with 3ds models but with cmod they work like a charm. An emissive textures is the same as a night texture for a planet but they always glow even in sunlight.
What I did was take a texture for a ship and made a light map out of it. Here is an example
Original texture...
emissive texture..
In the cmod file just add the emissive texture by typing it in under the original texture.
Here is an example..
# ENTERPR(2) has 1 material(s)
material # 17
# diffuse 0.953 0.953 0.953
# diffuse weight 0.7 # Kd
diffuse 0.767 0.767 0.767
opacity 1
texture0
"Constit3_glow2.*" <--- texture
# specular 0.0235 0.0235 0.0235
# specular weight 0 # Ks
specular 0 0 0
specpower 2 # (roughness)*2.55
# emissive 1 1 1
# emissive weight 0.8 # Ke
emissive 0 0 0 # product
emissivemap
"conlights2.*" <---emissivemap
end_material