46
Support / Re: object3D pick up
« on: April 20, 2009, 02:32:05 pm »
Maybe you are talking about Interact2D. If so, you can use it to select a polygon with mouse coordinates and then get that Object3D's reference.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I guess it has a particle engine, which there isn't many libraries for that. Maybe something JPCT could add in the future?
That is so darn cool. To me ultimatly the best gui implementation as of yet.
I've been personally thinking about trying to JPCT image rendered into a JavaFX Stage, that way I could then just layer gui items on top. Though I also like Swing for being more a robust gui still.
Is GLSL what is supposed to be used with the new hook? It looks rather complete for a complete Shultz-I no nothing-of the subject, so I wanted to make sure this is what I should learn before plunging in.The hook doesn't force you to use one way or the other, but GLSL is what should be used nowadays IMHO. So does the "all-green-example" above. You can see the source code of the used shader in it. It's hard coded into the first attribute.
You were a bit lucky with the car.exe, because it still has the problem (somewhat relaxed, but it's there). BUT: I finally found the source! It's not in jPCT's code, it's in the demo itself. The demo uses LWJGL to poll the keyboard and to determine the state of the Display. Because the renderer of car.exe is running in another thread, there seems to be a problem when compiling the display lists in one thread while querying the display and/or keyboard in another. The solution is to move that stuff into the methods that the IPaintListerner Interface provides because they will be called in the same thread. This one took me a few days, but if i would just have followed my own advises, i would have noticed this earlier... WinkThats great you figured it out!
However, i thank you very much for testing. It really helped me to narrow it down.Hey, I am glad I was able to help a little for the new feature.