Results 1 to 2 of 2

Thread: Light Sensor?

  1. #1
    Junior Member Newbie
    Join Date
    May 2012
    Posts
    2

    Light Sensor?

    Hello,

    Im currently messing around with some simulations and additionally use OpenGL (lwjgj) as Display-Engine.

    Now i wondered if it is possible to include the OpenGL light rendering for some calculations?

    Is there any way to determine a final light(/color) value for a certain Point (/vertice/poly/...) using OpenGL e.g. after a draw call?

    In other words, i need a light sensor and its values after each draw-call.

    To make an easy example:
    A cube in a scene with light, how much light reaches each of the vertices for each site?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,117
    You probably can't do things on a per vertex basis but you can on a per fragment. Have a look at deferred rendering

Similar Threads

  1. simulate depth sensor
    By barcode in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 12-04-2015, 12:03 PM
  2. Replies: 11
    Last Post: 05-19-2015, 01:48 AM
  3. OpenGL with WPF/Kinect Sensor
    By deepesh in forum OpenGL: Windows
    Replies: 0
    Last Post: 12-06-2012, 07:06 AM
  4. sensor 3d simulation
    By Usman Ali in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 11-21-2008, 09:56 AM
  5. OpenGL program to connect to Orientation sensor (Euler Angles)
    By Al Grant in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-08-2006, 05:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean