I'm using away3d 3.5 and you can view source with a right click. I
was creating a little app to learn about all the materials away3d has
to offer and get a sense of how they perform, and I hit a snag. When
I apply a ShadingColorMaterial to my sphere, I get nothing but black.
I have a directional light pointing directly at it (0,0,1), and it can
be seen when you apply any of the other materials that are affected by
light that I have gotten to so far, but not the ShadingColorMaterial.
Any ideas?
> I'm using away3d 3.5 and you can view source with a right click. I
> was creating a little app to learn about all the materials away3d has
> to offer and get a sense of how they perform, and I hit a snag. When
> I apply a ShadingColorMaterial to my sphere, I get nothing but black.
> I have a directional light pointing directly at it (0,0,1), and it can
> be seen when you apply any of the other materials that are affected by
> light that I have gotten to so far, but not the ShadingColorMaterial.
> Any ideas?
> > I'm using away3d 3.5 and you can view source with a right click. I
> > was creating a little app to learn about all the materials away3d has
> > to offer and get a sense of how they perform, and I hit a snag. When
> > I apply a ShadingColorMaterial to my sphere, I get nothing but black.
> > I have a directional light pointing directly at it (0,0,1), and it can
> > be seen when you apply any of the other materials that are affected by
> > light that I have gotten to so far, but not the ShadingColorMaterial.
> > Any ideas?
Are you using the same directional light source for your PhongColorMaterial?
I believe that in 3.5 the directional light's direction property represents the direction the light is going towards, which is the opposite of the position property in the old Away3D, which represented the direction the light was coming from. So maybe your light is behind the sphere?
I would also suggest adding a Trident to your scene - they are great for debugging directions.
> > I'm using away3d 3.5 and you can view source with a right click. I > > was creating a little app to learn about all the materials away3d has > > to offer and get a sense of how they perform, and I hit a snag. When > > I apply a ShadingColorMaterial to my sphere, I get nothing but black. > > I have a directional light pointing directly at it (0,0,1), and it can > > be seen when you apply any of the other materials that are affected by > > light that I have gotten to so far, but not the ShadingColorMaterial. > > Any ideas?
I'm using the same directional light for all the materials listed in
the demo. That's what is so confusing. All the other shaded
materials are acting as I would expect, but the ShadingColorMaterial
shows nothing.
On Jun 15, 2:20 pm, Ralph Brooker <ra...@satprof.com> wrote:
> Are you using the same directional light source for your
> PhongColorMaterial?
> I believe that in 3.5 the directional light's direction property
> represents the direction the light is going towards, which is the opposite
> of the position property in the old Away3D, which represented the
> direction the light was coming from. So maybe your light is behind the
> sphere?
> I would also suggest adding a Trident to your scene - they are great for
> debugging directions.
> Ralph
> -----Original Message-----
> From: away3d-dev@googlegroups.com [mailto:away3d-dev@googlegroups.com] On
> Behalf Of savagelook
> Sent: Tuesday, June 15, 2010 2:13 PM
> To: Away3D.dev
> Subject: [away3d] Re: ShadingColorMaterial, no color?
> pretty please
> On Jun 14, 12:53 pm, savagelook <anthony.lukasav...@gmail.com> wrote:
> > any ideas?
> > On Jun 13, 11:15 pm, savagelook <anthony.lukasav...@gmail.com> wrote:
> > > I'm using away3d 3.5 and you can view source with a right click. I
> > > was creating a little app to learn about all the materials away3d has
> > > to offer and get a sense of how they perform, and I hit a snag. When
> > > I apply a ShadingColorMaterial to my sphere, I get nothing but black.
> > > I have a directional light pointing directly at it (0,0,1), and it can
> > > be seen when you apply any of the other materials that are affected by
> > > light that I have gotten to so far, but not the ShadingColorMaterial.
> > > Any ideas?
I am also having the same problem with the Away3D trunk version. It
works OK in 3.4.2 though. Is this a bug in 3.5 or is there a
different way we are supposed to use ShadingColorMaterial in 3.5?
What are the valid combinations of materials and lights in 3.5? I
can't find this info in the docs or source code.
All my objects and primitives that look fine in 3.4.2 are either black
or invisible when compiled with the current trunk version, even after
fixing errors due to syntax changes.
Ralph
On Jun 15, 3:15 pm, savagelook <anthony.lukasav...@gmail.com> wrote:
> I'm using the same directional light for all the materials listed in
> the demo. That's what is so confusing. All the other shaded
> materials are acting as I would expect, but theShadingColorMaterial
> shows nothing.
> On Jun 15, 2:20 pm, Ralph Brooker <ra...@satprof.com> wrote:
> > Are you using the same directional light source for your
> > PhongColorMaterial?
> > I believe that in 3.5 the directional light's direction property
> > represents the direction the light is going towards, which is the opposite
> > of the position property in the old Away3D, which represented the
> > direction the light was coming from. So maybe your light is behind the
> > sphere?
> > I would also suggest adding a Trident to your scene - they are great for
> > debugging directions.
> > Ralph
> > -----Original Message-----
> > From: away3d-dev@googlegroups.com [mailto:away3d-dev@googlegroups.com] On
> > Behalf Of savagelook
> > Sent: Tuesday, June 15, 2010 2:13 PM
> > To: Away3D.dev
> > Subject: [away3d] Re:ShadingColorMaterial, no color?
> > pretty please
> > On Jun 14, 12:53 pm, savagelook <anthony.lukasav...@gmail.com> wrote:
> > > any ideas?
> > > On Jun 13, 11:15 pm, savagelook <anthony.lukasav...@gmail.com> wrote:
> > > > I'm using away3d 3.5 and you can view source with a right click. I
> > > > was creating a little app to learn about all the materials away3d has
> > > > to offer and get a sense of how they perform, and I hit a snag. When
> > > > I apply aShadingColorMaterialto my sphere, I get nothing but black.
> > > > I have a directional light pointing directly at it (0,0,1), and it can
> > > > be seen when you apply any of the other materials that are affected by
> > > > light that I have gotten to so far, but not theShadingColorMaterial.
> > > > Any ideas?
> I am also having the same problem with the Away3D trunk version. It
> works OK in 3.4.2 though. Is this a bug in 3.5 or is there a
> different way we are supposed to use ShadingColorMaterial in 3.5?
> What are the valid combinations of materials and lights in 3.5? I
> can't find this info in the docs or source code.
> All my objects and primitives that look fine in 3.4.2 are either black
> or invisible when compiled with the current trunk version, even after
> fixing errors due to syntax changes.
> Ralph
> On Jun 15, 3:15 pm, savagelook <anthony.lukasav...@gmail.com> wrote:
> > I'm using the same directional light for all the materials listed in
> > the demo. That's what is so confusing. All the other shaded
> > materials are acting as I would expect, but theShadingColorMaterial
> > shows nothing.
> > On Jun 15, 2:20 pm, Ralph Brooker <ra...@satprof.com> wrote:
> > > Are you using the same directional light source for your
> > > PhongColorMaterial?
> > > I believe that in 3.5 the directional light's direction property
> > > represents the direction the light is going towards, which is the opposite
> > > of the position property in the old Away3D, which represented the
> > > direction the light was coming from. So maybe your light is behind the
> > > sphere?
> > > I would also suggest adding a Trident to your scene - they are great for
> > > debugging directions.
> > > > > I'm using away3d 3.5 and you can view source with a right click. I
> > > > > was creating a little app to learn about all the materials away3d has
> > > > > to offer and get a sense of how they perform, and I hit a snag. When
> > > > > I apply aShadingColorMaterialto my sphere, I get nothing but black.
> > > > > I have a directional light pointing directly at it (0,0,1), and it can
> > > > > be seen when you apply any of the other materials that are affected by
> > > > > light that I have gotten to so far, but not theShadingColorMaterial.
> > > > > Any ideas?
> On Jun 16, 10:51 am, Ralph B <ra...@satprof.com> wrote:
> > I am also having the same problem with the Away3D trunk version. It
> > works OK in 3.4.2 though. Is this a bug in 3.5 or is there a
> > different way we are supposed to useShadingColorMaterialin 3.5?
> > What are the valid combinations of materials and lights in 3.5? I
> > can't find this info in the docs or source code.
> > All my objects and primitives that look fine in 3.4.2 are either black
> > or invisible when compiled with the current trunk version, even after
> > fixing errors due to syntax changes.
> > Ralph
> > On Jun 15, 3:15 pm, savagelook <anthony.lukasav...@gmail.com> wrote:
> > > I'm using the same directional light for all the materials listed in
> > > the demo. That's what is so confusing. All the other shaded
> > > materials are acting as I would expect, but theShadingColorMaterial
> > > shows nothing.
> > > On Jun 15, 2:20 pm, Ralph Brooker <ra...@satprof.com> wrote:
> > > > Are you using the same directional light source for your
> > > > PhongColorMaterial?
> > > > I believe that in 3.5 the directional light's direction property
> > > > represents the direction the light is going towards, which is the opposite
> > > > of the position property in the old Away3D, which represented the
> > > > direction the light was coming from. So maybe your light is behind the
> > > > sphere?
> > > > I would also suggest adding a Trident to your scene - they are great for
> > > > debugging directions.
> > > > > > I'm using away3d 3.5 and you can view source with a right click. I
> > > > > > was creating a little app to learn about all the materials away3d has
> > > > > > to offer and get a sense of how they perform, and I hit a snag. When
> > > > > > I apply aShadingColorMaterialto my sphere, I get nothing but black.
> > > > > > I have a directional light pointing directly at it (0,0,1), and it can
> > > > > > be seen when you apply any of the other materials that are affected by
> > > > > > light that I have gotten to so far, but not theShadingColorMaterial.
> > > > > > Any ideas?
> Rob or Fabrice, can you give us some guidance please? Thanks in
> advance...
> On Jun 16, 11:09 am, savagelook <anthony.lukasav...@gmail.com> wrote:
> > good, im not crazy :)
> > On Jun 16, 10:51 am, Ralph B <ra...@satprof.com> wrote:
> > > I am also having the same problem with the Away3D trunk version. It
> > > works OK in 3.4.2 though. Is this a bug in 3.5 or is there a
> > > different way we are supposed to useShadingColorMaterialin 3.5?
> > > What are the valid combinations of materials and lights in 3.5? I
> > > can't find this info in the docs or source code.
> > > All my objects and primitives that look fine in 3.4.2 are either black
> > > or invisible when compiled with the current trunk version, even after
> > > fixing errors due to syntax changes.
> > > Ralph
> > > On Jun 15, 3:15 pm, savagelook <anthony.lukasav...@gmail.com> wrote:
> > > > I'm using the same directional light for all the materials listed in
> > > > the demo. That's what is so confusing. All the other shaded
> > > > materials are acting as I would expect, but theShadingColorMaterial
> > > > shows nothing.
> > > > On Jun 15, 2:20 pm, Ralph Brooker <ra...@satprof.com> wrote:
> > > > > Are you using the same directional light source for your
> > > > > PhongColorMaterial?
> > > > > I believe that in 3.5 the directional light's direction property
> > > > > represents the direction the light is going towards, which is the opposite
> > > > > of the position property in the old Away3D, which represented the
> > > > > direction the light was coming from. So maybe your light is behind the
> > > > > sphere?
> > > > > I would also suggest adding a Trident to your scene - they are great for
> > > > > debugging directions.
> > > > > > > I'm using away3d 3.5 and you can view source with a right click. I
> > > > > > > was creating a little app to learn about all the materials away3d has
> > > > > > > to offer and get a sense of how they perform, and I hit a snag. When
> > > > > > > I apply aShadingColorMaterialto my sphere, I get nothing but black.
> > > > > > > I have a directional light pointing directly at it (0,0,1), and it can
> > > > > > > be seen when you apply any of the other materials that are affected by
> > > > > > > light that I have gotten to so far, but not theShadingColorMaterial.
> > > > > > > Any ideas?
have you tried adjustin gthe brightness property on the directional light? this may be out of whack - the dot3 and phong materials use a different render process so may need updating to simulate the same light levels as the shadingcolormaterial
Rob
On Thu, Jun 24, 2010 at 2:31 PM, savagelook <anthony.lukasav...@gmail.com>wrote:
> On Jun 16, 3:05 pm, Ralph B <ra...@satprof.com> wrote: > > Rob or Fabrice, can you give us some guidance please? Thanks in > > advance...
> > On Jun 16, 11:09 am, savagelook <anthony.lukasav...@gmail.com> wrote:
> > > good, im not crazy :)
> > > On Jun 16, 10:51 am, Ralph B <ra...@satprof.com> wrote:
> > > > I am also having the same problem with the Away3D trunk version. It > > > > works OK in 3.4.2 though. Is this a bug in 3.5 or is there a > > > > different way we are supposed to useShadingColorMaterialin 3.5?
> > > > What are the valid combinations of materials and lights in 3.5? I > > > > can't find this info in the docs or source code.
> > > > All my objects and primitives that look fine in 3.4.2 are either > black > > > > or invisible when compiled with the current trunk version, even after > > > > fixing errors due to syntax changes.
> > > > Ralph
> > > > On Jun 15, 3:15 pm, savagelook <anthony.lukasav...@gmail.com> wrote:
> > > > > I'm using the same directional light for all the materials listed > in > > > > > the demo. That's what is so confusing. All the other shaded > > > > > materials are acting as I would expect, but theShadingColorMaterial > > > > > shows nothing.
> > > > > On Jun 15, 2:20 pm, Ralph Brooker <ra...@satprof.com> wrote:
> > > > > > Are you using the same directional light source for your > > > > > > PhongColorMaterial?
> > > > > > I believe that in 3.5 the directional light's direction property > > > > > > represents the direction the light is going towards, which is the > opposite > > > > > > of the position property in the old Away3D, which represented the > > > > > > direction the light was coming from. So maybe your light is > behind the > > > > > > sphere?
> > > > > > I would also suggest adding a Trident to your scene - they are > great for > > > > > > debugging directions.
> > > > > > > > I'm using away3d 3.5 and you can view source with a right > click. I > > > > > > > > was creating a little app to learn about all the materials > away3d has > > > > > > > > to offer and get a sense of how they perform, and I hit a > snag. When > > > > > > > > I apply aShadingColorMaterialto my sphere, I get nothing but > black. > > > > > > > > I have a directional light pointing directly at it (0,0,1), > and it can > > > > > > > > be seen when you apply any of the other materials that are > affected by > > > > > > > > light that I have gotten to so far, but not > theShadingColorMaterial. > > > > > > > > Any ideas?
> have you tried adjustin gthe brightness property on the directional light?
> this may be out of whack - the dot3 and phong materials use a different
> render process so may need updating to simulate the same light levels as the
> shadingcolormaterial
> Rob
> On Thu, Jun 24, 2010 at 2:31 PM, savagelook <anthony.lukasav...@gmail.com>wrote:
> > No help here?
> > On Jun 16, 3:05 pm, Ralph B <ra...@satprof.com> wrote:
> > > Rob or Fabrice, can you give us some guidance please? Thanks in
> > > advance...
> > > On Jun 16, 11:09 am, savagelook <anthony.lukasav...@gmail.com> wrote:
> > > > good, im not crazy :)
> > > > On Jun 16, 10:51 am, Ralph B <ra...@satprof.com> wrote:
> > > > > I am also having the same problem with the Away3D trunk version. It
> > > > > works OK in 3.4.2 though. Is this a bug in 3.5 or is there a
> > > > > different way we are supposed to useShadingColorMaterialin 3.5?
> > > > > What are the valid combinations of materials and lights in 3.5? I
> > > > > can't find this info in the docs or source code.
> > > > > All my objects and primitives that look fine in 3.4.2 are either
> > black
> > > > > or invisible when compiled with the current trunk version, even after
> > > > > fixing errors due to syntax changes.
> > > > > Ralph
> > > > > On Jun 15, 3:15 pm, savagelook <anthony.lukasav...@gmail.com> wrote:
> > > > > > I'm using the same directional light for all the materials listed
> > in
> > > > > > the demo. That's what is so confusing. All the other shaded
> > > > > > materials are acting as I would expect, but theShadingColorMaterial
> > > > > > shows nothing.
> > > > > > On Jun 15, 2:20 pm, Ralph Brooker <ra...@satprof.com> wrote:
> > > > > > > Are you using the same directional light source for your
> > > > > > > PhongColorMaterial?
> > > > > > > I believe that in 3.5 the directional light's direction property
> > > > > > > represents the direction the light is going towards, which is the
> > opposite
> > > > > > > of the position property in the old Away3D, which represented the
> > > > > > > direction the light was coming from. So maybe your light is
> > behind the
> > > > > > > sphere?
> > > > > > > I would also suggest adding a Trident to your scene - they are
> > great for
> > > > > > > debugging directions.
> > > > > > > > > I'm using away3d 3.5 and you can view source with a right
> > click. I
> > > > > > > > > was creating a little app to learn about all the materials
> > away3d has
> > > > > > > > > to offer and get a sense of how they perform, and I hit a
> > snag. When
> > > > > > > > > I apply aShadingColorMaterialto my sphere, I get nothing but
> > black.
> > > > > > > > > I have a directional light pointing directly at it (0,0,1),
> > and it can
> > > > > > > > > be seen when you apply any of the other materials that are
> > affected by
> > > > > > > > > light that I have gotten to so far, but not
> > theShadingColorMaterial.
> > > > > > > > > Any ideas?
> --
> Rob Bateman
> Flash Development & Consultancy