Search found 321 matches

by gunn
Fri 13. Feb 2009, 15:36
Forum: Backends
Topic: Which version of JOGL?
Replies: 2
Views: 1322

In the svn repository, there is now a subfolder linux64 of the jreality/jni folder. The linux64 folder contains the jogl native libraries for 64-bit linux machines. The other linux linbraries are 32-bit. Due to some problems we had with loading of other dynamic libraries with newer versions of JOGL ...
by gunn
Thu 12. Feb 2009, 11:37
Forum: Programming Help
Topic: Vertex colours without phong lighting
Replies: 9
Views: 1727

I agree with the sentiment and would favor adding "lightingEnabled" as an attribute to the default polygon shader. It could also be added to the default line shader (see this tutorial , at bottom.) The original reason it was put into the rendering hints shader, if I remember correctly, was that putt...
by gunn
Wed 11. Feb 2009, 11:33
Forum: Programming Help
Topic: Question concerning JOGL VertexArray implementation
Replies: 11
Views: 2261

Thanks for the information. The GlslPolygonShader is somewhat experimental code contributed by another team member, so I'm not sure how and when the shortcomings you've discovered will be repaired. In the meantime you may be able to avoid this problem by re-using the IndexedFaceSet you're working wi...
by gunn
Tue 10. Feb 2009, 18:26
Forum: Programming Help
Topic: non-euclidean geometry tutorial
Replies: 1
Views: 1371

i had to add an import line to make it work and it depends probably of your packaging. For me i need to add: import de.jreality.tools.FlyTool; That surprises me. There is a FlyTool class in the same package as the NonEuclideanExample (de.jreality.tutorial.misc) which is meant to be used here -- it'...
by gunn
Tue 10. Feb 2009, 16:35
Forum: Programming Help
Topic: Question concerning JOGL VertexArray implementation
Replies: 11
Views: 2261

My setup: A new quad-core Intel machine with 4 Gbytes and an NVidia Quadro FX 5600 with 1500Mbyte memory.

I'm not familiar with using FBO's to render geometry, just for rendering images. Can you provide a reference to where I might read about that?
by gunn
Tue 10. Feb 2009, 13:43
Forum: Programming Help
Topic: Question concerning JOGL VertexArray implementation
Replies: 11
Views: 2261

This is a brand-new tutorial which I cooked up because I wanted to find out be able to compare vertex arrays and display lists. You can read the results in the latest version of the tutorial here . As it mentions there, at least for the hardware I'm using and the situation of geometry that only chan...
by gunn
Mon 9. Feb 2009, 20:27
Forum: Programming Help
Topic: Serious problems with JOGL backend
Replies: 9
Views: 1700

If it's not too much trouble and the code isn't too complicated, please post it. I've seen intermittent problems like this but never have had an example that could be easily debugged. Can't promise I'll find time to do anything about it.
by gunn
Mon 9. Feb 2009, 16:25
Forum: Programming Help
Topic: Serious problems with JOGL backend
Replies: 9
Views: 1700

I will try this as well but unfortunately that will not work in all of my cases since sometimes the grid size might change over the course of runtime. I don't think that will cause problems. You can simply overwrite the geometry of the scene graph component using the setGeometry() method on SceneGr...
by gunn
Mon 9. Feb 2009, 13:10
Forum: Programming Help
Topic: Serious problems with JOGL backend
Replies: 9
Views: 1700

This is indeed mysterious. Here's one thing you can do to try to debug it. ap.setAttribute(CommonAttributes.ANY_DISPLAY_LISTS, false); Sometimes display lists in the JOGL backend cause problems. Another thing you can try is not to remove the SceneGraphComponent, but use the sgc.setVisible(false) met...
by gunn
Mon 9. Feb 2009, 12:34
Forum: Programming Help
Topic: JOGL backend diffuse colour on simple points not working
Replies: 2
Views: 1088

You stumbled upon a bug in the JOGL back end. The problem had to do with the way that points are rendered when CommonAttributes.SPHERES_DRAW is false. The JOGL backend uses a so-called pixel sprite to represent the points. There was a problem with how this texture was being rendered when vertex colo...
by gunn
Fri 6. Feb 2009, 17:28
Forum: Core
Topic: Expanded Tutorials available
Replies: 4
Views: 2631

The tutorial for the non-euclidean capabilities in jReality is now ready for testing. It could use much more extensive documentation but I'm not able to take the time to write it right now. You're welcome to post questions if things are not clear, but please don't use this forum thread; start a new ...
by gunn
Tue 3. Feb 2009, 21:58
Forum: Advanced Development
Topic: Jreality with Jruby
Replies: 10
Views: 4678

Thanks for the ViewerVR example. I'll include it with the first example in the tutorial package. I was inspired by the jruby connection to revive some older code that I had written to connect jReality to two other scripting languages, jython and groovy. I've added these to the tutorial package in jR...
by gunn
Tue 3. Feb 2009, 12:05
Forum: Programming Help
Topic: Vertex colours without phong lighting
Replies: 9
Views: 1727

It just hit me: "line intending" = "line indenting". Yes, you are right. That's probably been the ruin of many software projects. Everyone has their favorite indenting style which is synchronized with their private settings for the IDE they use (I think we all use Eclipse here) and so reading or edi...
by gunn
Tue 3. Feb 2009, 11:46
Forum: Programming Help
Topic: Vertex colours without phong lighting
Replies: 9
Views: 1727

It sounds like you found the right place to enable this feature. The author of the software backend is living in Munich so it's sometimes difficult to contact him. Btw I noticed that the line intending on a lot of the source files is totally inconsistent which makes it a very awkward to read the cod...
by gunn
Mon 2. Feb 2009, 16:35
Forum: Advanced Development
Topic: Jreality with Jruby
Replies: 10
Views: 4678

I was able to get the code to run quite easily. I changed to URL reference to be a reference to a copy of gridSmall.jpg sitting on the jReality web site so every user doesn't have to edit the filename for his filesystem. And I added what's needed to $CLASSPATH and $JAVA_LIBRARY_PATH to get the JOGL ...