Search found 186 matches
- Sat 27. Aug 2011, 23:48
- Forum: Programming Help
- Topic: Calculate a Pick ?
- Replies: 9
- Views: 1365
Re: Calculate a Pick ?
The general idea to get this working is the following: The pick on an image defines a ray in 3D space, starting at the near clipping plane of the camera (as a rectangle in 3D space), pointing in the direction from the camera origin through that point. Actually it is not a ray but a segment, that end...
- Wed 3. Aug 2011, 21:07
- Forum: Installation
- Topic: Sources for 3rd party jars
- Replies: 10
- Views: 2537
Re: Sources for 3rd party jars
For the sources of jjack_min.jar and pd.jar we need to ask Peter Brinkmann, I'll let him know. The sources of smrj on sourceforge are outdated, I'll update them soon and post here.
Thanks for packaging jreality for Fedora!
Thanks for packaging jreality for Fedora!
- Fri 8. Jul 2011, 12:28
- Forum: General jReality Discussion
- Topic: Cave working, but not synchronizing
- Replies: 23
- Views: 6249
Re: Cave working, but not synchronizing
Thank you. We still couldn't fix the environment mapping in the jogl 2.0 port. Do you have any ideas?
Steffen.
Steffen.
- Mon 9. May 2011, 11:02
- Forum: General jReality Discussion
- Topic: Streaming a camera view ?
- Replies: 5
- Views: 2248
Re: Streaming a camera view ?
I think you should look into src-jogl, maybe JOGLOffscreenRenderer.
Good luck,
Steffen.
Good luck,
Steffen.
- Fri 6. May 2011, 19:32
- Forum: General jReality Discussion
- Topic: Streaming a camera view ?
- Replies: 5
- Views: 2248
Re: Streaming a camera view ?
Sorry, this can't be done. But I guess it would be possible and not too hard to implement that.
Steffen.
Steffen.
- Wed 6. Apr 2011, 11:31
- Forum: Programming Help
- Topic: How to treat normals when transforming the vertices
- Replies: 2
- Views: 578
Re: How to treat normals when transforming the vertices
If your matrix contains a translation, you need to make sure that you do not translate the normals. The easiest thing is to copy the matrix, and set the 4th column to {0, 0, 0, 1}. Then multiply each normal with that matrix.
- Fri 4. Mar 2011, 08:24
- Forum: Programming Help
- Topic: Disabling automatic rotation
- Replies: 5
- Views: 1009
Re: Disabling automatic rotation
The idea is that you can "push" the object into a rotation. If you want to disable that, use
Steffen.
Code: Select all
rotateTool.setAnimTimeMax(0);
- Thu 10. Feb 2011, 05:00
- Forum: Programming Help
- Topic: when does rotate tool activate?
- Replies: 5
- Views: 1342
Re: when does rotate tool activate?
The tool requires me to click on the icosahedron for it to activate. I wish to be able to rotate the whole scene without having to click on a particular object. How does JRViewer achieve this? You need to set the emptyPickPath on the toolsystem. Tools along this path are triggered when a user click...
- Tue 12. Oct 2010, 10:53
- Forum: Advanced Development
- Topic: ScreenGraph DSL
- Replies: 7
- Views: 2470
Re: ScreenGraph DSL
I am quite sure that nobody else is working on such a project.Is anyone doing any work on the development of a DSL for jreality?
Let us know how it is going...
Steffen.
- Fri 8. Oct 2010, 18:40
- Forum: Programming Help
- Topic: Obtain SceneGraphComponent Parent?
- Replies: 4
- Views: 1040
Re: Obtain SceneGraphComponent Parent?
There is no such method, because a SceneGraphComponent can be added as a child to several SceneGraphComponents. Our scene graph is not a tree, but a directed graph without cycles. In which context do you need the functionality? Inside of a tool, for instance, you can obtain a path to the component, ...
- Thu 7. Oct 2010, 17:31
- Forum: Programming Help
- Topic: Choosing between SceneGraphComponent
- Replies: 3
- Views: 676
Re: Choosing between SceneGraphComponent
I am not sure what behavior you really want - but in your code you have to adapt the translation to something else than 1, except for the first cube. This is because you add everything to the same component (rootscene), and the children are transformed relatively to that component. To determine the ...
- Thu 7. Oct 2010, 15:33
- Forum: Installation
- Topic: Problems with java 1.5 and smrj
- Replies: 2
- Views: 1288
Re: Problems with java 1.5 and smrj
I have just updated the smrj jars, can you check if the build works now?
- Wed 6. Oct 2010, 17:50
- Forum: Bugs
- Topic: Offscreen rendering cuts off sometimes
- Replies: 5
- Views: 2090
Re: Offscreen rendering cuts off sometimes
Thank you! Yes sure I am interested! I just don't know how much time my supervisors will allow me to spend time to help working on this. There might be a couple of things I additionally can bring onto the table or I would like eventually see merged into as at the moment my codebase has diverted qui...
- Wed 6. Oct 2010, 17:39
- Forum: Programming Help
- Topic: Choosing between SceneGraphComponent
- Replies: 3
- Views: 676
Re: Choosing between SceneGraphComponent
tc.getRootToToolComponent().getLength()-2; will always return the same index (probably 0). It gives the depth of the tool component (the component to which the tool is attached) in the scene graph (minus 2). I think what you want is tc.getRootToToolComponent().getLastComponent().getChildComponentCo...
- Tue 5. Oct 2010, 15:05
- 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
Also, how would you like me to share the code with you? For now I suggest that you compress your current src-jogl folder and attach it to this thread (or post a link to it). But I think we really have to use a decentralized version control system (mercurial or git) for jreality. I have just started...