cs 3220 root finding applications
play

CS 3220 Root finding applications Steve Marschner Spring 2010 - PowerPoint PPT Presentation

CS 3220 Root finding applications Steve Marschner Spring 2010 [Visible Human Project, Natl Library of Medicine] [Fovia Inc.] [Fovia Inc.] [Fovia Inc.] [Fovia Inc.] [Fovia Inc.] [CS 417 slidessource unknown] view rect viewpoint


  1. CS 3220 Root finding applications Steve Marschner Spring 2010

  2. [Visible Human Project, Nat’l Library of Medicine]

  3. [Fovia Inc.]

  4. [Fovia Inc.]

  5. [Fovia Inc.]

  6. [Fovia Inc.]

  7. [Fovia Inc.]

  8. [CS 417 slides—source unknown]

  9. view rect viewpoint pixel position viewing ray

  10. e s d = s – e p = e r ( t ) = p + t d

  11. e s d = s – e p = e r ( t ) = p + t d

  12. [Brian Wyvill]

  13. [sayinghai.com]

  14. [sayinghai.com]

  15. h

  16. � � � � R ( p = 0) i i � t h

  17. � � � � � � � R ( p = 0) i i � t h � t i TT ( p = 1)

  18. � � � � � � � � � � R ( p = 0) i i � t h � t i � t TT ( p = 1) � t i TRT ( p = 2)

  19. h

  20. secondary primary

  21. secondary primary

  22. secondary primary

  23. glints

  24. glint transmission

  25. float InvSqrt(float x) { float xhalf = 0.5f*x; int i = *(int*)&x; i = 0x5f3759df - (i>>1); x = *(float*)&i; x = x*(1.5f-xhalf*x*x); return x; }

  26. float InvSqrt(float x) { float xhalf = 0.5f*x; int i = *(int*)&x; // get bits for floating value i = 0x5f3759df - (i>>1); // gives initial guess y0 x = *(float*)&i; // convert bits back to float x = x*(1.5f-xhalf*x*x); // Newton step, repeating increases accuracy return x; }

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend