myMaterial.bothSides = true;
its now set via materials and not as in previous engines set on meshes.
note also the "bothSides" < cap "S" vs old all lowercase "bothsides"

Fabrice

On Apr 27, 2011, at 8:04 PM, laurid_meyer wrote:

> Hi, I'm really stunned what is possible with away3D 4 and Molehill.
> Thanks for giving us a prerelease so we can develop with this new
> great technology.
> 
> I get the same Error like Bas Van Zutphen on a simple Cube with a
> simple colorMaterial.
> I have the latest SVN Trunk from 27.04.2011
> 
> Any solutions to this?
> 
> If this MeshHelper works the problem with the invert faces would be
> solved, but what's about the bothsides property? Is it possible to
> make a cube primitive two sided?
> 
> Thanks a lot!
> 
> On 17 Mrz., 13:32, Fabrice3D <[email protected]> wrote:
>> just runned a test with a cube primitive, invertFaces works as expected.
>> are you sure you use the latest svn version?
>> 
>> Fabrice
>> 
>> On Mar 17, 2011, at 12:03 PM, Bas Van Zutphen wrote:
>> 
>>> Thanks I might have to use that instead indeed!
>> 
>>> However still, the invertFaces function works for me, but it breaks my cube
>> 
>>> Here is what it looks like now:http://i54.tinypic.com/91di8l.png
>> 
>>> 2011/3/17 John Brookes <[email protected]>
>>> Use skyBox class for environment cube
>> 
>>> There is
>>> MeshHelper.invertFaces(yourMesh);
>>> but that throws an error for me.
>> 
>> 

Reply via email to