JavaʵÏÖµÄ3D¼ÆËã»úͼÐÎÀà¿âÓëÒýÇæ
¿çƽ̨ÈýάͼÐοª·¢¹¤¾ß°üJava 3D
¹Ù·½Ö÷Ò³£ºhttps://java3d.dev.java.net/
Java 3DÑϸñ×ñÑ“½¨Ä££»æÖÆ”·ºÐÍ¡£³¡¾°Í¼£¨scene graph£©µÄ³éÏóÄ£Ðͱ»ÓÃÀ´×éÖ¯ºÍά»¤ÐéÄⳡ¾°ÖеĿÉÊǶÔÏó¼°ÆäÐÐΪ¡£³¡¾°Í¼°üº¬ÁËÐéÄâͼÐÎÊÀ½çµÄÈ«²¿ÐÅÏ¢£¬Java 3D»æÖÆÒýÇæ»á¶Ô³¡¾°Í¼½øÐÐ×Ô¶¯»æÖÆ¡£
Java 3D¿ªÔ´ÏîÄ¿°üº¬Ò»×é3DͼÐÎAPI£¬ËüÌṩµÄÒ»×éÃæÏò¶ÔÏó½Ó¿ÚÖ§³Ö¼òµ¥¡¢¸ß¼¶±à³ÌÄ£ÐÍ£¬Äã¿ÉÒÔÓÃÓÚ¹¹½¨¡¢Õ¹Ê¾ºÍ¿ØÖÆ3D¶ÔÏóµÄÐÐΪÓë¿ÉÊÓ»¯»·¾³¡£Java3DÏîÄ¿°üÀ¨j3d-core(Java3D APIµÄºËÐÄ)¡¢ vecmath(3DʸÁ¿Êýѧ°ü)¡¢j3d-core-utils£¨Java3DºËÐÄutilitie£©¡¢Java3D VRML97 LoaderµÈ×ÓÏîÄ¿¡£
Java 3DÊÇSun¹«Ë¾¿ª·¢µÄÒ»ÖÖÊÊÓÃÓÚInternet»·¾³µÄ¿çƽ̨ÈýάͼÐοª·¢¹¤¾ß°ü£¬Ò²ÊÇÒ»¸ö½»»¥Ê½ÈýάͼÐÎÓ¦Óñà³Ì½Ó¿Ú£¨API£©£¬Í¬Ê±¾ßÓÐͼÏñ´¦Àí¡¢»æÖÆ2DͼÐΡ¢½»»¥Ê½Óû§½çÃæÉè¼ÆµÈ¹¦ÄÜ¡£
Java 3DÊǶÔJavaµÄÒ»¸öÓÃÀ´ÏÔʾÈýάͼÐεÄÀ©Õ¹£¬ÓÃJava 3D±àдµÄ³ÌÐò¿ÉÒÔÔËÐÐÔںܶ಻ͬÀàÐ͵ļÆËã»ú»ò»¥ÁªÍøÉÏ¡£Java 3DÀà¿âÌṩÁ˱ÈÆäËü¶àÊýͼÐοâ¸ü¼òµ¥µÄ½Ó¿Ú£¬µ«ÈÔÓÐ×ã¹»µÄÄÜÁ¦ÖÆ×÷²»´íµÄÓÎÏ·ºÍ¶¯»¡£Java 3D½¨Á¢ÔÚDirectXºÍOpenGLÕâЩÒÑÓеļ¼ÊõÉÏ£¬ËùÒÔ³ÌÐòÔËÐв¢²»ÊÇÄãËùÏëÏñµÄÄÇÑùÂý£¬²¢ÇÒJava 3DÖÐÒ²¿ÉÒÔ¼ÓÈëʹÓÃÖîÈçTrueSpaceºÍVRMLÕâЩ3DÄ£ÐÍ°ü´´½¨µÄÎï¼þ¡£
Java 3D¶Ôµ×²ãµÄOpenGLºÍDirectXͼÐοâ½øÐÐÁË·â×°¡£Java±¾Éí¶à¾ßÓеÄÇ¿´óÍøÂ繦ÄÜͨ¹ýÓëOpenGLºÍDirectXÇ¿´óµÄͼÐΡ¢Í¼Ïñ´¦Àí¹¦ÄÜÏà½áºÏ£¬Ê¹µÃJavaÓïÑÔµÄÈýάͼÐοÉÒÔͨ¹ýä¯ÀÀÆ÷ÔÚInternetÉÏÏÔʾ¡£Í¬Ê±£¬Java 3DÓëJavaÒ»Ñù¡¢Ò»´Î±à³Ì±ã¿É¿çƽ̨ÔËÐС£ÓÃJava 3DÉú³ÉµÄ´úÂë¾ßÓпɴ«ÊäÐÔ£¬¼´´Ó·þÎñÆ÷¶Ëµ½¿Í»§¶Ë´«ÊäµÄÊÇÉú³ÉÈýάͼÐεijÌÐòºÍÊý¾Ý£¨Applet£©£¬¶ø²»ÊÇͼÐα¾Éí¡£ÕâÑù£¬¾Í¿ÉÒÔ´ó´ó½ÏÉÙÍøÂç´«ÊäÊý¾ÝÁ¿¡£¿Í»§¶Ë´Ó·þÎñÆ÷¶ËÏÂÔØÏàÓ¦µÄApplet£¬ÓÉJava 3DÔËÐл·¾³½âÊÍÖ´ÐУ¬²¢ÔÚÖ´Ðйý³ÌÖв»¶Ï´Ó·þÎñÆ÷¶Ë»ñÈ¡¿ØÖÆͼÐα任µÄÊý¾Ý£¬¼´¿ÉÉú³É¶¯Ì¬µÄÈýάͼÐΡ£Java 3DÄܹ»¶Ô³¡¾°µÄ¿ÉÊÓ»¯½øÐв¢ÐмÆËãÓëÓÅ»¯£¬Äܹ»×Ô¶¯Ó¦ÓüÆËã»úÓ²¼þµÄ¼ÓËÙ¹¦ÄÜ£¬²¢Ìá¸ßͼÐÎÏÔʾµÄЧÂÊ£¬Äܹ»¶Ô³¡¾°½øÐÐÔ¤±àÒë¡£
ÔÚEclipse 3.3.2ÖÐÅäÖÃJava3D 1.5.2µÄ»ù±¾·½·¨£º
£¨1£©ÏÂÔØJava3D°²×°°üj3d-1_5_2-XXX.zip£¬²¢½âѹµ½µ±Ç°Ä¿Â¼£¬µÃµ½Ò»¸öj3d-1_5_2-XXXÎļþ¼Ð£¬½âѹ¸ÃÎļþ¼
Ïà¹ØÎĵµ£º
<FORM METHOD="post" ACTION="input.jsp">
ÇëÊäÈëÐÅÏ¢:
<input type="text" id="biao">
<input type="submit" name="Submit" value="Ìá½»">
</FORM>
ÒÔÉÏΪinput.htm Îļþ
ÒÔÏÂΪinput.jsp Îļþ
<%
String str = request.getParameter("biao");
&nbs ......
×Öĸ ÈÕÆÚ»òʱ¼äÔªËØ ±íʾ ʾÀý
G
Era ±êÖ¾·û
Text
AD
y
Äê
Year
1996; 96
M
ÄêÖеÄÔ·Ý
Month
July; Jul; 07
w
ÄêÖеÄÖÜÊý
Number
27
W
Ô·ÝÖеÄÖÜÊý
Number
2
D
ÄêÖеÄÌìÊý
Number
189
d
Ô·ÝÖеÄÌìÊý
Number
10
F
Ô·ÝÖеÄÐÇÆÚ
Number
2
E
ÐÇÆÚÖ ......
ÏÂÔØ dom4j-1.6.1.jar¡£
1: package org.zzp.common.xml.dom4j;
2:
3: import java.io.FileWriter;
4: import java.io.IOException;
5: import org.dom4j.Document;
6: import org.dom4j.DocumentHelper;
7: import org.dom4j.Element;
8: import org.dom4j.io.OutputFormat;
9: impor ......
¼×¹ÇÎÄÒѾÍê³ÉÁ˶ÔSUN¹«Ë¾µÄÊÕ¹º£¬ÓÚ1ÔÂ27ÈÕ·¢²¼Á˶ÔSun¸÷ÏîÒµÎñµÄÕûºÏ¹æ»®¡£×ÜÌåÉÏ˵£¬OracleÒª³ÉΪÈíÓ²¼þÒ»Ì廯µÄÕûÌå½â¾ö·½°¸µÄ³§ÉÌ¡£ ÒÔϾÍÆä¶Ô±¸ÊܹØ×¢µÄJava·½ÃæµÄ²ßÂÔ×ö¸ö½éÉÜ¡£
Java SE:
1£©ÍƳöJDK SE 7£¬ Ëü½«°üÀ¨¶à¸öÐµĹ¦ÄÜ£¬ÈçÌá¸ß¿ª·¢ÈËÔ±µÄЧÂÊ£¬Ìṩ¸ßÐÔÄÜ£¬¶Ô¶àºËоƬµÄÖ§³ÖµÈ¡£
2£©SunµÄHotSpot ......