Search found 186 matches
- Tue 5. Oct 2010, 14:55
- Forum: Bugs
- Topic: Offscreen rendering cuts off sometimes
- Replies: 5
- Views: 2090
Re: Offscreen rendering cuts off sometimes
I am not able to reproduce the problem - do you render via the menu or from code? Can you post a minimal example that demonstrates the problem? Btw. why not use FBOs? Good question, I think this is also a point we should keep in mind for improving the jogl backend. BTW: Are you interested in helping...
- Wed 29. Sep 2010, 12:09
- Forum: Advanced Development
- Topic: Porting from JOGL 1.1 to JOGL 2
- Replies: 6
- Views: 2676
Re: Porting from JOGL 1.1 to JOGL 2
So, questions: What is actually in src-gpgpu? Are you guys also working on this? Once I've finished and tested this, would you like me to share the code? The gpu stuff is hardly used, and I'll take care that it will work once we have moved to jogl 2. And yes: we definitely want you to share the cod...
- Fri 17. Sep 2010, 14:05
- Forum: General jReality Discussion
- Topic: Cave working, but not synchronizing
- Replies: 23
- Views: 6249
Re: Cave working, but not synchronizing
I also think that we should move to jogl 2, and I think we should make several improvements to the existing jogl backend in that context. One problem that I have is that tube rendering is very very slow, even on the latest Nvidia GTX 480. My impression is that rendering all the small cylinders with ...
- Thu 16. Sep 2010, 22:52
- Forum: General jReality Discussion
- Topic: Cave working, but not synchronizing
- Replies: 23
- Views: 6249
Re: Cave working, but not synchronizing
Basically, I need the GLContext, the GLCapabilities, and the GLCapabilitiesChooser. These are used to get the WindowsGLContext. It looks like de.jreality.jogl.Viewer is the correct place to implement this. (Is this the right file when I'm using PortalServerViewer as my viewer?) Yes, this is the Vie...
- Mon 13. Sep 2010, 22:05
- Forum: General jReality Discussion
- Topic: Cave working, but not synchronizing
- Replies: 23
- Views: 6249
Re: Cave working, but not synchronizing
Sounds like we need to make use of the hardware synchronization feature of the graphics cards. Do you know how this works and how other software packages use it?
Steffen.
Steffen.
- Sun 12. Sep 2010, 15:50
- Forum: Programming Help
- Topic: How do I get vertices and edges from indexedfaceset?
- Replies: 2
- Views: 750
Re: How do I get vertices and edges from indexedfaceset?
Hi Andre, sorry for the slow response - you can get the data out of the IndexedFaceSet as follows: double[][] vertexPositions = tet.getVertexAttributes(Attribute.COORDINATES).toDoubleArrayArray(null); int[][] edgeIndices = tet.getEdgeAttributes(Attribute.INDICES).toIntArrayArray(null); int[][] faceI...
- Mon 6. Sep 2010, 17:21
- Forum: Programming Help
- Topic: Updating ViewingComponent
- Replies: 3
- Views: 717
Re: Updating ViewingComponent
Sorry, I just saw you are using JRViewer. So, here is how you obtain the viewer: JRViewer jrv = ...; // configure jrv panel = jrv.startupLocal(); Viewer v = jrv.getPlugin(View.class).getViewer(); Then you can call v.render() whenever your scene has changed. But it looks strange that the rendering is...
- Mon 6. Sep 2010, 17:13
- Forum: Programming Help
- Topic: Updating ViewingComponent
- Replies: 3
- Views: 717
Re: Updating ViewingComponent
Hi, you need to call the render method on the Viewer. How did you create the panel?
- Fri 27. Aug 2010, 17:49
- Forum: General jReality Discussion
- Topic: Cave working, but not synchronizing
- Replies: 23
- Views: 6249
Re: Cave working, but not synchronizing
We do not use hardware synchronization at all...
- Thu 12. Aug 2010, 18:37
- Forum: Programming Help
- Topic: cylinder transparency
- Replies: 3
- Views: 837
Re: cylinder transparency
You have to enable transparency in the RenderingHintsShader: RenderingHintsShader rhs = ShaderUtility.createDefaultRenderingHintsShader(appearance, false); rhs.setTransparencyEnabled(true); This is because OpenGL does not enable transparent rendering by default. And there is also no depth buffer sor...
- Thu 12. Aug 2010, 07:02
- Forum: Programming Help
- Topic: Marquee tool and projection
- Replies: 2
- Views: 728
Re: Marquee tool and projection
My guess is that you need to invert the matrix C with the camera path - this maps camera coordinates to world coordinates, but you want to map world coordinates into the Camera coordinate system. Maybe it is the other way round, but definitely one of the matrices needs to be inverted.
Steffen.
Steffen.
- Wed 11. Aug 2010, 05:46
- Forum: Bugs
- Topic: GLJPanelViewer does not get key events
- Replies: 2
- Views: 1369
Re: GLJPanelViewer does not get key events
in de.jreality.jogl.Viewer there is some tweaking with the awt events (they are propagated to a JPanel as far as I remember) - probably your problem is related to that. I think it is inside the getComponent-method - at least you should find out from there what happens...
Steffen.
Steffen.
- Tue 3. Aug 2010, 18:08
- Forum: General jReality Discussion
- Topic: Cave working, but not synchronizing
- Replies: 23
- Views: 6249
Re: Cave working, but not synchronizing
Hi, I'll also look into this, but for the next two weeks I am quite busy with other things...
Steffen.
Steffen.
- Thu 22. Jul 2010, 12:13
- Forum: General jReality Discussion
- Topic: CAVE setup problems
- Replies: 29
- Views: 6583
Re: CAVE setup problems
Update: Managed to switch the head and wand. From the system administrator: The right way to switch that is to edit the file src-tool/de/jreality/toolsystem/config/chunks/toolconfig-portal-trackd.xml So the head tracking works great and I am seeing the wand pointer ... Looking very nice! Great! I'd...
- Thu 22. Jul 2010, 00:13
- Forum: General jReality Discussion
- Topic: CAVE setup problems
- Replies: 29
- Views: 6583
Re: CAVE setup problems
I mean JRViewer -vr instead of ViewerVR. ViewerVR is deprecated (but it still works) - please check if JRViewer runs...