Java 3D virtual reality world in new ways

Java 3D virtual reality world in new waysJava 3D is a Java language extension in the field of three-dimensional graphics, is a set of application programming interface (API). Using Java 3D provides the API, you can write Web-based three-dimensional animation, a variety of educational software and computer-aided three-dimensional gaming and more. Programs written using Java 3D, just call these API programmer to program, and the client only need to use the standard Java virtual machine to browse, so has the need to install plug-in advantages.JAVA 3D from a high level for developers to provide three-dimensional entities to create, manipulate and color, so that development work has become extremely simple. Meanwhile, JAVA 3D's low-level API is dependent on the existing three-dimensional graphics system, such as Direct 3D, OpenGL, QuickDraw 3D and XGL so that it can help us:A. generate simple or complex shapes (you can also direct calls to the existing three-dimensional shape)B. to form with color, transparency, texture.C. can generate three-dimensional environment, lighting, moving lights.D. can have behavior (Behavior) determine the processing capabilities (keyboard, mouse, time, etc.)E. can create fog, background, sound, etc..F. can form deformation, movement, generates three-dimensional animation.G. can write very complex applications, for a variety of areas, such as VRJAVA 3D structure of this system to develop procedures for both "run anywhere", but also to make full use of three-dimensional characteristics of the system. Because JAVA 3D has such a powerful three-dimensional capabilities, making it the online world, especially in the exhibition game can be colorful.JAVA3D functional applicationsJAVA3D can be used in 3D animation, 3D games, mechanical CAD and other fields. Can be used to prepare three-dimensional shape, but different, and VRML, JAVA3D without basic shape, but we can use JAVA3D UTILITY carried by some of the basic shapes such as cube generation, ball, cone, etc., we can also directly call some software such as ALIAS, LIGHTWARE, 3DS MAX generated form can also be generated directly form VRML2.0 call.VRML can be the same, so that form with color, texture.Can produce body movement, change, dynamically changing the observation position and angle.Can have interaction, such as clicking physical process when a signal which will have some changes.JAVA language can take advantage of the power to prepare complex three-dimensional applications.JAVA3D with VRML does not have physical collision check function.As a high-level 3D graphics programming API, JAVA3D brought us great convenience, it includes all the features provided by VRML2.0.GL4Java, VRML, JAVA3D comparisonAs OPENGL cross-platform features, many people use OPENGL write 3D applications, but calculated for a non-professional personnel, the use of OPENGL prepare complex three-dimensional application is difficult, not to mention C / C + + language and java The master takes a lot of time and effort, when we need to deal with complex issues, we have to own a large amount of very tedious work. Of course, programming expert who, OPENGL is that they can play a very good tool.VRML2.0 (VRML97) since December 1997 officially became an international standard, the network has been widely used, method of preparation of VRML program is (VRML language can be said than BASIC, JAVASCRIPT and other languages also simple), also can write 3D animation, 3D games, for computer-aided instruction, and therefore very broad prospects for its application is particularly suitable for popularization and application in China. However, as VRML language features are not yet very strong (if there is no collision between body checking), and the JAVA language and other high-level language is more difficult to grasp the connection, which lost some favor with the computer expert. However, we believe that we can make the university's school students prepare multimedia applications using VRML, to enable students to quickly write programs on the interest, so that improve the level of domestic computer. DIRECT3D is Microsoft has introduced three-dimensional graphics programming API, it is mainly used in 3D game programming, the present study and related information difficult to obtain, because it usually takes VC and other programming tools, programming, programmers need to have higher high-level language such as C + + programming skills, it is difficult to spread.JAVA3D is based JAVA2 (JAVA1.2) basis, JAVA language, the simplicity of the promotion has been possible to JAVA3D. OPENGL and JAVA3D A comparison between the assembly language and C language as comparisons between one low-level, one senior (Maybe it is not appropriate). JAVA3D to write 3D applications that we provide a very comprehensive API, it can help us:Generate simple or complex shapes (you can also direct calls to the existing three-dimensional shape)To form with color, transparency, texture.Can generate three-dimensional environment, lighting, moving lights.Can have behavior (Behavior) determine the processing capabilities (keyboard, mouse, time, etc.)Can generate fog, background, sound, etc..Can form deformation, movement, generates three-dimensional animation.You can write very complex applications, for a variety of areas, such as VR.Java3D General IntroductionJava3DAPI is used to develop three-dimensional graphics and the development of Web-based 3D application (applet) programming interface. Currently used to develop 3D graphics software 3DAPI (OpenGL, Direct3D) are based on camera model of the idea that by adjusting the parameters of the camera to control the display of objects in the scene, while the Java3D has put forward a new platform based on Visual input device model as model and technology plan, which depending on the platform by changing the location, direction to navigate the virtual scene. It not only provides the construction and operation of high-level three-dimensional geometric objects, the constructor and the constructor can use varying degrees of construction of complex virtual scenes, these scenes as large as the universe of virtual objects as small as microscopic particles.Java3D is JavaMediaAPIs part, can be widely used in a variety of platforms and applications developed with Java3DAPI and Web-based 3D applets (applet), can also access the Java class, and can be well integrated with the Internet that, if installed in the browser navigation Java3D plug-in, available on-line virtual environment created by Java3D. Java3DAPI also learned the advantages of existing graphics APIs, that is the underlying Java3D graphics constructor not only integrated the underlying APIs ( Direcrt3D, OpenGL) to draw the best ideas, but it also integrates high-level graphics rendering scene graph based on the idea, at the same time, it introduces some common graphical environment is not considered a new concept (such as 3D stereo), this will help improve the user immersion in the virtual scene. Java3D for this article will focus on the proposed VR applications, as the model and input device based on the model of new ideas, on this basis also discussed how to use Java3D to develop VR applications and and its implementation is also designed and implemented an application example.1. Java3DAPI suitable for VR application development is well known, developing VR applications is a very tedious work, the developer must write the application may encounter a variety of input and display devices of the interface program, or rely on application for VR development and design of application programming interfaces (API), and the typical VR application must track the user's head position and orientation, to generate a head position and orientation consistent with the virtual scene graph.In addition, the need first to track other parts of the body (hand, arm or leg), then parts of the body in the virtual scene in virtual point of view and interact with objects in the scene, but the application must also be able to use tracking input devices objects placed in perspective, and marked its three-dimensional images generated location and orientation in the function. At the same time, for VR application development interfaces (API) to be able to support 3D graphics production, processing tracking the input, and can trace information back to the graphic processing.Java3DAPI head tracker can be automatically input into graphics generation, and have the information by visiting other trackers to control other features of the function, but it is through a new visual model (viewmodel) technology to achieve. The as the model is a real physical environment and the user computer-generated virtual environment independent of each other and build bridges of communication between them. The API also clearly defines the objects used to detect six degrees of freedom Java3D (6DOF) sensor in the return value, and applying it to display the scene graph. In short, this new model as the model and input devices can easily be interactive 3D graphics applications into VR applications.

赞(0)
版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
文章名称:《Java 3D virtual reality world in new ways》
文章链接:https://www.skykkk.com/archives3260.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。

相关推荐

  • 暂无文章