Flat Surface Shader

Flat Surface Shader (FFS) was specifically written for 3D graphics engine, and is really helpful in giving perspective to a triangle by using different light refractions.
At its core is the Lambertian Reflectance equation for calculating the color an object will get based on a dynamic lighting model.
Flat Surface Shader currently works with SVG, canvas and WebGL environments (demos included).
Documentation is included with the download package. Requirements:
· JavaScript enabled on client side
· HTML 5 enabled browser

Related Scripts

  • Surface Curvature
    [K,H,P1,P2] = surfature(X,Y,Z) returns the gaussian curvature of a surface (K), mean curvature (H), and principal curvatures (P1,P2). The inputs (X,Y,...
  • Big Surface 0.1.1
    Big Surface takes a DOM element, gives it an almost infinite surface, hides the overscroll, hides the scrollbar and allows the user to navigate its co...
  • Meshlab 1.0.0
    MeshLab is an open source, portable, and extendible system for the processing and editing of unstructured 3D triangular meshes. The system is aimed to...
  • Pi Machine
    This code will calculate the surface area and volume of cones, spheres or cylinders of any dimensions as well as circle circumference and surface area...
  • Logmandel
    This above Fractal code investigates the effect of a small change in the Affine transform of a fractal generating function, namely the Mandelbrot set ...
  • Fractal Mound
    This above Fractal code generates a small fractal mound in using the basic trigonometric operations. This involves a basic logic of an exponential sur...
  • Nurbs 3.0.10
    Non-Uniform Rational B-Splines (NURBS) curves and surface are parametric functions which can represent any type of curves or surfaces. This C library ...
  • Triangulationvolume
    Computes the VOLUME and AREA of a closed surface defined by the triangulation in indices TRI and coordinates X, Y and Z, using the divergence theorem ...
  • Flat Ui 1.1
    Flat UI was built on top of Twitter's well crafted Bootstrap interface toolkit and allows developers to quickly put user interfaces together by grabbi...
  • Dolfwave 09.27
    This is a FEniCS-based library which can be used to solve surface elevation / velocity potential formulations for surface water wave models.Based on s...
  • Flat Forms 0.1.0
    Flat forms uses a Bootstrap-like UI to provide a collection of CSS styles for designing online forms.A LESS version of Flat forms is also available.A ...
  • Fourier Series Surface Fitter
    FSSF2 fit a 2-D fourier series surface over scattered 3D data. Series formulation may be altered optimization fit also available. The gui is pretty se...
  • Gnurbs
    For use with the NURBS toolbox, GNURBS allows the user to have an intuitive manipulation of a NURBS surface/curve via control points. example:% Graphi...
  • Jquery Mobile Flat-ui Theme 0.1.0
    jQuery Mobile Flat-UI Theme integrates the Flat UI CSS framework's skin with the jQuery Mobile framework. The interface elements look like in the Flat...
  • Geodesic
    GEODESIC solves geodesic problems concerning three types of surface.By using variational method(1) a right cylinder with a circular cross section(2) a...
  • Radiative Heat Transfers
    This program calculates view factors and radiative heat transfers between two or many surfaces. Surfaces must be polygons or circles. For each surface...
  • Surface Fitting Using Gridfit
    Those wishing to model a surface from data in the form of z(x,y) from scattered or semi-scattered data have had few options in matlab - mainly griddat...
  • Flat File Scripts
    Flat File Scripts (FFS) is basically a project around writing PHP scripts that don't require database systems, but instead use flat files such as XML ...
  • Flat File Extractor 0.2.7
    Flat file extractor (ffe) can be used for parsing different flat file structures and printing them in different formats.ffe is a command line tool dev...
  • Planetary.js 1.1.0
    Planetary.js is for whenever a developer needs to display a World map, but he wants to do it using a 3D sphere instead of a flat surface.Planetary.js ...
DMCA Notice-Privacy Policy
2004 - 2013 DownScripts. All rights reserved.