Thursday, July 9, 2009

Canvas only seems to work on large sizes

I will need to set it up so that all the objects are like size 90 instead of 1

for finding the rotaton of that canvas

// for(var i = 0; i < 3 ; i++){
// setTimeout( function (rotation){
// frontCanvas.transform.rotateX(-rotation);
// console.log(rotation);
// },500 * i,i);
// count = count + i;
//}

o3d and primitives

Attempt to allocate zero bytes for Buffer

Check your parameters and make sure they aren't 0.

Wednesday, July 8, 2009

o3d and scale

Collada files can have wildly varying scales. Get the bounding boxes to see if your scales are very different.

Tuesday, July 7, 2009

Using o3d

My current project is trying to hack o3d into something that can easily display simple comics.

First week: thinkin
next week: trying to hack home configurator(from the o3d samples) into something like what I want
now: giving up on home configurator and moving onto the simple scene viewer. The last straw was when the home configurator for whatever reason wouldn't show my created stickfigure.

Tuesday, June 9, 2009

How to create an internal stackoverflow using drupal

For a while I was trying to find an internal stackoveflow website to use at my company. At first I looked at stacked , but in the time it took to get that setup that was taken down for legal reasons.

However I had recently been working with drupal and thought that there must be some combination of mods that you could use to make a stackoverflow. It turns out there is.

Here is how I got it running.

First for the most difficult part. Installing drupal. You want something like the WAMP which simplifies quite a bit. But that is windows only and the server it is running on is a mac. So how do you set it up on a mac? Use MAMP

Next, the module that you want to use is the finder module.

For configuring it you want to configure the finder module and add a content type.

For the content type you want to add is a regular content type with a title and a body. Name it something like questions.

Next you want to create the appropriate finder. For it you want to set the autocomplete option and make it search on titles.

And there you go. This doesn't recreate every option stackoverflow has, but its a pretty nice start. For additional usage like tags you can use modules like heirarchical select and create as many tag as you like for your data.

Sunday, February 22, 2009

Drupal is a remarkable tool

I've recently been trying out drupal because the webhosting I bought had it to where you could click on a button and install it.

Drupal is remarkable in the sense that it just seems to work and it works via gui. You get the sense that someone who isn't a programmer could administer a site.