After playing around with the previous examples (focal length and camera objects), I have combined the two into a new application. This examples shows objects in a random star field floating in space. Principles used in this example are:
- Camera - to zoom in and out,
- ZBuffer - to ensure the objects closest in the Z order are visually on top,
- Fog line - gives the appearance the objects are coming from the distance.
Two particular controls to check out
1.) Click the Zoom In button (below figure), to start a loop that “zooms in”.
2.) Click the Move button to enable the move tool. Once you have clicked this the cursor becomes an Hand indicating you can click and drag on the screen to move the objects around. The technique I’m using for this is similar to a previous post - Drag and drop Silverlight example.
Again, many thanks goes out to Ryan for showing me how to do this correctly. Instead of creating arbitrary values to the scale and Z; this example truly uses 3d math to render the images.




September 23rd, 2008 at 2:25 pm
[...] Another 3D Example in Silverlight (Corey Schuman) [...]
October 6th, 2008 at 2:42 pm
[...] Someone sent me this link today. It is a campaign page for Microsoft’s Mojave Experiment and it seems to be using (or was inspired by) the lightweight 3D framework that I recently began working on. [...]
January 28th, 2009 at 6:08 am
Plz, where can i find the source code of this example ??
February 17th, 2009 at 7:32 am
Hi
This is a very very nice example you made here. Is ther a chance that you might share the code
best regards
Hood