home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD2.bin / bbs / gfx / softshadows.lha / SoftShadows / HowToWhatItIs.txt < prev    next >
Text File  |  1994-10-23  |  6KB  |  82 lines

  1. Are you sick and tired of Lightwave weenies with their superior attitude about
  2. soft shadows? Specifically, the belief that Imagine cannot do soft shadows? And
  3. does not support "Shadow Mapping"? Especially when they smugly point to Babylon5
  4. as proof positive of Lightwave's inherent superiority? Even though there are no
  5. soft shadows in space? Even though all of their spaceships appear to have been
  6. made by the same shipyard? Using the same hullplates? Even though their gas
  7. clouds and nebulae look like doo-doo compared to Imagine's Fog objects?
  8.     Well, help is here! In fact, Imagine has had soft shadow capability from the
  9. get-go. It is not as simple as clicking a button, however. But the trade-off for
  10. the lack of simplicity is unlimited control over how the soft shadows look and
  11. animate. Which would you rather have?
  12.     This archive contains, or should contain, the following:(1) A jpeg'd picture
  13. made of several test renderings and some rendering time and machine info.(2) A
  14. Softlite.imp file, ready for you to put into your Imagine directory and re-
  15. render and test render. The .imp file contains all the objects, brush maps, the
  16. staging file, etc. and is self contained. Included among the objects are two
  17. types of softlites, a sphere with several States, a ground, and several attri-
  18. bute files to play with.(3) This text file :)  (4) Some screen grabs of various
  19. Imagine screens with the settings for several of the Action and Detail editor
  20. objects. This was done because this .imp file was done with Imagine 3.1, and I
  21. am not 100% sure it will be completely renderable in 3.0. But you will be able
  22. to get at the objects, especially those softlights.
  23.     Some things to keep in mind. All soft shadowing, shadow mapping, etc., is
  24. very processor intensive. With Imagine, the image must be raytraced. On full
  25. screen traces with a typical flying logo expect rendering times to be about 30
  26. minutes a frame or so. With several softlite sources, it is possible to push
  27. rendering times well over an hour per frame. And these are 040 times! Jim Drew,
  28. we need your 060! Also, every scene is different, so be prepared to do some test
  29. rendering to get the look you want. And ask yourself do you really need soft
  30. shadows for this particular project. The new Impulse light textures really do
  31. work very well, though only on the lightsource edges themselves. And do not
  32. forget to try experimenting with filter mapped lightsources, also.
  33.     But assuming it's for real soft shadows you want, here's how. Basically, you
  34. need to understand that Imagine very closely mimics the real world in it's light
  35. ing. This may seem untrue at first, but remember that in the real world, light
  36. does not emanate from a single point. The sun is a measurable disk in the sky,
  37. the lightbulb in the lamp next to your computer has a sizeable surface that
  38. actually outputs light. So the obvious solution to softlites in Imagine is to
  39. have multiple point lightsources, the number of which is determined by distance
  40. from the object in the scene, resolution of the image, and patience on the part
  41. of the user that has to wait for the thing to quit cooking.
  42.     The default lightsource in Imagine is set to 255,255,255. This is a fairly
  43. bright white light, usually just a tad too bright for NTSC video, assuming that
  44. the Diminish Intensity button is not clicked (sorta like sunlight). So, for a
  45. softlite of equal brightness, you need multiple lightsources equivalent to this
  46. value. The softlight included with this archive is made up of 25 lites set to
  47. 5,5,5 each. So one of these lights would be about half of a default Imagine
  48. light. But Imagine allows an infinite number of lightsources. These softlites
  49. are groups, centered around a center axis. For a normally lit Imagine scene,
  50. you'll need two of them. Depending on the distance of the light from the objects
  51. you will need to scale them up or down. If scaled too large, you'll see notice-
  52. able banding around the penumbra cast by the object, if too small, the shadow
  53. edge will be too sharp. 
  54.     These softlites were made in the Detail editor. Though you can use multiple
  55. Stage lights, they are a real pain to position and manipulate. To change the
  56. value of the softlites, the easiest way is to use 3.x's new Apply command. I
  57. simply made one light, then copy and pasted it to make a group. I renamed the
  58. center light, and made it the parent of the group. To make value changes, first
  59. Ungroup the softlite, Pick the parent axis (light), make the changes, then do a
  60. Right-Amiga A (the All command, in multi-select mode, using the shift key), then
  61. do the Apply command, and all the other axes will have the same lite values.
  62. Then re-group them, and save the object (make sure you're in Group mode).
  63.     As stated above, this may seem like a lot of grief compared to a simple soft
  64. shadows toggle, but consider the following. These softlites are full fledged
  65. Imagine objects, with all that that implies. They can have States, and they can
  66. be morphed, both positionally and attribute-wise. Consider a night-time scene
  67. of a dimly lit seedy hotel room, with the lightsource outside the window cast-
  68. ing soft shadows into the room. It is trivial to modify some of the lights in
  69. the softlite group to morph to bright red, thereby simulating a flashing neon
  70. light across the street. Or, a softlite made of cylindrical or conical lights
  71. could be on the bottom of a spaceship that is examining something with spot-
  72. lights, softshadowed (in an atmosphere,ok) and the lights move in different ways
  73. after the exam is finished.
  74.     Anyway, you can see that just about anything is possible with soft shadows
  75. Imagine style. So now you can tell the Lightwave guys where to put it!
  76.     Enjoy!
  77.  
  78.                                         Bill Graham
  79.                                         w.graham6@genie.geis.com
  80.  
  81.     
  82.