Search found 90 matches
- Sat 18. Sep 2010, 09:20
- Forum: Programming Help
- Topic: Dragging a Scene Graph Segment
- Replies: 4
- Views: 860
Re: Dragging a Scene Graph Segment
Thank you for the reply and the suggestions. For your point1, I was testing my code in different ways. Calling setupSceneGraph() inside pointDragged() method was only an initial test I was trying. I did not include it in my final version, which was in my last post. For your second point, I made all ...
- Fri 17. Sep 2010, 06:33
- Forum: Programming Help
- Topic: Dragging a Scene Graph Segment
- Replies: 4
- Views: 860
Re: Dragging a Scene Graph Segment
In my last post I have forgotten to add the most important segment of code :oops: : translating the root node of the segment (a side effect of working till 2AM :( ). I am sorry about that. I have added the code below. This code should go inside pointDragged() PointSet pointSet = e.getPointSet(); dou...
- Thu 16. Sep 2010, 11:12
- Forum: Programming Help
- Topic: Dragging a Scene Graph Segment
- Replies: 4
- Views: 860
Dragging a Scene Graph Segment
I am working on a problem in which I should be able to drag a segment of Scene Graph by dragging the root node of that branch. To illustrate it, I created an example program in which there are two points (Cyan and Red). The red point scene graph component is a child of cyan point scene graph compone...
- Thu 16. Sep 2010, 01:13
- Forum: Feature Requests
- Topic: Support for Extending ToolSystem
- Replies: 1
- Views: 2479
Support for Extending ToolSystem
I have a few requests for extending the ToolSystem. These are broadly of two types: 1. to provide additional tools 2. to provide additional documentation and structure that helps the developers to extend the existing ToolSystem I like several features of jReality that enable creation of complex geom...
- Mon 13. Sep 2010, 08:40
- Forum: Programming Help
- Topic: Sliding a point along a line
- Replies: 6
- Views: 924
Re: Sliding a point along a line
Hi Andres, thank you for the example code. It is an interesting example. In jReality tutorials, there is a similar example - "SelectionExample" in "viewer" folder. Unfortunately, they do not address the problem I am facing. Let me clarify, by contrasting my problem with your example and "SelectionEx...
- Thu 9. Sep 2010, 10:22
- Forum: Programming Help
- Topic: Sliding a point along a line
- Replies: 6
- Views: 924
Re: Sliding a point along a line
I am working on a new problem (may be I should have posted as a new thread). User gives additional information after he/she clicks. Let us say, the user needs to select one of three choices after clicking the mouse. I declare these three choices as the InputSlots as follows. private static final Inp...
- Thu 9. Sep 2010, 00:57
- Forum: Programming Help
- Topic: Sliding a point along a line
- Replies: 6
- Views: 924
Re: Sliding a point along a line
Thank you Andre! You suggestions and code are very helpful! They helped me solve my problem! I modified my code accordingly. It is working! Here is my understanding. The main idea is to use the model of the geometry in the transform() method. In your case it is a parabola, and in my case, it is a li...
- Wed 8. Sep 2010, 09:24
- Forum: Programming Help
- Topic: Sliding a point along a line
- Replies: 6
- Views: 924
Sliding a point along a line
Hi, I need to slide a point along a given arbitrary line segment in 3D. That is, the tool should allow the movement of the point only along the line. Any attempt to drag the point outside the line is ignored. I have written code that creates a line with two points. You can drag the points along the ...
- Fri 3. Sep 2010, 01:39
- Forum: Programming Help
- Topic: Need Help With Picking Points with Abstract Tool
- Replies: 7
- Views: 1724
Re: Need Help With Picking Points with Abstract Tool
Thank you for bringing up a very important point about 3D ray tracing.
I am trying a couple of things and going through some literature on Ray tracing. I will get back
to you, in a few days, when I have found some clear and concrete answers.
Karuna
I am trying a couple of things and going through some literature on Ray tracing. I will get back
to you, in a few days, when I have found some clear and concrete answers.
Karuna
- Thu 2. Sep 2010, 03:47
- Forum: Programming Help
- Topic: Need Help With Picking Points with Abstract Tool
- Replies: 7
- Views: 1724
Re: Need Help With Picking Points with Abstract Tool
Hi, I am facing serious problems clicking points in 3D space. This is very important to my work, please help! Scenario: ----------- I have one or more 3D geometry objects embedded in a 3D space. For example, a control patch and a surface are embedded in a 3D space. Interaction Task: ----------------...
- Tue 31. Aug 2010, 07:12
- Forum: Programming Help
- Topic: Need Help With Picking Points with Abstract Tool
- Replies: 7
- Views: 1724
Re: Need Help With Picking Points with Abstract Tool
Hi Charles, while we are on the topic of adding points with a transparent background, I would like to mention two problems I am facing while making the coordinate system adaptable. By this I mean the following: My application dynamically extends the coordinate system if the user needs to click point...
- Tue 31. Aug 2010, 00:15
- Forum: Programming Help
- Topic: Need Help With Picking Points with Abstract Tool
- Replies: 7
- Views: 1724
Re: Need Help With Picking Points with Abstract Tool
Thank you Charles!
It is working! Thanks for all the suggestions. They are very useful.
The transparent background was based on your message on Jan 06, 2010. Here is the link:
http://www3.math.tu-berlin.de/jreality/ ... ?f=3&t=437
Karuna
It is working! Thanks for all the suggestions. They are very useful.
The transparent background was based on your message on Jan 06, 2010. Here is the link:
http://www3.math.tu-berlin.de/jreality/ ... ?f=3&t=437
Karuna
- Mon 30. Aug 2010, 08:11
- Forum: Programming Help
- Topic: Need Help With Picking Points with Abstract Tool
- Replies: 7
- Views: 1724
Need Help With Picking Points with Abstract Tool
Hi, My application allows for the user to click on the background on which a scene graph is drawn. The location of the point, where the user clicks needs to be extracted. For this, I made use of a suggestion given on this forum - create a transparent quadrilateral geometry and add it to the scene gr...
- Mon 15. Feb 2010, 11:03
- Forum: Programming Help
- Topic: Changing the properties of ViewerApp and JRViewer
- Replies: 26
- Views: 5315
Re: Changing the properties of ViewerApp and JRViewer
I have just figured out a way to get two panels rendered inside JInternalFrame. The right panel contains the JRViewer's JRootPane object. By using GridBagLayout and by forcing only the right panel (containing the JRViewer' JRootPane object) to grow when the JInternalFrame is elongated, I could get t...
- Mon 15. Feb 2010, 09:36
- Forum: Programming Help
- Topic: Changing the properties of ViewerApp and JRViewer
- Replies: 26
- Views: 5315
Re: Changing the properties of ViewerApp and JRViewer
Thank you! It is a nice example showing how to bring Java2D rendering and JRViewer together.
Thanks,
Prabhakar
Thanks,
Prabhakar