Opened 6 years ago

Closed 6 years ago

#2242 closed defect (fixed)

coloring surface cap by map looks bad because cap triangles are long/nonlocalized

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: major Milestone:
Component: Surface Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

As per the summary, the streaky, wrong-looking coloring by map value is because surface cap triangles are not subdivided into more localized bits instead of long shards. Example image attached.

Attachments (1)

mlpslice.png (146.5 KB ) - added by Elaine Meng 6 years ago.

Download all attachments as: .zip

Change History (3)

by Elaine Meng, 6 years ago

Attachment: mlpslice.png added

comment:1 by Elaine Meng, 6 years ago

Component: UnassignedSurface

comment:2 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

I made clip caps by default use subdivision 1.0, the same as what Chimera uses.

I added a "surface cap" command option called subdivision to set the subdivision value, for example, "surface cap subdiv 2". A value of 0 means no subdivision giving the long skinny triangles that each span from edge to edge of the cap.

I added a preference setting "Cap subdivision factor" under the Clipping tab. Also I renamed "Surface caps" (boolean) to "Cap clipped surfaces" (sadly to get the options in a decent order, since they are alphabetically ordered).

Note: See TracTickets for help on using tickets.