Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Achim

#1
Has anybody experimented with the NVIDA 3D drivers to display true 3D images, using their "3D vision discover" mode with anaglyphic rendering?
I would like to know what I would need to do to use this function in an AWTGL canvas.
#2
Support / problems migrating to Windows 7 64 bits
January 02, 2010, 10:44:08 AM
Hi, I am moving my application to my new Windows 7 64 bit system and have memory problems when using the HW renderer (sw rendering works fine). I am thinking this may have to do with 32bit libs. The error I am getting is after creating the HW FrameBuffer (which doesn't show anything except the background in the specified color):

Loading Texture...karoXY.jpg
Loading Texture...karoYZ.jpg
Loading Texture...karoXZ.jpg
Loading Texture...karobw.jpg
Loading Texture...envmap-alu.jpg
Java version is: 1.6.0_14
-> support for BufferedImage
Version helper for 1.2+ initialized!
-> using BufferedImage
Software renderer (OpenGL mode) initialized
Software renderer disposed
Using LWJGL's AWTGLCanvas
Adding Lightsource: 0
Driver is: RDPDD/null on NVIDIA Corporation / GeForce GT 220/PCI/SSE2
GL_ARB_texture_env_combine supported and used!
FBO supported and used!
OpenGL renderer initialized (using 4 texture stages)
Hardware supports textures up to 8192*8192 in size!
Additional visibility list (2) created with size: 4096
Additional visibility list (3) created with size: 4096
Additional visibility list (4) created with size: 4096
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Direct buffer memory
   at java.nio.Bits.reserveMemory(Bits.java:633)
   at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:95)
   at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288)
   at com.threed.jpct.GLBase.convertTexture(Unknown Source)
   at com.threed.jpct.GLBase.setRenderTarget(Unknown Source)
   at com.threed.jpct.AWTGLRenderer.executeGL(Unknown Source)
   at com.threed.jpct.AWTJPCTCanvas.paintGL(Unknown Source)
   at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:288)
   at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:317)
   at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
   at sun.awt.RepaintArea.paint(RepaintArea.java:216)
   at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:306)
   at java.awt.Component.dispatchEventImpl(Component.java:4706)
   at java.awt.Component.dispatchEvent(Component.java:4460)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

The code runs OK in my old Windows XP environment. Any suggestions of what I could do? (I am using  lwjgl 2.2.1 already)

#3
Support / black shiny and chrome surfaces - how to?
February 25, 2009, 08:45:05 AM
Hello,
I am trying to get curved surfaces appear reflective (as far as it's possible in jPCT, anyway).
For a essentially black texture I was not able to achieve any highlights from point a light source, and also could not get a chrome effect.
I tried specular reflections and environment mapping, but could not see any differences when switching these settings on or off  >:(
Any ideas what I am doing wrong?
Achim
#4
Projects / Interactive models of tensegrity structures
February 15, 2009, 12:10:15 AM
I converted my old Java applet simulating Tensegrity structures from pseudo 3D code to a proper 3D rendering using jPCT.

Check out http://complexity.xozzox.de/tensegrity.html , play around with it (there is some help below the applet, as well as an explanation what tensegrity structures actually are) and tell me what you think.

Achim