Feature #1670

Envelope task #1438: === Physics ===

Feature #1645: == Graded layer and cross-layer particles ==

Provide interface for adding particle shapes in different layers that are to be treated coherently (at fix relative position)

Added by herck 12 months ago. Updated 9 months ago.

Status:ResolvedStart date:24 Nov 2016
Priority:NormalDue date:
Assignee:herck% Done:

0%

Category:-
Target version:Sprint 33

History

#1 Updated by herck 12 months ago

  • Parent task set to #1645

#2 Updated by wuttke 12 months ago

Add one particle to several layers? Or add particles at Sample=Multilayer level, and let the internal machinery figure out which layers are concerned?

#3 Updated by wuttke 12 months ago

  • Status changed from Sprint to Rfc

#4 Updated by herck 12 months ago

  • Status changed from Rfc to Sprint
  • Assignee set to herck

#5 Updated by herck 9 months ago

In pull request #147, the following changes have been done:
-For each IParticle in a layout, its bottom z position is used to determine in which layer it sits; this is then used to set the correct ambient material and Fresnel coefficients
-As an oversimplification, all FormFactorBorn classes return the origin of their local coordinate system (which coincides with the bottom-most z-coordinate in the absence of rotations); only FormFactorBox has the correct implementation
-ParticleComposition still creates just one single form factor that will be put in a single layer (determined by its bottom z-coordinate)

#6 Updated by herck 9 months ago

  • Status changed from Sprint to Resolved

Particles are however still not split over layer interfaces. Their bottom z-coordinate is used to determine in which layer they reside. For ParticleComposition, the constituent particles can be in different layers.

Also available in: Atom PDF