Skip to content

Instantly share code, notes, and snippets.

Based on feedback from ChemicalR I'm cross posting all the things I've bookmarked in reguards to planet rendering here in the code forums.
[url=http://www.gamasutra.com/view/feature/3098/a_realtime_procedural_universe_.php]Sean O'Neil[/url]'s 4 2001 part series is considered a foundation for realistic large scale (planets on up) rendering. Most of these methods are now obsolete and replaced with faster methods and gpu shaders. His [url=http://http.developer.nvidia.com/GPUGems2/gpugems2_chapter16.html]atmospheric scattering[/url]method is still used often due to its relative simplicity, but it only produces earth atmospheres.
[url=http://acko.net/blog/making-worlds-1-of-spheres-and-cubes/]Steven Wittens[/url] 2009 multipart series is frequently linked to as I've searched for best practices in creating planets using modern methods. It is based on a cube with mesh texture and normalizes the vertex points into a sphere. The advantage to this method is that conventional terrain LOD methods, often used in first
<script type="text/javascript">
var DOMReady = function(a,b,c){b=document,c='addEventListener';b[c]?b[c]('DOMContentLoaded',a):window.attachEvent('onload',a)};
var nextUrl = function () {
return "<%= ibounty_url('approve_push') %>";
};
DOMReady(function () {
var repeat = function() {
setTimeout(function() {
window.location.href = nextUrl();
@antonvolkoff
antonvolkoff / gist:5317206
Created April 5, 2013 07:02
Prints href attributes from given page.
(ns zenbot.core
(:gen-class)
(:require [clj-http.client :as client])
(:require [net.cgrand.enlive-html :as html]))
(defn fetch-url-body
"Fetches given address and returns it's body."
[address]
(:body (client/get address)))