Wednesday, April 25, 2007

tent anyone?












When told to make something cool using NURBS in VIZ I thought "Ok I can handle that"; that was until I actually sat down and tried to figure what to make. The first image is the result of me sitting in the SCC for two hours messing around with Nurbs and figuring out what all the tools actual do. After pretty much killing two hours and still not having made something cool out of Nurbs I did a little Google searching and found inspiration in tensile structures. So my cool something made out of Nurbs is a tensile structure with supports that were also created using NURBs. I then rendered it in VIZ. The first render is using ambient occlusion while the second uses raytrace 2-sided render.

Monday, April 16, 2007

ted talks

I just finished watching a Ted Talk with Cameron Sinclair on open source architecture to house the world and it was very informative. He discussed how architects should not just be designing "jewels" but buildings that are useful in the community and sustainable. He believes that contests are the best way to get this accomplished and goes on the show sustainable community conscience designs that were entered in contest and won. These designs went on to be built and were all revolutionary and life changing to the community in which they existed. Sinclair goes on to say that the future of architecture is not in skyscrapers but in the poverty which exists and needs to be fixed. According to Sinclair the government has programs to help, theoretically that is, but their innovations are not helping in the way that the designer could. So to wrap it up Sinclair's wish is for people to be more innovative and to use that innovation to help others in a sustainable way. Not a bad wish if I do say so my self.

The second Ted Talk I watched was with Hans Rosling on Debunking third-world myths with the best stats you've ever seen. The content was about world statistics such as mortality rates, income, economy, health, etc. and a gapminder program that make the statistics readily available and easily understandable. So during his speech Rosling was stressing how money can not make you live longer only health, so the people must invest their money in health care in order for it to make a difference in their life. His software which he said only took a couple of years to create very simply displays the stats that make the previous statement true. People can hear stats all day long but you don't really understand them until you can see it in relation to other stats, such as income and population, health care and economy, etc. He has approached world organizations with his ideas about distributing these stats but it seems that he will just have to approach it on his own for now, that is until other can fully understand how important it is for the world to know this pertinent information.

Wednesday, April 11, 2007

the never ending homework

I just completed a Revit marathon and I must say that I am pretty worn out. With in the help files of Revit I completed the tutorial on Developing your Degins. The out come was this (see below)







I documented my progress through the tutorial with these screen shots. The top shot is when I was created the columns that support the structure. The second shot is an inside view of the railing I created.The third shot is one of the whole building that showcased the stairwell on the far left that cuts through the building. That is probably my favorite and the whole structure.
The last image is a render of the building. It includes grass and autumn shadows. As a whole I thought the tutorial was very informative about Revit and all of its capabilities. The outcome was awesome it just took forever!

LINKS
downloading Revit

Tuesday, April 3, 2007

pimp a prof.


Haberl for President!!

Sunday, April 1, 2007

final project proposal

We have about 4 weeks left in the semester and 1 major project . For my project I would like to create something in Flash using ActionScript. I was thinking something architectural, like a complex building. It does not necessarily have to be interactive because I want my final project to be portfolio suitable. I also want the majority of it to be written using code because I think it would be cool to say, "Oh, no I didn't do that with the sidebar tools in Flash I wrote it with source code". I hope it all works out.

actionscripting

In high school I took computer science (java based) and loved it. I don't know if it was the teacher I had or the fact that you can make things with lines of code, but whatever the reason I was really excited when I was introduced to flash, a program that uses the source code actionscript which is very similar to java. I just finished watching a tutorial on how to make a clock in flash using actionship and my results were a fully functional clock(aka. it can keep time) with hour, minute, and seconds hands. Below is the code used to create the clock.If you were to insert this into the actions in flash your output would be a blue clock with hour and minute ticks and hour, minute, and second hands that rotate according to the time.



//creates existence of clock
this.createEmptyMovieClip("clock", 3);
clock._x = 150;
clock._y = 150;

//blue circle
clock.createEmptyMovieClip("circle", 1);
clock.circle.lineStyle(4, 0x000066, 100);
clock.circle.moveTo(100, 0);
circleRadius = 100;
for (a=0; a<361;>
{
radAngle = a*Math.PI/180;
xCoord = Math.cos(radAngle)*circleRadius;
yCoord = Math.sin(radAngle)*circleRadius;
clock.circle.lineTo(xCoord, yCoord);
}

//hour hands
clock.circle.lineStyle(3, 0x000000, 100);
clock.circle.moveTo(100, 0);
circleRadius = 100;
smallerCircleRadius = 90;
for (h=0; h<12;>
{
hourAngle = h*30;

radHourAngle = hourAngle*Math.PI/180;
xCoord1 = Math.cos(radHourAngle)*circleRadius;
yCoord1 = Math.sin(radHourAngle)*circleRadius;
xCoord2 = Math.cos(radHourAngle)*smallerCircleRadius;
yCoord2 = Math.sin(radHourAngle)*smallerCircleRadius;
clock.circle.moveTo(xCoord1, yCoord1);
clock.circle.lineTo(xCoord2, yCoord2);
}

//min. hands

clock.circle.lineStyle(1, 0x000000, 100);
clock.circle.moveTo(100, 0);
circleRadius = 99;
smallerCircleRadius = 91;
for (m=0; m<60;>
{
minuteAngle = m*6;

radMinuteAngle = minuteAngle*Math.PI/180;
xCoord1 = Math.cos(radMinuteAngle)*circleRadius;
yCoord1 = Math.sin(radMinuteAngle)*circleRadius;
xCoord2 = Math.cos(radMinuteAngle)*smallerCircleRadius;
yCoord2 = Math.sin(radMinuteAngle)*smallerCircleRadius;
clock.circle.moveTo(xCoord1, yCoord1);
clock.circle.lineTo(xCoord2, yCoord2);
}

//creates hour hand

clock.createEmptyMovieClip("hoursHand", 20);
clock.hoursHand.lineStyle(6, 0x000000, 100);
clock.hoursHand.moveTo(0, 0);
clock.hoursHand.lineTo(0, -50);

//creates minute hand
clock.createEmptyMovieClip("minutesHand", 30);
clock.minutesHand.lineStyle(5, 0x000000, 100);
clock.minutesHand.moveTo(0, 0);
clock.minutesHand.lineTo(0, -81);


//creates second hand
clock.createEmptyMovieClip("secondsHand", 40);
clock.secondsHand.lineStyle(0, 0xFF0000, 100);
clock.secondsHand.moveTo(0, 0);
clock.secondsHand.lineTo(0, -90);

//creates rotation of hands
clock.onEnterFrame = function ()
{

clockDate = new Date();
seconds = clockDate.getSeconds();
this.secondsHand._rotation = seconds * 6;
minutes = clockDate.getMinutes();
this.minutesHand._rotation = minutes * 6;
hours = clockDate.getHours();
this.hoursHand._rotation = (hours * 30) + (minutes/2);
}

Once I got this down I added a larger rim to the clock and learned how to add a shine to it. See code below. (this is inserted below circle)


// big blue frame
clock.circle.lineStyle(20, 0x94C9FE, 100);
clock.circle.moveTo(114, 0);
bigCircleRadius = 114;
for (a=0; a<360;>
radAngle = a*Math.PI/180;
xCoordBig = Math.cos(radAngle)*bigCircleRadius;
yCoordBig = Math.sin(radAngle)*bigCircleRadius;
clock.circle.lineTo(xCoordBig, yCoordBig);
}

// shining effect on the frame
shineAlpha = 10;
clock.circle.lineStyle(14, 0xFFFFFF, shineAlpha);
clock.circle.moveTo(-114, 0);
shineRadius = 114;
for (a=180; a<=270; a++) {
radAngle = a*Math.PI/180;
if (a>=180 && a<=210) {
shineAlpha = shineAlpha+1;
} else {
shineAlpha = shineAlpha-1;
}
xCoordBig = Math.cos(radAngle)*bigCircleRadius;
yCoordBig = Math.sin(radAngle)*bigCircleRadius;
clock.circle.lineStyle(14, 0xFFFFFF, shineAlpha);
clock.circle.lineTo(xCoordBig, yCoordBig);
}

This adds a lot and I am still impressed with the fact that I did this with scripting. Ya I could have made the clock using the tools in flash but by using the source code of the program to create the clock its that much cooler.

LINKS:
download flash
autoscripting tutorial