bugpyFormex - Bugs: bug #37899, Lighting initially wrong in smooth...

 
 

bug #37899: Lighting initially wrong in smooth modes

Submitted by:  Benedict Verhegghe <bverheg>
Submitted on:  Tue 11 Dec 2012 10:30:29 AM UTC  
 
Category: RenderingSeverity: 3 - Normal
Item Group: Functionality errorStatus: Wont Fix
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 10 Feb 2014 11:22:35 AM UTC, comment #2:

This problem does not occur in the new opengl engine.

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Wed 16 Jan 2013 10:12:36 AM UTC, comment #1:

This problem seems to occur only if you have a smooth mode set in your configuration settings as the initial mode. Drawing is still done in wireframe though, and switching to a smooth mode does not set the normals. Obviously, the mode from the configuration is not
properly initialized.

As a work around, you can use a startup script to set the initial mode. Put the following line in your ~/.pyformex/startup.py (if the file does not exist, just create it):

smooth()

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Tue 11 Dec 2012 10:30:29 AM UTC, original submission:

In the smooth rendering modes, lighting of feshly drawn objects often is initially incorrect. Switching to wireframe mode and back to smooth mode fixes the incorrect lighting.

Presumably the computation of the normals is done incorrectly or not at all on first drawing. Redrawing then computes the normals correctly.

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 10 Feb 2014 11:22:35 AM UTCbverhegStatusConfirmed=>Wont Fix
      Open/ClosedOpen=>Closed
    Wed 16 Jan 2013 10:12:36 AM UTCbverhegStatusNone=>Confirmed
      Assigned toNone=>bverheg

    Back to the top


    Powered by Savane 3.1-cleanup