GithubHelp home page GithubHelp logo

tokyovigilante / cesiumkit Goto Github PK

View Code? Open in Web Editor NEW
89.0 89.0 17.0 13.56 MB

iOS/OS X port of the Cesium WebGL virtual globe project - cesiumjs.org

License: Apache License 2.0

Swift 99.85% Objective-C 0.03% Shell 0.01% Metal 0.11%

cesiumkit's People

Contributors

tokyovigilante avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cesiumkit's Issues

No such module GLSLOptimizer

Hi tokyovigilante,

I try to run ios demo and CesiumKit. But PMJSON and GLSLOptimizer not available in git. I have added PMJSON to this project. However, GLSLOptimizer
i add glsl_optimizer_lib.xcodeproj to this project but still error No such module GLSLOptimizer.

Frustum types should be structs

Frustums were initially implemented as classes to get around early Swift bugs. Now that the language has matured these should be converted to structs.

Uniform map should accept multiple structs

The current (new) uniform map system is efficient for setting a Metal buffer from a struct, but isn't dynamic enough to handle multiple sources for uniforms (ie. a viewport quad with custom material).

This could be solved by storing an array or other formatted list of uniform structs which are copied to a single uniform buffer with an offset. In combination with dynamic metal struct generation (#3) this will make uniforms much more flexible and enable more complex primitives while remaining performant.

Uniforms need dirty tag

Currently every uniform buffer used in rendering is written to each frame. This is fast (typically single memcpy()) but could be more efficient by only updating the buffer when uniform values change, by implementing a dirty flag in the uniform map.

Unfortunately this won't help globe tiles much as the center3D uniform changes whenever the globe or camera position changes.

Swift compiler errors

Hi Ryan,

Thanks a bunch for creating this port!

I wanted to try out your project so I checked out the master branch from Github and attempted to run it. However, I'm getting a bunch of Swift compiler errors like

CesiumKit/CesiumKit/Core/Geometry.swift:160:74: Expected '{' after 'if' condition
CesiumKit/Core/Geometry.swift:160:139: Braced block of statements is an unused closure
CesiumKit/Scene/BingMapsImageryProvider.swift:448:44: Expected type after 'as'
CesiumKit/Scene/BingMapsImageryProvider.swift:448:44: Expected ',' separator
CesiumKit/Scene/BingMapsImageryProvider.swift:448:44: Expected expression in list of expressions

Overall there's around 254 errors. I'm running XCode 6.1.1 and think I'm probably getting these errors because you compiled it with a newer version of Swift?

I'm gonna try upgrading my XCode but was wondering if you may know what the issue may be

Cant find libCesiumKit.a

Hello
I am very interested in implementing Cesium, but I am not a programmer, so I am somewhat lost. As you say in google groups about ejecta js , I have tried implementing it with cesium but there seem to be a problem about the bindings (workers told me phoboslab) so that way for me is closed.
What I have found trying your code, is that the project cant compile since it cant find libcesiumkit.a, so I cant test.
I am trying to test compiling in ios 7.1
Perhaps I am loosing something?
Thank you
Fernando

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.