Giter Club home page Giter Club logo

proland-to-unity's Introduction

Proland-To-Unity

This is a partial port of Proland to Unity. Proland is quite a large and complicate program and I have trimmed this down quite a lot to just its core elements. The core terrain, atmosphere and ocean components have been ported.

A key part of Proland is its ability to render large planets using some special techniques to calculate the clip space positions in the vertex shaders to minimize precision issues. This means I have had to do a lot of low level handling of projection and view matrices. This has caused a lot of problems as Unity modifies these matrices behind the scenes to support some platforms and features.

Its made keeping this up to date with the latest version of Unity quite difficult and at the moment it will only work in version 5.5 of Unity. Its also not a good way to use Unity but it made porting this much easier. I might change this in the future to use Unity's default matrices. To add to the confusion Z is up in Proland while Y is up in Unity. Leaving Z as up made porting it much easier but again, its not the best way to use Unity.

The atmosphere is done using the same method in the previous Brunetons atmospheric scattering project (one of the Authors of Proland). This means the atmosphere uses precomputed tables that need to be generated. There are some provided but if you want to recreate them I have added a editor window. Go to Windows->Proland->Create Atmosphere Tables to do so.

This project is currently only working in Unity 5.5

You can download a unity package here.

Proland5

Proland4

Proland3

Proland2

Proland1

proland-to-unity's People

Contributors

scrawk avatar

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.