Search found 321 matches

by gunn
Sun 1. Feb 2009, 10:53
Forum: Core
Topic: Expanded Tutorials available
Replies: 4
Views: 2631

Thanks for the feedback. It's good to hear you find jReality useful. Regarding Ruby: The closest we've come to Ruby, I think, is that I have played some with Groovy , which has many simillarities to Ruby (as I understand it). I intend to write a tutorial example showing this link but haven't yet don...
by gunn
Thu 29. Jan 2009, 14:15
Forum: Programming Help
Topic: Error in documentation or wrong behaviour?
Replies: 7
Views: 1410

Good. I forgot to mention (in case others read this thread) that the indexed line set needs to have vertex normals if the method setLineLighting(true) is to have a reasonable effect. And, in case it hasn't already been said, use of vertex colors is orthogonal to use of line lighting: neither depends...
by gunn
Tue 27. Jan 2009, 12:42
Forum: Programming Help
Topic: Embedding into a SWT application?
Replies: 5
Views: 2493

Oops. Sorry I overlooked this posting. I've asked another team member with more experience to look at this thread. In the meantime you might be interested to take a look at the source folder src-swt in the jReality svn repository. We have successfully adapted jReality to use SWT but I'm personally n...
by gunn
Mon 26. Jan 2009, 12:42
Forum: Programming Help
Topic: Vertex colours without phong lighting
Replies: 9
Views: 1727

I alerted the author of the software backend concerning this thread and expect/hope that he will be able to post a reply soon regarding the behavior of the software backend in this regard.
by gunn
Mon 26. Jan 2009, 12:41
Forum: Programming Help
Topic: Error in documentation or wrong behaviour?
Replies: 7
Views: 1410

I believe the problem here has to do with the use of packaged distribution. Unfortunately it's not possible to keep the binary distribution up to date with the source. I've worked quite a bit recently on the details of the point and line shaders, including making the documentation conform to the per...
by gunn
Thu 22. Jan 2009, 17:13
Forum: Programming Help
Topic: Exception when creating DefaultTextShader
Replies: 3
Views: 1125

Yes, that works too. I didn't want to frighten you with the direct writing of shader attributes in case you are more comfortable with the shader interfaces, but it's quite useful to know how to write the attributes directly in case, as here, something with the shader interfaces doesn't work correctl...
by gunn
Thu 22. Jan 2009, 13:07
Forum: Programming Help
Topic: Exception when creating DefaultTextShader
Replies: 3
Views: 1125

This appears to be a bug. If you are using the svn repository to get jReality, you can update; the current version of the ShaderUtility class fixes this problem. If you are not using the svn repository source, then you can work around the problem by replacing the line causing the exception with the ...
by gunn
Thu 22. Jan 2009, 12:46
Forum: Programming Help
Topic: Vertex colours without phong lighting
Replies: 9
Views: 1727

It is possible to disable lighting calculations using the rendering hint "lightingEnabled". (Currently only the JOGL backend implements this directive.) The simplest way to set this for the scene graph rooted at the SceneGraphComponent sgc is: Appearance ap = sgc.getAppearance(); ap.setAttribute(Com...
by gunn
Mon 19. Jan 2009, 19:30
Forum: Programming Help
Topic: Error when jReality source moved to non-root folder
Replies: 4
Views: 1123

Are you sure the problem has to do with jReality? The stack trace has no methods that I see from any jReality classes. Could there be another problem related to the "font metrics" used by the basic Java window system?
by gunn
Mon 12. Jan 2009, 11:57
Forum: Programming Help
Topic: Error when jReality source moved to non-root folder
Replies: 4
Views: 1123

I'm confident this problem has a simple solution. Unfortunately the team member who is best equipped to deal with this question is on vacation for the next two weeks. He will answer when he returns.
by gunn
Wed 7. Jan 2009, 12:29
Forum: Programming Help
Topic: Surfaces from Generated Points
Replies: 6
Views: 1330

If I understand your last post correctly, you will post messages as you encounter new problems. Once I have more specific information about your needs, I will attempt to find appropriate examples that show how jReality might be used to meet those needs.
by gunn
Tue 16. Dec 2008, 10:44
Forum: Programming Help
Topic: Surfaces from Generated Points
Replies: 6
Views: 1330

All the documented code examples that we have are collected in the tutorial folder. I'm aware that there are many topics which are not covered by the tutorial. And there are many code examples floating around among the developers here which could be converted into tutorial examples. It would help me...
by gunn
Mon 15. Dec 2008, 19:29
Forum: Core
Topic: Change in how jReality specifies noneuclidean spaces
Replies: 1
Views: 1862

P.S. Given the fact that the methods for specifying the metric (signature) via the Viewer interface have been deprecated for years, I've gone ahead and taken the liberty of removing them from the interface and also all references in the svn repository. You can savely remove any references to these m...
by gunn
Mon 15. Dec 2008, 18:59
Forum: Bugs
Topic: setEdgeIndices() bug
Replies: 0
Views: 2035

setEdgeIndices() bug

Some of you may have been bitten by this bug. The following correct code led to an exception: double[][] verts = new double[3][3]; int[][] ind = new int[1][2]; IndexedLineSetFactory ilsf = new IndexedLineSetFactory(); ilsf.setVertexCount(3); ilsf.setVertexCoordinates(verts); ilsf.setEdgeCount(1); il...
by gunn
Mon 15. Dec 2008, 18:54
Forum: Core
Topic: Change in how jReality specifies noneuclidean spaces
Replies: 1
Views: 1862

Change in how jReality specifies noneuclidean spaces

In anticipation of getting off to a new start in the New Year, I've just carried a general refactoring on the svn repository, to replace the use of the term ''signature'' with the more precise term ''metric'' in all places where it occurs in the current source tree. That should not effect many users...