Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaʵÏÖµÄ3D¼ÆËã»úͼÐÎÀà¿âÓëÒýÇæ


3.1 ¿çƽ̨ÈýάͼÐοª·¢¹¤¾ß°üJava 3D
¹Ù·½Ö÷Ò³£ºhttps://java3d.dev.java.net/
Java 3DÑϸñ×ñÑ­“½¨Ä££­»æÖÆ”·ºÐÍ¡£³¡¾°Í¼£¨scene graph£©µÄ ³éÏóÄ£Ðͱ»ÓÃÀ´×éÖ¯ºÍά»¤ÐéÄⳡ¾°ÖеĿÉÊǶÔÏó¼°ÆäÐÐΪ¡£³¡¾°Í¼°üº¬ÁËÐéÄâͼÐÎÊÀ½çµÄÈ«²¿ÐÅÏ¢£¬Java 3D»æ ÖÆÒýÇæ»á¶Ô³¡¾°Í¼½øÐÐ×Ô¶¯»æÖÆ¡£
Java 3D is a scene graph-based 3D application programming interface (API) for the Java platform. It runs on top of either OpenGL or Direct3D. Since version 1.2, Java 3D is developed under the Java Community Process. JSR 926 specifies Java 3D 1.4; as of 2007, the current version is 1.5.1 (released in June 2007).
Compared to other solutions, Java 3D is not only a wrapper around these graphics APIs, but an interface that encapsulates the graphics programming using a real, object-oriented concept. Here a scene is constructed using a scene graph that is a representation of the objects that have to be shown. This scene graph is structured as a tree containing several elements that are necessary to display the objects. Additionally, Java 3D offers extensive spatialized sound support.
Java 3D and its documentation are available for download separately. They are not part of the JDK 6. However£¬future versions of the JDK are expected to include an API package for 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ÖÐÒ²


Ïà¹ØÎĵµ£º

C#ºÍJavaÖеķ½·¨×¢Ï¤

·Ç³£¼òµ¥,ÔÚC#ÖÐÖ»ÐèÒªÔÚÀàµÄ·½·¨µÄÉÏ·½ÇÃÈýÏÂ"/"¾Í×Ô¶¯°ïÄãÌí¼ÓÏà¹ØµÄ´úÂë,ÄãÖ»Òª°´×ÅÌîд¾Í¿ÉÒÔÁË,¶øJavaÔòÊÇÊäÈë"/**",ËüÒ²»á×Ô¶¯ÐγÉÏà¹Ø´úÂë,¾ßÌå´úÂëÈçÏÂ:
C#
/// <summary>
/// ÔÚ´ËÌîд×ÜÌåÃèÊö
///</summary>
/// <param name="name">ÕâÀïÌîд²ÎÊýnameµÄÃèÊö</param>
public string ......

java post get Á¬½ÓÍøÒ³

postºÍgetµÄÇø±ð£º
getÊÇͨ¹ýURLÏò·þÎñÆ÷µÝ½»Êý¾Ý£¬¼´Ìá½»µÄÏà¹ØÐÅÏ¢°üº¬ÔÚµØÖ·À¸µÄURLÖÐ
postÌá½»ºóµØÖ·À¸²»±ä
¿ÉÒÔͨ¹ýJava.net.URLEncoder½«ÖÐÎÄ×Ö·û±äΪ¿ÉÒÔ¼ÓÔÚURLÖÐÓÃÓÚ²éѯµÄ±àÂ룬ÏàÓ¦µÄ£¬Java.net.URLDecoderÓÃÓÚÏà¹ØµÄ½âÂë
Apache¿ªÔ´×éÖ¯ÖеÄhttpclient£¬ËüÁ¥ÊôÓÚJakartaµÄcommonsÏîÄ¿£¬×¨ÃÅÉè¼ÆÀ´¼ò»¯HTTP¿ ......

java¼òµ¥µØ¶ÁдÎļþ

×ÜÊÇÍü¼Çjava¶ÁдÎļþµÄ´úÂë¾ßÌåÔõôд£¬Ð´ÁËÒ»¸ö¼Ç¼ÈçÏÂ
String filename="mydict.txt";
File file=new File(filename);
//read file
if(file.exists())
{
try
{
BufferedReader br=new BufferedReader(new FileReader(file));
String temp=null;
while((temp=br.readLine())!=null) ......

javaÈÕÆÚ

Date ---->String
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
String date = sdf.fomat(new Date());

String ---->Date
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
Date date = sdf.parse("2010-03-16");

ÈÕÆڱȽϴóС£¬Õâ¾ÍÓõ½ÁËDateÀàÖеÄbefore()ºÍafter()·½· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ