bugpyFormex - Bugs: bug #48008, setTriade icon should be user...

 
 

bug #48008: setTriade icon should be user defined

Submitter:  gianluca de santis <gianlucadesi>
Submitted:  Wed 25 May 2016 10:50:48 AM UTC
   
 
Category:  Rendering Severity:  1 - Wish
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bverheg
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 17 Jun 2016 05:09:27 PM UTC, comment #2: 

FIxed in 460ded1.

setTriade now accepts any Geometry as argument, and any drawing attributes can be set on the geometry.

Benedict Verhegghe <bverheg>
Group administrator
Fri 17 Jun 2016 01:40:34 PM UTC, comment #1: 

after commit 266bd4 the triade can be easily customized and attribute can be set to influence the drawing.
However, the lighting is hardcode in opengl/canvas/setTriade, while it should also be taken from the attribute.

I think that lighting=True should be the default in the draw(), and removed from setTriade. Indeed, when drawing, the smooth mode is usually preferred over the flat mode.


gianluca de santis <gianlucadesi>
Group Member
Wed 25 May 2016 10:50:48 AM UTC, original submission:  

It would be handy to have the setTriade icon replaceable with something defined by a user.
Apparently in opengl.drawable there is
        if self.rendertype == -2:
            # This is currently a special code for the Triade
            rot = renderer.camera.modelview.rot
How can it be generalized?

gianluca de santis <gianlucadesi>
Group Member

 

(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 (Posted a comment)
  • -email is unavailable- added by gianlucadesi (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
    2016-07-07 bverheg StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2016-06-17 bverheg StatusNone Ready For Test
        Assigned toNone bverheg

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code