mainpyFormex - Support: sr #108762, Error on drawNumbers(ontop=True)

 
 

sr #108762: Error on drawNumbers(ontop=True)

Submitter:  Diogo Ferreira de Almeida <dimoreir>
Submitted:  Thu 05 Mar 2015 03:54:28 PM UTC
   
 
Category:  Rendering Priority:  5 - Normal
Severity:  3 - Normal Privacy:  Public
Assigned to:  None Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 06 Mar 2015 10:40:48 AM UTC, comment #2: 

I wanted the numbers to work as the point marks, to only be shown if they are not occluded by the surface.

I think the easiest solution would be to plot only the numbers corresponding to the visible point marks.

Thanks.

Diogo Ferreira de Almeida <dimoreir>
Group Member
Thu 05 Mar 2015 05:19:56 PM UTC, comment #1: 

Diogo,

It seems to work like it is designed. The numbers where you do not see the point mark are refering to obscured points at the backside of the model.
We can not easily obscure the labels too, because they are not drawn by the normal 3D rendering process, but in a 2D rendering process adjusting the 2D coordinates with the 2D projection of the 3D points.

Implementation of the obscuring of the labels is probably not easy. Maybe by first rendering the points and finding visible ones. Or by rendering the text through the 3D process, but then a remote label would come out smaller than a label closer to the viewer.

It does not look a priority to me, but experiments and ideas and certainly welcome.

Benedict Verhegghe <bverheg>
Group administrator
Thu 05 Mar 2015 03:54:28 PM UTC, original submission:  

I'm trying to plot the node numbers on the surface nodes but the argument ontop works for draw(nodes) but not for drawNumbers(nodes).

The nodes are occluded by the surface but their numbers are shown nevertheless.

Diogo Ferreira de Almeida <dimoreir>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

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 dimoreir (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-05 dimoreir Attached File- Added error_drawNumbers_arg-ontop.png, #33250

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code