⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flash_3d教程——闪吧 flash8.htm

📁 3D教程,简明地介绍了如何在flash中实现3维坐标转化成屏幕坐标,也讲述了如何旋转3D物体.内附了几个3D源文件.
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0037)http://www2.flash8.net/teach/3741.htm -->
<HTML><HEAD><TITLE>FLASH_3D教程——从头开始 教程 闪吧 Flash8 Flash MTV 闪客 动画 源文件 教材 动漫 音效 矢量 软件 字库 排行榜 源码</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META 
content="flash,flash8,design,china,web design,dreamweaver,firework,flash,forum,3D,photoshop,动画,卡通,闪吧,闪客,音效,字体,网站制作,建站程序,网页设计,设计论坛,flash制作,资源,教学,Flash教学,Chinese Flash,Movie,Flash Movie,排行榜,中国闪客,论坛,Flash 作品,教学,教程,Flash MX 2004,Flash MX,下载,动画,中国动画,动漫,Macromedia Flash,FLA,SWF,Sound Library,tutorials,FAQ" 
name=Keywords>
<META content=专业的中国flash资源门户网站,为您提供Flash动画以及网络应用的相关资源 name=Description>
<STYLE type=text/css>BODY {
	BACKGROUND-IMAGE: url(../images/bg.gif); MARGIN: 0px
}
.style1 {
	COLOR: #999999
}
.style9 {
	COLOR: #ff3300
}
.styled {
	COLOR: #ff6600
}
.styleyw {
	FONT-SIZE: 9px; COLOR: #999999
}
.stylefont {
	FONT-SIZE: 14px; COLOR: #666666
}
.stylefont2 {
	FONT-SIZE: 13px; COLOR: #666666
}
.styletopic {
	FONT-SIZE: 15px; COLOR: #5500aa
}
</STYLE>

<SCRIPT src="FLASH_3D教程——闪吧 Flash8.files/flash8.js"></SCRIPT>
<LINK href="FLASH_3D教程——闪吧 Flash8.files/f8.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<SCRIPT language=JavaScript 
src="FLASH_3D教程——闪吧 Flash8.files/head_teach.js"></SCRIPT>

<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
  <TR>
    <TD vAlign=top bgColor=#ffffff>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD 
        background="FLASH_3D教程——闪吧 Flash8.files/diandian.gif">&nbsp;</TD></TR>
        <TR>
          <TD background="FLASH_3D教程——闪吧 Flash8.files/dot_line_bg.gif" 
height=20>
            <DIV align=left><SPAN class=style1><IMG height=5 
            src="FLASH_3D教程——闪吧 Flash8.files/spacer.gif" width=15><A 
            href="http://www.flash8.net/">闪吧首页</A>&nbsp;<IMG height=10 
            src="FLASH_3D教程——闪吧 Flash8.files/to.gif" width=7>&nbsp;<A 
            href="http://www2.flash8.net/teach/">教材区</A>&nbsp;&nbsp;<IMG 
            height=10 src="FLASH_3D教程——闪吧 Flash8.files/to.gif" width=7>&nbsp;<A 
            href="http://www2.flash8.net/teach/list.aspx?c_id=1055">Flash教学</A>&nbsp;&nbsp;<IMG 
            height=10 src="FLASH_3D教程——闪吧 Flash8.files/to.gif" width=7>&nbsp;<A 
            href="http://www2.flash8.net/teach/list.aspx?c_id=1055&amp;s_id=1080">Action应用</A>&nbsp;</SPAN><BR></DIV></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
        <TBODY>
        <TR>
          <TD height=8></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
  <TR>
    <TD vAlign=top bgColor=#ffffff>
      <TABLE cellSpacing=0 cellPadding=0 width=600 align=center border=0>
        <TBODY>
        <TR>
          <TD vAlign=top>
            <TABLE cellSpacing=0 cellPadding=0 width=559 align=center 
              border=0><TBODY>
              <TR>
                <TD background="FLASH_3D教程——闪吧 Flash8.files/teach_head.gif" 
                height=14></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=559 align=center 
              border=0><TBODY>
              <TR>
                <TD>
                  <TABLE cellSpacing=0 cellPadding=0 width=559 border=0>
                    <TBODY>
                    <TR>
                      <TD width=10 
                      background="FLASH_3D教程——闪吧 Flash8.files/teach_left.gif"></TD>
                      <TD height=120>
                        <TABLE cellSpacing=0 cellPadding=0 width=515 
                        align=center border=0>
                          <TBODY>
                          <TR>
                            <TD width=30 
                            background="FLASH_3D教程——闪吧 Flash8.files/xianxian.gif" 
                            height=20><IMG height=20 
                              src="FLASH_3D教程——闪吧 Flash8.files/teach_topic.gif" 
                              width=30></TD>
                            <TD 
                            background="FLASH_3D教程——闪吧 Flash8.files/xianxian.gif">
                              <DIV align=left><SPAN 
                              class="styletopic btd">FLASH_3D教程——从头开始</SPAN> 
                              <BR></DIV></TD></TR></TBODY></TABLE>
                        <TABLE cellSpacing=0 cellPadding=0 width=515 
                        align=center border=0>
                          <TBODY>
                          <TR>
                            <TD height=4></TD></TR></TBODY></TABLE>
                        <TABLE cellSpacing=0 cellPadding=0 width=515 
                        align=center border=0>
                          <TBODY>
                          <TR>
                            <TD bgColor=#bbbbbb height=2></TD></TR></TBODY></TABLE>
                        <TABLE cellSpacing=0 cellPadding=0 width=515 
                        align=center border=0>
                          <TBODY>
                          <TR>
                            <TD class=stylefont2 height=28>作者:<A 
                              href="http://www.flash8.net/user/teach.asp?username=kianxin">kianxin</A>&nbsp;&nbsp;来源:<A 
                              href="http://www2.flash8.net/teach/" 
                              target=_blank>闪吧</A>
                            <TD>
                          <TR>
                            <TD height=20><SPAN class=style1>时间: 
                              2005年8月8&nbsp;&nbsp;类型:&nbsp;原创 &nbsp;</SPAN></TD>
                          <TR>
                            <TD height=20><IFRAME 
                              src="FLASH_3D教程——闪吧 Flash8.files/click.htm" 
                              frameBorder=0 width=500 scrolling=no 
                              height=20></IFRAME></TD>
                          <TR>
                            <TD height=20><SPAN class=style1><A 
                              onclick="tURL('教材区|FLASH_3D教程——从头开始',3741,'tutorials');return false" 
                              href="http://www2.flash8.net/teach/<%=id%>">收藏</A>&nbsp;<A 
                              onclick="open_win(this.href,'send',500,400,'no');return false" 
                              href="http://www2.flash8.net/teach/send.asp?title=FLASH_3D教程——从头开始&amp;url=http://teach.flash8.net/3741.htm">发送</A> 
                              <A 
                              href="http://www2.flash8.net/teach/3741.htm#gbook">评论</A> 
<%=votevote%><A 
                              href="javascript:printNews()">打印</A>
                              <SCRIPT>
function runCode(){
  var code=event.srcElement.parentElement.children[0].value;
  with(window.open("")){  
  opener = null
  document.open("text/html")
  document.write(code); 
  document.close();
  }
}
function copyCode(){
  var obj=event.srcElement.parentElement.children[0];
  obj.select();
  obj.createTextRange().execCommand("Copy");
}
function printNews(){
sHTML="<title>FLASH_3D教程——从头开始<\/title><center>FLASH_3D教程——从头开始</center><br>"+document.getElementById("txts").innerHTML+"<script defer>window.print()<\/script>"
document.write(sHTML)
}
function setFont(n){
		event.returnValue=false
		document.getElementById("txts").runtimeStyle.fontSize=n;
}
																		</SCRIPT>
                               字体选择: <A onclick=setFont(15) 
                              href="http://www2.flash8.net/改变字体为大">大</A>&nbsp;<A 
                              onclick=setFont(14) 
                              href="http://www2.flash8.net/改变字体为中">中</A>&nbsp;<A 
                              onclick=setFont(12) 
                              href="http://www2.flash8.net/改变字体为小">小</A></SPAN> 
                            </TD></TR></TBODY></TABLE></TD>
                      <TD width=9 
                      background="FLASH_3D教程——闪吧 Flash8.files/teach_right.gif"></TD></TR></TBODY></TABLE></TD></TR>
              <TR>
                <TD background="FLASH_3D教程——闪吧 Flash8.files/teach_r4_c2.gif" 
                height=13></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
  <TR>
    <TD vAlign=top bgColor=#ffffff>
      <TABLE style="TABLE-LAYOUT: fixed" cellSpacing=0 cellPadding=0 width=600 
      align=center border=0>
        <TBODY>
        <TR>
          <TD class=content id=txts><BR>
            <DIV align=center>FLASH_3D教程——从头开始</DIV>
            <DIV></DIV>
            <P>
            <DIV align=center>作者kianxin</DIV>
            <DIV></DIV>
            <P>
            <DIV><FONT face=宋体></FONT><BR><IMG 
            src="FLASH_3D教程——闪吧 Flash8.files/fla.gif" border=0> <A 
            href="http://www.flash8.net/bbs/viewFile.asp?Boardid=10&amp;ID=261629" 
            target=_blank>点击浏览该文件</A><BR><BR><IMG 
            src="FLASH_3D教程——闪吧 Flash8.files/swf.gif" border=0> <A 
            href="http://www.flash8.net/bbs/UploadFile/2005-8/200586131420726.swf" 
            target=_blank>点击浏览该文件</A><BR><FONT face=宋体></FONT></DIV>
            <DIV></DIV>
            <P>
            <DIV><FONT 
            face=宋体>大家都知道三维的点都有3个坐标,但FLASH只是有二维的坐标,所以要在FLASH里实现“三维”的效果,就需要对点的坐标进行转化,简单的说,就是怎么把三维坐标转换成二维坐标。(其实,这并不是真正的三维,而是一种视觉欺骗,看上去像三维的就这么回事。所以上面三维带引号。)</FONT></DIV>
            <DIV></DIV>
            <P>
            <DIV><FONT face=宋体>一、三维坐标系转化成二维坐标系</FONT></DIV>
            <DIV></DIV>
            <P>
            <DIV><FONT face=宋体>(1)、坐标的转换</FONT></DIV>
            <DIV></DIV>
            <P>
            <DIV><FONT 
            face=宋体>  flash中场景左上角为(0,0),而在数学中是场景中心为(0,0),怎样把它转成数学中的坐标系呢? </FONT></DIV>
            <DIV></DIV>
            <P>
            <P>
            <TABLE cellSpacing=0 cellPadding=0 width="100%">
              <TBODY>
              <TR>
                <TD>
                  <DIV>
                  <DIV><FONT face="Times New Roman">FLASH</FONT>里的坐标视图</DIV>
                  <DIV></DIV>
                  <DIV></DIV>
                  <DIV></DIV>
                  <DIV></DIV>
                  <DIV></DIV>
                  <DIV></DIV>
                  <DIV></DIV></DIV></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width="100%">
              <TBODY>
              <TR>
                <TD>
                  <DIV>
                  <DIV><FONT face="Times New Roman">x</FONT></DIV>
                  <DIV></DIV>
                  <DIV></DIV>
                  <DIV></DIV>
                  <DIV></DIV>
                  <DIV></DIV>
                  <DIV></DIV>
                  <DIV></DIV></DIV></TD></TR></TBODY></TABLE><FONT 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -