Search found 57 matches

by ted
Fri 26. Oct 2012, 10:49
Forum: Feature Requests
Topic: GetCameraPathImage
Replies: 17
Views: 4558

Re: GetCameraPathImage

Focusing on dissertation completion and defense preparation with no upgrades 'till after then. I'll let you know if I get something new to test with after that.

Thanks
by ted
Sat 13. Oct 2012, 05:50
Forum: General jReality Discussion
Topic: Dual depth peeling
Replies: 4
Views: 3518

Dual depth peeling

Any plans for dual depth peeling? I've tried tricks with rendering order that sometimes work, but to work right with multiple cameras, it seems ordering the items in the scene-graph before rendering is not always going to work. It seems that the order of rendering of polygons needs to be different d...
by ted
Sat 22. Sep 2012, 04:15
Forum: Programming Help
Topic: picking?
Replies: 2
Views: 1055

picking?

I want to find the distance to the nearest object along a camera path. When I attempt to call computePick, I get an error - Does it require double[4] coordinates instead of double[3] for parameters from, to? I assume then that from[3] and to[3] should be set to 1 then, correct? It seems reasonable t...
by ted
Thu 20. Sep 2012, 01:16
Forum: Feature Requests
Topic: MatrixBuilder.invert ?
Replies: 1
Views: 1095

MatrixBuilder.invert ?

Any reason Matrix builder doesn't invert matrices?

I'd like to multiply by a matrices inverse, do some operations in the middle, and them multiply by the matrix uni-nverted.

I know it can be done separately, but isn't the point of the builder to make it easier?

Thanks,

_-Ted
by ted
Thu 13. Sep 2012, 05:23
Forum: General jReality Discussion
Topic: Time of flight camera simulation with z buffer
Replies: 3
Views: 2821

Re: Time of flight camera simulation with z buffer

Thanks, that's very encouraging. You're right. I'm trying to get a paper out this week, so that will be awhile, but I have to say the support for JReality is amazingly responsive. Kudos to you all!
by ted
Tue 4. Sep 2012, 07:18
Forum: Programming Help
Topic: Move camera vs object with mouse... Recommended method?
Replies: 2
Views: 1072

Re: Move camera vs object with mouse... Recommended method?

tried this RoboticSystem scene = new RoboticSystem(); final Viewer viewer = JRViewer.display(scene); viewer.getSceneRoot().addTool(new ShipNavigationTool()); and this RoboticSystem scene = new RoboticSystem(); final Viewer viewer = JRViewer.display(scene); viewer.getSceneRoot().addTool(new FlyTool()...
by ted
Tue 4. Sep 2012, 02:12
Forum: Feature Requests
Topic: GetCameraPathImage
Replies: 17
Views: 4558

Re: GetCameraPathImage

If I missed anything important let me know... Most of this is probably irrelevant, but I tried to snag whatever might be remotely relevant. Hardware Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro5,3 Processor Name: Intel Core 2 Duo Processor Speed: 2.8 GHz Number Of Processo...
by ted
Sat 1. Sep 2012, 09:28
Forum: Bugs
Topic: IllegalStateException starting Timer when using jogl Viewer
Replies: 1
Views: 1027

IllegalStateException starting Timer when using jogl Viewer

If I use a timer on a SceneGraphComponent that is ultimately connected to a JRViewer, it works fine, but when using it with de.jreality.jogl.Viewer, it throws an exception when started: Exception in thread "main" java.lang.IllegalStateException: timer not attached! at de.jreality.tools.Timer.start(T...
by ted
Fri 31. Aug 2012, 22:27
Forum: Feature Requests
Topic: GetCameraPathImage
Replies: 17
Views: 4558

Re: GetCameraPathImage

This reproduces the problem rt.addViewer(viewer); // have to give the viewer time to initialize itself before doing offscreen rendering for (int i=0;i<3;i++) { try { Thread.sleep(5000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } // note that the size...
by ted
Fri 31. Aug 2012, 22:00
Forum: Feature Requests
Topic: GetCameraPathImage
Replies: 17
Views: 4558

Re: GetCameraPathImage

No, not in my own code. This was working with the tutorial itself as delivered, and modifying it to pop up the image or change the delay, and for debugging, adding a loop to repeat the last part of the code a few times from the delay onwards. I was just evaluating and trying to understand but before...
by ted
Fri 31. Aug 2012, 21:56
Forum: Bugs
Topic: closedCylinder ends remain untextured
Replies: 10
Views: 1864

Re: closedCylinder ends remain untextured

Thanks for the response. You could declare it private till we get back to it with the factory approach, if that would be a reasonable compromise... However, would you want to preserve the current mirrored behavior of the cylinder walls and change the caps to be mirrored as well? Or fix the cylinder ...
by ted
Fri 31. Aug 2012, 06:49
Forum: Feature Requests
Topic: GetCameraPathImage
Replies: 17
Views: 4558

Re: GetCameraPathImage

OK, it works, intermittently. (race condition or initialization problem?) Sometimes if I start it up, and click in the middle as it's rendering, the window renders all black. I also tried waiting 5 to 10 seconds instead of one second and popping up a new JWindow to display the image. Often it would ...
by ted
Fri 31. Aug 2012, 05:36
Forum: Feature Requests
Topic: GetCameraPathImage
Replies: 17
Views: 4558

Re: GetCameraPathImage

Thanks. One small suggestion. Either resolve the jni paths at runtime or catch this in the Viewer and display the contents of jni/README Exception in thread "main" java.lang.UnsatisfiedLinkError: no jogl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758) at java.lang.Ru...
by ted
Thu 30. Aug 2012, 23:21
Forum: Bugs
Topic: closedCylinder ends remain untextured
Replies: 10
Views: 1864

Re: closedCylinder ends remain untextured

I've created a new patch against the the repository 5518 version. Index: src-core/de/jreality/geometry/Primitives.java =================================================================== --- src-core/de/jreality/geometry/Primitives.java (revision 5518) +++ src-core/de/jreality/geometry/Primitives.ja...
by ted
Thu 30. Aug 2012, 07:01
Forum: Programming Help
Topic: javax.media.opengl.GL.glRenderbufferStorageMultisampleEXT
Replies: 10
Views: 4424

Re: javax.media.opengl.GL.glRenderbufferStorageMultisampleEX

It's working ok now with the lights correctly configured, but there still seems to be a limit on the number of point light sources, around 6 not including the default sun and headlight of VRViewer. Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: Array index out of ra...