two eclipse shadow bugs

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

two eclipse shadow bugs

Post #1by selden » 16.01.2003, 02:39

While admiring Don Edwards' volcanic moon this evening, I noticed two bugs in the eclipse shadow rendering that I don't think have been mentioned before.

[url=http://www.lns.cornell.edu/~seb/celestia/vme1.jpg]
Image[/url]
(this links to a higher resolution image)

1) the edges of the shadow are saw-toothed
The planet casting its shadow onto the moon happens to be Mars as shipped with Celestia v1.2.5, not a 3ds object with a jagged limb.

2) when the shadow is cast on a night-light texture (on the day-lit side of the planet), the lights are dimmed instead of becoming brighter.
Note the glowing region in the lower right center which becomes dark in the shadowed area.

System specifics:
256MB, 500MHz P3, Windows XP Pro, SP1
128MB Nvidia GF4 Ti4200, Detonator 40.72 drivers
Celestia v1.2.5
Don Edwards' http://63.224.48.65/~impulse/Volcanic%20Moon.zip
Selden

billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #2by billybob884 » 16.01.2003, 03:11

i dont get the jagged problem, but i do get the dark side problem
Mike M.

TacoTopia!

Kendrix
Posts: 159
Joined: 02.06.2002
With us: 22 years 5 months
Location: near Paris, France
Contact:

Post #3by Kendrix » 16.01.2003, 09:36

your "saw-toothed" problem is due to the size of the shadow texture...
256*256. I have modified my private version to have a 2048*2048 shadow texture and that problem goes away ! (unless you zoom to 3 km of the shadow... ;o) )

Don. Edwards
Posts: 1510
Joined: 07.09.2002
Age: 59
With us: 22 years 2 months
Location: Albany, Oregon

Post #4by Don. Edwards » 16.01.2003, 12:03

Kendrix,
Where in Celestia do you edit this setting? I have never seen anything about shadow textures. 8O
I am officially a retired member.
I might answer a PM or a post if its relevant to something.

Ah, never say never!!
Past texture releases, Hmm let me think about it

Thanks for your understanding.

Kendrix
Posts: 159
Joined: 02.06.2002
With us: 22 years 5 months
Location: near Paris, France
Contact:

Post #5by Kendrix » 16.01.2003, 12:21

in render.cpp

function : Renderer::init(int, int)

shadowTex = CreateProceduralTexture(256, 256, GL_RGB, ShadowTextureEval);

I have seen my code and in fact I have put 1024 intead of 256 (and not 2048).

The best would be to set the resolution dependant to the lores/medres/hires mode !


Return to “Bugs”