简体   繁体   English

我可以在Java3D中使用Point Sprites吗?

[英]Can I use Point Sprites in Java3D?

It looks like native support for Point Sprites was planned, but never got implemented in Java3D. 似乎已经计划对Point Sprites进行本机支持,但从未在Java3D中实现。

Point Sprite RFE 点精灵RFE

Short of adding it to the source code and compiling my own version of Java3D, is there any workaround that would let me create a Geometry derived class that uses Point Sprites to render? 除了将其添加到源代码并编译自己的Java3D版本之外,是否有其他解决方法可以让我创建使用Point Sprites渲染的Geometry派生类?

Well, if you think about what exactly a point is when rendered, it's really just a small circle. 好吧,如果您考虑渲染时的确切点,那实际上只是一个小圆圈。 I'm not super familiar with Java3D, but I'm sure there's either a class that can allow you to render circles, and if not it should be straight-forward to write something that can render a circle. 我对Java3D并不是很熟悉,但是我确定有一个可以允许您绘制圆的类,如果没有,那么可以简单地编写一些可以绘制圆的东西。 You'll just have to be careful to ensure that the circle is always facing the camera completely to appear as a point. 您只需要注意确保圆始终始终完全面向相机以显示为一个点。

The answer I came up with, unfortunately, is no. 不幸的是,我想出的答案是“否”。 As of today there seems to be no functionality to allow point sprites and the addition of point sprites has been dropped. 到今天为止,似乎还没有允许点精灵的功能,并且已经删除了点精灵。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM