Monday, February 21, 2011

Virtual Cityscape

I've had the idea for awhile now of a virtual city with buildings of different shapes and sizes that are randomly generated and organically grown by some set of rules. This is my first success with this idea:

I used the code from klein blue along with the following code snippet:

getGuy[x_, h_] := {Append[graphs[[x]][[2]][[1]], 0],
Append[graphs[[x]][[2]][[2]], h]};
hh = {graphs[[#]][[1]], Cuboid[getGuy[#, Round[8*Random[] + 1]]]} & /@
Range[Length[graphs]]; Manipulate[
Graphics3D[{hh[[1 ;; q]]}, Boxed -> False], {q, 1, Length[graphs],
1}]

It seems like the possibilities are endless.

Sunday, November 28, 2010

3D TV

Sky TV says it has made a significant step towards bringing 3D television to British viewers. The satellite broadcaster says it has successfully tested the delivery of 3D programming to a domestic television, via a high-definition set-top box. Sky has been filming a number of events using 3D cameras over recent months. Such broadcasts would require the use of 3D televisions, not yet available in UK stores, and viewers would need to wear 3D polarising glasses.

With the release of a new set of 3-D video screens next week, Philips Electronics is bringing a sci-fi cinema standby a little closer to everyday use. Philips' WOWvx displays--which allow viewers to perceive high-quality 3-D images without the need for special glasses--are now beginning to appear in shopping malls, movie-theater lobbies, and theme parks worldwide.

Saturday, September 18, 2010

Lookin at the state of 3D.

I remember when I first saw Papervision 3D, I thought that was the future. Nearly 4 years later, and no websites are 3D yet. I currently work for a 2D Casual Flash Gaming platform. Before that was Slide with Pets and Rock Riot. Before that was the 3D creature editors in Spore when 3D was alot more exciting, while Spore failed because it was not social. It seems like 3D will be postponed for awhile as we adjust more to the way we respond to data conditioned on social, time and location (in addition to context).

View With Old School 3D Glasses

Sunday, January 17, 2010

Avatar


Will be remembered as the first great film in a new genre of 3D movies.

Monday, July 20, 2009

Javascript Web Graphics Route

I'm not headed this way, but it is nice to know about it:

here, here and here.

Saturday, July 11, 2009

The History of Video Cards


Too much info for me here, but a nice reference, nonetheless. Shown in the image is the Rage 3D (32-bit memory bus, and a max memory of just 2MB) from 1995.

Monday, July 6, 2009

Interactive Color Coded Grids

What I want to do is make visualizations of grids (for churn, etc) that are interactive. This was a nice start tonight but flash development still goes so slow for me...





public function Blueray()
{
for(var i:int = 0; i < 5; i++){
for(var j:int = 0; j < 5; j++){
var a:Sprite = new Sprite(); a.graphics.beginFill(0xFF0000);
a.graphics.drawRect(50*i, 50*j, 50, 50);
this.addChild(a);
a.transform.colorTransform =new ColorTransform(1, 1, 1, 1, -50*i, 0, 50*j, 0);
a.addEventListener(MouseEvent.MOUSE_DOWN, drag);
a.addEventListener(MouseEvent.MOUSE_UP, stopdrag);
}
}
}
private function drag(event:MouseEvent):void {
event.target.startDrag();
}
private function stopdrag(event:MouseEvent):void {
event.target.stopDrag();
}

Sunday, June 7, 2009

Drawing Sprites in a Flex Application

Pretty useful code to draw Sprites from within a Flex application:


mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
mx:Script>![CDATA[
import flash.display.Sprite;

public function drawRectTest(nX:Number, nY:Number, nWidth:Number, nHeight:Number):void {
var testrect:Sprite = new Sprite();
testrect.graphics.beginFill(0xFF0000, 1);
testrect.graphics.drawRect(nX, nY, nWidth, nHeight);
testrect.graphics.endFill();
myPanel.rawChildren.addChild(testrect);
}
]]>/mx:Script>
mx:Panel id="myPanel"
paddingTop="10"
paddingBottom="10"
paddingLeft="10"
paddingRight="10"
height="200"
width="200"
>
mx:Button click="drawRectTest(75,75,50,100)" x="10" y="10" label="Draw" id="btnDrawRectangle"/>
/mx:Panel>
/mx:Application>


Its all about the rawchild. Now I just need to figure out how to do this "onload".

Thursday, June 4, 2009

3D Television

With the release of a new set of 3-D video screens next week, Philips Electronics is bringing a sci-fi cinema standby a little closer to everyday use. Philips' WOWvx displays--which allow viewers to perceive high-quality 3-D images without the need for special glasses--are now beginning to appear in shopping malls, movie-theater lobbies, and theme parks worldwide.

Sky TV says it has made a significant step towards bringing 3D television to British viewers. The satellite broadcaster says it has successfully tested the delivery of 3D programming to a domestic television, via a high-definition set-top box. Sky has been filming a number of events using 3D cameras over recent months. Such broadcasts would require the use of 3D televisions, not yet available in UK stores, and viewers would need to wear 3D polarising glasses.

http://news.bbc.co.uk/2/hi/technology/7788582.stm