Hi Friends:
I am using PureImmediate mode to render Geometry
and Text2D intermittently. I found that If I render Geometry and
Text2D, only the Text2D can be viewed. There was a blank screen
during the time when Geometry should be rendered. When
I Wrapped the Geometry and Text2D in Shape3D separately and render the
Shape3D, still only text2D could be viewed. But there were some error
messages shown when the Geometry was going to be rendered, as
following:
java.lang.NullPointerException
at
javax.media.j3d.GraphicsContext3D.doDraw(GraphicsContext3D.java:1939)
at
javax.media.j3d.Renderer.doWork(Renderer.java:477)
at
javax.media.j3d.J3dThread.run(J3dThread.java:250) Could any one tell me why it was and how to
fix it?
In fact, my task is quite simple: I want to display some text information intermittently on
the selected position of the screen when the PureImmadiate.java is
running. Could any one give me some clue about how to do it?
Thank you!
G.B. Liu
|
- [JAVA3D] Combining LineArray into a single object Jasmine Kwok
- Re: [JAVA3D] Combining LineArray into a single obje... Brad Christiansen
- Guang Bin Liu