English 中文(简体)
Java 3D Box and Cylinder inconency with criteria
原标题:Java 3D Box and Cylinder inconstency with parameters
  • 时间:2011-01-04 13:35:40
  •  标签:
  • java-3d

我在同一场景中创建了一个方框(1,1,1)和一个yl(0.5,1)。 但是,当我看一看单面时,盒子的大小是圆柱体的两倍。 箱子(1,1,1)是否是指ube的宽度和高度? 选择领域或合并措施与圆柱体一致?

问题回答

盒子的javadoc是可疑的。 构造的参数为浮游Xdim、浮游 y、浮游zdim。 盒式按原样(0、0、0)。 这三项参数界定了X、Y和Z等正轴上角。 相应的低角是(-xdim,-ydim, -zdim)负轴。 因此,盒子的大小为:湿度=×2、高度= y×2和深度=zdim×2。

8月





相关问题
Java3D: Painting 2D HUD over a Canvas3D

I m using Java3D to render a three-dimensional scene. I would like to overlay a two-dimensional "heads-up-display" on top of the 3d image. How can I efficiently paint the 2d content on top of the 3d ...

Java 3D Memory Leak

I have a large scene graph in Java 3D consisting out of a Group which contains around 3500 Switches, each containing a Shape3D and a Group, the latter contains two more Shape3Ds. The reason for this ...

Displaying 3D graphs using JUNG

I am new to JUNG, I can display graphs in 2D but can anyone show me how to show 3d graphs.

Java 3d: Unable to get Shape3D to be affected by lights

I am attempting to get a custom Shape3D to be affected by a DirectedLight in java 3D, but nothing I do seems to work. The Shape has a geometry that is an IndexedQuadArray, with the NORMAL flag set ...

Java3d + osx + netbeans

I have a java3d project that was developed on solaris that I am trying to move onto my macbook for a variety of reasons (1 being that our solaris machines are painfully slow). Basically what I want ...

Rotate around a specific point in Java3D

I m importing 2 models in Java3D, scaling them down and then rotating one of them using a RotationInterpolator However, this rotates the object around the origin. I want to rotate the object around ...

Help debugging GL_VERSION error in a Java3d application

I m working on a 3d globe application written in java using java3d for the rendering. I ve got a windows installer that basically copies files from a development snapshot to the program files ...

热门标签