Thursday, October 21, 2010

Re: Compiling OSG 2.8.0 in Cygwin- missing -lGL and -lGLU during linker stage

$ cmake ..
/usr/bin/cmake.exe: error while loading shared libraries: cygidn-11.dll: cannot open shared object file: No such file or directory

install libidn devel etc.?

$ cmake .. -DCMAKE_INSTALL_PREFIX=/home/newton/other/install
-- Could NOT find LibXml2  (missing:  LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
-- Could NOT find PNG  (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)

now get

XX shared library ../../bin/cygosg-66.dll
CMakeFiles/osg.dir/AlphaFunc.o:AlphaFunc.cpp:(.text+0x21a): undefined reference to `_glAlphaFunc'
CMakeFiles/osg.dir/ArrayDispatchers.o:ArrayDispatchers.cpp:(.text+0x1434): undefined reference to `_glVertex2fv'
CMakeFiles/osg.dir/ArrayDispatchers.o:ArrayDispatchers.cpp:(.text+0x145a): undefined reference to `_glVertex3fv'
CMakeFiles/osg.dir/ArrayDispatchers.o:ArrayDispatchers.cpp:(.text+0x1480): undefined reference to `_glVertex2dv'
CMakeFiles/osg.dir/ArrayDispatchers.o:ArrayDispatchers.cpp:(.text+0x14a6): undefined reference to `_glVertex3dv'
CMakeFiles/osg.dir/ArrayDispatchers.o:ArrayDispatchers.cpp:(.text+0x14cc): undefined reference to `_glNormal3bv'


From your build tree type "make edit_cache", this is the same as running "ccmake /path/to/source/tree".

Check the contents of the OPENGL_gl_LIBRARY and OPENGL_glu_LIBRARY variables.  They should be pointed to the libraries you want to use for GL and GLU.  They are under the Advanced section of the cache.

On Fri, Mar 27, 2009 at 3:55 PM, Lucas <> wrote:
Otherwise there will be a lot of error output like this:

[ 15%] Building CXX object src/osg/CMakeFiles/osg.dir/Viewport.o
Linking CXX shared library ../../bin/cygosg-2.8.0.dll
CMakeFiles/osg.dir/AlphaFunc.o:AlphaFunc.cpp:(.text+0x14): undefined
reference to `_glAlphaFunc'
undefined reference to `_glGetString'
undefined reference to `_glGetString'
undefined reference to `_glGetString'
undefined reference to `_glGetString'
undefined reference to `_glGetString'

Wednesday, September 15, 2010

Chip Defender

This is the first good html5 game I found, though it had problems with slowdown when lots of enemies are on screen. Though that isn't too much of a problem since user intervention isn't required frequently.

The second level required three or four tries, and maybe a dozen to beat the third hardest level. A few times I would make it to wave 97/100 with plenty of life left but then die abruptly, after an hour to get there. Later I figured out that putting the skull-and-bones weapons too closely together wasn't productive (two or more tend to waste their shots over-killing the same enemy but every enemy behind them will get past while they recharge).

The final configuration had the skull-and-bones every four or five squares along the track, a lot of life restoring weapons along the first length of the track, and an assortment of slowing defenses and double and single shot weapons everywhere else. It's crucial to build up to an energy level of 10000 or more by wave 95.

Saturday, January 16, 2010

Terminator: Stagnation

The strangest thing about Terminator Salvation is that despite a $200 million dollar budget what appears on screen only seems good for about half of that (possibly the rights to the franchise and Christian Bale were the other half). I attribute this to a failure of ambition- there was never a solid vision to create something no one had seen before, make epic imagery and huge action sequences that the audience would not soon forget.

The special effects range from very good to barely passable (the night time scene where the 'signal' is tested on an HK wasn't convincing at all), but everywhere this movie felt small and underwhelming. Never in an action sequence are there more than two terminators or resistance fighters on screen at any time- this is similar to the previous movies, but this movie should have been about future war. There is no time travel bottleneck to keep assembly lines worth of death machines from attacking the remaining humans at every turn.

The lack of terminators I suppose can be attributed to the weakness of Skynet at the earlier date in the future war, which also accounts for why large human above ground air bases haven't been wiped out yet.

Pacing was very poor, especially for the slow first 40 minutes. Characters should have been established and then put in jeopardy in the first ten minutes, and have no reprieve until the end of the movie (even T3 was did that successfully).

Instead of the opening text, a voice-over in the form of one of John Connor's radio address along with montages of nuclear holocaust, automated factories outputting early model machines, humans getting rounded up and so on. Then go to post nuclear LA at night, with a dozen sets of red eyes revealing a squad of T-600s (and several hovering HKs) hunting down Kyle Reese. Introduce a Skynet boss villain as well, something faceless in a large machine monitoring the fight. Early model infiltrator unit with poor quality decaying gray skin and empty eyes would also be shown at some point. Resistance fighters would repel the attack just long enough to identify Kyle before he is captured. From there there should be 90 minutes of a running battle (that meets and exceeds the future war opening of T2) to get Kyle back which ends at a Skynet facility. Horrors are revealed inside the human detention and research area, where cyborg mechanisms are being implanted in people with mostly fatal results, and humans are rendered down to generate tissue to cover new higher quality infiltrator models.

I would retain the Arnold model boss fight, but add a raging battle with many resistance fighters going on in the background. A lab could briefly be shown which has a small capsule of metallic fluid switching between two different forms. Something hinting at the development of time travel also would be there- and the need for living tissue to surround time traveling components would also have a gruesome explanation involving sacrificing captured humans. Connor would have to decide whether he should destroy it and hinder his ability to later send Kyle back in time at a later date. Climactic explosion destroys Skynet sub-node villain and most of the facility, terminator briefly shown recovering the almost destroyed fluid metal time travel tech, the end.

Wednesday, January 13, 2010

Wednesday, July 8, 2009

Verify your Battlefield Heroes account in gmail

If you get a verification email that appears to be blank, click on the downward arrow and click on 'show original', and then you should see a page of email text, scroll down to the link:

Content-Type: text/plain;
Content-Disposition: inline

Thanks for creating an account with Battlefield Heroes!

To verify that your account has been properly created we need you to click the link below and follow the on screen instruction.

And cut and paste the link and load it to complete the verification.

Thursday, June 18, 2009

Nvidia Tegra - ARhrrrr

It looks like they have an dev version of an Nvidia Tegra, I think that's mentioned in the video. How do I get one?

Also, how does it compare to the 3D capabilities of the new iphone? Any source code to the game or the libraries used?

Sunday, May 31, 2009

Heroes Season 1

There were a lot of things good about this season, but a few big problems:

The split personality character has way too much screen time.

The Shenkar narration at the beginning and end of episodes is entirely empty of content. He blathers about evolution and destiny and the nature of being a hero, and adds nothing to the show.

(spoilers start here)

The shape shifting character breaks the entire show. She can assume any identity and change the perceptions of people near her, creating an involuntary holodeck for them. Every single scene is potentially a giant fake-out with her abilities available.

The concept of time travel is incoherent. Why does the waitress pretend not to recognize Hiro after spending months with him, and why does she want to have her brain eaten by Sylar as opposed to at least dying before he can get to her?

That one is forgiveable compared to the '5 years later' episode: Hiro and Ando travel to the bad future, where a future Hiro is attempting to discover what events in the past to alter in order to prevent the explosion. When he encounters the past Hiro, he is surprised to see them so therefore doesn't remember traveling to the future and meeting himself. Which makes no sense, unless Hiro can also travel into futures that branched off at an earlier point in time than when he initiated the time travel.

The future Hiro has already traveled back in time to tell Peter to 'save the cheerleader'. But the future we see is one where the cheerleader was saved (both from Sylar at prom and the NY explosion) and things still turned out bad- the only point in saving the cheerleader is so that Peter can acquire her healing capability, which is good in theory but bad because it allows him to survive up to the point of causing the explosion.

Watching to the end of the season, there doesn't seem to be any pivotal moment that determines the fate of New York, except for the arrival of Peter's brother flying in to save everyone. But nothing motivates his decision to do things differently, we don't even see him make the choice. Presumably he flipped a coin in is mind and in one future he stops the explosion and in the other he allows it, but no events in the show really pushed him in one direction or another. Far better would be by saving the cheerleader, Claire is put into danger by the explosion, and he realizes this and flies in to save her and everyone else.

A lesser problem with the 5 Year Later episode is that it acts as a bracket on any abilities or events introduced in later seasons, if new super-powerful characters arrive then the question is posed of why they didn't do more in those five years to stop persecution of the super-humans, unless the persecution prevents them from developing their powers or they would have died in the NY explosion.