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

 
 

bug #48008: setTriade icon should be user defined

Submitted by:  gianluca de santis <gianlucadesi>
Submitted on:  Wed 25 May 2016 10:50:48 AM UTC  
 
Category: RenderingSeverity: 1 - Wish
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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.

 

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>
Project AdministratorIn charge of this item.
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>
Project 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>
Project Member

 

(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 (Posted a comment)
  • -unavailable- added by gianlucadesi (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
    Thu 07 Jul 2016 10:32:38 AM UTCbverhegStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 17 Jun 2016 05:09:27 PM UTCbverhegStatusNone=>Ready For Test
      Assigned toNone=>bverheg

    Back to the top


    Powered by Savane 3.1-cleanup1