Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Add default rendering processor #85

Merged
merged 24 commits into from Sep 10, 2016
Merged

Add default rendering processor #85

merged 24 commits into from Sep 10, 2016

Commits on Aug 3, 2016

  1. Configuration menu
    Copy the full SHA
    f5c9519 View commit details
    Browse the repository at this point in the history
  2. Add Light component

    nchashch committed Aug 3, 2016
    Configuration menu
    Copy the full SHA
    f0a2710 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2016

  1. Store scene_name in RenderingProcessor

    * Now Application::build() takes a Context as a paramater instead
      of Config
    * Now RenderingProcessor::new() takes scene_name and context as
      parameters and calls context.renderer.add_scene()
    * Add num_lights method to context::renderer::Renderer
    * Add num_fragments method to context::renderer::Renderer
    * Note: if you delete a Component associated Fragment or Light won't
      be deleted from the frame.
    nchashch committed Aug 4, 2016
    Configuration menu
    Copy the full SHA
    363e437 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2016

  1. Fix deletion problem in rendering processor

    * Now Fragments and Ligts corresponding to deleted components
      are deleted from the frame
    nchashch committed Aug 5, 2016
    Configuration menu
    Copy the full SHA
    4596072 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b9c6b9 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2016

  1. Add Camera component

    * Add RendererConfig config struct to the processors::rendering mod,
      it contains the pipeline (Forward or Deferred), the shading (Flat or
      Shaded), and the clear color.
    * Now RenderingProcessor::new takes RendererConfig as a parameter
      and creates and sets a pipeline according to this config
    * Add ACTIVE_SCENE_NAME and ACTIVE_CAMERA_NAME constants to
      processors::rendering mod
    * Now RenderingProcessor::new doesn't take scene_name as a parameter
      instead it adds the default scene with name = ACTIVE_SCENE_NAME to
      the frame
    nchashch committed Aug 6, 2016
    Configuration menu
    Copy the full SHA
    2a46160 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2016

  1. Add Renderable::update_transform_matrix method

    * Add translation, rotation_axis, rotation_angle, and scale fields to
      Renderable component
    nchashch committed Aug 10, 2016
    Configuration menu
    Copy the full SHA
    196d26f View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2016

  1. Add application Config

    * Add amethyst::engine::Config containing ContextConfig and
      RendererConfig
    * Rename amethyst_context::Config to amethyst_context::ContextConfig
    nchashch committed Aug 14, 2016
    Configuration menu
    Copy the full SHA
    ba803eb View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2016

  1. Remove unnecessary State::update impls from examples

    * Remove State::update impl from window.rs example
    * Remove State::update impl from sphere.rs example
    nchashch committed Aug 16, 2016
    Configuration menu
    Copy the full SHA
    60e4ee7 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2016

  1. Configuration menu
    Copy the full SHA
    ffbb420 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2016

  1. Add ApplicationBuilder::register method

    * Don't register rendering processor Components in
      ApplicationBuilder::new.
    nchashch committed Aug 20, 2016
    Configuration menu
    Copy the full SHA
    794d020 View commit details
    Browse the repository at this point in the history
  2. Add Projection enum to amethyst::processor mod

    * Now amethyst::processor::Camera::new takes Projection as an argument
      instead of fov, aspect, near, and far arguments.
    * Add amethyst::renderer::Camera::orthographic function, which returns
      an orthographic projection matrix.
    nchashch committed Aug 20, 2016
    Configuration menu
    Copy the full SHA
    c9da8b3 View commit details
    Browse the repository at this point in the history
  3. Add examples/pong.rs example

    nchashch committed Aug 20, 2016
    Configuration menu
    Copy the full SHA
    831433a View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2016

  1. Don't reexport everything in processors::rendering

    * Add more doc comments to processors::rendering mod
    nchashch committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    b4e80b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cac16ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d90b1b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2361e42 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2016

  1. Configuration menu
    Copy the full SHA
    f783e2b View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2016

  1. Panic if RenderingProcessor::new fails

    * Panic if renderer_config.pipeline or renderer_config.shading field is
      invalid.
    nchashch committed Aug 28, 2016
    Configuration menu
    Copy the full SHA
    bd897b8 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2016

  1. Configuration menu
    Copy the full SHA
    65f56a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4c0500 View commit details
    Browse the repository at this point in the history
  3. Derive Copy+Clone for types in rendering proc mod

    * Derive Copy and Clone for Light, Projection and Camera types
    * Derive Clone for Renderable type
    nchashch committed Sep 10, 2016
    Configuration menu
    Copy the full SHA
    73dd7eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b17b86e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e12aac View commit details
    Browse the repository at this point in the history