Page 1 of 1

Celestia v1.5.0pre2 emissivemap bug: no glow

Posted: 28.12.2006, 22:18
by selden
Emissivemap textures in models are rendered as glowing by only the OpenGL v2 render path. It'd be nice if they glowed in the other render paths, too.

Posted: 29.12.2006, 04:46
by Chuft-Captain
Are Emissivemap textures Chris' soulution for "night side lights" on models? If so then I agree this would be good in all paths.

Do they work on 3DS, or just CMOD models?

Posted: 29.12.2006, 13:11
by selden
Chuft-Captain wrote:Are Emissivemap textures Chris' soulution for "night side lights" on models?
Yes, they are the same things, although I wouldn't think of them as a solution for "night side lights". Emissive textures can be used for much more than that.

Do they work on 3DS, or just CMOD models?


They have to be specified as materials within the model file itself. When used within Anim8or, they aren't shown by the 3DS model files exported by Anim8or. I don't know if that's a limitation of the 3DS model file format or if it's due to how Anim8or is exporting that model format. They do work with the CMOD model files generated by my export script.

Posted: 05.01.2007, 09:12
by chris
I implemented emissive textures for all render paths, but your bug report led me to a problem with emissive textures in pre-OpenGL 2.0 render paths. The emissive texture was getting modulated by the diffuse color, but this is incorrect behavior. I think I missed it before because my test model had a white diffuse color. I committed a simple fix to CVS; let me know if it works.

--Chris

Posted: 05.01.2007, 12:42
by selden
Chris,

Thanks!

I was testing it with an emissive map with red stripes. Sorry I didn't think to mention that.

Posted: 05.01.2007, 14:39
by selden
I've verified that the red stripes are indeed glowing in all render paths!

Posted: 05.01.2007, 20:13
by rthorvald
Chuft-Captain wrote:Are Emissivemap textures Chris' soulution for "night side lights" on models? If so then I agree this would be good in all paths.


... Where is this feature discussed?

- rthorvald

Posted: 05.01.2007, 21:47
by selden
I think the initial description of the new CMOD model material features was on the developers mailing list.

A later description is in the forum at http://www.celestiaproject.net/forum/viewtopic.php?p=74169&

A description of CMOD files quoting from postings both to the mailing list and to the forum is at http://www.lepp.cornell.edu/~seb/celest ... ormat.html