<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
As much as I like to use 'lens flares' ;), I don't know exactly what
you mean... The concepts aren't clear to me.<br>
<br>
Any other thoughts? <br>
<br>
thnx<br>
<br>
<br>
o renken wrote:
<blockquote
 cite="mid:7183126f0904290805l32c2321dr20f5a2a0b2a69932@mail.gmail.com"
 type="cite">As i know you cant influence the light source neither in
intensity nor in size.<br>
  <br>
For the smooth shadow-graduation to the sites of your cube ive got a
thought:<br>
Maybe you can use a CompositeMaterial which holds your phong-shader and
additional a FlatShadeMaterial in the layer below. The FlatShade may
have a graduation from 0xFFFFFF to 0x000000. Maybe playing around with
blendLayers may give you a better result. Just a thought, i didnt tried
it.<br>
  <br>
Another thing: You can try to use a EnvMapShader instead of phong or
gouraud. Open Photoshop, create a new 256,256 dokument. Dark Background
and then the LensFlare-Effekt in Render-Effects. Drag the Point in the
center, so youll get a nice shiny Phong-map. This you can use as envMap
for the shader.<br>
If you move you camera, you have to move the light with it.<br>
  <br>
olee<br>
  <br>
  <div class="gmail_quote">2009/4/29 Sander Schuurman <span dir="ltr">&lt;<a
 moz-do-not-send="true" href="mailto:barn@chello.nl">barn@chello.nl</a>&gt;</span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
cool list,<br>
    <br>
To enhance my portfolio with a tiny little bit extra detail I decided
to add some phongshading to my rotating block.<br>
My question is if the lightsource could be altered. As if it seems to
be bigger or something.<br>
    <br>
I've made 2 tests:<br>
    <br>
test1:<br>
    <a moz-do-not-send="true"
 href="http://www.sentoplene.com/phongshader/test1/" target="_blank">http://www.sentoplene.com/phongshader/test1/</a><br>
The lighting and shadowing is a bit too dramatic for my liking, it's a
bit too dark<br>
code:<br>
var light :PointLight3D = new PointLight3D();<br>
var phongShader :PhongShader = new PhongShader(light, 0xFFFFFF,
0x000000);<br>
    <br>
test2:<br>
    <a moz-do-not-send="true"
 href="http://www.sentoplene.com/phongshader/test2/" target="_blank">http://www.sentoplene.com/phongshader/test2/</a><br>
The lighting of the front element is more to my liking, only the
shadows stay way too light when I turn the block. I like it as in test1
when the shadow will turn too black.<br>
code:<br>
var light :PointLight3D = new PointLight3D();<br>
var phongShader :PhongShader = new PhongShader(light, 0xFFFFFF,
0xbbbbbb);<br>
    <br>
I know some photography, so I know when you enlarge your lightsource
that the light gets softer. Is this possible? Or can I simulate that?
That the light gets bigger, so the front element gets lighter in
general, but when I turn the block, the shadows will go towards black?<br>
    <br>
I hope I make myself clear... anyone?<br>
    <br>
Sander<br>
    <br>
_______________________________________________<br>
Papervision3D mailing list<br>
    <a moz-do-not-send="true" href="mailto:Papervision3D@osflash.org"
 target="_blank">Papervision3D@osflash.org</a><br>
    <a moz-do-not-send="true"
 href="http://osflash.org/mailman/listinfo/papervision3d_osflash.org"
 target="_blank">http://osflash.org/mailman/listinfo/papervision3d_osflash.org</a><br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
  <a moz-do-not-send="true" href="http://www.renkster.de/">http://www.renkster.de/</a><br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Papervision3D mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Papervision3D@osflash.org">Papervision3D@osflash.org</a>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/papervision3d_osflash.org">http://osflash.org/mailman/listinfo/papervision3d_osflash.org</a>
  </pre>
</blockquote>
<br>
</body>
</html>