2011年8月12日

JME中级手册,SimpleApplcation

摘要: SimpleApplication ClassThe com.jme3.app.SimpleApplication class extends the com.jme3.app.Application class to provide default functionality like a first-person (fly-by) camera, and a scenegraph with a rootNode that is updated and rendered regularly. By default, a SimpleApplication displays statistic 阅读全文

posted @ 2011-08-12 11:40 苏桓(osbert) 阅读(507) 评论(0) 推荐(0)

JME3中级手册--最佳实践1

摘要: 需求整理As a quick overview, answer yourself the following questions:Motivation(理念)Sum up your game idea in one sentence. If you can't, it's too complicated.用一句话总结游戏的想法,如果做不到就太复杂了Who's the target group? Why would they choose your game over the million others that exist?谁是目标群体?为什么选择这个游戏?Game 阅读全文

posted @ 2011-08-12 11:39 苏桓(osbert) 阅读(371) 评论(0) 推荐(1)

JME中级手册,Applcation

摘要: Application ClassThe com.jme3.app.Application class represents an instance of a real-time 3D rendering jME3 application. A com.jme3.app.Application provides all the tools that are commonly used in jME3 applications.Class field or methodPurposecontextThe application context contains renderer,AppSetti 阅读全文

posted @ 2011-08-12 11:39 苏桓(osbert) 阅读(492) 评论(0) 推荐(0)

JME3中级手册一API特征映射4

摘要: GUI DisplayHow do I…?Use this JME 3 Feature!Learn more here…SimpleApplication中的默认调试显示app.setDisplayFps(false);app.setDisplayStatView(false);N/A显示文字(分数,生命值)迷你地图或状态图标Attach a picture to the orthogonalguiNodeto create a heads-up display (HUD).com.jme3.font.*, com.jme3.ui.Picture. guiNode.attachChild()H 阅读全文

posted @ 2011-08-12 11:38 苏桓(osbert) 阅读(434) 评论(0) 推荐(0)

JME3中级手册一API特征映射3

摘要: 动作,互动,物理How do I…?Use this JME 3 Feature!Learn more here…实现游戏逻辑和游戏力学Use Controls to define behaviours of types of Spatials. Use Application States to implement global behaviours. Use thesimpleUpdate()loop for the remaining tests and interactions. Use Cinematics to remote-control objects in scenes.使用 阅读全文

posted @ 2011-08-12 11:37 苏桓(osbert) 阅读(673) 评论(0) 推荐(0)

JME3中级手册一API特征映射2

摘要: 创建和操作物体How do I…?Use this JME 3 Feature!Learn more here…制作简单形状像立方体,球体com.jme3.scene.Geometry, com.jme3.scene.shape.*Hello Node,ShapeTestCylinder.java,TestBox.java,TestSphere.java创建3D模型Create the model in a 3-D mesh editor (for example Blender) and export it as OgreXMLmesh.Download Blender,Blender tu 阅读全文

posted @ 2011-08-12 11:35 苏桓(osbert) 阅读(596) 评论(0) 推荐(0)

JME3中级手册一API特征映射1

摘要: 应用和场景绘制How do I…?Use this JME 3 Feature!Learn more here…启动预先设定的游戏com.jme3.app.SimpleApplicationHello SimpleApplication使物体显现在场景Attach nodes and geometries to the rootNode: rootNode.attachChild(geo);com.jme3.scene.Node, com.jme3.scene.Geometrynode.setCullHint(CullHint.Never);The Scene GraphHello Asset 阅读全文

posted @ 2011-08-12 11:34 苏桓(osbert) 阅读(341) 评论(0) 推荐(0)

JME基础教程代码分析13物理碰撞

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.asset.TextureKey;import com.jme3.bullet.BulletAppState;import com.jme3.bullet.control.RigidBodyControl;import com.jme3.font.BitmapText;import com.jme3.input.MouseInput;import com.jme3.input.controls.ActionListener;import com.jme 阅读全文

posted @ 2011-08-12 11:33 苏桓(osbert) 阅读(789) 评论(0) 推荐(0)

JME基础教程代码分析12 效果控制

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.effect.ParticleEmitter;import com.jme3.effect.ParticleMesh;import com.jme3.material.Material;import com.jme3.math.ColorRGBA;import com.jme3.math.Vector3f;/** Sample 11 - how to create fire, water, and explosion effects. */public 阅读全文

posted @ 2011-08-12 11:32 苏桓(osbert) 阅读(283) 评论(0) 推荐(0)

JME基础教程代码分析11 音频

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.audio.AudioNode;import com.jme3.input.controls.ActionListener;import com.jme3.input.controls.MouseButtonTrigger;import com.jme3.material.Material;import com.jme3.math.ColorRGBA;import com.jme3.math.Vector3f;import com.jme3.scene 阅读全文

posted @ 2011-08-12 11:31 苏桓(osbert) 阅读(318) 评论(0) 推荐(0)

JME基础教程代码分析10高度图

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.material.Material;import com.jme3.renderer.Camera;import com.jme3.terrain.geomipmap.TerrainLodControl;import com.jme3.terrain.heightmap.AbstractHeightMap;import com.jme3.terrain.geomipmap.TerrainQuad;import com.jme3.terrain.heig 阅读全文

posted @ 2011-08-12 11:30 苏桓(osbert) 阅读(416) 评论(0) 推荐(0)

JME基础教程代码分析9 碰撞、刚体、场景加载

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.asset.TextureKey;import com.jme3.asset.plugins.ZipLocator;import com.jme3.bullet.BulletAppState;import com.jme3.bullet.collision.shapes.CapsuleCollisionShape;import com.jme3.bullet.collision.shapes.CollisionShape;import com.jme3 阅读全文

posted @ 2011-08-12 11:30 苏桓(osbert) 阅读(862) 评论(0) 推荐(0)

JME基础教程代码分析8 碰撞

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.collision.CollisionResult;import com.jme3.collision.CollisionResults;import com.jme3.font.BitmapText;import com.jme3.input.KeyInput;import com.jme3.input.controls.ActionListener;import com.jme3.input.controls.KeyTrigger;import c 阅读全文

posted @ 2011-08-12 11:29 苏桓(osbert) 阅读(424) 评论(0) 推荐(0)

JME基础教程代码分析7

摘要: 对原版做了一定的修改package com.hello;import com.jme3.animation.AnimChannel;import com.jme3.animation.AnimControl;import com.jme3.animation.AnimEventListener;import com.jme3.animation.LoopMode;import com.jme3.app.SimpleApplication;import com.jme3.input.KeyInput;import com.jme3.input.controls.ActionListener;im 阅读全文

posted @ 2011-08-12 11:28 苏桓(osbert) 阅读(434) 评论(0) 推荐(0)

JME基础教程代码分析6

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.light.DirectionalLight;import com.jme3.material.Material;import com.jme3.material.RenderState.BlendMode;import com.jme3.math.ColorRGBA;import com.jme3.math.Vector3f;import com.jme3.scene.Geometry;import com.jme3.scene.shape.Box; 阅读全文

posted @ 2011-08-12 11:27 苏桓(osbert) 阅读(801) 评论(0) 推荐(0)

JME基础教程代码分析5

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.material.Material;import com.jme3.math.Vector3f;import com.jme3.scene.Geometry;import com.jme3.scene.shape.Box;import com.jme3.math.ColorRGBA;import com.jme3.input.KeyInput;import com.jme3.input.MouseInput;import com.jme3.input. 阅读全文

posted @ 2011-08-12 11:27 苏桓(osbert) 阅读(429) 评论(0) 推荐(0)

JME基础教程代码分析4

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.material.Material;import com.jme3.math.ColorRGBA;import com.jme3.math.Vector3f;import com.jme3.scene.Geometry;import com.jme3.scene.shape.Box;/** Sample 4 - how to trigger repeating actions from the main update loop.* In this ex 阅读全文

posted @ 2011-08-12 11:26 苏桓(osbert) 阅读(293) 评论(0) 推荐(0)

JME基础教程代码分析3

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.font.BitmapText;import com.jme3.light.DirectionalLight;import com.jme3.material.Material;import com.jme3.math.Vector3f;import com.jme3.scene.Geometry;import com.jme3.scene.Spatial;import com.jme3.scene.shape.Box;/** Sample 3 - h 阅读全文

posted @ 2011-08-12 11:24 苏桓(osbert) 阅读(349) 评论(0) 推荐(0)

JME基础教程代码分析2

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.material.Material;import com.jme3.math.Vector3f;import com.jme3.scene.Geometry;import com.jme3.scene.shape.Box;import com.jme3.math.ColorRGBA;import com.jme3.scene.Node;/** Sample 2 - How to use nodes as handles to manipulate ob 阅读全文

posted @ 2011-08-12 11:24 苏桓(osbert) 阅读(314) 评论(0) 推荐(0)

JME基础教程代码分析1

摘要: 有人还在问ecplisce的JME3开发环境怎么配,其实文档和教程已经说了:Using any other IDE, create a Java SE project and placejMonkeyEngine3.jarand all JARs from thelibdirectory on the Classpath. 使用其他IDE工具需要把jMonkeyEngine3.jar包和lib目录下的JARS包加到Classpath下,我的还是做个user lib好。第一个程序package jme3test.helloworld;import com.jme3.app.SimpleAppli 阅读全文

posted @ 2011-08-12 11:18 苏桓(osbert) 阅读(557) 评论(0) 推荐(0)

page8 Automatic culling

摘要: page8Automatic cullingjMonkeyEngine3 automatically culls geometries that are not in the view of the cameraJME3的自动剔除几何体是在相机不可视时a camera viewing the scene 相机观察场景时all geometries are visible to the camera, none are culled所有相机可见的几何体,都没有被剔除the camera has been moved and now only the house is in its view fr 阅读全文

posted @ 2011-08-12 11:17 苏桓(osbert) 阅读(153) 评论(0) 推荐(0)

page7 Culling 剔除

摘要: page7Culling 剔除hiding spatials and nodesWhat is Culling?1:Culling means that a geometry is not rendered by the graphics card(Culling意味着几何体不是被图片渲染的)2:The geometry is still processed as part of the scene graph but all rendering-related operations are suspended(被操作的几何体仍然做为场景的一部分,但所有的渲染相关操作是被停止的)3:A spa 阅读全文

posted @ 2011-08-12 11:14 苏桓(osbert) 阅读(194) 评论(0) 推荐(0)

page6 Organizing with Node 组织与节点

摘要: page6Organizing with Node组织与节点using nodes to organize the scene graph 利用节点组织场景图the root node in a normal scene 在一个正常场景中的跟节点like any node it can have other spatials, e.g. nodes as children像任何节点都能有其他空间体一样,也有子节点these nodes in turn can have other nodes and spatials as children as well反言之任何节点也可以有其他节点以及空间 阅读全文

posted @ 2011-08-12 11:11 苏桓(osbert) 阅读(168) 评论(0) 推荐(0)

page5 Node

摘要: page5Node(理解起来像是xml,也幸亏如此,才能让编程变得简单点)parents and children这种标题应该是重点What are nodes?1:A node is a spatial that can have other spatials as children(节点是空间体,能够作为其他空间的子)2:The children of the node are moved and rotated relative to their parent node(子节点相对于其父节点上移动和旋转,我经过程序测试,貌似相对于父节点的移动旋转也是适用左手定则的)3:The scene 阅读全文

posted @ 2011-08-12 11:02 苏桓(osbert) 阅读(192) 评论(0) 推荐(0)

page4 Geometry几何

摘要: page4Geometry几何visible objects in the scene graph场景中显示对象What is a Geometry?1:A geometry is the type of spatial that is actually visible on the screen (Geometry几何是spatial空间的一种类型,可以实际显示可见)2:A geometry has a mesh to define its form and a material to define the appearace(几何体有网格 mesh来定义它的材质和外观)geometry.s 阅读全文

posted @ 2011-08-12 10:50 苏桓(osbert) 阅读(202) 评论(0) 推荐(0)

page3 Three Dimensions(三维) 1:The loca

摘要: page3Three Dimensions(三维)1:The locations in the scene graph are defined using X, Y and Z coordinates(场景图中位置定义用XYZ)2:Y is upwards, X is right and Z is towards you(比较适合左手定则,手心对着自己就是z轴,大拇指是y轴,四指指向x轴)a spatial with a zero location and rotation(一个空间有0点坐标和旋转)you can move the spatial using e.g.spatial.move 阅读全文

posted @ 2011-08-12 10:38 苏桓(osbert) 阅读(333) 评论(1) 推荐(0)

page2 objects in a virtual space虚拟空间

摘要: page2objects in a virtual space虚拟空间中的对象体Graph1:The scene graph is the virtual space that your game happens in(场景图出现在游戏的虚拟空间中)2:The objects in the scene graph are called "spatials"(场景图中的对象被称为“空间”,注意这里是个名词,java中一定有它的对象,并且是个基类)3:Spatials have a translation (location), a rotation and s scale ( 阅读全文

posted @ 2011-08-12 10:35 苏桓(osbert) 阅读(226) 评论(0) 推荐(0)

JME的学习笔记,从自己的qq空间搬过来

摘要: 3D Scene Graph for me(个人学习3d场景)page1什么是我将学习的1:什么是scene graph(场景)和什么是spatial(空间)2:什么是geometry(几何),如何定义他的外观3:什么是node(节点)和它的parent-child(父子关系)4:如何组织场景图直观和逻辑的使用节点5:怎样隐藏单体空间或整体场景的组成部分原文来自http://jmonkeyengine.org/wiki/doku.php/jme3:scenegraph_for_dummies 阅读全文

posted @ 2011-08-12 10:34 苏桓(osbert) 阅读(319) 评论(0) 推荐(0)

jdon的设计模式详细解读

摘要: http://www.jdon.com/designpatterns/index.htm 阅读全文

posted @ 2011-08-12 10:32 苏桓(osbert) 阅读(120) 评论(0) 推荐(0)

java代码库

摘要: 有时访问不了,可能需要翻qianghttp://www.java2s.com/CN/Code/Java 阅读全文

posted @ 2011-08-12 10:30 苏桓(osbert) 阅读(51) 评论(0) 推荐(0)

刚来报个到

摘要: 呵呵 阅读全文

posted @ 2011-08-12 10:26 苏桓(osbert) 阅读(134) 评论(0) 推荐(0)

导航