Git Product home page Git Product logo

virtualglobebook / openglobe Goto Github PK

View Code? Open in Web Editor NEW
339.0 339.0 113.0 54.16 MB

A 3D engine for virtual globes (think Google Earth or NASA World Wind) designed to illustrate the engine design and rendering techniques described in our book. OpenGlobe is written in C# and uses OpenGL 3.3 core profile (via OpenTK). See the web site linked below for more information

Home Page: http://www.virtualglobebook.com

License: Other

C# 97.09% GLSL 0.46% NSIS 0.03% XSLT 0.01% Tcl 0.06% C 0.75% HTML 1.31% Shell 0.01% JavaScript 0.01% CSS 0.02% C++ 0.09% Visual Basic 0.16%

openglobe's People

Contributors

cforfang avatar kring avatar pjcozzi 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  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  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

openglobe's Issues

Private void Dispose(bool disposing) method in GL3x Names classes are confusing

Hi,
I am going through the code in Source/Renderer/GL3x/Names folder, and noticed that the private methods used in those classes take a bool type input 'disposing' however this input is never used in this method. Is there a particular reason why it should take a bool type input?

I am also not quite sure why in the FinalizerThreadContextGL3x class we will have to create a NtiveWindow and GraphicsContext.

Thank you!

OpenGlobe Source release

Hi! It is somewhat painful now to build Source project under windows 8+... It would be nice if you can release compiled version here for those who just want to have a look at the examples without the need to change it.

Chapter 13 segfaults in Mono under Ubuntu, but runs OK (but slowly) in debug mode.

I can get every chapter to run, except for the last. It starts downloading terrain from NASA. The window will show up. But then, almost immediately, it crashes. I noticed some SIGPWR and SIGXCPU signals being raised right before it crashes. SIGPWR I have no idea about. SIGXCPU means it exceeded the allowed CPU time, but the CPU usage limit is infinite. (I read somewhere that Mono uses SIGXCPU internally, so it doesn't actually mean that.)

For some odd reason, it doesn't crash if I run it in debug mode. (It just runs really, REALLY slow.) Since it won't crash that way, I can't step through the code and find out where the issue is myself. The code was compiled with MonoDevelop 3.0.3.2, which is the standard version you get with Ubuntu. Mono is also the standard version.

I also tried running mono with --trace turned on, but it never produced an actual window or crashed after half an hour, so I gave up.

Here's some info I collected. Let me know if anything else is needed.

Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-5ubuntu1)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug 
        LLVM:          supported, not enabled.
        GC:            Included Boehm (with typed GC and Parallel Mark)

strace output, near the end:

futex(0x8f0cc0, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGPWR (Power failure) @ 0 (0) ---
futex(0x926fc0, FUTEX_WAKE_PRIVATE, 1) = 1
rt_sigsuspend(~[INT QUIT ABRT TERM XCPU RTMIN RT_1]) = ? ERESTARTNOHAND (To be restarted)
--- SIGXCPU (CPU time limit exceeded) @ 0 (0) ---
rt_sigreturn(0x7f8a9fda5740) = -1 EINTR (Interrupted system call)
futex(0x926fc0, FUTEX_WAKE_PRIVATE, 1) = 1
rt_sigreturn(0x926fc0) = 202
futex(0x8f0cc0, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x8f0cc0, FUTEX_WAKE_PRIVATE, 1) = 0
getpid() = 7710
getpid() = 7710
getpid() = 7710
(getpid repeated about 100 more times...)
Stacktrace:

Native stacktrace:

getpid() = 7710
getpid() = 7710
getpid() = 7710
getpid() = 7710
getpid() = 7710
getpid() = 7710
getpid() = 7710
getpid() = 7710
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

LOD Update does not work with terrain rendering

terrain_LOD_bug
Terrain gets shrinked to sea level if LOD Update enabled at close distance, terrain is still visible in far distances but can't be reached (Fly cam). The terrain gets lower if you are getting closer.

LOD_bug2

how to start up Chapter13ClipmapTerrainOnGlobe

Hello, pjcozzi and kring!
When I was learning 3D Engine Design for Virtual Globes (this is a good book), I found that the url resources used in this example no longer exist.
What should I change the url to make it run?
I want to see the effect.
Thank you very much for your answer!

Rotating globe

Looking for a way to rotate globe with fixed camera/observer to simulate earth rotation. Any guidance much appreciated.

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.