you can apply 2 materials per face.
front face material comes standard
var sp:Sphere = new Sphere({material:frontmaterial, radius:500,
segmentsH:10, segmentsW:10});
now since the front material would be, say, seas at .1 alpha, land at 1
to see the back faces, you need to set the property bothsides to true.
now the back faces would display the same material.
imagine you want to see across the seas of the front faces some little
differences on the back faces,
just add a back material
so you final init object would look like this:
var sp:Sphere = new Sphere({material:frontmaterial, bothsides:true,
back:backMaterial, radius:500, segmentsH:10, segmentsW:10});
Fabrice
On Feb 23, 2009, at 9:46 AM, Penang Student wrote:
Hi fabrice ....how do i make the behind side alpha .6 ? i dun get it
how to apply the same image to the behind side as well inside the
sphere object ?
On Feb 20, 5:37 pm, Fabrice <[email protected]> wrote:
the most basic way is to make a texture,
say sea = transparent.
sphere.bothsides = true...
then back material could be same image where the continents are in
alpha .6...
Fabrice
On Feb 20, 2009, at 9:27 AM, Penang Student wrote:
Is there anyway to create a trasparent globe in away3D?
How do i achived it ? What should i use... i been struggle here for
quite a while already..can anyone help me ?- Hide quoted text -
- Show quoted text -