[Papervision3D] Papervision3D Digest, Vol 26, Issue 48
steve at gingerman.co.uk
Fri Nov 7 04:52:40 PST 2008
Re: Re: [Papervision3D] Applying material "only" to Cylinder
Thanks that works perfectly.
I had looked through the classes and must have missed this.
I have found it in MaterialObject3D.as
On 7 Nov 2008, at 12:26, papervision3d-request at osflash.org wrote:
> YourMaterial.doubleSided = false
> YourMaterial.opposite = true
> 2008/11/7 Stephen Matthews <steve at gingerman.co.uk>
>> I need to apply a bitmap material to the inner surface of a
>> Cylinder only.
>> You can -
>> apply a material to the outside.
>> apply a material to the outside and inside ( using the doubleSided
>> You can not -
>> apply a material to the inside and not the outside.
>> To get around this I have tried using two cylinders - one inside
>> the other,
>> the inside cylinder set to double sided - the outside cylinder set
>> to single
>> sided, but the two cylinders interact with each other causing
>> artifacts (
>> triangles busting through ) even if they are different Radius sizes.
>> There must be a part of the Cylinder.as code which draws the inside
>> outside material, but I can't get a grip on it. If you can point me
>> in the
>> right direction that would be great.
>> Maybe I am misunderstanding how Materials work?
>> ( using Great White )_
232 Manchester Road,
07779 613 740
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D