So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my...

46
1

Transcript of So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my...

Page 1: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

1

Page 2: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

2

Page 3: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

So who am I? Zap Andersson. Since 2011 at Autodesk 2004-2011 mental images. That’s the era we will be talking about here. Before this: Wasted decade-and-a-half in the mechanical CAD industry (deadly boring, athough I did write a renderer – RayTracker – on the side). Before this: Electronics degree. Teacher did try to teach limited programming in BASIC (and Pascal!), but… no.

3

Page 4: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since my Brother worked at Luxor, who built the swedish ABC80 computer, access to computers very early (1979-). However, graphics of 78x72 pixels... not good enough. Built my own graphics card, 240x240 pixels, 16 glorious shades of gray Wrote first raytracer. In BASIC.

4

Page 5: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

5

Page 6: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

6

Page 7: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

7

Page 8: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

8

Page 9: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

9

Page 10: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

10

Page 11: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

What are we going to talk about? The mental ray mia_material shader. It’s a physically plausible mental ray shader. NOW, it is one of the most widespread shaders, included in pretty much every application that integrates mental ray. Specifically, almost every Autodesk application – which includes 10+ million AutoCAD’s – since it is the foundation of the ”Autodesk materials”. Imitation is the sincerest form of flattery: the shader has been copied, cloned, interpreted or emulated from all sides – partners and competitors alike.

11

Page 12: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

The shader has been used in everything from architectural visualization and spoon commercials to game cinematics and big budget hollywood movies.

12

Page 13: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

Originally written in 2005 by mental images, but with strong feedback from Autodesk. Special thanks to Pierre-Felix Breton and Daniel Levesque who were instrumental at the time. Originally called “The X material”. This can still be seen internally in the source code. “mia” simply means mental images architectural.

13

Page 14: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

14

Page 15: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

15

Page 16: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

16

Page 17: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

17

Page 18: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

18

Page 19: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

19

Page 20: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

20

Page 21: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

21

Page 22: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

Basically four layers, top to bottom: - Reflections (which can be glossy or specular) - Diffuse (Oren Nayar <->Lambert) - Transparency (also glossy or specular) - Translucency (basically Lambertian shading on the ”flip side”)

22

Page 23: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

23

Page 24: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

24

Page 25: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

25

Page 26: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

26

Page 27: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

27

Page 28: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

28

Page 29: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

29

Page 30: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

30

Page 31: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

Stretchy reflection of the sun.

31

Page 32: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

How reflection direction varies when the normal vector varies for near-grazing view angles.

32

Page 33: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

How this is implemented. On left: Using mi_reflection_dir_anisglossy_x() as it was intended. On right: ABusing mi_reflection_dir_anisglossy_x() to instead modify the normal

33

Page 34: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

34

Page 35: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

35

Page 36: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

36

Page 37: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

37

Page 38: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

38

Page 39: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

39

Page 40: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

40

Page 41: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

41

Page 42: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

42

Page 43: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

43

Page 44: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

44

Page 45: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

45

Page 46: So who am I? - Self Shadow...So who am I? I always loved computer graphics. Creating images is in my blood. Touched my first mainframe computer in 1976 and was hooked. Then, since

46