Search found 61 matches

by Joe
Tue 9. Sep 2008, 21:22
Forum: Programming Help
Topic: Render simple lines
Replies: 16
Views: 3674

Hi, the new version, which has been uploaded today, renders the lines as expected. Only the colors doesn't work. All lines are blue, even if a color has been set. The colors appear if I switch to the JOGL viewer. When I switch back, the lines are blue again. But the rendering is perfect. Thank you v...
by Joe
Thu 28. Aug 2008, 20:02
Forum: Bugs
Topic: Software renderer displays sometimes swing components
Replies: 3
Views: 1717

I can reproduce it with ... * Windows XP Professional (Service Pack 3; 32 bit) * Java 5 Update 16 * Java 6 Update 6 * Java 6 Update 7 * Java 7 (newest preview) * Mozilla Firefox v3.0.1 * WebStart and standalone application The automatic rotation is important. If the loaded scene does not rotate, the...
by Joe
Wed 20. Aug 2008, 20:10
Forum: Bugs
Topic: Software renderer displays sometimes swing components
Replies: 3
Views: 1717

Software renderer displays sometimes swing components

Here's are some step by step instructions to reproduce a little rendering problem of the software renderer. - Start the ViewerApp by http://www3.math.tu-berlin.de/jreality/ws/viewerApp.jnlp - Load a file: File -> Load files -> (e. g.) terrain.3ds - Switch to the software renderer by hitting F2 - Sta...
by Joe
Wed 20. Aug 2008, 19:55
Forum: Programming Help
Topic: Render simple lines
Replies: 16
Views: 3674

I'll wait until the software renderer renders simple lines with width 1. But only for interest: How can the TUBE_RADIUS parameter be converted?
by Joe
Wed 20. Aug 2008, 08:05
Forum: Programming Help
Topic: Render simple lines
Replies: 16
Views: 3674

The fake tubes explain the low performance of wireframe models (in software renderer mode).
For me it would be nice to have real lines and points of width and size 1. All other sizes won't be used (by me).

BTW: Thanks for this great free software
by Joe
Tue 19. Aug 2008, 21:10
Forum: Programming Help
Topic: Render simple lines
Replies: 16
Views: 3674

Currently I worked with the software renderer. I switched to the JOGL renderer and setting the LINE_WIDTH works as expected. But if the software renderer is used, it has no effect. Is this feature only implemented for the JOGL renderer, has it to be configured in another way for the software rendere...
by Joe
Tue 19. Aug 2008, 20:48
Forum: Programming Help
Topic: ViewerApp integration in jPanel
Replies: 2
Views: 973

Hi,
I did it this way:

Code: Select all

_viewerApp.getViewingComponent()
... gives you a component (JPanel) which can be inserted into other components.
by Joe
Thu 14. Aug 2008, 09:12
Forum: Programming Help
Topic: Render simple lines
Replies: 16
Views: 3674

Yes, with the attribute TUBE_RADIUS I can set the tube radius, even if TUBES_DRAW is set to false (setting the TUBE_RADIUS seems to activate TUBE drawing). But the attribute LINE_WIDTH, has no effect to the line width, at least not in the examlpe code from the first post. I can add ... appearance.se...
by Joe
Thu 14. Aug 2008, 09:02
Forum: Programming Help
Topic: Unload default tools
Replies: 6
Views: 1828

Thanks, it works.
by Joe
Wed 13. Aug 2008, 21:09
Forum: Programming Help
Topic: Unload default tools
Replies: 6
Views: 1828

Thanks for your reply. There's a misunderstanding. I want to remove the default tools via implementation, not by clicking in the GUI. I use jReality without its GUI, only the viewing functionalities. Therefore I'm looking for Java code lines to remove these tools.
by Joe
Fri 8. Aug 2008, 20:02
Forum: Programming Help
Topic: Render simple lines
Replies: 16
Views: 3674

Render simple lines

Hi, how can I render a simple line, not a tube. I mean a line like I draw with graphics.drawLine(...), which has always a thickness of one pixel. With this piece of code, always a tube is rendered. Unfortunately the JavaDoc of the class CommonAttributes is not complete. I think with a special combin...
by Joe
Sun 3. Aug 2008, 20:17
Forum: Programming Help
Topic: Unload default tools
Replies: 6
Views: 1828

Unload default tools

Hi,
how can I unload or deactivate the default tools "EncompassTool", "DraggingTool", "RotateTool" and / or "AnimatorTool"?

I found them during debugging in ViewerApp -> ToolSystem -> ToolManager -> ToolToPaths, but I don't know how to access them.

Many thanks.

Best regards, Joe
by Joe
Tue 22. Jul 2008, 18:20
Forum: Programming Help
Topic: Orthographic instead of perspective mode
Replies: 6
Views: 2392

Hi, I updated jReality.jar and added the new code line, but it still doesn't work. I'll wait for some later versions. Maybe it works than. Is there a change log available or a version counter? I am looking for a way to be informed that the jReality.jar file has been changed and what the changes are....
by Joe
Mon 21. Jul 2008, 19:23
Forum: Programming Help
Topic: Orthographic instead of perspective mode
Replies: 6
Views: 2392

Hi Charles, I downloaded the last JReality Version (I think two weeks ago). I have no "Scene Graph" panel, because I run the code from the posts above. If I start your revised code and set "camera.setPerspective(true);" to true, the encompassing tool works as expected (so I'm sure its present). If I...
by Joe
Thu 17. Jul 2008, 20:31
Forum: Programming Help
Topic: Orthographic instead of perspective mode
Replies: 6
Views: 2392

Thanks for your quick answer. It works, but not as expected. Without setting orthographic mode, the rendered box is in the center of the screen. After switching to orthographic mode, the box disappears. It has to be moved with the scale tool to be visible in the panel. Is there a way to switch betwe...