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:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned 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 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 gianlucadesi (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.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.4