هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.


اهلا بك يا زائر منور المنتدى مشاركاتك هي 0 يلا شدلنا حيلك وشارك كمان
 
الرئيسيةبوابة المبدعينأحدث الصورالتسجيلالتسجيلدخول

 

 أكشن ] إنشاء الأشكال الثلاثية الأبعاد

اذهب الى الأسفل 
2 مشترك
كاتب الموضوعرسالة
الزعيم
₪ ادآرة المنتدى ₪
₪ ادآرة المنتدى ₪
الزعيم


أكشن ] إنشاء الأشكال الثلاثية الأبعاد Ouooou12
رقم العضوية : 1
عدد المشاركات : 1132
العمر : 29
الهواية الهواية : أكشن ] إنشاء الأشكال الثلاثية الأبعاد Writin10
المهنة : أكشن ] إنشاء الأشكال الثلاثية الأبعاد Studen10
المزاج المزاج : أكشن ] إنشاء الأشكال الثلاثية الأبعاد Pi-ca-10
جنسيتي جنسيتي : Syria
برنامج التصميم : أكشن ] إنشاء الأشكال الثلاثية الأبعاد 5ov28x
نقاط الخبرة : 17731
احترام قوانين المنتدى : 100%
أكشن ] إنشاء الأشكال الثلاثية الأبعاد Ououo10
أكشن ] إنشاء الأشكال الثلاثية الأبعاد Uuouso10

أكشن ] إنشاء الأشكال الثلاثية الأبعاد Empty
مُساهمةموضوع: أكشن ] إنشاء الأشكال الثلاثية الأبعاد   أكشن ] إنشاء الأشكال الثلاثية الأبعاد 111الثلاثاء فبراير 16, 2010 5:10 am

السلام عليكم ورحمة الله وبركاته ...
أكشن خفيف وجميل للأشكال الثلاثية الأبعاد ...
:) :) :)
أولاً أضف سبيريت جديد وسمه
torus
ثم أضف الأكشن الموجود
ثم اضغط على Ctrl T لتجربة عملك ...


تحياتي الزعيم

:farao: :farao: :farao:

الاكشن

الكود:
onLoad () {
    distance=1000;
    sinx = math.sindeg(2);
    siny = math.sindeg(3);
    cosx = math.cosdeg(2);
    cosy = math.cosdeg(3);
    sphere=[[0.9662,-96.6184,0.9662],
[0.9662,-48.3092,84.6402],
[-71.4976,-48.3092,42.8032],
[-71.4976,-48.3092,-40.8708],
[0.9662,-48.3092,-82.7078],
[73.43,-48.3092,-40.8708],
[73.43,-48.3092,42.8032],
[0.9662,48.3092,84.6402],
[-71.4976,48.3092,42.8032],
[-71.4976,48.3092,-40.8708],
[0.9662,48.3092,-82.7078],
[73.43,48.3092,-40.8708],
[73.43,48.3092,42.8032],
[0.9662,96.6184,0.9662]];
    faces=[
[0,1,2,153],
[0,2,3,136],
[0,3,4,153],
[0,4,5,136],
[0,5,6,153],
[0,6,1,136],
[1,7,8,187],
[1,8,2,170],
[2,8,9,187],
[2,9,3,170],
[3,9,10,187],
[3,10,4,170],
[4,10,11,187],
[4,11,5,170],
[5,11,12,187],
[5,12,6,170],
[6,12,7,187],
[6,7,1,170],
[13,8,7,153],
[13,9,8,136],
[13,10,9,153],
[13,11,10,136],
[13,12,11,153],
[13,7,12,136]];
}
function convert(number_) {
    hex = toString(number_,16);
    if (number_>15) {
        return ("0x"+hex+hex+hex);
    } else {
        return ("0x0"+hex+"0"+hex+"0"+hex);
    }
}
onEnterFrame() {
    for (d=0; d<sphere.length; ++d) {
        tmpzpos = sphere[d][2] * cosy - sphere[d][0] * siny;
        sphere[d][0] = sphere[d][2] * siny + sphere[d][0] * cosy;
        sphere[d][2] = sphere[d][1] * sinx + tmpzpos * cosx;
        sphere[d][1] = sphere[d][1] * cosx - tmpzpos * sinx;
    }
    _root.torus.clear();
    for (sa=0; sa<_root.torus.faces.length; ++sa) {
        p1x=(_root.torus.distance/(_root.torus.sphere[_root.torus.faces[sa][0]][2]+_root.torus.distance))*_root.torus.sphere[_root.torus.faces[sa][0]][0]+_root.screenx;
        p1y=(_root.torus.distance/(_root.torus.sphere[_root.torus.faces[sa][0]][2]+_root.torus.distance))*_root.torus.sphere[_root.torus.faces[sa][0]][1]+_root.screeny;
        p2x=(_root.torus.distance/(_root.torus.sphere[_root.torus.faces[sa][1]][2]+_root.torus.distance))*_root.torus.sphere[_root.torus.faces[sa][1]][0]+_root.screenx;
        p2y=(_root.torus.distance/(_root.torus.sphere[_root.torus.faces[sa][1]][2]+_root.torus.distance))*_root.torus.sphere[_root.torus.faces[sa][1]][1]+_root.screeny;
        p3x=(_root.torus.distance/(_root.torus.sphere[_root.torus.faces[sa][2]][2]+_root.torus.distance))*_root.torus.sphere[_root.torus.faces[sa][2]][0]+_root.screenx;
        p3y=(_root.torus.distance/(_root.torus.sphere[_root.torus.faces[sa][2]][2]+_root.torus.distance))*_root.torus.sphere[_root.torus.faces[sa][2]][1]+_root.screeny;
        varz=(p2x-p1x)*(p3y-p1y)-(p2y-p1y)*(p3x-p1x);
        if (varz<0) {
            _root.createemptymovieclip ("sphere", 4);
            tellTarget (_root.torus) {
                beginFill ((_root.torus.faces[sa][3])-math.abs(90+(int(_root.torus.varz/100))), 100);
                moveTo (_root.torus.p1x,_root.torus.p1y);
                lineTo (_root.torus.p2x,_root.torus.p2y);
                lineTo (_root.torus.p3x,_root.torus.p3y);
                endFill();
            }
        }
    }
}
الرجوع الى أعلى الصفحة اذهب الى الأسفل
http://abomhamad.deviantart.com/ https://www.facebook.com/home.php?ref=home https://graphics.mam9.com
دكستر
₪ ادآرة المنتدى ₪
₪ ادآرة المنتدى ₪
دكستر


أكشن ] إنشاء الأشكال الثلاثية الأبعاد Ouooou12
رقم العضوية : 3
عدد المشاركات : 818
العمر : 27
الهواية الهواية : أكشن ] إنشاء الأشكال الثلاثية الأبعاد Travel10
المهنة : أكشن ] إنشاء الأشكال الثلاثية الأبعاد Studen10
المزاج المزاج : أكشن ] إنشاء الأشكال الثلاثية الأبعاد Pi-ca-11
جنسيتي جنسيتي : Syria
برنامج التصميم : أكشن ] إنشاء الأشكال الثلاثية الأبعاد 23vdh50
نقاط الخبرة : 17103
احترام قوانين المنتدى : 100%
أكشن ] إنشاء الأشكال الثلاثية الأبعاد Ououo10
أكشن ] إنشاء الأشكال الثلاثية الأبعاد Uuouso10

أكشن ] إنشاء الأشكال الثلاثية الأبعاد Empty
مُساهمةموضوع: رد: أكشن ] إنشاء الأشكال الثلاثية الأبعاد   أكشن ] إنشاء الأشكال الثلاثية الأبعاد 111الخميس فبراير 24, 2011 6:11 am

يـــعطيك الف عافيه
للامام
الرجوع الى أعلى الصفحة اذهب الى الأسفل
 
أكشن ] إنشاء الأشكال الثلاثية الأبعاد
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
 :: || أقســام ـالفوتوشوب و التصميم ~ :: || All For SWISH Max & Flash ~-
انتقل الى:  




 

ملتقى الابداع والمبدعين

أكشن ] إنشاء الأشكال الثلاثية الأبعاد S


Designed And Developing By graphics.mam9.com
Supporting : firefox, IE 7, IE 8, GC 1, AB 11.7
Vida Style [Ver 1.0] With css