Results 1 to 5 of 5

Thread: The rendering of shadow?

  1. #1
    Member Newbie
    Join Date
    Sep 2008
    Posts
    38

    The rendering of shadow?

    The rendering of shadows in OpenGL - true or false?
    A is integrated in the library and can be enabled with a single command.
    B requires multiple rendering passes and a shadow map.
    C uses a depth map created by rendering the scene from the light source position.
    D uses ray-tracing and triangle-to-viewing-ray intersection
    E is most efficient for static scene parts, if shadows are part of a texture

    ok, i havent gotten that far in my SuperBible, so i am not aware of shadows yet, but i would love to be pre-prepared on this one
    Help is super appreciated!
    thanks!

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: The rendering of shadow?

    Basically, everything except A can be true. But I am not sure what your examiner wants to hear.

  3. #3
    Senior Member OpenGL Pro k_szczech's Avatar
    Join Date
    Feb 2006
    Location
    Poland
    Posts
    1,107

    Re: The rendering of shadow?

    Firsst of all do not create separate thread for each set of questions. Keep it all in one thread.

    A - False
    B - False, but answer True (I assume that person who wrote this test forgot about shadow volumes, which require multiple passes but do not require shadow map)
    C - False, but answer true for the same reason as above.
    D - False (but of course one could try doing it this way)
    E - True, although putting shadows into textures is in conflict with other, even basic techniques (specular lighting for exampe).

  4. #4
    Member Newbie
    Join Date
    Sep 2008
    Posts
    38

    Re: The rendering of shadow?

    Thank you for the answers!
    As i havent gotten to the pipeline yet, and still trying to caputer every matrix, i have some more questions:

    What of these is part of the geometry stage in the Rendering Pipeline ?
    A multiplication of the vertex coordinates with the projection matrix
    B bilinear texture filtering
    C multiplication of the vertex coordinates with the modelview matrix
    D cube mapping
    E lighting calculation for each pixel

    thank you once again for the help!

  5. #5
    Senior Member Frequent Contributor
    Join Date
    Feb 2006
    Location
    Sweden
    Posts
    744

    Re: The rendering of shadow?

    A - True
    B - False, but could be True if you do it yourself as vertex texture lookup.
    C - True
    D - False, but again could be True if you do this too as vertex texture lookup, at least if you do it manually.
    E - False, however if you had small enough polygons it would technically be true.

    But you should answer A and C if this question is anything like the previous one.

Similar Threads

  1. Problem Rendering Shadow Map
    By Niven07 in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 12-31-2013, 03:58 PM
  2. Shadow volume rendering
    By Claus - TSI in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 10-01-2010, 09:49 AM
  3. Problem with shadow volume rendering
    By draculr in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 07-07-2005, 02:07 AM
  4. Shadow Volume Rendering
    By dalangalma in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-14-2004, 04:36 PM
  5. Shadow rendering techniques
    By rkushuna in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 11-02-2003, 09:20 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