Commit Graph

31 Commits

Author SHA1 Message Date
Kalle Bladin
8af4e1ddce Change rendering of patches to map to ellipsoids instead of spheres. 2016-04-27 16:16:26 -04:00
Kalle Bladin
67de7e1bb8 Remove reference to ellipsoid in GeodeticPatch class 2016-04-27 12:58:30 -04:00
Kalle Bladin
3f9d85bcb3 Create class Ellipsoid. 2016-04-25 18:47:18 -04:00
Kalle Bladin
a8b7573354 Solve merge conflict and changed to rendering only clipmap globe 2016-04-25 13:02:10 -04:00
Erik Broberg
473c7782c2 resolved merge conflict 2016-04-25 12:35:28 -04:00
Erik Broberg
f253edad53 Proof of concept - real time tile fetching 2016-04-25 12:25:11 -04:00
Kalle Bladin
198c284e23 Using number of segments per patch in rendering. 2016-04-22 12:38:13 -04:00
Erik Broberg
069c9f51d8 merge 2016-04-21 14:23:21 -04:00
Erik Broberg
3432605e7b ChunkNode merges its children facing away from the camera as much as possible without being visible to the camera. Test by enabling front face culling. 2016-04-21 14:07:06 -04:00
Kalle Bladin
5531446f5d Rendering of clip maps is now more convenient. 2016-04-19 19:38:47 -04:00
Kalle Bladin
9146fc48c8 Restructured and commented. 2016-04-19 15:20:18 -04:00
Kalle Bladin
aaa099d542 Solve conflict and fixed old code that did not run on OSX due to use of depricated shader functionality. 2016-04-18 23:05:19 -04:00
Kalle Bladin
0c33e2a2b6 Calculating uv coordinates to be used for sampling from tiled textures. 2016-04-18 19:52:01 -04:00
Kalle Bladin
89d7b3ca8b Reading textures that are used for patch rendering. 2016-04-15 17:17:31 -04:00
Kalle Bladin
4fd0b0643c Clearified latlon interface. 2016-04-14 20:27:43 -04:00
Kalle Bladin
acf4297491 Changed definition of ordering in LatLon 2016-04-14 19:35:24 -04:00
Kalle Bladin
9a31b11639 Added classes TextureTile and TextureTileSet. 2016-04-14 19:29:58 -04:00
kbladin
23b28f9024 Solved merge conflict. 2016-04-12 22:37:20 -04:00
kbladin
12d2dc23fb Clipmap prototype working. 2016-04-12 21:27:17 -04:00
kbladin
05569611da Created clipmap geometry 2016-04-12 13:44:28 -04:00
kbladin
7592edf024 Solve merge conflict and removed unused code. 2016-04-11 13:41:06 -04:00
kbladin
552bdc1786 Remove NURBS interpolation in favor of global lat-lon maping in shader due to mis match in UV coordinates. 2016-04-11 12:09:45 -04:00
kbladin
4e0fc13035 Two patches to imitate clipmaps. Apparently the UV coordinates are not mapped correctly on the sphere patches which is a big problem. 2016-04-08 16:06:06 -04:00
kbladin
cb9cce717c Cleaned up code in latlonpatch. 2016-04-08 12:33:51 -04:00
Erik Broberg
61883afd2f Sending dummy UVs from simple_vs to simple_fs to avoid shader crash 2016-04-08 10:38:18 -04:00
kbladin
b0cd9fb7d7 Solve merge conflicts and changed rendering color for simple fragment shader. 2016-04-07 21:24:41 -04:00
kbladin
83d55b87f8 Nurbs working to exactly define spherical patches. Ugly code but it can be cleaned up. 2016-04-07 20:49:52 -04:00
kbladin
16349686d5 Using NURBS to interpolate patch vertex positions. 2016-04-07 15:25:33 -04:00
Erik Broberg
efe2bef2d4 Created Chunk LOD Globe. Currently renders patches at constant depth 2016-04-06 17:10:29 -04:00
kbladin
ee425a7d01 Implementing a patch class that will be used for clipmaps. 2016-04-05 14:45:03 -04:00
Karl Bladin
4b62c337e0 Rename planetbrowsing to globebrowsing 2016-04-04 12:01:39 -04:00