Coder Social home page Coder Social logo

obj-browser's Introduction

OBJ Browser

OBJ file browser with support of applying texture and noise to the object and inspecting it. It supports OBJ file type for objects, DDS and BMP file types for textures. This browser also allows to apply Perlin Noise either with or without texture.

Navigation

General

Use your mouse or arrows to rotate the object. Use the mouse scroll or the Z/X buttons to zoom in/out. Other buttons:

  • T - turn on the texture mode (texture is applied to the object)
  • G - turn on the Perlin Noise mode (Perlin Noise is applied to the object, texture is turned off)
  • B - turn on the mixed mode (texture and Perlin Noise are applied simultaneously)
Lightning
  • F - toggle lightning
  • W - increase light power
  • S - decrease light power
Perlin Noise

Perlin Noise is evaluated using the formula below: $$ pnoise(t) = \sum_{i=0}^{octaves-1}(persistance^i * noise(t * scale * lacunarity^i)) $$ where $noise(x)$ is original value of the Perlin Noise.

  • Y - increase scale
  • H - decrease scale
  • U - increase persistance
  • J - decrease persistance
  • I - increase lacunarity
  • K - decrease lacunarity
  • O - increase octaves
  • L - decrease octaves
  • A - toggle animation mode (if turned on, t increases with time, otherwise not)

Screenshots

Suzanne with texture

Suzanne with Perlin Noise

Tank

Colorful car with Perlin Noise

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.