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

 
 

bug #37899: Lighting initially wrong in smooth modes

Submitter:  Benedict Verhegghe <bverheg>
Submitted:  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:  bverheg
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

This problem does not occur in the new opengl engine.

Benedict Verhegghe <bverheg>
Group administrator
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>
Group administrator
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>
Group administrator

 

(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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-758e.
    Corresponding source code