inicio mail me! sindicaci;ón

《Papervision3D Essentials》中文翻译

 转自http://lushisang.com/?p=36

《Papervision3D Essentials》是一本最新的Papervision3D入门书,对学习Papervision3D很有帮助。以下是中文翻译,版权归原书作者和出 版社所有,感谢他们,感谢为大家付出时间和精力的翻译志愿者。每个翻译者是自己翻译的那部分内容的负责人,包括权利和义务。感谢riabook.cn发布了活动公告,感谢9ria.com置顶了翻译事项帖子,它们对翻译活动起了很大帮助。

因为是业余翻译,有人比较简化,加入了自己的理解,有人喜欢一一对应,直译每句话,水平也各异,审核和排版方面也不够专业,有错漏不一之处,还请见谅。会英语可以直接看原版英语书,翻译只做参考,这样可能更容易理解。

部分内容还正在翻译,请耐心等待。大家有问题可以在此贴讨论,或者另外发帖讨论。:-)

英语电子书下载地址:http://www.riabook.cn/en_book/papervision3d-essentials.htm

书中源码下载地址:http://www.packtpub.com/files/code/5722_Code.zip

《Papervision3D Essentials》中文翻译

1.Setting Up 准备

http://docs.google.com/Doc?docid … OG5jNQ&hl=zh_CN

2.Building Your First Application 构建你的第一个应用
风飘飘飘飘~~
http://e.ys168.com/?superherosk123的pv3d目录(用IE访问)
http://docs.google.com/fileview? … U4MDhi&hl=zh_CN

3.Primitives 基本几何体
风飘飘飘飘~~
http://e.ys168.com/?superherosk123的pv3d目录(用IE访问)
http://docs.google.com/fileview? … JmNjE4&hl=zh_CN

4.Materials 材质
kenjor
http://docs.google.com/fileview? … A2NzJm&hl=zh_CN

5.Cameras 摄像机
风飘飘飘飘~~
http://e.ys168.com/?superherosk123的pv3d目录(用IE访问)
http://docs.google.com/fileview? … g0NTY2&hl=zh_CN

6.Moving Things Around 移动物体/物体运动(两个版本)
骜鹰傲,缺最后一节部分内容
http://docs.google.com/fileview? … llOTk5&hl=zh_CN
风飘飘飘飘~~,完整版
http://e.ys168.com/?superherosk123的pv3d目录(用IE访问)
http://docs.google.com/fileview? … JhOTBl&hl=zh_CN

7.Shading 着色
kenjor
http://docs.google.com/fileview? … MwNTM1&hl=zh_CN

8.External Models 外部模型
郝檬
http://docs.google.com/fileview? … RmYjgw&hl=zh_CN

9.Z-Sorting Z排序
夜梦
http://docs.google.com/fileview? … lkOGI0&hl=zh_CN

10.Particles 粒子

http://docs.google.com/Doc?docid … cnR3OQ&hl=zh_CN

11.Filters and Effects 滤镜和效果
sliz,1-5节,博客:http://space.flash8.net/space/?534614/
陆,5-10节
http://docs.google.com/Doc?docid … 2tkaHM&hl=zh_CN

12.3D Vector Drawing and Text 3D矢量绘图和文本(未完)
月之魂

13.Optimizing Performance 性能的优化
老五
http://docs.google.com/fileview? … Y2YTky&hl=zh_CN

程序简记

检测单选、多选框是否选中
if ($(’#radl input:checked’).val() == undefined) …

与中国一起成长 宝洁在华20年

与中国一起成长

素材

字体下载
http://www.homefont.cn/

网页素材
http://www.zcool.com.cn/

jQuery plugin

jQuery Right-click Plugin
$(“#selector”).rightClick( function(el) {// Do something});
http://abeautifulsite.net/notebook/68#download

ContextMenu plugin
右键菜单
http://www.trendskitchens.co.nz/jquery/contextmenu/

NiceJForms
表单美化
http://www.lexcat.ro/nicejforms/nicejforms.html

jQuery Star Rating Plugin
星星等级
http://www.fyneworks.com/jquery/star-rating/

liScroll
滚动内容
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html
http://stone.dialog.jp/code/jquery/jdNewsScroll/

A Cool CSS Effect - Dashboard [Updated x2]

Ever want to alert your users to a really important message? Ever care to have some effect that looked like dasboard?

I wanted to do this for numerous sites so I finally I decided to scan the web for some resources. I didn’t find any real conclusive matches on Google. I mean what do you search for?

So, I started thinking about what we were actually doing and then finally I got code working. I’ll post the code and then briefly explain it. Here is a picture so you can get the idea of what it does, or you can simply go to my new website and click on either “About” or on “Contact.”

Dashboard CSS Effect

Add this to your css file or inside your “head” tags:

.darkenBackground {
background-color: rgb(0, 0, 0);
opacity: 0.7; /* Safari, Opera */
-moz-opacity:0.70; /* FireFox */
filter: alpha(opacity=70); /* IE */

z-index: 20;
height: 100%;
width: 100%;
background-repeat:repeat;
position:fixed;
top: 0px;
left: 0px;
}

Basically, this says set a style in CSS to have a black background, 70% transparent, filling the entire screen.

We then add this code anywhere inside our “body” tag:


This places our black box on the screen, and then the javascript hides it. We can then show it later on by putting this javascript in an event handler like onclick: 

document.getElementsById(”darkBackgroundLayer”).style.display = “”;

This will show our darkened layer using javascript.

This will show our darkened layer using javascript.You can then use javascript to show a different window like the above code. This effect is really great and extremely useful in drawing the user’s attention.

I hope that helps you make some neat effects. Post in the comments if you have any interesting twists.

[Updated] One problem I have run into with this is that the dark black shade cuts off at the end of the browser window, meaning that if you scroll down the page, the effect does not continue. This has to do with how css repeats vertically. If any one knows a fix, please comment as well.

[Updated x2] Fixed the scrolling bug. Thanks to all the great comments. Also changed the opacity options so hopefully works on more browsers. Changes are in red. Thanks to digg, story is here.

Thanks

http://dbachrach.com/blog/2006/10/09/a-cool-css-effect-dashboard/

This will show our darkened layer using javascript.

JavaScript Object Notation Support for .NET 2.0

JavaScript Object Notation, or JSON, is meant as a light weight alternative to XML when XML is just a bit heavy weight for what you are trying to achieve. Although JSON is not extensible, as it makes use of a fixed set of data types, it can be used to textually represent complex objects. JSON is a perfect data-interchange format when using technologies such as AJAX as your server side objects can be converted to JSON, sent to the client, evaluated in a client script and then manipulated to build dynamic adverts, menus etc.

http://www.codeproject.com/KB/recipes/JSON.aspx

Js lib

MessageBox Dialogs
http://www.extjs.com/deploy/dev/examples/message-box/msg-box.html

div图片垂直居中

   

日期时间正则表达式

^((((19|20)(([02468][048])|([13579][26]))-0?2-29))|((20[0-9][0-9])|(19[0-9][0-9]))-((((0?[1-9])|(1[0-2]))-((0?[1-9])|(1\d)|(2[0-8])))|((((0?[13578])|(1[02]))-31)|(((0?[1,3-9])|(1[0-2]))-(29|30)))))(\x20(0?[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){1,2})?$

· Next entries »
Close
E-mail It