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:  Rendering Severity:  3 - Normal
Item Group:  Functionality error Status:  Wont Fix
Privacy:  Public Assigned to:  Benedict Verhegghe <bverheg>
Open/Closed:  Closed

Add a New Comment(Rich 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-10 bverheg StatusConfirmed => Wont Fix
        Open/ClosedOpen => Closed
    2013-01-16 bverheg StatusNone => Confirmed
        Assigned toNone => bverheg

    Back to the top


    Powered by Savane 3.3