## Search found 17 matches

Wed 10. Sep 2014, 23:18
Forum: Bugs
Topic: JOGL3Viewer ORTHOGONAL viewing
Replies: 5
Views: 1367

### Re: JOGL3Viewer ORTHOGONAL viewing

Another example tells that this assumption, "the resolution is not high enough" is the reason for the bad rendering, cannot stand. I set the near -100 and far remains 100 for the ORTHOGONAL viewing. This setting supposes to make the resolution problem worse according to "the resolution is not high e...
Wed 10. Sep 2014, 21:30
Forum: Bugs
Topic: JOGL3Viewer ORTHOGONAL viewing
Replies: 5
Views: 1367

### Re: JOGL3Viewer ORTHOGONAL viewing

I knew 100 is not the solution for all. The relationship between distance and z is linear in an orthographic projection, but not in a perspective projection. It would be easier to deal with linear cases, isn't it? But anyway, for this specific case, I draw these vertices, double [][] vertices = new ...
Wed 10. Sep 2014, 15:59
Forum: Bugs
Topic: JOGL3Viewer ORTHOGONAL viewing
Replies: 5
Views: 1367

### Re: JOGL3Viewer ORTHOGONAL viewing

Hi Andre, Thanks for the information. With my testing, it indeed is related to far plane. But apparently, 100 is not the solution for all. IndexedFaceSetFactory ifsf = new IndexedFaceSetFactory(); double [][] vertices = new double[][] { {-.8f, .3f, .5f, 1}, {.3f, .3f, .5f, 1}, {.3f, -.8f, .5f, 1}, {...
Wed 3. Sep 2014, 21:48
Forum: Bugs
Topic: JOGL3Viewer ORTHOGONAL viewing
Replies: 5
Views: 1367

### JOGL3Viewer ORTHOGONAL viewing

Hi, I think this is a bug. When we use cam.setPerspective(false) to get the ORTHOGONAL viewing, the rendering is messed up. PERSPECTIVE: PERSPECTIVE.PNG ORTHOGONAL ORTHOGONAL.PNG I guess the camera PERSPECTIVE/ORTHOGONAL property only affects the projection matrix which determines the position infor...
Tue 26. Aug 2014, 16:19
Forum: Backends
Topic: JOGL3Viewer doesn't support the transparency?
Replies: 11
Views: 2965

### Re: JOGL3Viewer doesn't support the transparency?

Hi, Besides LineShaderExample is still not working using JOGL3Viewer, Just let you guys know that the ClippingPlaneExample doesn't work either if I use the JOGL3Viewer. It looks like we have a long way to go if we want the same feature of the old viewer. Thanks. I'm glad that you will work on it soo...
Tue 10. Dec 2013, 00:59
Forum: Backends
Topic: JOGL3Viewer doesn't support the transparency?
Replies: 11
Views: 2965

### Re: JOGL3Viewer doesn't support the transparency?

In DepthPeeling.java, two FBOs are used. One of them mount with the color and depth and the other one mount with only the depth. glDrawBuffer with GL_NONE means No color buffers are written which fits the one with the depth only. Can you explain what this command (glDrawBuffer) exactly does in this ...
Thu 5. Dec 2013, 19:12
Forum: Backends
Topic: JOGL3Viewer doesn't support the transparency?
Replies: 11
Views: 2965

### Re: JOGL3Viewer doesn't support the transparency?

Some updates. Without updating the drivers, tested with the DepthPeeling.java by adding the gl.glDrawBuffer(gl.GL_NONE); in the public void peelDepth(GL3 gl) function can make the transparency correctly. public void peelDepth(GL3 gl){ gl.glViewport(0, 0, width, height); gl.glEnable(gl.GL_TEXTURE_2D)...
Wed 6. Nov 2013, 19:05
Forum: Backends
Topic: JOGL3Viewer doesn't support the transparency?
Replies: 11
Views: 2965

### Re: JOGL3Viewer doesn't support the transparency?

I'm glad that you will work on it sooner or later. I think the transparent lines are great and important features in JReality. The JOGL3Viewer is supposed to be better than the JOGLViewer. Or at least it's reasonable to make them consistent as the JOGLViewer, right? :P Hi, are you using the newest v...
Wed 6. Nov 2013, 18:57
Forum: Backends
Topic: JOGL3Viewer doesn't support the transparency?
Replies: 11
Views: 2965

### Re: JOGL3Viewer doesn't support the transparency?

Windows 7,

Driver like this:
CaptureDriver.PNG (2.68 KiB) Viewed 2888 times
benjamin.kutschan wrote:Hmm. Appears that you're enabling the transparency as I do. Can you post your system configuration (GPU, OS, graphics driver version)?
Tue 5. Nov 2013, 18:40
Forum: Backends
Topic: JOGL3Viewer doesn't support the transparency?
Replies: 11
Views: 2965

### Re: JOGL3Viewer doesn't support the transparency?

It looks like the transparency for the IndexedFaceSet is not working either. I'm running the Intro02.java, for the JOGLViewer, I set the transparency to 0.6, the result is like this: CaptureOld.PNG However, when I switch it to the JOGL3Viewer, the same transparency, the result is like this: CaptureN...
Fri 1. Nov 2013, 22:27
Forum: Backends
Topic: JOGL3Viewer doesn't support the transparency?
Replies: 11
Views: 2965

### JOGL3Viewer doesn't support the transparency?

Test the LineShaderExample a little bit.

The JOGLViewer has the transparency but the JOGL3Viewer doesn't.

Shouldn't be my PC problem since the JOGLViewer works.

Just curious it's a bug or what?

Thanks.
Sun 12. May 2013, 22:12
Forum: Programming Help
Topic: Need help to understand what and how the tools work
Replies: 2
Views: 1148

### Need help to understand what and how the tools work

I'm taking look at two tools: TranslateTool and DraggingTool. At first glance, I think they are the same like they are used to move the component from one place to another place. But once I look at the codes, I found that they are different and I get lost. I think I understand how the translateTool ...
Tue 20. Nov 2012, 23:19
Forum: Programming Help
Topic: JOGLFBOTextureExample question
Replies: 1
Views: 944

### Re: JOGLFBOTextureExample question

I just figured out because the scale of 3D text is too small......

Set it bigger then it looks great.
Tue 20. Nov 2012, 17:04
Forum: Programming Help
Topic: JOGLFBOTextureExample question
Replies: 1
Views: 944

### JOGLFBOTextureExample question

Hi, I run the JOGLFBOTextureExample, it runs fine. However, when I add the 3D text to scene and then try to using the FBO, it just messed up. What I expected is that both the icosahedron and the 3D text are rendered to the FBO, but it doesn't deliver what I want. A simple example is to add the follo...
Thu 31. May 2012, 20:28
Forum: Programming Help
Topic: What are the slots should I use?
Replies: 5
Views: 1367

### Re: What are the slots should I use?

Thanks for the reply. It looks like the SHIFT is there, adding the ALT should be trivial. I read the jReality Wiki a little bit, I think I have to add the mapping to the toolconfig-split.xml. But it looks like it's not the whole story, I just don't know what else I should do to make it work. Still, ...