Andrew Que Sites list Photos
Projects Contact
Main

November 16, 2010

More rendering

   Work continues on my rendering of a Tiffany lamp.  On Sunday I redrew the entire lamp hoping to add the ridges.  While Google Sketchup has a lot of good tools, I have not found a lot of good ways to draw complex curved surfaces.  My Tiffany lamp has two complex surface fetchers: ridges around the glass, and the curved bottom ridge.  The ridges stick out 1/16 of an inch from the surface of the glass modeling the copper foil holding the stained glass in place.  This was the hardest item to model.
   The only way I found to do this was to draw two bowls, one for the stained glass, and one for the ridges.  Then above the glass I drew a circle, divided it into 8 sections, and extruded it through the curved surface.  After making them intersect I removed lines not on the surface.  This made partitions on the ridge dome. 
   Next, I draw an arc to curve the bottom of the dome.  The arc rises 1 inch on the 12 inch dome.  I extruded this and dropped it to the bottom of the dome, and then did a rotate with duplication.  After intersection, I removed all the lines not on the dome.  At this point, the dome had all the guide lines on it.  I started to erase edges and faces not required to obtain a skeleton that would hold the stain glass. 
   Then it was time to drop in the stained glass itself.  This dome was 1/16 smaller then the ridge dome.  Again, move it into place and and intersect.  Once intersected the faces could be painted.
   For rendering, I decided to have a basic backdrop.  I wanted something simple to catch cast light, so I just did a wood floor and some wallpaper.  It was now time to do the long work in Kerkythea.  It has taken since Sunday searching and reading to figure out how to get a stained glass surface, and it still needs work.  The rest of the surfaces are pretty basic—most are just applied materials right out of the box.
   What took so long in this experiment was the rendering.  As I learned, the basic photon mapping rendering method I am use to using can not correctly model complex lighting.  Thus my early experiments all failed because even if I had the correct settings, the method I used to render would not correctly produce the results.  I had to use the much slower but more accurate bidirectional path tracing.  Even to get a sample on a 200x200 take a few minutes on my 2.6 GHz quad-core.  In time, I started to figure out what settings I needed and started a long render. 
   This image represents 9 hours and 45 minutes of rendering time which was only able to produce 7 complete passes of the scene.  Still, it looks pretty good.  I forgot to apply the metal materiel to the pull chain, and the stained glass still isn't good enough, but I figured I'd release this as an other work-in-progress.

1 comment has been made.

From Amadameus (http://www.amadameus.wordpress.com)

Wisconsin

November 17, 2010 at 1:48 PM

Subsurface scattering; it's incredibly complex and CPU-intensive, but most things that look truly realistic are. It occurred to me while reading through terms like 'extruded' and 'arc' that we should really include projects in Sketchup as part of a high school geometry curriculum - being able to grab objects and alter them would really improve students' ability to think in geometric terms!
Jenny

Jenny

   My instructor tells me we have covered everything except for night flight, which we will do on Wednesday.  So, I have begun to do check-ride review.  Today we went over some paperwork, and then a review flight.  I did a soft-field landing and take-off, two aborted approaches, S-turns, circle around a point, and my best ever steep turn.  At home I have been taking short practice tests for the written portion of the exam.  I have some software that will generate random test questions and I try and do a set of questions everyday.  I need some solo time to practice, but things are getting close to the end.
   I did some work today trying to render a lamp.  The base was just a simple spindle, and the lamp shade I tried to make some kind of stained glass.  Configuring the materiel for the render turned out to be the hard part.  It never really did look much like stained glass.

November 12, 2010

Rendering in Kerkyathea

Stairs

Stairs

   I play around with Google Sketchup all the time, but rarely do I do much with the finished sketch.  Today I was trying to draw a Victorian era staircase.  There are a lot of curved surfaces to deal with and I ran across a plugin called RoundCorner which saved a lot of work on making the treads.  I also became better at the follow-me tool.  After I had a staircase drawn, it didn't look at the great in sketchup because of all the round surfaces.  It was hard to tell what the results really looked like.
   When I downloaded Sketchup, I also downloaded Kerkythea—a 3d rendering program for making photo realistic pictures from models.  It has taken awhile to figure out how to use the program in combination with Sketchup, and I am not very good at it.  I keep working at it from time to time, and today I actually got something out of the program I thought looked pretty good.
   Today's image is a rendering of my Victorian staircase.  The wood texture materiel is what made the magic happen.  I used a glossed mahogany wood, which worked really well.  My first renderings did not include a floor, but I ended up adding one.  I wanted wood or marble, but none of the textures I had looked very good.  So I went with checkers.  I also added a throw rug on the landing, although I didn't play with it too much.
   I am pretty happy with the results.  Rendering the full 2028x1536 image took a few hours.  It isn't often my computer has to work all four cores, so it's good go make it run a bit from time to time ;)
   The stairs are not finished.  I have to figure out where they are going to finish the landing.  Victorian era architecture has a lot of trim, and I would need more to finish off the staircase. I also need to finish the handrail.  But this was a big project for just what is shown, so I will need more time.

I remember hearing about how back in the 1950s the taxes were as high as 90% for the rich. Curious I decided to see for myself what the tax brackets looked like. I found this site that had taken the time to put together a table of all the tax brackets by year.

It was true—in 1950 the top tax bracket was 91%. But this bracket was for people who made over $200,000 a year—in 1950 dollars. I wondered how much the average American was paying in taxes.

I attempted to ask this question by adjusting for inflation a yearly wage. To do this, I put in a wage into this website that adjusted the value to 1950 dollars. I then calculated the taxes based on the tax bracket, and converted the value back to today.

That was kind of fun, and it got me thinking: couldn't I write a script to do all these calculations for any wage for any year? Of course I could.

So here is a simple Javascript tool that allows you to put in some yearly wages, what year these wages are from, and what year to calculate taxes with. The script converts the wages to the year specified, calculates taxes, and then converts the value back. It should give a rough idea of what one might pay in Federal Tax if that equivalent amount had been made in a given year.

Enter yearly earnings (US dollors).

Enter year the earnings were made (2009 to 1913).

Enter year the year to estimate taxes (2009 to 1913).

Yearly earnings in resulting year (calculated).

Adjusted taxes paid (calculated).

Percentage of income paid as tax (calculated).

Download the javascript source code

The script uses two sources: Tax data from 1913 to 2010 and Consumer Price Index from 1913 to 2009. The tax data is only for marred couples filing together or separately depending on which option was available for the year. It's not perfect, but should be close to the Federal Tax paid before any deductions or other tax magic.

Wikipedia tells us that the average American white male made $2,570 a year in 1950. When you apply these taxes for a married person in 1950, the household would have paid $525.40 in Federal Tax—a little over 20%. Today the average American household brings in $49,777 a year (as of 2007). A married couple would pay $6,684.05 in Federal Tax—a little over 13%. However, if one adjusts for inflation, $49,777 should be $5,785.79 in 1950. So the system isn't too exact.

November 10, 2010

Solo to Green Bay

Que in 3063L

Que in 3063L

   Solo flight to Green Bay this morning.  I did my flight plan last night, and check the weather at around 7:00 am.  A lot of fog and haze in the Green Bay/Appleton area.  The winds were steady from the south, and I would have a good tailwind on the way up.  I estimated for the trip up I would average about 130 knots/hour (150 MPH, 241 km/h), and the return trip would be around 100 knots/hour (115 mph, 185 km/h).  Using these speed I calculate at what times I should come across various cities and landmarks as well as when to expect to preform tasks such as switching fuel tanks, adjusting the heading indicator, and calling approach controllers.
   I arrived at the Rock County airport at 8:30 and 63L was out front waiting for me.  I went over my flight plan with my instructor, and we then checked weather.  Winds were not too bad, but we had some gusting.  Our biggest concern was fog and visibility.  When we check right before I left, all the airports in route had at least 3 miles of visibility—enough for me to fly.  One airport north west of Green Bay was down to 2 miles visibility.  It was our opinion that as the sun came out and warmed things up the visibility would improve.  I was told to keep an eye out for weather conditions, and if things looked like they were getting worse to just turn around for home.
   My orignal plan was to meet up with a friend of mine in Green Bay, but I had not been able to get in touch with her.  I don't like "there and back" routes, so I threw in a stop in Appleton and one in Middleton.  These could be touch-and-goes, or full stops.  I could have done lunch in Middleton is I was able to reach Tyson.  So I decided my trip would be to Green Bay for a touch-and-go, Appleton for full stop and fuel, and Middleton for lunch if I could get in touch with Tyson.
   After pre-flighting the airplane and unpacking all my papers and charts, I asked Ground if I could enter the pattern for a touch-and-go.  My landings on Monday were so bad, I wanted to make sure I could still do a normal landing.  The landing went by the numbers and I had a nice soft touchdown.  So I took back off, turned to the north east and climbed to 5,500 feet.
   The flight to Fond Du Lac went by the numbers.  My ground speed was 130 knots as expected, and each city appeared right on the mark.  Visibility was low however.  I could see about 5 miles and there was no horizon—the ground and the sky just kind of blurred together.  The ride was very smooth—no turbulence at all.  I had 63L trimmed and only had to make tinny corrections to keep her at altitude and on course.
   Once at Fond Du Lac I ignored my GPS course and followed the east shore of Lake Winnebago.  With flying close to water I hit a bump ever now and then, but I would not even have called it light turbulence.  At the northern shore of Lake Winnebago it was time to call Green Bay Approach.  Green Bay is class C airspace, so I must have 2-way radio communications before I am allowed to enter the airspace.  They request that pilots call 20 knots (23 miles, 37 km) out and the north east corner of Winnebago is right around that. 
   Green Bay is the busiest airport I've flown to alone, and one of the reasons I picked it for this solo.  It has about twice the daily traffic as Rock County, and half the traffic as Milwaukee.  There is a full terminal and commercial traffic.  So I had to be able to do things correctly if I were going to land here.
   Approach had me proceed on course and called me 10 miles form the airport.  The controller told me the airport was 10 miles 12 o'clock (meaning directly in front of me).  But I couldn't see an airport.  I replied to Approach that it was hazy and I did not see the airport.  The controller told me to continue and called me 5 miles out.  Just as he called, I saw from the haze the airport.  I reported the airport in sight and was handed off to Tower who had me make a right downwind for runway 18.  I watched a small passenger jet land as I was turning base and looked at my timer.  If I didn't have two minutes, I could to have wake turbulence.  Wake turbulence is bad when you are a little plane because it spins and could flip the plane.  I could land after the jet's touch-down point to avoid it, or have two minutes of separation which is considered enough time for the turbulence to dissipate.  I was hoping for the two minutes because it was hard to watch the jet's touch-down point and execute my landing procedure.  I made my base leg a little slow and didn't have a problem getting my two minutes of separation.  I got my touch and go clearance, turned finial and made a fairly smooth slight cross-wind landing. 
   After the landing, I pushed the throttle up and started to climb.  Tower handed me off to Departure who I asked for Appleton.  Departure had my fly on course at 2,500 feet and handed me off 5 miles from the airport.  Appleton Tower had me come in for a left approach on runway 21.  This put me in a good crosswind (about 5 knots) as the winds were 170 at around 9 knots.  Flying crabbed into a crosswind just seems natural (for me anyway) so the approach on finial was pretty easy.  The decrab and wing down landing is a little more tricky.  However, I knew the procedure.  Start the decrab over the runway number and drop the wind into the wind.  Let one wheel touchdown first.  I didn't quite get enough wing drop, but the landing was soft and without a side-load.  I asked to taxi to fuel and Ground directed me to Platinum Flight Center.
   When I arrived at Platinum Flight Center, there were two gentlemen outside to guide me into a parking spot.  It was the first time I had someone do this.  Although I had not worked with hand singles myself, I had watched people on the ground do this commercial jets when waiting for flight—so I knew the procedure.  The Platinum Flight wasn't kidding: after guiding me in, the chocked the tires, and put out a red carpet just outside the door to the plane.  I had them fuel up the plane and found I had a phone call.
   The phone call was from Courtney in Green Bay—she was available for lunch.  I thought it a waste to have come so far and be so close to not go back to Green Bay, so I told her to expect me in about 30 minutes.  Platinum Flight finished my fuel, and I went out to do my preflight.  I found a water drop in the take they topped off the first time, but nothing after that, and nothing in the other tank. 
   Ground had me taxi to 21 where I did my run up and asked tower for clearance.  Tower cleared me and asked me to stay at or below 3,000.  After takeoff I few for a few minutes without hearing anything else from Tower, so I asked for a frequency change so I could contract Approach.  I think the Approach controller remembered me because he asked if I had just been in Green Bay.  I was vectored to the airport this time, and then transferred to tower on a right downwind for 18.  Tower told me to land 18, but didn't specify the pattern.  So I asked for verification.  In hindsight I should have paid more attention to the airport chart I printed out—runway 18 is always right traffic.  My landing was again soft. 
   Tower had me turn on taxiway Delta (D) and I followed that all the way to Jet Air's FBO.  It was on the other side of the airport, and as I taxied I watched some KC-135 make approaches.  A man at the FBO said they had come up from Milwaukee to do training.   Again I had someone guide me into a parking space—although they thankfully didn't get out the red carpet!  Courtney had just walked into the FBO when I was parking, so our timing was about perfect.  We did lunch at a little dinner where I looked at the time.  I had reserved the plane for 5 hours, from 8:00 am to 1:00 pm.  I didn't leave Janesville until about 9:00 am due to the flight check and touch-and-go.  So between that and my fuel stop, and flying back to Green Bay I was way behind schedule.
   After lunch I called the Janesville Jet Center and scared the lady at the desk.  The first thing she asked is if something was wrong—she knew who was calling.  I apologized and told her I was running behind, but it turned out to be just fine because I was the only person who had the plane for the day.  I wouldn't need to rush right back home, and I could continue my flight plan with the remainder of my stops.
   From Green Bay it was back to Appleton for a touch-and-go.  I wanted to keep this as part of the trip so my landmark times still worked, and there was no reason not to touch-and-go if I was going to be right by Appleton.  After my preflight I asked Ground for clearance to depart to the south east.  Ground had me taxi to runway 24 which was right next to the FBO.  It dawned on me at the hold-short line that maybe I should have done the run-up on the ramp at the FBO to avoid holding anyone up.  I did my run-up pretty quick (they normally don't take long), but there wasn't anyone behind me waiting.  I asked Tower for clearance and was asked to hold short for landing traffic.  Sure enough a small passenger jet was coming in.  After he landed, Tower asked me to taxi into position and hold.  I told them I preferred to wait for wake turbulence to dissipate.  While I may have sat in position for two minutes at the end of the runway, I really didn't want to risk it.  I have never actually flown in wake turbulence, but a solo cross-country as a student I didn't feel was the best time to learn what it was like.  Tower told me to wait at the hold short line, and wait I did.  I was there for about 5 minutes when finally a Cessna came in for landing.  After the Cessna was on the ground, I was cleared for takeoff.
   Tower initially told me to fly a vector, then changed their minds and had me proceed on course to Appleton.  They handed me off to Departure who really didn't have me to much.  Once I was close to Appleton, Departure had me squawk VFR and approved a frequency change meaning I could contact Appleton Tower.  Appleton gave me a left approach for runway 21.  I did an other soft landing.  I had my flare high enough that right as my wheels hit the runway the stall horn went off.  After take off, Tower had me turn south and fly 3,000 feet for awhile, and then let me fly at my discretion.  I turned to get on course to Middleton and climbed to 4,500. 
   The flight to Middleton was slower then I had calculated.  I was only getting a ground speed of about 80-90 knots, slower then the 100 knots I had calculated.  So my times were a little off.  The haze seemed like it had become worse.  I am not sure if it did, or if it was just the fact I was flying into the sun and that made it seem worse.  I was a little concerned Madison might be overcast.  So I called Flight Watch and asked for the weather in Madison.  They said there was just haze, but that it was clear below 1,200 feet. 
   This part of the trip had a few bumps.  20 knots from Madison I called Approach so I could get into their airspace.  The Approach controller almost seemed happy to hear I was going to Middleton—I guess that meant I wouldn't be an issue for him.  He gave me a squawk code and didn't say much until I was about 10 miles from Middleton.  Around that time he told me I could descend in preparation for landing.  Right about this time I started getting mild turbulence.  By the time I got to pattern altitude (2,000 feet) I had to slow down as the turbulence was moderate.  By the time I had the plane setup, I was right on top of the airport.  I was actually setup to turn a downwind, but I hadn't made any radio communications yet.  So I turned for a crosswind and announced my intentions.  I could hear some broken radio traffic, but it didn't sound like any of it was for Middleton.  Landing at airports without a tower seems strange after dealing with those that have a tower and approach.  I lined up on finial for my touch-and-go coming in a little high.  My landing wasn't bad, but it wasn't great.
    When I took off again, I turned south.  I had landed on runway 28, which pointed me directly toward Madison and Madison airspace.  The turn to the south meant I had two massive T.V. towers to contend with.  They are probably a couple miles apart from one an other so fairly easy to fly between, but I could tell I had a wind pushing me slightly to the west.  I couldn't climb above 2,300 feet because I would be in Madison's airspace, and I really didn't want to look away for Madison's Approach frequency.  So I held my course.  Turbulence was kicking me around pretty good so I kept my speed down.  I cleared the towers easily, but had to stay low to get out of Madison's airspace.  The turbulence wasn't letting me make this quick, but in time I was clear. 
   Once out of Madison's airspace, it was up to 3,500 and as fast as 63L could manage.  She was reading 120 knots for indicated airspeed, but my ground speed was about 95.  The flight back to Rock County was uneventful and almost sad—my big flight was coming to an end.  Janesville Tower had me fly straight in on 14.  I had a bit of a crosswind on this landing, but the landing was very smooth.  I touched down and had the plane stopped by the first taxiway.  I took 63L home, gathered my things and called it a day.
   I am pretty pleased with how the flight went.  There was an unexpected change in plan—going back to Green Bay—but it worked out.  When I plan I need to give myself more time for lunch meetings.  An hour lunch time doesn't account for parking the plane, taxi time, preflight and run-up.  It's a good thing to know, and I will make sure to keep that in mind for future trips.
   Pictured is me in 63L, taken by Zam.
James

James

   A day of bad cross-wind landings at Beloit airport.  I didn't do a single good landing the entire day.  I messed up my short-field (which I had down the other day), and botched all my landings at Beloit.  After giving up in Beloit, my instructor had me do some steep turns, and then some unusual attitudes.  Steep turns I had done before, but I need more practice.  My right turns are better then my left, which is strange because my right turns are usually my weakest if they are not steep.  Unusual attitudes were like a roller coaster.  You close your eyes, and the instructor messes your senses up by doing turns, climbs and dives.  Then he asks you to open your eyes and right the plane.  The lesson is to not trust your senses and look at the interments, then level the plane.  They are not hard to recover from if you remember not to trust instinct. 
   My first unusual attitude started with a serious dive.  When I opened my eyes, my airspeed was very high, and the wings were banked about 30 degrees left.  I didn't even bother to look out the window.  Cut the throttle and level off.  We did 3 more of these.  The only tricky part was the speed at which I was expected to interpret the interments and recover.  After this, it was back to Janesville where I even botched a simple normal landing.  Not a good day for landings.

November 07, 2010

Solo work

Que Landing

Que Landing

   I went out for some solo work today.  Winds were about 8 knots from the south west, skies clear, and it looked like a nice day for some solo work.  I wanted to practice some short field and crosswind landings.  We worked on crosswind landings on Friday and I did pretty well, but my short field landings were not so good.
   Ground had me taxi to runway 22, and I started with two normal landings to get warmed up.  Then it was onto short field.  My first short field didn't work—cross the 1,000 foot mark still moving a pretty good speed.  But my next 5 landings were much better.  I stopped before the 1,000 foot marker each time, and some of the landings were actually pretty smooth.  So I asked Tower for a crosswind runway and was given 32. 
   My crosswind landings did go so well.  There wasn't much of a crosswind on 32, and it just seemed that each time the landings were not very smooth.  I barely had to decrab, and when I tipped the wing down I started to drift.  Seemed like the crosswind was too subtle.  I did several landings before tower had me turn right and go back to runway 22—he had too much traffic coming in to let me stay on 32.  I went around twice, once being number 3 of 4 for landing.  With all the traffic, I decided to call it a day.  I needed crosswind work and they were just too busy for me to get it.  I'll need to try again an other time.
   Pictured is me landing on one of my crosswind approaches, taken by Marty.  Thanks for the shot Marty!

1 comment has been made.

From Steve

The Garage, WI

November 16, 2010 at 4:48 PM

Stuka!!!! (Insert dive-bombing Stuka sirens here) ;)