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

 
 

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

Submitter:  gianluca de santis <gianlucadesi>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
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 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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code