Search found 141 matches
- Mon 9. Feb 2009, 12:52
- Forum: Programming Help
- Topic: Serious problems with JOGL backend
- Replies: 9
- Views: 1700
Serious problems with JOGL backend
I have got a serious problem with the JOGL backend when using medium sized geometry. I've got a 512x512 QuadMesh grid in a SceneComponentGraph node. So far everything works fine. But when I remove that scene node, regenerate the node, add the node again (and I repeat that process maybe once more) my...
- Fri 6. Feb 2009, 18:25
- Forum: Programming Help
- Topic: JOGL backend diffuse colour on simple points not working
- Replies: 2
- Views: 1088
JOGL backend diffuse colour on simple points not working
As soon as my geometry has vertex colours rendering it as points always renders all the points black. I tried both using the appearance itself and calling this: Appearance ap = sgc.getAppearance(); ap.setAttribute(CommonAttributes.LIGHTING_ENABLED,false); ap.setAttribute(CommonAttributes.POINT_SHADE...
- Tue 3. Feb 2009, 16:44
- 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. Yes sorry for the typo. I am not so extremly familair with Eclipse so far the exposures I had with it haven't left the best impression on me. But I think sometimes they ...
- Tue 3. Feb 2009, 11:42
- Forum: Programming Help
- Topic: Embedding into a SWT application?
- Replies: 5
- Views: 2494
- Tue 3. Feb 2009, 11:38
- Forum: Programming Help
- Topic: Vertex colours without phong lighting
- Replies: 9
- Views: 1727
Hi gunn, I made some modifications to the software backend and it now acknowledges the lightingEnabled attribute. To do this I just had to do some minor changes: in de.jreality.shader.DefaultPolygonShader (trunk/src-core/de/jreality/shader) I added this field final static boolean LIGHTING_ENABLED_DE...
- Mon 2. Feb 2009, 11:45
- Forum: Programming Help
- Topic: Build brokken?
- Replies: 3
- Views: 907
- Mon 2. Feb 2009, 11:42
- Forum: Programming Help
- Topic: Flat vs. smooth shading
- Replies: 2
- Views: 1079
The problem is I think you do not have vertex normals you need a normal at each vertex to get Gouraud aka smooth shading to work. Try to add this line: indexedFaceSetFactory.setGenerateVertexNormals(true) I assume this does neighbour weighting of all the Face normals to generate a vertex normal for ...
- Fri 30. Jan 2009, 13:38
- Forum: Programming Help
- Topic: Error in documentation or wrong behaviour?
- Replies: 7
- Views: 1410
Well I sort of hacked the functionality into the Software render now (for my own purposes 8)) it looks to me that there is no codepath or hooks for using vertex colours with IndexedLineSets at the moment at all. It will require quite a few changes in RenderingVistor.java and TrianglePipeline.java. :?
- Thu 29. Jan 2009, 17:49
- Forum: Programming Help
- Topic: Error in documentation or wrong behaviour?
- Replies: 7
- Views: 1410
Hmm looking at the source code I think the problem of the software backend lies in the processLine routine in TrianglePipeline.java it doesn't copy the vertex colour data also it then always automatically set the shader to a constantLineShader which is a DefaultPolygonShader that uses a ConstantVert...
- Thu 29. Jan 2009, 13:59
- Forum: Programming Help
- Topic: Error in documentation or wrong behaviour?
- Replies: 7
- Views: 1410
- Thu 29. Jan 2009, 13:17
- Forum: Programming Help
- Topic: Error in documentation or wrong behaviour?
- Replies: 7
- Views: 1410
Thanks gunn. I have checked out the latest source code from the repository and I will try it to see if I get a different / correct behaviour. I was a bit surprised there is more code in the repository than I expected. I did so now and with the latest trunk checkout (this morning) I'll still see the...
- Thu 29. Jan 2009, 12:35
- Forum: Programming Help
- Topic: Build brokken?
- Replies: 3
- Views: 907
After deleting the TrackballRotateTool source file, it manages to pass that module but later I'll get compile errors in [javac] C:\local_code\jreality\trunk\src-swing\de\jreality\swing\FakeFramePe er5.java:5: de.jreality.swing.FakeFramePeer5 is not abstract and does not override abstract method getB...
- Thu 29. Jan 2009, 12:30
- Forum: Programming Help
- Topic: Embedding into a SWT application?
- Replies: 5
- Views: 2494
- Thu 29. Jan 2009, 12:28
- Forum: Programming Help
- Topic: Build brokken?
- Replies: 3
- Views: 907
Build brokken?
I just checked out the latest version out of the repository and when I try ant release I'll get a compile error in tools: [javac] Compiling 91 source files to C:\local_code\jreality\trunk\build\tool s [javac] C:\local_code\jreality\trunk\src-tool\de\jreality\tools\TrackballRot ateTool.java:64: packa...
- Mon 26. Jan 2009, 16:08
- Forum: Programming Help
- Topic: Error in documentation or wrong behaviour?
- Replies: 7
- Views: 1410