thanks, Fabrice
I have some FlexBuilder project
is there some tutorial, how to create that connector?
and use it from preFab
but will it create the same shadow as WhiteShadingBitmapMaterial does?
thanks
On Apr 19, 2010, at 4:59 PM, Fabrice3D wrote:
> download Prefab, import a sphere via connector or as external 3d object,
> select render normalmap, save...
> you also can use your map as bumpmap to add some volume to the continents.
>
> you can find this technological wonder here :))
> www.closier.nl/prefab
>
> Fabrice
>
>
>
> On Apr 19, 2010, at 10:37 PM, Dmitry Markman wrote:
>
>> Hi Fabrice,
>>
>> but if I use dot3 I guess I need some normal mapping
>> how I build that normal map for the earth surface?
>>
>> I tried to use the same image for the normal map, but then I
>> can't see nice shadow from the sun
>> <PastedGraphic-2.png>
>>
>> WhiteShadingBitmapMaterial works just fine, but no smoothing
>> so I guess I have to add some shader
>> I'm new in that business
>>
>> thanks in advance
>>
>> On Apr 19, 2010, at 3:47 PM, Fabrice3D wrote:
>>
>>> Why not use dot3 material?
>>>
>>> Fabrice
>>>
>>>
>>> On Apr 19, 2010, at 9:29 PM, Dmitry Markman wrote:
>>>
>>>> Hi
>>>> I have a problem with earth texture
>>>> currently I have the following rendering
>>>>
>>>> <PastedGraphic-1.png>
>>>>
>>>>
>>>> is it possible to get smooth texture?
>>>>
>>>> here is the code for creating earth:
>>>>
>>>> var earthMat:WhiteShadingBitmapMaterial = new
>>>> WhiteShadingBitmapMaterial(BitmapAsset(new earthClass()).bitmapData);
>>>> earthMat.ambient_brightness = 2;
>>>> earthMat.diffuse_brightness = 8; //for Jupiter 4;
>>>> earthMat.specular_brightness = 0;
>>>> earthMat.smooth = true;
>>>> _earth = new Sphere( { material:earthMat,
>>>> radius:solar.earth.radius,
>>>> segmentsW:32, segmentsH:32,
>>>> name:"earth",
>>>> y:0,
>>>> x:0,
>>>> z:0 } );
>>>>
>>>> thanks in advance
>>>>
>>>> Dmitry Markman
>>>>
>>>
>>
>> Dmitry Markman
>>
>
Dmitry Markman
--
Subscription settings: http://groups.google.com/group/away3d-dev/subscribe?hl=en