Example Code

Virtual Winter Wonderland!

Code and Documents

Attachment

Description

xmas-decor.pngxmas-bow.png

To kick-off National Instruments UK's celebration of the 12 working days of Christmas, we cordially welcome you to the

Virtual Winter Wonderland!

View the full list of gifts...

LabVIEWs 3D picture controls provide an intuitive way to create, import and control 3D graphics for realistic presentation of real world objects.

However, this may be the first time they have been used to create an idyllic wintery scene.

 

FrontPanel.JPG

 

Download and extract the attached zip file and open/run ChristmasTree.vi. Then watch in awe as LabVIEW incrementally constructs a festive scene!

Once construction is complete, you can turn off the rotation and put your 3D navigation skills to the test, by manually negotiating the environment.

 

Bonus: 3 of the presents, which are nested under the tree, contain hidden Easter Egg messages. But be warned; only the truly inquisitive and dexterous will find them!

 

Navigating the Wonderland...

  • Drag = Rotate View
  • Ctrl + Drag = Move
  • Shift + Drag Up = Zoom In
  • Shift Drag Down = Zoom Out

 

Tree (birds Eye).JPG

 

C’mon! Pull on a pair of virtual Wellies. Don a virtual scarf. Pour yourself a virtual real glass of your favourite festive tipple and set foot in LabVIEWs virtual Winter Wonderland!

This is another fine production by Mr. Mike Bailey (CLA), NIUK Marketing Engineer and Certified LabVIEW Architect.

 

Requirements

LabVIEW 2012

Rich Roberts
Senior Marketing Engineer, National Instruments
Connect on LinkedIn: https://www.linkedin.com/in/richard-roberts-4176a27b/

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Dhana_LV
Member
Member
on

Awsome man...

wish u advance happy christmas...

Contributors