Results 1 to 2 of 2

Thread: Lighting problem.

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2001
    Location
    USA
    Posts
    7

    Lighting problem.

    I am plotting pixel which is actually a small cube on the wireframe sphere,can I show the color of background and foreground pixel different by using lighting or any way.
    One thing is I am rotating the sphere,so when
    front hemisphere goes to back hemisphere the color must be changed as that rear hemisphere.I tried to create two lightsorces
    but as it is wireframe will it create problem??

    Any suggestion please.

    Many Thanks
    Devchand

    [This message has been edited by devchandc (edited 01-09-2002).]

  2. #2
    Senior Member Regular Contributor
    Join Date
    Jul 2001
    Posts
    352

    Re: Lighting problem.

    I'm not so sure that I've understood the question, but if you ask whether lighting is compatible with wireframe rendering, the answer is "yes". But I can't see why you need 2 lightsources.

    [This message has been edited by Morglum (edited 01-10-2002).]

Similar Threads

  1. Lighting problem
    By stefkos in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-09-2012, 11:36 AM
  2. Lighting problem,
    By dreamspaced in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-18-2005, 11:46 PM
  3. Replies: 4
    Last Post: 09-27-2004, 06:27 AM
  4. Odd problem with lighting...
    By Baltor in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-12-2004, 03:49 PM
  5. Lighting problem (opengl + shader lighting)
    By ox1d_47 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-19-2004, 09:43 PM

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