does that apply to all primitives or just a Plane primitive?? I am currently using:
cube.cubeMaterials.top = materialA cube.cubeMaterials.bottom = materialB which is setting the material for each of the faces. if I use: cube.material = materialA cube.back = materialB how do specify what goes on what individual face ie front back left right top bottom? I am not sure how to setup a uvMap jpg for the material, does it look anything like the material used for a skybox for example? thanks again ;) On Aug 28, 2:04 am, Peter Kapelyan <[email protected]> wrote: > myObject.material = Sets your front (outside) material > myObject.back = Sets your back (inside) material > > :) > > -Pete > > > > > > On Thu, Aug 27, 2009 at 7:11 PM, morphean <[email protected]> wrote: > > > is that how to apply materials to both the inside and outside or just > > to increase the subdivisions.. > > > is is possible to put materialA on the outside of a cube and materialB > > on the inside?? > > > thanks > > > On Aug 27, 10:50 pm, Fabrice3D <[email protected]> wrote: > > > you can use splitFaces /2 or trifaces /3 before use the quarterFaces /4. > > > > sure you can map using the map6 property and set a back material > > > property > > > > Fabrice > > > > On Aug 27, 2009, at 8:57 PM, Peter Kapelyan wrote: > > > > > If you are using the F10 version (f10 is at 80+% penetration now), > > > > you won't have the precision problem. > > > > > If you are using the 9 version, it would be material.precision=5 > > > > (smaller number more precision). > > > > > Or you can subdivide into more triangles using > > > > myObject.quarterFaces(); > > > > > Although using the f10 version is probably the best performing > > > > choice, if it's possible for you. > > > > > -Pete > > > > > On Thu, Aug 27, 2009 at 2:45 PM, morphean <[email protected]> wrote: > > > > > I am using a cube with a png material at 512x512 pixels, the material > > > > for the surface has straight line in it, but once viewing inside the > > > > cube, the lines become curvy or wavy. Is there anyway to increase the > > > > precision or increase the amount of triangles for the surfaces. > > > > > also is there anyway to skin a cube with different materials on the > > > > inside and the outside, or is the only way around this to use a set of > > > > planes. > > > > > In terms of performance is there any difference between importing a > > > > 3ds or dae of a simple cube, or just create it in AW3d with the normal > > > > new Cube() method? > > > > > thanks in advance and keep up the good work all!! > > > > > -- > > > > ___________________ > > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > > HTTP://AWAY3D.COM > > -- > ___________________ > > Actionscript 3.0 Flash 3D Graphics Engine > > HTTP://AWAY3D.COM
