I'll have to remake this, my free web host got it's entire site shut down now even I don't have the source anymore.
dead link removed
Spheres like Earth
-
jreuschel1
- Posts: 25
- Joined: Sun Nov 12, 2006 7:51 pm
- Contact:
Spheres like Earth
Last edited by jreuschel1 on Thu Jan 28, 2010 4:44 am, edited 1 time in total.
Directory of E:\RI-1
00/00/0000 12:00 AM <DIR> .
00/00/0000 12:00 AM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) All bytes free
E:\RI-1>_
00/00/0000 12:00 AM <DIR> .
00/00/0000 12:00 AM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) All bytes free
E:\RI-1>_
-
Dark_Kilauea
- Posts: 368
- Joined: Tue Aug 21, 2007 1:43 am
- Location: The Middle of Nowhere
-
rogerborg
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Here you go:


Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
well the initial screen indeed is a black one as rogerborg posted but that's because he hasn't disabled backfaceculling and the camera is in the center of a sphere. from my understanding what he has achieved ( as i checked the app ) is having a camera ( spaceship ) rotate around a sphere ( planet ) and the good thing is that the camera is free to move ( it gets affected by the current upvector ).
-
jreuschel1
- Posts: 25
- Joined: Sun Nov 12, 2006 7:51 pm
- Contact:
Description
Thanks for the screenshot jontan
I just uploaded a better version but since it is a work in progress more is still to come
_______________
This is a fast "Earth type" planet generator and.
the planet terrains are generated in low detail first on the surface of a cube with 21x21 square faces on each of the 6 faces of the cube the cube is then normalized into a sphere. There is a 21x21 square face convex panel that is rendered between the low detail sphere and the camera this panel has 21x21 square faces each of which has 16x16subsquares and is a higher detail copy of visible area of the low detail sphere which it covers
the planet earth is approx 25,000 miles circumference
25,000 / (21x4) = approx 300x300 miles on largest square faces
300 / 16 = approx 20 miles between the vertices in the small square faces
future plans are to add another level of detail to include texture blending
maybe for a space simulator that allows you to cross galaxies and see many many different planets in high detail. if you like the planet, land on it and build a city.
and all in less then a few megabytes.
______________________
I just uploaded a better version but since it is a work in progress more is still to come
_______________
This is a fast "Earth type" planet generator and.
the planet terrains are generated in low detail first on the surface of a cube with 21x21 square faces on each of the 6 faces of the cube the cube is then normalized into a sphere. There is a 21x21 square face convex panel that is rendered between the low detail sphere and the camera this panel has 21x21 square faces each of which has 16x16subsquares and is a higher detail copy of visible area of the low detail sphere which it covers
the planet earth is approx 25,000 miles circumference
25,000 / (21x4) = approx 300x300 miles on largest square faces
300 / 16 = approx 20 miles between the vertices in the small square faces
future plans are to add another level of detail to include texture blending
maybe for a space simulator that allows you to cross galaxies and see many many different planets in high detail. if you like the planet, land on it and build a city.
and all in less then a few megabytes.
______________________
Directory of E:\RI-1
00/00/0000 12:00 AM <DIR> .
00/00/0000 12:00 AM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) All bytes free
E:\RI-1>_
00/00/0000 12:00 AM <DIR> .
00/00/0000 12:00 AM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) All bytes free
E:\RI-1>_
On my pc is looks like this:


I can't find any way to tesselate to a higher detail and I've tried coming in real close and pressing all of the (Undocumented) buttons repeatedly.
Either way, good work, the projecting a tessellated cube to a sphere idea is pretty cool. I think ultramedia is using a similar idea guessing from his screenshots.
Cheers


I can't find any way to tesselate to a higher detail and I've tried coming in real close and pressing all of the (Undocumented) buttons repeatedly.
Either way, good work, the projecting a tessellated cube to a sphere idea is pretty cool. I think ultramedia is using a similar idea guessing from his screenshots.
Cheers
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
-
jreuschel1
- Posts: 25
- Joined: Sun Nov 12, 2006 7:51 pm
- Contact:

