Monday, February 28, 2011
Friday, February 25, 2011
Pats on the Back
Just found out that I got two more patents pending, not sure if one's gone through already.
... one thing leads to another and before you know it you're back in Sydney.
http://www.faqs.org/patents/invl/00000Thursday, February 10, 2011
Borneo: Danum Valley 3 - Night
Night hikes with biologist travel buddies Ben & Suz. Cloud Leopards were in there. Didn't see any. But we did see a few cats in the dark, smaller.
At right is a whip tail, nasty smelling critters (defensive).
Heaps of geckos, including this leaf-tailed one. They're really light shy.
Karin saw this snake one morning while climbing up the 150' tree ladder thing. I opted to stay in bed, and it rained.
Here's a big 'ol froug. About 6" long.
And this little matey had babies on it. One swam off into the puddle, and we disturbed it so it hopped out. I'm not sure if the tadpole stayed in the puddle but I just can't see how it would have made it back on. But they were seriously uptight tadpoles. Very fast.
... And we found gliding frogs! Those webs are for fly'in. They even have a ridge of skin along the arm to help out. It jumped on my camera. Amazing how cold they feel, and with those paws they can really wrap around stuff. Man it was hot.
They lay their eggs on leaves hanging over water, in this case it was a wallow that wild pigs and stuff come to get the leaches off in. When the eggs hatch they just plop down into the puddle. There were a lot of leaches in places, but I had on leach socks and some repellent, which worked really well. I got one on the neck but Ben saw it before it bit in. They were fearless. Had been travelling in SE Asia for like 6 months already.
Here's a big 'ol froug. About 6" long.
And this little matey had babies on it. One swam off into the puddle, and we disturbed it so it hopped out. I'm not sure if the tadpole stayed in the puddle but I just can't see how it would have made it back on. But they were seriously uptight tadpoles. Very fast.
... And we found gliding frogs! Those webs are for fly'in. They even have a ridge of skin along the arm to help out. It jumped on my camera. Amazing how cold they feel, and with those paws they can really wrap around stuff. Man it was hot.
They lay their eggs on leaves hanging over water, in this case it was a wallow that wild pigs and stuff come to get the leaches off in. When the eggs hatch they just plop down into the puddle. There were a lot of leaches in places, but I had on leach socks and some repellent, which worked really well. I got one on the neck but Ben saw it before it bit in. They were fearless. Had been travelling in SE Asia for like 6 months already.
We also saw Tarsiers on these hikes, but I already posted about them, couldn't wait. Ok so that's it for the Danum Valley. Next up is some serious fucking diving.
Tuesday, February 1, 2011
JOGL and SpringThing3D
I'm making some updates to SpringThing:
- Make it an option to use OpenGL (JOGL) instead of Java2D.
- JOGL web deployment
- Make it fully 3D
- 3D picking
- 3D meshing and model building tools
- Ability to save files
- Signed applet
This'll be a record of progress and how to do these things.
JOGL Deployment
JOGL is plauged by fragmentation typical of the post~2003 Java JRE. There have been waves of attempts to make it deployable, and the latest is via a JNLP script. Don't use com.sun.openg
l.util.JOGLAppletLauncher, it doesn't work. All support about it is from ~2007 and is obviously not maintained. I'm implementing JNLP now based on this working example (no longer working after one week, new one is here) and JOGL-1.1.1a. You only need this file from the 1.1.1a distro.
Getting a JOGL plugin for NetBeans that claims to support applets here.
After a half day of struggle, found that I hadn't added the GLCanvas to the applet, so that's why init() and display() were not being called.
Now I've got a displaying GLCanvas in my applet, and I'm working on getting it to do something other than display a random glarg of VRAM.
Ok, it was because I was trying to change line widths inside a glBegin(gl.GL_LINES) - glEnd() block. With those removed it now shows a blank black screen, which makes me feel the need to reframe the view to show all entities. Update: that didn't fix it! My VRAM was just all blank so it looked ok. Back to flixering mayhem again, drawing board.
To develop and test this, I'm uploading the JAR, JNLP and HTML file set to my server and visiting the HTML which launches the JNLPAppletLoader. It is laborious but the best compromise I could come up with that verfies the deployment. You could setup a local JNLP file that had references to the local JAR, but I'd rather have 100% deployment verification, and I'm not sure the local JNLP would work. As a side note, opening the JNLP on my computer launches my remotely hosted applet just like a Java Web-Start application (in it's own window, no browser) which is very cool!
I find myself doing little things to improve the code I had, instead of debugging this stupid VRAM dump I'm getting. I just need to trace the logic of the JOGL demos (again...) and find out wtf I'm doing differently. Ok. Gonna do that now that my command console has awesome text fading.
This page was hard to find, but maybe there's a clue in here? He's show'in some scarambled graphics alright.
Subscribe to:
Posts (Atom)