首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > java的场景图

java的场景图

  • 资源大小:134.82 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: java opengl Game scenegraph

资 源 简 介

Java Scene Graph Java Scene Graph is a simple and fast scene graph. It has a simple datastructure that is easy to use. It is build on LWJGL wich is a OpenGL binding for Java. Most of the important features of OpenGL are supported. Datastructure The scene graph data structure looks like this: SceneGraph ------ RenderPass ------ Shape The SceneGraph has a list of RenderPasses that is rendererd in order. The render pass can render to screen or a texture using pbo. The render pass has one or more Shapes that it renders. A Shape has a model matrix, state and vertex data. Shapes can be sorted on state, or by distance to the view. Transform hierarchys are supported threw an optional TreeNode in RenderPass. All it does is add the shapes in the tree to the render pass and updates the shapes matrix when the tree treansorms change. Rendering The renderer will optimise the rendering depending on usage.
VIP VIP
0.184107s