bugpyFormex - Bugs: bug #48212, mode is no longer working per...

 
 

bug #48212: mode is no longer working per actor, except for wireframe

Submitted by:  gianluca de santis <gianlucadesi>
Submitted on:  Mon 13 Jun 2016 09:34:57 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 13 Jun 2016 12:38:13 PM UTC, comment #1:

It seems that 'lighting' can fix part of the problem to get smooth vs. flat.

draw(a.scale(0.3),color='green',mode='smooth',lighting=True)

The problem that remains is to get
flat vs. flatwire
smooth vs. smoothwire

gianluca de santis <gianlucadesi>
Project Member
Mon 13 Jun 2016 09:34:57 AM UTC, original submission:

You can set the general mode using:

smoothwire()

but you cannot set the mode per object:
it seems that wires and light are no longer working.
Only
draw(a, mode='wireframe')
is working fine.

You can try this:

clear()
smooth()
a = Mesh(eltype='hex8')
draw(a,name='obj',color='red',mode='wireframe',alpha=0.6)
draw(a.scale(0.3),color='green',mode='flatwire')

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 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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1