www.mQney.com

01 12, 2012

排行 名称
老大 囚牛
老二 睚眦(yá·zì)
老三 嘲风(cháofēng)
老四 蒲牢(púláo) 
老五 狻猊(suān’ní)
老六 赑屃(bìxì)
老七 狴犴(bì’àn)
老八 负屃(fùxì)
老九 螭吻(chīwěn/chīwěi)

 按此阅读全文 "龙生九子都是谁" »

01 4, 2012

有些问题隔一段时间,就忘记怎么解决。比如这个问题,就研究过不止一次了。烂泥扶不上墙,不是泥的能力不行,说的是泥不能迅速积累(依型而立)。有已产的 朋友介绍说生完孩子记忆力下降明显,我是过了三十记忆力下降严重——庆幸的是,我至少还记得自己不是因为已产而记忆力下降的——话说回来,好记性不如烂笔头, 多写吧,到时候Ctrl+F。

 按此阅读全文 "MySQL最大连接数问题" »

11 23, 2011

今天买了本书叫梼杌萃编táowùcuìbiān,不知怎么读,baidu了一下,顺便扒出了四大恶兽,这本书的作者自称诞叟,诞的意思是‘诞逼’,说白了就是闲扯淡的老头。

下面诞诞四大凶兽:

上古的人们很谦虚很淳朴,他们认为在这个世界上自个儿是新来的,有很多资深的居住者是必须敬畏的,神仙和妖怪。像小孩子一下,他们认准神仙是好的,妖怪是坏的。这妖怪里面呢,有一些是来源民间的,也就是有限的改造社会能力铸就自身经验得出的,一般称为魑魅魍魉chī mèi wǎng liǎng。有一些是成王败寇后流传的,也就是官方宣传的,比如这四位。一般官方认证的要比民间流传的厉害、坏很多倍。若是在鬼吹灯里面或者盗墓笔记里面,魑魅魍魉就是一般的小怪,饕餮混沌穷奇梼杌就是大怪,被守护的。

各国的传说,尤其是创世纪神话,都有一些共性,比如说好人和幸福都在上面,坏人和折磨都在下面,比如说根源方面都有上古大水的痕迹,可能人类褪毛的时代,真的有全球性的大水,给祖先们带来了覆灭的危险——同时也带来的发展的新机。还比如说发展方面,都有人而神,神而人的过程。圣人变成神,神偶尔也跳下来救人。

这四位老兄基本上是臭右派臭左派,被扣上了反革命的帽子发配边疆,并在很长一段时间内把革命中的挫折算到他们头上。下面摘抄百度。google.com搜索图片功能在国内基本作废。baidu的图片确实有差距。

 

p.s百度的地图也不如搜狗的地图。

p.s左丘明有意思,在《左传》里面,给四个形象个找了一个‘不才子’相对应。

 

 

 按此阅读全文 "中国古代四大凶兽" »

10 18, 2011

TSC条码机打印条码:
1,重影,两次任务,打印在同一张纸上。
2,行错位,比如明,打印成类似这样。
            口 日
              口 刀

申瓯电话交换机+讯通电脑话务员:
来电话的时候总机不响铃,其他机器不停地响铃。

 按此阅读全文 "TSC条码机和申瓯电话交换机的问题" »

08 19, 2011

东食西宿这个成语我经常忘记,好几次了,每次想起村东口有个富裕人或者英俊的人,村西口住一个英俊的人或者富裕的人,年轻女子不知该如何抉择。然后想起朝秦暮楚,朝三暮四等几个不靠谱的词。

这次读林·拉德纳的《我透不过气来了》,“又想起这个成语——又想不起这个成语”。

东食西宿:

[原文]

齐人有女,二人求之。东家子丑而富,西家子好而贫。父母疑不能决,问其女:“定所欲适,难指斥言者偏袒,令我知之。”女便两袒。怪问其故。云:“欲东家食,西家宿。”(《艺文类聚》)

 

 按此阅读全文 "东食西宿" »

05 4, 2011

在三弟的肉脯团中未央生和玉香苦情吐槽的时候出现了这个错误,ireport生成pdf文件,以前linux中出现过此问题,今天win7出现这个问题。解决办法是下载一个楷体_GB2312.ttf拷贝在C:\Windows\Fonts中。

或者我猜测,随便把一个已有字体,改名为报错提示系统所缺的字体名称(此例为楷体_GB2312)即可。









 按此阅读全文 "Font '楷体_GB2312' is not available to the JVM" »

03 30, 2011

firefox
https://addons.mozilla.org/zh-CN/firefox/user/45531/
批量保存图片


htc
iread安卓系统读书软件
Quickoffice_Connect_Suite_v4.0.120
小米notes
安卓系统解压缩软件

03 14, 2011



数据放在哪里安全?


 按此阅读全文 "浅析数据怎么存最安全" »

Nextapp的Echo2,在IE浏览器中有如下一个“奇怪的”错误:由于该控件目前不可见、未启用或其类型不允许,因此无法将焦点移向它。

由于该控件目前不可见、未启用或其类型不允许,因此无法将焦点移向它 nextapp_echo2_error_IE_mQney.com.jpg

 

 按此阅读全文 "Echo2在IE浏览器中的一个错误" »

01 24, 2011

 按此阅读全文 "七天读懂宏观经济" »

12 23, 2010

java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
    at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:56)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ... 1 more
Exception in thread "main"





正文:





 按此阅读全文 "Eclipse 3.6中Tomcat 7启动错误" »

12 10, 2010

这些是java连接TSC条码打印机时候,需要用到的公共控制类,包含一些基本属性的设置。
1,
com.mqney.barcode.tsc.TscAbout
2,
com.mqney.barcode.tsc.TscBarcode
3,
com.mqney.barcode.tsc.TscClearbuffer
4,
com.mqney.barcode.tsc.TscCloseport
5,
com.mqney.barcode.tsc.TscDownloadpcx
6,
com.mqney.barcode.tsc.TscFormfeed
7,
com.mqney.barcode.tsc.TscNobackfeed
8,
com.mqney.barcode.tsc.TscOpenport
9,
com.mqney.barcode.tsc.TscPrinterfont
10,
com.mqney.barcode.tsc.TscPrintlabel
11,
com.mqney.barcode.tsc.TscSendcommand
12,
com.mqney.barcode.tsc.TscSetup
13,
com.mqney.barcode.tsc.TscWindowsfont
以下是源代码:

 按此阅读全文 "java控制条码打印机基础类库 TSC源代码" »

12 7, 2010

1,
查看当前队列
root@[/root]$ ipcs -q

2,
结束、清空某一队列
root@[/root]$ ipcrm -q 262152

3,
进入mas系统
root@[/root]$ su - mas

4,
重启mas服务


正文开始:




 按此阅读全文 "中国移动&神州数码的mas信息机操作" »

11 28, 2010

注意:
1,乱码问题解决
实用过程中有时候出现一种情况,IE正常通过,FireFox火狐会出现乱码,关于Ajax传值的乱码,一种解决方法是使用encodeURI解析:
  if (this.req){
    try{
      var loader=this;
      this.req.onreadystatechange=function(){
        net.ContentLoader.onReadyState.call(loader);
      }
//      this.req.open(method,url,true);
      this.req.open(method,encodeURI(url),true);

      if (contentType){
        this.req.setRequestHeader('Content-Type', contentType);
      }
//      this.req.send(params);
this.req.send(encodeURI(params));

    }catch (err){
      this.onerror.call(this);
    }
  }
}
在本例中并不奏效,要做一下改动才能够使IE和火狐Firefox都正确解析中文,不再出现乱码。

        response.setContentType("text/xml;charset=UTF-8");
        request.setCharacterEncoding("UTF-8");
        PrintWriter out = response.getWriter();

2,
上文ajax in action 输入前提示 type-ahead suggest中提到的2,出现提示框口以后,必须点中其中一个值它才消失,点击空白处不消失。

解决方法是:

    <script type="text/javascript">
      //Listing 10.4
      window.onload = function(){
        var elemSpan = document.createElement("span");
        elemSpan.id = "spanOutput";
        document.onclick = function(){elemSpan.style.display="none";}
        elemSpan.className = "spanTextDropdown";

3,
模仿-实现-想要一点不同-新的-来点疯狂的

ajax的输入前提示,本例基本实现了仿Google的输入前提示type-ahead suggest,也可称为自动完成功能autocomplete。

它的特点是:
1,可重用,对于页面代码改动少。
2,使用了Prototype和Rico。
3,IE,火狐Firefox都可用
4,对于服务器端依赖性小,只要返回格式固定的数据,无论是asp,jsp,java的servlet都可以灵活应用。
5,使用Ajax in Action的net.js。

ajax in action 仿Google输入前提示 type-ahead suggest java js eval()方法 Ajax in Action
有两点小缺憾:
1,服务器返回数据,使用js的eval()方法执行,eval方法按照JavaScript语法来执行包含在括号内的字符串。它的缺点是速度慢。本例中返回数据是国家序列,基本固定,数据量不大,所以影响不大。
2,出现提示框口以后,必须点中其中一个值它才消失,点击空白处不消失。






正文源码:
1,ajaxtest.typeaheadsuggest
2,net.js
3,AjaxTesttypeaheadSuggestCopyOfServlet
4,dll.sql
5,web.xml




 按此阅读全文 "ajax in action 输入前提示 type-ahead suggest" »

11 26, 2010




根据Ajax in Action书中辅导,编写一组选择按钮。第二个的内容根据第一个的选择而即时改变,使用Ajax与服务器异步交互数据。

Ajax in Action java xml实战动态双组合功能
下面是页面源码:




 按此阅读全文 "Ajax in Action 实战动态双组合功能" »

09 20, 2010




  最近体质骤降,几乎成了逢感必冒的主儿,这不,昨天稍微一冷,又打喷嚏流鼻涕精神萎靡了。一场秋雨一场凉,虽说今后可能还有几天回暖,但是炎热,正如秋收乱草中的蚂蚱,没几天蹦头了。



 按此阅读全文 "我所钟爱的两种消暑良方" »

09 12, 2010

  作为其中一方,有时候会觉得对方给的不够多不够好,然而实际上并非是这样,有可能是对方愿意给的和善于给的,是自己不在意的,而自己的哪怕是很低的要求,在对方不善于给,不愿意给的方面,也会给自己和对方造成莫大的尴尬。

  同样情况作为另一方,也是值得注意和思考的事情。

07 22, 2010

  人们需要安全感,在吃饱穿暖之后,大到政要明星出行安全,小到草民贱客上班上床不被人侵扰。自古至今,人们的安全感都来自于集体,来自于归属感。尽管达尔文没给柏拉图面子,证明了人们只是裸猿,不是被批为两半生来为了一个寻人小广告的大天使--我们生来孤独;尽管人类的发展可以被看作是自我最大化的过程,尤其借助电脑超频,希望触到超我--我们走向孤独;尽管有着六人联系世界的理论,结果却是我们频繁联系人用一只手可以数出--我们实在孤独。但是人们还是群体的,寻求理解与知心,因为在面对一方的时候,需要把后背靠在一方。

05 27, 2010

 

 

 

 按此阅读全文 "2010签名合集" »

03 12, 2010

升级Eclipse 3.2到3.5 中的Echo2及Tomcat
Echoe2的EchoStudio破解的问题
eclipse的tomcat插件
eclipse的GWT插件

 按此阅读全文 "升级Eclipse 3.2到3.5 中的Echo2及Tomcat" »

03 2, 2010

  看到了Nokia的新的支持软件OVI,于是下载下来试用,据说还有免费语音导航,我也可以试试GPS了,虽然驾照刚被注销……
  安装过程没问题,就是连接后一直显示“正在设置...”,无论是蓝牙连接还是USB数据线连接,sync all同步所有的按钮总是出不来,其他功能也都无法使用,好像是连接根本没有成功。
  不知何故。
  免费导航支持新推出的使用新平台的E72,71还不行,好像是处在免费试用90天,但是我也安装出声音了,就是不知道是不是走流量的高额收费,没敢太多试验。
  据说,很快就会普及到E71等机型了。
 
  
下面说如何解决:诺基亚nokia OVI 正在设置...的问题

 按此阅读全文 "诺基亚nokia OVI 正在设置..." »

02 24, 2010

  自己一直习惯使用XP,工作用的很多软件对于操作系统版本还是很敏感的,不像是rmvb那么灵活,跟着暴风影音满windows跑。

 按此阅读全文 "win7来袭" »

12 23, 2009

又出现两个问题:
1,sendcommand命令使用部分成功,可以设置direction 1,1使打印页完全镜面,但是却不能使用circle打印出圆圈圈。


2,又一次栽到了linux-windows手里,在windows开发完成后,linux不能识别tsclib.dll。晕!

3,做java-tsc打印条形码遇到了很多困难,网上资料不也全,基本都是c、vb之类的,他们对于本地方法dll控制调用得天独厚。tsc公司对于java这一块支持也不够,网上放的一个所谓jsp样例,实际上是一段javascript调用。库文件tsclib,只有windows.dll版本的,没有linux.so版本。

4,不过据听说同样的环境,有些公司做成了(不知道可靠不),我还是继续钻研一下,万一我成功了,那么我想把它做成一个jar包,再写一份文档,让大家可以灵活地使用。




 按此阅读全文 "Java与TSC条形码打印机(续)" »

12 22, 2009

Java直接控制TSC条码打印机打印条形码是我的一块心病,项目中这一块的处理堪称简陋。最近终于把这个心头顽疾给解决了。java程序中可以自由的打印条形码了(还谈不上自由,只能打印文字、条形码,不能打印圆圈啊什么的,Bartender的很多高级功能更实现不了),以前是从项目中导出Excel表格,然后在Bartender中操作打印TSC243E,往往一个操作需要7、8步,费时费力,繁琐易出错,现在只需一点就可以啦!

 按此阅读全文 "Java控制TSC条码打印机打印条形码" »

11 26, 2009

  作为初级的管理员,每天都要备份数据,自动的任务不会设置,于是‘基本靠手’,这样不但繁琐,还保不齐甲流隔离了,有手没处使。

  所以写个java类吧,加载到SPRING程序的自动运行任务中。思路就是使用java调用系统的命令符,执行mysqldump命令。

·首先是Windows系统下:

给大家提个醒:
有人说用:“mysqldump --uroot --p123456 --opt”。但是我没有成功,最后使用这种写法成功了:“mysqldump --user=root --password=123456 --opt”
看来要写完整的方式。


·然后是Linux系统下:

这里很多人遇到的问题是
程序不报错,命令不执行,sql文件没有生成。我已开始用了以下几种写法:java.lang.Runtime.getRuntime().exec(new String[] { mysql });
   java.lang.Runtime.getRuntime().exec(new String[] { "shell "+mysql });
   java.lang.Runtime.getRuntime().exec(new String[] { "/bin/bash "+mysql });
   java.lang.Runtime.getRuntime().exec(new String[] { "/bin/bash/shell "+mysql });
都没有成功,最后试验了这种写法成功了:
        java.lang.Runtime.getRuntime().exec(new String[] { "sh", "-c", mysql });
前提是环境变量中都把MySQL的bin目录加上了。

下面请看完整代码:


 按此阅读全文 "java备份MySQL (windows linux)" »

11 18, 2009

  越来越发现Excel这个软件真的不是由一个个格子组成的表,每个格子里面都有着巨大的魔力。每次接触它都有新的发现,那几率可比在人人餐厅的垃圾中捡到食材大多了。
  但是,不得不说的是,实际上每次接触它都是被接触,一般公司的网络部人员都被视为闲杂人等,专门用来清扫(such as打印机,word,电话,qq,手机听歌)这些挡在正规军工作路上的过于抽象的小石块。


 按此阅读全文 "Java复制Excel的Sheet到新的Excel文件" »

10 3, 2009

  “外地人”一词区别于“本地人”,一般都带有轻视的意味,在北京(舆论中上海亦同),它还被一些本地人加上了落后、贫穷、素质低等注释。
  我发现在外面念过书的人,上面说的观念就根本没有,或者不那么强,可能是经过换位后理解更加自然而然吧。
  现在的中国农村正处于变化时期,每一年,每十年都大不相同,我觉得这些细节挺值得注意的,专业的人会写北京农村外地务工人生活生存情况报告之类的,我在这里简单写个习作玩玩,试着分析一下,算是读完一些黄仁宇的书之后的一点利用,给百十来块钱一个交代。
  另,我想如果我爸妈能够每天做日记,把村子里的变化一点一点记录——只是记录——的话,在将来说不定这也是一本重要的材料呢!
-------------------闲话休提,书归正文-----------



 按此阅读全文 "北京市农村的外地人" »

09 23, 2009

  我们公司电话分机号一直占线,要命的是那是个客服电话……

 按此阅读全文 "使用申瓯交换机,某个分机电话一直占线" »

09 22, 2009

MySQL不仅是存取数据的仓库,它也可以完成很多Excel似的公式玩意儿。

concat()函数

cast()函数

 按此阅读全文 "MySQL 拼接字符串函数CONCAT" »

09 8, 2009

女性的腿为何如此性感?
您知道女人的裙子跟经济复苏有什么关系吗?
尼龙丝袜的产生

----------------------正文--

 按此阅读全文 "裸女 戴斯蒙德 莫里斯(下)[图]" »

09 7, 2009

男士们,当你们攒好钱为心爱的女友带上精美的项链时,也为她们讲一讲项链的来源。
肩膀,膝盖,甚至是胸部,都是臀部的象征。
新疆舞蹈中脖子的动作有什么意义?
麻筋儿是什么?
腋窝出汗干什么用的?
为什么男钢琴家多?
5根手指,为什么14根指骨?
中国对于男、女断掌有着很多说法,那么断掌是什么?
世界上指甲最长的女人最想做的一件事是什么?
怎样喂奶才正确?
在什么样的情况下,女性被要求露出胸脯儿?
波大无脑是错误观念
肚皮舞的起源

----------------------正文--




 按此阅读全文 "裸女 戴斯蒙德 莫里斯(中)[图]" »

08 24, 2009

MySQL数据库中,在Spring+Hibernate条件下,比较like和<=、>=查询日期的效率

 按此阅读全文 "无奈之举:比较like和<=、>=查询日期的效率" »

07 8, 2009

Cranberries - Dying In The Sun

Do you remember
The things we used to say?
I feel so nervous
When I think of yesterday

How could I let things
Get to me so bad?
How did I let things get to me?

Like dying in the sun
Like dying in the sun
Like dying in the sun
Like dying x2

Will you hold on to me
I am feeling frail
Will you hold on to me
We will never fail

I wanted to be so perfect you see
I wanted to be so perfect

 按此阅读全文 "总归有个结束 不正经不起来了" »

06 18, 2009


雨

 按此阅读全文 "五言 雨" »

06 9, 2009

关闭MySQL连接便后请冲水

 按此阅读全文 "用后请关闭MySQL链接" »

06 6, 2009

  关羽、张飞代表了不同的朋友类型。优点(肝胆赤诚)暂且不说,说说缺点。
  附1:为什么看起来古代多义,现代无情。
  附2:羊角哀左伯桃刎颈之交。



 按此阅读全文 "【自摸三国】朋友" »

05 22, 2009

 按此阅读全文 "权限,权限。" »

05 14, 2009

1,为什么情人眼里出西施?
2,热恋情侣怎么判断对方是不是真心的?
3,臭美了那么多年,到底什么才是女性的性感呢?
4,你知道接吻怎么来的么?(正文忘了写了,有兴趣的去看书吧)
5,女人天生爱唠叨么?男人该怎么对付?
6,蛀牙竟然是唾液闹的!(真正原因是嗜酸乳酸菌)





这些问题科学帮你解答,另外你还能知道眼睛有多么的精密,嘴里有多复杂……


ps:裸女一系列为读书笔记,一部分摘自原文,一部分自由发挥。mqney.com不对其中科学性负责,建议大家读读原文。

<---------------------正文---->




 按此阅读全文 "裸女 戴斯蒙德 莫里斯(上-B面)[图]" »

05 12, 2009

两个线图,

1,从数据库查询预约量、预约量的细节(男、女、VIP等)。图一。
2,从数据库查询预约量、实际到的人数。图二。

 按此阅读全文 "JFreeChart线形图createTimeSeriesChart(3)" »

05 11, 2009

1,你知道什么是“幼态持续”么?它可是人类一大绝技。
2,你承认男性比女性强么?人类解剖学可不是这么回答的。
3,头发竟然不是始终生长的!
4,女人鄙视妓女,但是在打扮自己的身体方面,女人可是从妓女这个足够古老的职业那里学到了不少东西呢。
5,【自己杜撰的】传情达意有几种方式呢?书信传情、言语传情、眉目传情、肌肤传情、QQ传情……
6,姚明的囧笑是拜眉毛所赐。类人猿一笑就不是那么回事了。
7,你知道“达尔文尖端”是什么么?你有“达尔文尖端”么?
8,从科学上分析,音响设备不要追求太高,浪费。
9,人类没有进化出一套有效的方法防止巨大噪声的侵袭。

<--------------------------------------------------------------------------正文---->

 按此阅读全文 "裸女 戴斯蒙德 莫里斯(上-A面)[图]" »

05 10, 2009

1,多个副标题,颜色,间距。
2,一图多行。
一图多行有两种方法,一种是TimeSeriesCollection.addSeries(TimeSeries);可以add多个,(仿佛是)这样的话每一行不能单独设置某些属性。
另一种方法是XYPlot plot = (XYPlot) chart.getPlot();
然后plot.setDataset(2,TimeSeriesCollection);XYPlot set多个TimeSeriesCollection。这样,每条线的级别都和主线一样,可以设置很多的属性。
3,每一点带有值。
4,一图多行,显示值的控制。
5,多个坐标轴纵轴。

 按此阅读全文 "JFreeChart线形图createTimeSeriesChart(2)" »

  这两天看了一下使用JFreeChart绘制线形图,现在把阶段性的成果总结一下。
1,使用JFreeChart绘制线形图,可以有两个方法:createTimeSeriesChart和createLineChart。参看图一\图二。今天主要说createTimeSeriesChart。








<------------------------------------------正文--->



 按此阅读全文 "JFreeChart线形图createTimeSeriesChart(1)" »

04 30, 2009

比如要上传WEB-INF/src文件夹下的内容,那么就cd到src文件夹内,然后

[root@localhost mqney]# svn -m 我要提交 commit
【这里的命令是:svn -m 提交的注释 commit】
认证领域:<svn://192.168.74.200:3690> de09f23a-1fca-41e3-b406-7ee3f631d27d
“root”的密码:
【要求输入远程电脑系统的登录密码,比如这里是root这个用户的密码】
认证领域:<svn://192.168.74.200:3690> de09f23a-1fca-41e3-b406-7ee3f631d27d
用户登录名:yangqingshan
【要求输入svn用户名】
“yangqingshan”的密码:
【要求输入svn密码】


然后就上传了,过程中可能出现问题,需要视具体提示一一解决。

 按此阅读全文 "linux svn commit提交" »

04 25, 2009

火影忍者326.rmvb

英雄.Heroes.S03E24.ChiEng.HDTVrip.720X396-YYeTs人人影视.rmvb

迷失.Lost 本周将停播一集,"The Viariable"将在四月二十九日回归,这也是整部剧的第一百集。

04 24, 2009


 按此阅读全文 "JSP页面在IE8中显示空白" »

04 10, 2009

  分享一下网站的访问数据,顺便看看什么样的关键词才是热门的。,疯狂被搜索的。

待续。

04 1, 2009

说说正确的(搜狗拼音提示的,我觉得这是一个顶顶好的功能,弘扬文化,赞一个):

guanqia关卡,muban模板,biaozhi标识

03 14, 2009

HSSFCell.setCellValue【setCellValue不推荐使用】
Vector.copyInto【Vector不推荐使用】
关于这两个方法的替代方法



 

 按此阅读全文 "copyInto和setCellValue" »

02 16, 2009

02 15, 2009

 按此阅读全文 "滑冰与滑雪" »

3D TEXT

Lets add some text to the scene now. Text is just another layer, so we hit the ADD butoon and select 3D TEXT.

You will need to position the text so its centered on the screen and is just in front of the world - you do this by selecting the AXIS tab , dragging the X TRanslate slider to the left and the Z translate slider to the right. You can also scale it down a bit by dragging the x and y scale sliders slightly to the left.

SETTING UP THE SCENE

Now lets add the rest of the scene!

Were going to add two more layers, one for the ESPN Interface and one for the text image. Once you have done this, drag the text interface's Z slider and bring it up close to you by dragging to the right. You will notice that it stops at 500 - to get past this click on the lcd and drag to the right to go over the default limits. Bring it up to around 750.

Ok, now we have our scene set up lets save it out before we animate it in case anyting goes wrong. Select the SCENE tab, and hit SAVE and then double-click on your filename - espn.jsf

If you want to take a snapshot of how things are going, you can click on the PHOTO button located on top of the GRAB DESKTOP button. If you click render by mistake, just hit it again to stop it. To look at your photo, go to the desktop and it will be in the top left hand corner underneat any images that are already there.

ANIMATING THE SCENE!

Ok, now we are going to bring the scene to life. We will start by hiding all the layers we dont want to see. You can do this by un-checking everything except for the world and the first layer you added (The one on top of the world layer).

To make things easier to understand, lets name this layer the earth. To do this, make sure its selected and hit the name button. Type earth in the pop-up box and hit return.

Now we can animate the earth layer! To do this, we first need to make sure we are at the first frame of the animation. Do this by dragging the main horizontal slider, the big one to the right of the vcr looking controls, to the far left. The green LCD should now be set to 00:00:00. We are going to call this slider the scrubber from now on to make things easier.

We are going to have the earth zoom in from outer space on to the scene. To do this, we will need go to the AXIS tab and drag the earths Translate Z slider to the far right. It stops at 500 - but we needs to go to 1000 so you have to click on the green lcd to the right of its z slider and drag that to the far right till it reaches 1000. The earth should dissapear off the screen.

SETTING KEYFRAMES

We want to record this keyframe (position in a animation) so you need to hit the KEY button to the left of the PHOTO button in the middle-right side of the screen.

Now drag the scrubber slider so its in the middle and we will move the earth in and set another keyframe. Drag the z slider and move it back to zero to do this. You can also play with the rotation values as well so the earth will spin around on its way back in. Once you have positioned it hit the key button again.

Now you can drag the scrubber from left to right, or hit the play button, and the earth should fly in and then stop!

We want to do the same thing with the 3d text but we want it to fly in after the earth... so lets set that up.

Drag the scrubber to the far right so the earth is off the screen again. Then hit the checkbox for the 3dtext layer so it turns on, you should see it in the middle of the screen where you left it.

You are going to do the same thing you did for the earth - go to the AXIS tab and click on the trasnlate Z lcd and drag it to the right until the text dissapears off the screen. Then hit the KEY button to record this.

Since we want the text to wait a bit before moving in, we will set anothre keyframe for it out in space before bringing it in. To do this, drag the scrubber and move it about one third of the way to the right or to where the scrubbers lcd reads 00:01:00 and hit the kay button again.

If for some reason the text poped back up thats a bug, just move the scruuber again and it will go back to where it was before setting teh 2nd keyframe.

Then drag the scrubber to where its around 2/3rds the way or towhere its lcd reads 00:02:00. We can now move the text back in by draginfg its Z Translate slider to the left and positioning it just in front of the world and hitting the KEY button.

Now you can drag the scrubber from left to right and you should see the earth fly in followed by the jahshaka text!

If you messed up, just make sure the Earth layer is selected, click the OBJECT tab and hit reset and then animate it again!

Now lets turn on the ESPN interface by clicking its check box. You may want to name it ESPN to make things easier. Hit the play button and you should see your first animation rocking on the screen! You may want to sve it out as a backup.

Ok, we're not ready to sell it to ESPN just yet, now we want to add some fancy overlay graphics. To do this, turn on the lst layer you added, and name it textlayer so you can tell it from the 3DText.

You will want tomake sure the scrubber is back in its far left position. Then go to the AXIS box and move its Z Transalte to where its around 1000. Then move its translate X to the left to where its aroud -50.

EFFECTS

Now we are going to fade it out! Go to the EFFECTS tab and you will see the transparency slider. You will want to drag this to where its round 35 so its slightly faded out.

Now we can animate it so it moves slowly from left to right as our animation plays. To do this just set a keyframe for it a 00:00:00 and then drag the scrubber to the far right and then move it to the right by dragging its AXIS X Translate to the right so it moves over but not off the screen. Then set another keyframe by hittiong the KEY button.

Now you can play it back and enjoy your creation!

RENDERING

In order to make your movie, you will now need to render it out. Dont worry, Jahshaka uses hardware rendering so it renders as fast as it play... although it usually slows down since we have to write the images to disk. To speed this up, we will switch over to the smallest file size whcih is uncompressed jpeg.

To do this, after you have saved your scene out, go to the desktop and hit the prefernces button. You will see a render quality slider, make sure this is set to the far left. Then go back to your animation, make sure the scrubber is also to the far left and hit the render button!

*hint - if your graphics card supports anti-aliasing turn on full scene aliasing (using your cards control panel - control for this will be added later on) and you will get a smooth looking animation!

You creation will now be visible as a clip on the desktop. Go to the dekstop, select it, and hit play to check it out!

ENJOY!

If you are using linux you can use the player to create a mpeg animated clip of your creation using the utility menu. We will bring this functionality to windows soon.

Hope you enjoed the first tutorial, later on we will get into the other modules!

02 14, 2009

Jahshaka - 初级教程 - 草译by【mQney】

另外相关资料有视频教程

 按此阅读全文 "Jahshaka - Tutorials for Beginners - 1" »

02 13, 2009

1,org/dom4j/DocumentException
2,hibernate.cfg.xml not found
3,net.sf.hibernate.dialect.MySQLDialect
4,net/sf/cglib/proxy/CallbackFilter
5,org/objectweb/asm/Type
6,No CurrentSessionContext configured
7,javax/transaction/Synchronization

8,File "/WEB-INF/vote.tld" not found

9,org.apache.jasper.JasperException: An exception occurred processing JSP page
10,The 'quality' must be in the range 0.0f to 1.0f
11,JFreeChart乱码

 按此阅读全文 "投票项目中的经验" »

01 29, 2009

抛弃倦怠,拿出状态。事半功倍,百战不殆。

01 12, 2009

做事情即早不即晚,即早从容,即晚狼狈。

01 5, 2009

 按此阅读全文 "不想" »

01 2, 2009

 按此阅读全文 "AJAX用户名验证" »

12 27, 2008

 按此阅读全文 "契科夫er——《契科夫幽默讽刺小说选》" »

11 29, 2008

FCKeditor点击无反应问题的解决
FCKeditor图片不能上传问题
FCKeditor XML request error:not found 404问题


 按此阅读全文 "FCKeditor点击无反应问题的解决" »

11 23, 2008

 按此阅读全文 "时间" »

11 19, 2008

  如此的没有同情心,因为他正饱尝着痛苦。                  ??mQney

 按此阅读全文 "遗书" »