Giter Club home page Giter Club logo

Comments (3)

srio avatar srio commented on July 28, 2024

Dear Sam,

Sorry for the lot of time I took to look at that.

As a rule of thumb, the o.e. movements are supposed to be small to check tolerances. Otherwise, you may find unexpected results, as you got.

I made some tests. I first made a pencil beam (zero cross section and very small divergence) to check the center. When you increase the X rotation, is like if you change the incident angle. When you arrive to an angle of 17 deg you see the change as the grazing incidence becomes 0. Then increasing goes well up to 90+17. Checking the angles before and after this value, you see the interception changes from negative Y to positive Y, meaning that shadow changes from one solution to another of the quartic equation (i.e. it is looking at another part of the curved surface). Therefore, when you rotate 180 deg shadow looks to another part of the surface.

We found this problem on several occasions. Shadow automatically selects one solution of the two in conics or 4 solutions in toroids. Unfortunately, there is no way to control that.

I hope this gives some light to the problem.

Best regards,

Manuel

PS: If you do not mind, I copied your question to the shadow3 issues: #56

from shadow3.

lucarebuffi avatar lucarebuffi commented on July 28, 2024

I communicated with Sam in private last week.

from shadow3.

slgleason avatar slgleason commented on July 28, 2024

Thank you both very much for your help.
The context was attempting to consistently select the interior surface of a self-intersecting torus, such as the one on the right-hand side of these plots.
I could usually access the surface I wanted using various OE rotations, but not every time.

Per Manuel's suggestion, I followed the 'thermal bump' tutorial to project the desired figure onto a plane mirror, which worked great.

Thanks again,
Sam

torus_comparison
torus_3d

from shadow3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.