Irrlicht for 3D planetarium
Irrlicht for 3D planetarium
Do you think it would be a good idea to use Irrlicht as a graphical engine for 3D planetarium. I am concerned about several things.
1. Scale & Precision. Would the engine suit for modelling small objects (1 - 10 arb. units) wide distance apart (40-50 thousand of same units)
2. Shadow casting. I am also planning to model some eclipses. Would the volume shadow casting allow me to do that with high accuracy taking into account the size of the objects and very large distance between them.
Thanks.
1. Scale & Precision. Would the engine suit for modelling small objects (1 - 10 arb. units) wide distance apart (40-50 thousand of same units)
2. Shadow casting. I am also planning to model some eclipses. Would the volume shadow casting allow me to do that with high accuracy taking into account the size of the objects and very large distance between them.
Thanks.
-
omar shaaban
- Posts: 616
- Joined: Wed Nov 01, 2006 6:26 pm
- Location: Cairo,Egypt
- Contact:
no it cant. pluto is over 3500 million miles away from the sun, so if you want accuracy to 100th of a mile you're going to need at least 40 bits of precision, f32's only have 24.
f64s will have enough accuracy, but even if irrlicht could use these for coordinates (it can't) you wouldn't be able to draw them without flickering because from a distance your depth buffer resolution would be wider than the distance from the earth to the moon.
you're going to need your own coordinate system, then convert irrlicht's coordinates for drawing, drawing things which are outside the camera's view from back to front without z-buffer like a skybox... and shadows are gonna be hard
f64s will have enough accuracy, but even if irrlicht could use these for coordinates (it can't) you wouldn't be able to draw them without flickering because from a distance your depth buffer resolution would be wider than the distance from the earth to the moon.
you're going to need your own coordinate system, then convert irrlicht's coordinates for drawing, drawing things which are outside the camera's view from back to front without z-buffer like a skybox... and shadows are gonna be hard
Nah, that's not irony.sio2 wrote:The irony is the book that bitplane (Holly) is reading.bitplane wrote:no it cant. pluto is over 3500 million miles away from the sun,...
Besides, screw pluto. Dirty wad of ice masquerading as a planet...'bout time we gave it the boot.
More on topic, surely there would be a way to fake the distances. For example, scale the distance down equally proportionate to scaling down its size or some such, and adjusting the rotation to match.
Of course, you would then have to do the same for some of the other planets with a different scaling factor according to their distance out.
Maybe?
Join us in the Irrlicht chatroom:
[url]irc://irc.freenode.net/irrlicht[/url]
I love deadlines. I like the whooshing sound they make as they fly by. -D.Adams
[url]irc://irc.freenode.net/irrlicht[/url]
I love deadlines. I like the whooshing sound they make as they fly by. -D.Adams
