summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/basket
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/basket')
-rw-r--r--examples/qt3d/basket/README15
-rw-r--r--examples/qt3d/basket/basket.desktop7
-rw-r--r--examples/qt3d/basket/basket.jpgbin138189 -> 0 bytes
-rw-r--r--examples/qt3d/basket/basket.pro16
-rw-r--r--examples/qt3d/basket/basket.qrc5
-rw-r--r--examples/qt3d/basket/basket.rc1
-rw-r--r--examples/qt3d/basket/basket_data.h404
-rw-r--r--examples/qt3d/basket/basket_data.txt332
-rw-r--r--examples/qt3d/basket/basketview.cpp93
-rw-r--r--examples/qt3d/basket/basketview.h71
-rw-r--r--examples/qt3d/basket/main.cpp63
-rw-r--r--examples/qt3d/basket/qt3d.icobin67646 -> 0 bytes
-rw-r--r--examples/qt3d/basket/qt3d.pngbin3677 -> 0 bytes
-rw-r--r--examples/qt3d/basket/teapot-logo.pngbin3287 -> 0 bytes
14 files changed, 0 insertions, 1007 deletions
diff --git a/examples/qt3d/basket/README b/examples/qt3d/basket/README
deleted file mode 100644
index 560fd74c..00000000
--- a/examples/qt3d/basket/README
+++ /dev/null
@@ -1,15 +0,0 @@
-
-This example draws a rotating basket, textured with a basket weave,
-to demonstrte how to use textures and how to create simple animated
-effects. The basket model is based on the standard teapot model,
-with the handle and spout removed.
-
-The texture came from www.cgtextures.com:
-
-http://www.cgtextures.com/texview.php?id=25208&s=S&PHPSESSID=2fd7273841dfba0001d8fb6e8c832cba
-
-The license details on the textures from the site is basically
-royalty-free for the example use we are making of it. Consult the
-license agreement for the full details:
-
-http://www.cgtextures.com/content.php?action=license
diff --git a/examples/qt3d/basket/basket.desktop b/examples/qt3d/basket/basket.desktop
deleted file mode 100644
index 3d16c486..00000000
--- a/examples/qt3d/basket/basket.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Basket
-Icon=/usr/share/icons/hicolor/80x80/apps/qt3d.png
-Exec=/usr/bin/invoker --type=e -s /usr/bin/basket -fullscreen
-OnlyShowIn=X-MeeGo;
-X-MeeGo-Logical-Id=qtn_comm_appname_basket
diff --git a/examples/qt3d/basket/basket.jpg b/examples/qt3d/basket/basket.jpg
deleted file mode 100644
index c292a83d..00000000
--- a/examples/qt3d/basket/basket.jpg
+++ /dev/null
Binary files differ
diff --git a/examples/qt3d/basket/basket.pro b/examples/qt3d/basket/basket.pro
deleted file mode 100644
index f3659e8c..00000000
--- a/examples/qt3d/basket/basket.pro
+++ /dev/null
@@ -1,16 +0,0 @@
-TEMPLATE = app
-TARGET = basket
-CONFIG += qt warn_on
-
-CONFIG += qt3d_deploy_pkg
-include(../../../pkg.pri)
-
-SOURCES = basketview.cpp main.cpp
-HEADERS = basketview.h basket_data.h
-RESOURCES = basket.qrc
-
-OTHER_FILES += \
- basket.rc \
- basket.desktop
-
-RC_FILE = basket.rc
diff --git a/examples/qt3d/basket/basket.qrc b/examples/qt3d/basket/basket.qrc
deleted file mode 100644
index 590b65c7..00000000
--- a/examples/qt3d/basket/basket.qrc
+++ /dev/null
@@ -1,5 +0,0 @@
-<!DOCTYPE RCC><RCC version="1.0">
-<qresource>
- <file>basket.jpg</file>
-</qresource>
-</RCC>
diff --git a/examples/qt3d/basket/basket.rc b/examples/qt3d/basket/basket.rc
deleted file mode 100644
index b40ecdc1..00000000
--- a/examples/qt3d/basket/basket.rc
+++ /dev/null
@@ -1 +0,0 @@
-IDI_ICON1 ICON DISCARDABLE "qt3d.ico"
diff --git a/examples/qt3d/basket/basket_data.h b/examples/qt3d/basket/basket_data.h
deleted file mode 100644
index d456a692..00000000
--- a/examples/qt3d/basket/basket_data.h
+++ /dev/null
@@ -1,404 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation ([email protected])
-**
-** This file is part of the QtQuick3D examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef BASKET_DATA_H
-#define BASKET_DATA_H
-
-#include "qglbezierpatches.h"
-
-// Generated from basket_data.txt by meshcvt, depth = 4
-
-#define BasketBezierVertexCount 306
-#define BasketPatchCount 24
-#define BasketDepth 4
-static float const BasketBezierVertexData[] = {
- 0.700000f, 0.450000f, -0.000000f,
- 0.700000f, 0.450000f, 0.392000f,
- 0.392000f, 0.450000f, 0.700000f,
- 0.000000f, 0.450000f, 0.700000f,
- 0.668750f, 0.515625f, -0.000000f,
- 0.668750f, 0.515625f, 0.374500f,
- 0.374500f, 0.515625f, 0.668750f,
- 0.000000f, 0.515625f, 0.668750f,
- 0.718750f, 0.515625f, -0.000000f,
- 0.718750f, 0.515625f, 0.402500f,
- 0.402500f, 0.515625f, 0.718750f,
- 0.000000f, 0.515625f, 0.718750f,
- 0.750000f, 0.450000f, -0.000000f,
- 0.750000f, 0.450000f, 0.420000f,
- 0.420000f, 0.450000f, 0.750000f,
- 0.000000f, 0.450000f, 0.750000f,
- -0.392000f, 0.450000f, 0.700000f,
- -0.700000f, 0.450000f, 0.392000f,
- -0.700000f, 0.450000f, -0.000000f,
- -0.374500f, 0.515625f, 0.668750f,
- -0.668750f, 0.515625f, 0.374500f,
- -0.668750f, 0.515625f, -0.000000f,
- -0.402500f, 0.515625f, 0.718750f,
- -0.718750f, 0.515625f, 0.402500f,
- -0.718750f, 0.515625f, -0.000000f,
- -0.420000f, 0.450000f, 0.750000f,
- -0.750000f, 0.450000f, 0.420000f,
- -0.750000f, 0.450000f, -0.000000f,
- -0.700000f, 0.450000f, -0.392000f,
- -0.392000f, 0.450000f, -0.700000f,
- 0.000000f, 0.450000f, -0.700000f,
- -0.668750f, 0.515625f, -0.374500f,
- -0.374500f, 0.515625f, -0.668750f,
- 0.000000f, 0.515625f, -0.668750f,
- -0.718750f, 0.515625f, -0.402500f,
- -0.402500f, 0.515625f, -0.718750f,
- 0.000000f, 0.515625f, -0.718750f,
- -0.750000f, 0.450000f, -0.420000f,
- -0.420000f, 0.450000f, -0.750000f,
- 0.000000f, 0.450000f, -0.750000f,
- 0.392000f, 0.450000f, -0.700000f,
- 0.700000f, 0.450000f, -0.392000f,
- 0.374500f, 0.515625f, -0.668750f,
- 0.668750f, 0.515625f, -0.374500f,
- 0.402500f, 0.515625f, -0.718750f,
- 0.718750f, 0.515625f, -0.402500f,
- 0.420000f, 0.450000f, -0.750000f,
- 0.750000f, 0.450000f, -0.420000f,
- 0.875000f, 0.187500f, -0.000000f,
- 0.875000f, 0.187500f, 0.490000f,
- 0.490000f, 0.187500f, 0.875000f,
- 0.000000f, 0.187500f, 0.875000f,
- 1.000000f, -0.075000f, -0.000000f,
- 1.000000f, -0.075000f, 0.560000f,
- 0.560000f, -0.075000f, 1.000000f,
- 0.000000f, -0.075000f, 1.000000f,
- 1.000000f, -0.300000f, -0.000000f,
- 1.000000f, -0.300000f, 0.560000f,
- 0.560000f, -0.300000f, 1.000000f,
- 0.000000f, -0.300000f, 1.000000f,
- -0.490000f, 0.187500f, 0.875000f,
- -0.875000f, 0.187500f, 0.490000f,
- -0.875000f, 0.187500f, -0.000000f,
- -0.560000f, -0.075000f, 1.000000f,
- -1.000000f, -0.075000f, 0.560000f,
- -1.000000f, -0.075000f, -0.000000f,
- -0.560000f, -0.300000f, 1.000000f,
- -1.000000f, -0.300000f, 0.560000f,
- -1.000000f, -0.300000f, -0.000000f,
- -0.875000f, 0.187500f, -0.490000f,
- -0.490000f, 0.187500f, -0.875000f,
- 0.000000f, 0.187500f, -0.875000f,
- -1.000000f, -0.075000f, -0.560000f,
- -0.560000f, -0.075000f, -1.000000f,
- 0.000000f, -0.075000f, -1.000000f,
- -1.000000f, -0.300000f, -0.560000f,
- -0.560000f, -0.300000f, -1.000000f,
- 0.000000f, -0.300000f, -1.000000f,
- 0.490000f, 0.187500f, -0.875000f,
- 0.875000f, 0.187500f, -0.490000f,
- 0.560000f, -0.075000f, -1.000000f,
- 1.000000f, -0.075000f, -0.560000f,
- 0.560000f, -0.300000f, -1.000000f,
- 1.000000f, -0.300000f, -0.560000f,
- 1.000000f, -0.525000f, -0.000000f,
- 1.000000f, -0.525000f, 0.560000f,
- 0.560000f, -0.525000f, 1.000000f,
- 0.000000f, -0.525000f, 1.000000f,
- 0.750000f, -0.637500f, -0.000000f,
- 0.750000f, -0.637500f, 0.420000f,
- 0.420000f, -0.637500f, 0.750000f,
- 0.000000f, -0.637500f, 0.750000f,
- 0.750000f, -0.675000f, -0.000000f,
- 0.750000f, -0.675000f, 0.420000f,
- 0.420000f, -0.675000f, 0.750000f,
- 0.000000f, -0.675000f, 0.750000f,
- -0.560000f, -0.525000f, 1.000000f,
- -1.000000f, -0.525000f, 0.560000f,
- -1.000000f, -0.525000f, -0.000000f,
- -0.420000f, -0.637500f, 0.750000f,
- -0.750000f, -0.637500f, 0.420000f,
- -0.750000f, -0.637500f, -0.000000f,
- -0.420000f, -0.675000f, 0.750000f,
- -0.750000f, -0.675000f, 0.420000f,
- -0.750000f, -0.675000f, -0.000000f,
- -1.000000f, -0.525000f, -0.560000f,
- -0.560000f, -0.525000f, -1.000000f,
- 0.000000f, -0.525000f, -1.000000f,
- -0.750000f, -0.637500f, -0.420000f,
- -0.420000f, -0.637500f, -0.750000f,
- 0.000000f, -0.637500f, -0.750000f,
- -0.750000f, -0.675000f, -0.420000f,
- -0.420000f, -0.675000f, -0.750000f,
- 0.000000f, -0.675000f, -0.750000f,
- 0.560000f, -0.525000f, -1.000000f,
- 1.000000f, -0.525000f, -0.560000f,
- 0.420000f, -0.637500f, -0.750000f,
- 0.750000f, -0.637500f, -0.420000f,
- 0.420000f, -0.675000f, -0.750000f,
- 0.750000f, -0.675000f, -0.420000f,
- -0.800000f, 0.262500f, -0.000000f,
- -0.800000f, 0.262500f, 0.150000f,
- -0.750000f, 0.375000f, 0.150000f,
- -0.750000f, 0.375000f, -0.000000f,
- -1.150000f, 0.262500f, -0.000000f,
- -1.150000f, 0.262500f, 0.150000f,
- -1.250000f, 0.375000f, 0.150000f,
- -1.250000f, 0.375000f, -0.000000f,
- -1.350000f, 0.262500f, -0.000000f,
- -1.350000f, 0.262500f, 0.150000f,
- -1.500000f, 0.375000f, 0.150000f,
- -1.500000f, 0.375000f, -0.000000f,
- -1.350000f, 0.150000f, -0.000000f,
- -1.350000f, 0.150000f, 0.150000f,
- -1.500000f, 0.150000f, 0.150000f,
- -1.500000f, 0.150000f, -0.000000f,
- -0.750000f, 0.375000f, -0.150000f,
- -0.800000f, 0.262500f, -0.150000f,
- -1.250000f, 0.375000f, -0.150000f,
- -1.150000f, 0.262500f, -0.150000f,
- -1.500000f, 0.375000f, -0.150000f,
- -1.350000f, 0.262500f, -0.150000f,
- -1.500000f, 0.150000f, -0.150000f,
- -1.350000f, 0.150000f, -0.150000f,
- -1.350000f, 0.037500f, -0.000000f,
- -1.350000f, 0.037500f, 0.150000f,
- -1.500000f, -0.075000f, 0.150000f,
- -1.500000f, -0.075000f, -0.000000f,
- -1.250000f, -0.187500f, -0.000000f,
- -1.250000f, -0.187500f, 0.150000f,
- -1.325000f, -0.281250f, 0.150000f,
- -1.325000f, -0.281250f, -0.000000f,
- -1.000000f, -0.300000f, 0.150000f,
- -0.950000f, -0.450000f, 0.150000f,
- -0.950000f, -0.450000f, -0.000000f,
- -1.500000f, -0.075000f, -0.150000f,
- -1.350000f, 0.037500f, -0.150000f,
- -1.325000f, -0.281250f, -0.150000f,
- -1.250000f, -0.187500f, -0.150000f,
- -0.950000f, -0.450000f, -0.150000f,
- -1.000000f, -0.300000f, -0.150000f,
- 0.850000f, -0.037500f, -0.000000f,
- 0.850000f, -0.037500f, 0.330000f,
- 0.850000f, -0.450000f, 0.330000f,
- 0.850000f, -0.450000f, -0.000000f,
- 1.300000f, -0.037500f, -0.000000f,
- 1.300000f, -0.037500f, 0.330000f,
- 1.550000f, -0.337500f, 0.330000f,
- 1.550000f, -0.337500f, -0.000000f,
- 1.150000f, 0.300000f, -0.000000f,
- 1.150000f, 0.300000f, 0.125000f,
- 1.200000f, 0.262500f, 0.125000f,
- 1.200000f, 0.262500f, -0.000000f,
- 1.350000f, 0.450000f, -0.000000f,
- 1.350000f, 0.450000f, 0.125000f,
- 1.650000f, 0.450000f, 0.125000f,
- 1.650000f, 0.450000f, -0.000000f,
- 0.850000f, -0.450000f, -0.330000f,
- 0.850000f, -0.037500f, -0.330000f,
- 1.550000f, -0.337500f, -0.330000f,
- 1.300000f, -0.037500f, -0.330000f,
- 1.200000f, 0.262500f, -0.125000f,
- 1.150000f, 0.300000f, -0.125000f,
- 1.650000f, 0.450000f, -0.125000f,
- 1.350000f, 0.450000f, -0.125000f,
- 1.400000f, 0.487500f, -0.000000f,
- 1.400000f, 0.487500f, 0.125000f,
- 1.762500f, 0.496875f, 0.125000f,
- 1.762500f, 0.496875f, -0.000000f,
- 1.450000f, 0.487500f, -0.000000f,
- 1.450000f, 0.487500f, 0.075000f,
- 1.725000f, 0.506250f, 0.075000f,
- 1.725000f, 0.506250f, -0.000000f,
- 1.400000f, 0.450000f, -0.000000f,
- 1.400000f, 0.450000f, 0.075000f,
- 1.600000f, 0.450000f, 0.075000f,
- 1.600000f, 0.450000f, -0.000000f,
- 1.762500f, 0.496875f, -0.125000f,
- 1.400000f, 0.487500f, -0.125000f,
- 1.725000f, 0.506250f, -0.075000f,
- 1.450000f, 0.487500f, -0.075000f,
- 1.600000f, 0.450000f, -0.075000f,
- 1.400000f, 0.450000f, -0.075000f,
- 0.000000f, 0.825000f, -0.000000f,
- 0.000000f, 0.825000f, 0.001000f,
- 0.001000f, 0.825000f, -0.000000f,
- 0.400000f, 0.825000f, -0.000000f,
- 0.400000f, 0.825000f, 0.225000f,
- 0.225000f, 0.825000f, 0.400000f,
- 0.000000f, 0.825000f, 0.400000f,
- 0.000000f, 0.675000f, -0.000000f,
- 0.100000f, 0.600000f, -0.000000f,
- 0.100000f, 0.600000f, 0.056000f,
- 0.056000f, 0.600000f, 0.100000f,
- 0.000000f, 0.600000f, 0.100000f,
- -0.001000f, 0.825000f, -0.000000f,
- -0.225000f, 0.825000f, 0.400000f,
- -0.400000f, 0.825000f, 0.225000f,
- -0.400000f, 0.825000f, -0.000000f,
- -0.056000f, 0.600000f, 0.100000f,
- -0.100000f, 0.600000f, 0.056000f,
- -0.100000f, 0.600000f, -0.000000f,
- 0.000000f, 0.825000f, -0.001000f,
- -0.400000f, 0.825000f, -0.225000f,
- -0.225000f, 0.825000f, -0.400000f,
- 0.000000f, 0.825000f, -0.400000f,
- -0.100000f, 0.600000f, -0.056000f,
- -0.056000f, 0.600000f, -0.100000f,
- 0.000000f, 0.600000f, -0.100000f,
- 0.225000f, 0.825000f, -0.400000f,
- 0.400000f, 0.825000f, -0.225000f,
- 0.056000f, 0.600000f, -0.100000f,
- 0.100000f, 0.600000f, -0.056000f,
- 0.200000f, 0.525000f, -0.000000f,
- 0.200000f, 0.525000f, 0.112000f,
- 0.112000f, 0.525000f, 0.200000f,
- 0.000000f, 0.525000f, 0.200000f,
- 0.650000f, 0.525000f, -0.000000f,
- 0.650000f, 0.525000f, 0.364000f,
- 0.364000f, 0.525000f, 0.650000f,
- 0.000000f, 0.525000f, 0.650000f,
- 0.650000f, 0.450000f, -0.000000f,
- 0.650000f, 0.450000f, 0.364000f,
- 0.364000f, 0.450000f, 0.650000f,
- 0.000000f, 0.450000f, 0.650000f,
- -0.112000f, 0.525000f, 0.200000f,
- -0.200000f, 0.525000f, 0.112000f,
- -0.200000f, 0.525000f, -0.000000f,
- -0.364000f, 0.525000f, 0.650000f,
- -0.650000f, 0.525000f, 0.364000f,
- -0.650000f, 0.525000f, -0.000000f,
- -0.364000f, 0.450000f, 0.650000f,
- -0.650000f, 0.450000f, 0.364000f,
- -0.650000f, 0.450000f, -0.000000f,
- -0.200000f, 0.525000f, -0.112000f,
- -0.112000f, 0.525000f, -0.200000f,
- 0.000000f, 0.525000f, -0.200000f,
- -0.650000f, 0.525000f, -0.364000f,
- -0.364000f, 0.525000f, -0.650000f,
- 0.000000f, 0.525000f, -0.650000f,
- -0.650000f, 0.450000f, -0.364000f,
- -0.364000f, 0.450000f, -0.650000f,
- 0.000000f, 0.450000f, -0.650000f,
- 0.112000f, 0.525000f, -0.200000f,
- 0.200000f, 0.525000f, -0.112000f,
- 0.364000f, 0.525000f, -0.650000f,
- 0.650000f, 0.525000f, -0.364000f,
- 0.364000f, 0.450000f, -0.650000f,
- 0.650000f, 0.450000f, -0.364000f,
- 0.000000f, -0.750000f, -0.000000f,
- 0.750000f, -0.675000f, -0.000000f,
- 0.750000f, -0.675000f, -0.420000f,
- 0.420000f, -0.675000f, -0.750000f,
- 0.000000f, -0.675000f, -0.750000f,
- 0.750000f, -0.712500f, -0.000000f,
- 0.750000f, -0.712500f, -0.420000f,
- 0.420000f, -0.712500f, -0.750000f,
- 0.000000f, -0.712500f, -0.750000f,
- 0.712500f, -0.750000f, -0.000000f,
- 0.712500f, -0.750000f, -0.399000f,
- 0.399000f, -0.750000f, -0.712500f,
- 0.000000f, -0.750000f, -0.712500f,
- -0.420000f, -0.675000f, -0.750000f,
- -0.750000f, -0.675000f, -0.420000f,
- -0.750000f, -0.675000f, -0.000000f,
- -0.420000f, -0.712500f, -0.750000f,
- -0.750000f, -0.712500f, -0.420000f,
- -0.750000f, -0.712500f, -0.000000f,
- -0.399000f, -0.750000f, -0.712500f,
- -0.712500f, -0.750000f, -0.399000f,
- -0.712500f, -0.750000f, -0.000000f,
- -0.750000f, -0.675000f, 0.420000f,
- -0.420000f, -0.675000f, 0.750000f,
- 0.000000f, -0.675000f, 0.750000f,
- -0.750000f, -0.712500f, 0.420000f,
- -0.420000f, -0.712500f, 0.750000f,
- 0.000000f, -0.712500f, 0.750000f,
- -0.712500f, -0.750000f, 0.399000f,
- -0.399000f, -0.750000f, 0.712500f,
- 0.000000f, -0.750000f, 0.712500f,
- 0.420000f, -0.675000f, 0.750000f,
- 0.750000f, -0.675000f, 0.420000f,
- 0.420000f, -0.712500f, 0.750000f,
- 0.750000f, -0.712500f, 0.420000f,
- 0.399000f, -0.750000f, 0.712500f,
- 0.712500f, -0.750000f, 0.399000f
-};
-
-static ushort const BasketPatchData[] = {
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
- 3, 16, 17, 18, 7, 19, 20, 21, 11, 22, 23, 24, 15, 25, 26, 27,
- 18, 28, 29, 30, 21, 31, 32, 33, 24, 34, 35, 36, 27, 37, 38, 39,
- 30, 40, 41, 0, 33, 42, 43, 4, 36, 44, 45, 8, 39, 46, 47, 12,
- 12, 13, 14, 15, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
- 15, 25, 26, 27, 51, 60, 61, 62, 55, 63, 64, 65, 59, 66, 67, 68,
- 27, 37, 38, 39, 62, 69, 70, 71, 65, 72, 73, 74, 68, 75, 76, 77,
- 39, 46, 47, 12, 71, 78, 79, 48, 74, 80, 81, 52, 77, 82, 83, 56,
- 56, 57, 58, 59, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
- 59, 66, 67, 68, 87, 96, 97, 98, 91, 99, 100, 101, 95, 102, 103, 104,
- 68, 75, 76, 77, 98, 105, 106, 107, 101, 108, 109, 110, 104, 111, 112, 113,
- 77, 82, 83, 56, 107, 114, 115, 84, 110, 116, 117, 88, 113, 118, 119, 92,
- 203, 203, 203, 203, 206, 207, 208, 209, 210, 210, 210, 210, 211, 212, 213, 214,
- 203, 203, 203, 203, 209, 216, 217, 218, 210, 210, 210, 210, 214, 219, 220, 221,
- 203, 203, 203, 203, 218, 223, 224, 225, 210, 210, 210, 210, 221, 226, 227, 228,
- 203, 203, 203, 203, 225, 229, 230, 206, 210, 210, 210, 210, 228, 231, 232, 211,
- 211, 212, 213, 214, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
- 214, 219, 220, 221, 236, 245, 246, 247, 240, 248, 249, 250, 244, 251, 252, 253,
- 221, 226, 227, 228, 247, 254, 255, 256, 250, 257, 258, 259, 253, 260, 261, 262,
- 228, 231, 232, 211, 256, 263, 264, 233, 259, 265, 266, 237, 262, 267, 268, 241,
- 269, 269, 269, 269, 278, 279, 280, 281, 274, 275, 276, 277, 270, 271, 272, 273,
- 269, 269, 269, 269, 281, 288, 289, 290, 277, 285, 286, 287, 273, 282, 283, 284,
- 269, 269, 269, 269, 290, 297, 298, 299, 287, 294, 295, 296, 284, 291, 292, 293,
- 269, 269, 269, 269, 299, 304, 305, 278, 296, 302, 303, 274, 293, 300, 301, 270
-};
-
-class BasketPatches : public QGLBezierPatches
-{
-public:
- BasketPatches()
- {
- QVector3DArray positions;
- for (int pindex = 0; pindex < BasketPatchCount * 16; ++pindex) {
- int vindex = BasketPatchData[pindex];
- positions.append(BasketBezierVertexData[vindex * 3],
- BasketBezierVertexData[vindex * 3 + 1],
- BasketBezierVertexData[vindex * 3 + 2]);
- }
- setPositions(positions);
- setSubdivisionDepth(BasketDepth);
- }
-};
-
-#endif
diff --git a/examples/qt3d/basket/basket_data.txt b/examples/qt3d/basket/basket_data.txt
deleted file mode 100644
index 6b693b5a..00000000
--- a/examples/qt3d/basket/basket_data.txt
+++ /dev/null
@@ -1,332 +0,0 @@
-24
-1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
-4,17,18,19,8,20,21,22,12,23,24,25,16,26,27,28
-19,29,30,31,22,32,33,34,25,35,36,37,28,38,39,40
-31,41,42,1,34,43,44,5,37,45,46,9,40,47,48,13
-13,14,15,16,49,50,51,52,53,54,55,56,57,58,59,60
-16,26,27,28,52,61,62,63,56,64,65,66,60,67,68,69
-28,38,39,40,63,70,71,72,66,73,74,75,69,76,77,78
-40,47,48,13,72,79,80,49,75,81,82,53,78,83,84,57
-57,58,59,60,85,86,87,88,89,90,91,92,93,94,95,96
-60,67,68,69,88,97,98,99,92,100,101,102,96,103,104,105
-69,76,77,78,99,106,107,108,102,109,110,111,105,112,113,114
-78,83,84,57,108,115,116,85,111,117,118,89,114,119,120,93
-204,204,204,204,207,208,209,210,211,211,211,211,212,213,214,215,4
-204,204,204,204,210,217,218,219,211,211,211,211,215,220,221,222,4
-204,204,204,204,219,224,225,226,211,211,211,211,222,227,228,229,4
-204,204,204,204,226,230,231,207,211,211,211,211,229,232,233,212,4
-212,213,214,215,234,235,236,237,238,239,240,241,242,243,244,245
-215,220,221,222,237,246,247,248,241,249,250,251,245,252,253,254
-222,227,228,229,248,255,256,257,251,258,259,260,254,261,262,263
-229,232,233,212,257,264,265,234,260,266,267,238,263,268,269,242
-270,270,270,270,279,280,281,282,275,276,277,278,271,272,273,274,4
-270,270,270,270,282,289,290,291,278,286,287,288,274,283,284,285,4
-270,270,270,270,291,298,299,300,288,295,296,297,285,292,293,294,4
-270,270,270,270,300,305,306,279,297,303,304,275,294,301,302,271,4
-306
-1.4,0.0,2.4
-1.4,-0.784,2.4
-0.784,-1.4,2.4
-0.0,-1.4,2.4
-1.3375,0.0,2.53125
-1.3375,-0.749,2.53125
-0.749,-1.3375,2.53125
-0.0,-1.3375,2.53125
-1.4375,0.0,2.53125
-1.4375,-0.805,2.53125
-0.805,-1.4375,2.53125
-0.0,-1.4375,2.53125
-1.5,0.0,2.4
-1.5,-0.84,2.4
-0.84,-1.5,2.4
-0.0,-1.5,2.4
--0.784,-1.4,2.4
--1.4,-0.784,2.4
--1.4,0.0,2.4
--0.749,-1.3375,2.53125
--1.3375,-0.749,2.53125
--1.3375,0.0,2.53125
--0.805,-1.4375,2.53125
--1.4375,-0.805,2.53125
--1.4375,0.0,2.53125
--0.84,-1.5,2.4
--1.5,-0.84,2.4
--1.5,0.0,2.4
--1.4,0.784,2.4
--0.784,1.4,2.4
-0.0,1.4,2.4
--1.3375,0.749,2.53125
--0.749,1.3375,2.53125
-0.0,1.3375,2.53125
--1.4375,0.805,2.53125
--0.805,1.4375,2.53125
-0.0,1.4375,2.53125
--1.5,0.84,2.4
--0.84,1.5,2.4
-0.0,1.5,2.4
-0.784,1.4,2.4
-1.4,0.784,2.4
-0.749,1.3375,2.53125
-1.3375,0.749,2.53125
-0.805,1.4375,2.53125
-1.4375,0.805,2.53125
-0.84,1.5,2.4
-1.5,0.84,2.4
-1.75,0.0,1.875
-1.75,-0.98,1.875
-0.98,-1.75,1.875
-0.0,-1.75,1.875
-2.0,0.0,1.35
-2.0,-1.12,1.35
-1.12,-2.0,1.35
-0.0,-2.0,1.35
-2.0,0.0,0.9
-2.0,-1.12,0.9
-1.12,-2.0,0.9
-0.0,-2.0,0.9
--0.98,-1.75,1.875
--1.75,-0.98,1.875
--1.75,0.0,1.875
--1.12,-2.0,1.35
--2.0,-1.12,1.35
--2.0,0.0,1.35
--1.12,-2.0,0.9
--2.0,-1.12,0.9
--2.0,0.0,0.9
--1.75,0.98,1.875
--0.98,1.75,1.875
-0.0,1.75,1.875
--2.0,1.12,1.35
--1.12,2.0,1.35
-0.0,2.0,1.35
--2.0,1.12,0.9
--1.12,2.0,0.9
-0.0,2.0,0.9
-0.98,1.75,1.875
-1.75,0.98,1.875
-1.12,2.0,1.35
-2.0,1.12,1.35
-1.12,2.0,0.9
-2.0,1.12,0.9
-2.0,0.0,0.45
-2.0,-1.12,0.45
-1.12,-2.0,0.45
-0.0,-2.0,0.45
-1.5,0.0,0.225
-1.5,-0.84,0.225
-0.84,-1.5,0.225
-0.0,-1.5,0.225
-1.5,0.0,0.15
-1.5,-0.84,0.15
-0.84,-1.5,0.15
-0.0,-1.5,0.15
--1.12,-2.0,0.45
--2.0,-1.12,0.45
--2.0,0.0,0.45
--0.84,-1.5,0.225
--1.5,-0.84,0.225
--1.5,0.0,0.225
--0.84,-1.5,0.15
--1.5,-0.84,0.15
--1.5,0.0,0.15
--2.0,1.12,0.45
--1.12,2.0,0.45
-0.0,2.0,0.45
--1.5,0.84,0.225
--0.84,1.5,0.225
-0.0,1.5,0.225
--1.5,0.84,0.15
--0.84,1.5,0.15
-0.0,1.5,0.15
-1.12,2.0,0.45
-2.0,1.12,0.45
-0.84,1.5,0.225
-1.5,0.84,0.225
-0.84,1.5,0.15
-1.5,0.84,0.15
--1.6,0.0,2.025
--1.6,-0.3,2.025
--1.5,-0.3,2.25
--1.5,0.0,2.25
--2.3,0.0,2.025
--2.3,-0.3,2.025
--2.5,-0.3,2.25
--2.5,0.0,2.25
--2.7,0.0,2.025
--2.7,-0.3,2.025
--3.0,-0.3,2.25
--3.0,0.0,2.25
--2.7,0.0,1.8
--2.7,-0.3,1.8
--3.0,-0.3,1.8
--3.0,0.0,1.8
--1.5,0.3,2.25
--1.6,0.3,2.025
--2.5,0.3,2.25
--2.3,0.3,2.025
--3.0,0.3,2.25
--2.7,0.3,2.025
--3.0,0.3,1.8
--2.7,0.3,1.8
--2.7,0.0,1.575
--2.7,-0.3,1.575
--3.0,-0.3,1.35
--3.0,0.0,1.35
--2.5,0.0,1.125
--2.5,-0.3,1.125
--2.65,-0.3,0.9375
--2.65,0.0,0.9375
--2.0,-0.3,0.9
--1.9,-0.3,0.6
--1.9,0.0,0.6
--3.0,0.3,1.35
--2.7,0.3,1.575
--2.65,0.3,0.9375
--2.5,0.3,1.125
--1.9,0.3,0.6
--2.0,0.3,0.9
-1.7,0.0,1.425
-1.7,-0.66,1.425
-1.7,-0.66,0.6
-1.7,0.0,0.6
-2.6,0.0,1.425
-2.6,-0.66,1.425
-3.1,-0.66,0.825
-3.1,0.0,0.825
-2.3,0.0,2.1
-2.3,-0.25,2.1
-2.4,-0.25,2.025
-2.4,0.0,2.025
-2.7,0.0,2.4
-2.7,-0.25,2.4
-3.3,-0.25,2.4
-3.3,0.0,2.4
-1.7,0.66,0.6
-1.7,0.66,1.425
-3.1,0.66,0.825
-2.6,0.66,1.425
-2.4,0.25,2.025
-2.3,0.25,2.1
-3.3,0.25,2.4
-2.7,0.25,2.4
-2.8,0.0,2.475
-2.8,-0.25,2.475
-3.525,-0.25,2.49375
-3.525,0.0,2.49375
-2.9,0.0,2.475
-2.9,-0.15,2.475
-3.45,-0.15,2.5125
-3.45,0.0,2.5125
-2.8,0.0,2.4
-2.8,-0.15,2.4
-3.2,-0.15,2.4
-3.2,0.0,2.4
-3.525,0.25,2.49375
-2.8,0.25,2.475
-3.45,0.15,2.5125
-2.9,0.15,2.475
-3.2,0.15,2.4
-2.8,0.15,2.4
-0.0,0.0,3.15
-0.0,-0.002,3.15
-0.002,0.0,3.15
-0.8,0.0,3.15
-0.8,-0.45,3.15
-0.45,-0.8,3.15
-0.0,-0.8,3.15
-0.0,0.0,2.85,0.0,0.0,1.0
-0.2,0.0,2.7
-0.2,-0.112,2.7
-0.112,-0.2,2.7
-0.0,-0.2,2.7
--0.002,0.0,3.15
--0.45,-0.8,3.15
--0.8,-0.45,3.15
--0.8,0.0,3.15
--0.112,-0.2,2.7
--0.2,-0.112,2.7
--0.2,0.0,2.7
-0.0,0.002,3.15
--0.8,0.45,3.15
--0.45,0.8,3.15
-0.0,0.8,3.15
--0.2,0.112,2.7
--0.112,0.2,2.7
-0.0,0.2,2.7
-0.45,0.8,3.15
-0.8,0.45,3.15
-0.112,0.2,2.7
-0.2,0.112,2.7
-0.4,0.0,2.55
-0.4,-0.224,2.55
-0.224,-0.4,2.55
-0.0,-0.4,2.55
-1.3,0.0,2.55
-1.3,-0.728,2.55
-0.728,-1.3,2.55
-0.0,-1.3,2.55
-1.3,0.0,2.4
-1.3,-0.728,2.4
-0.728,-1.3,2.4
-0.0,-1.3,2.4
--0.224,-0.4,2.55
--0.4,-0.224,2.55
--0.4,0.0,2.55
--0.728,-1.3,2.55
--1.3,-0.728,2.55
--1.3,0.0,2.55
--0.728,-1.3,2.4
--1.3,-0.728,2.4
--1.3,0.0,2.4
--0.4,0.224,2.55
--0.224,0.4,2.55
-0.0,0.4,2.55
--1.3,0.728,2.55
--0.728,1.3,2.55
-0.0,1.3,2.55
--1.3,0.728,2.4
--0.728,1.3,2.4
-0.0,1.3,2.4
-0.224,0.4,2.55
-0.4,0.224,2.55
-0.728,1.3,2.55
-1.3,0.728,2.55
-0.728,1.3,2.4
-1.3,0.728,2.4
-0.0,0.0,0.0,0.0,0.0,-1.0
-1.5,0.0,0.15
-1.5,0.84,0.15
-0.84,1.5,0.15
-0.0,1.5,0.15
-1.5,0.0,0.075
-1.5,0.84,0.075
-0.84,1.5,0.075
-0.0,1.5,0.075
-1.425,0.0,0.0
-1.425,0.798,0.0
-0.798,1.425,0.0
-0.0,1.425,0.0
--0.84,1.5,0.15
--1.5,0.84,0.15
--1.5,0.0,0.15
--0.84,1.5,0.075
--1.5,0.84,0.075
--1.5,0.0,0.075
--0.798,1.425,0.0
--1.425,0.798,0.0
--1.425,0.0,0.0
--1.5,-0.84,0.15
--0.84,-1.5,0.15
-0.0,-1.5,0.15
--1.5,-0.84,0.075
--0.84,-1.5,0.075
-0.0,-1.5,0.075
--1.425,-0.798,0.0
--0.798,-1.425,0.0
-0.0,-1.425,0.0
-0.84,-1.5,0.15
-1.5,-0.84,0.15
-0.84,-1.5,0.075
-1.5,-0.84,0.075
-0.798,-1.425,0.0
-1.425,-0.798,0.0
diff --git a/examples/qt3d/basket/basketview.cpp b/examples/qt3d/basket/basketview.cpp
deleted file mode 100644
index 41b20dfb..00000000
--- a/examples/qt3d/basket/basketview.cpp
+++ /dev/null
@@ -1,93 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation ([email protected])
-**
-** This file is part of the QtQuick3D examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <QPropertyAnimation>
-
-#include "basketview.h"
-#include "basket_data.h"
-#include "qglbuilder.h"
-#include "qglscenenode.h"
-
-BasketView::BasketView(QWidget *parent)
- : QGLView(parent)
- , m_angle(0)
-{
- setWindowTitle(tr("Basket"));
-
-//! [1]
- QGLBuilder builder;
- builder << BasketPatches();
- basket = builder.finalizedSceneNode();
-
- QGLMaterial *mat = new QGLMaterial;
- QUrl url;
- url.setPath(QLatin1String(":/basket.jpg"));
- url.setScheme(QLatin1String("file"));
- mat->setTextureUrl(url);
- basket->setMaterial(mat);
- basket->setEffect(QGL::LitModulateTexture2D);
-//! [1]
-
-//! [2]
- QPropertyAnimation *animation;
- animation = new QPropertyAnimation(this, "angle", this);
- animation->setStartValue(0.0f);
- animation->setEndValue(360.0f);
- animation->setDuration(2000);
- animation->setLoopCount(-1);
- animation->start();
-//! [2]
-
- camera()->setEye(QVector3D(0, 4, 10));
-}
-
-BasketView::~BasketView()
-{
- delete basket;
-}
-
-//! [3]
-void BasketView::paintGL(QGLPainter *painter)
-{
- painter->modelViewMatrix().rotate(angle(), 0, 1, 0);
- painter->modelViewMatrix().scale(1.5f);
- basket->draw(painter);
-}
-//! [3]
diff --git a/examples/qt3d/basket/basketview.h b/examples/qt3d/basket/basketview.h
deleted file mode 100644
index 305b18c4..00000000
--- a/examples/qt3d/basket/basketview.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation ([email protected])
-**
-** This file is part of the QtQuick3D examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef BASKETVIEW_H
-#define BASKETVIEW_H
-
-#include "qglview.h"
-
-QT_BEGIN_NAMESPACE
-class QGLSceneNode;
-QT_END_NAMESPACE
-
-//! [1]
-class BasketView : public QGLView
-{
- Q_OBJECT
- Q_PROPERTY(qreal angle READ angle WRITE setAngle)
-public:
- qreal angle() const { return m_angle; }
- void setAngle(qreal angle) { m_angle = angle; update(); }
-//! [1]
-
- BasketView(QWidget *parent = 0);
- ~BasketView();
-
-protected:
- void paintGL(QGLPainter *painter);
-
-private:
- QGLSceneNode *basket;
- qreal m_angle;
-};
-
-#endif
diff --git a/examples/qt3d/basket/main.cpp b/examples/qt3d/basket/main.cpp
deleted file mode 100644
index 3963408c..00000000
--- a/examples/qt3d/basket/main.cpp
+++ /dev/null
@@ -1,63 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation ([email protected])
-**
-** This file is part of the QtQuick3D examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <QApplication>
-#include "basketview.h"
-
-int main(int argc, char *argv[])
-{
- QApplication app(argc, argv);
- BasketView view;
-
-#ifdef Q_OS_SYMBIAN
- view.setAttribute(Qt::WA_LockLandscapeOrientation, true);
- view.showFullScreen();
-#else
- if (view.stereoType() != QGLView::RedCyanAnaglyph)
- view.camera()->setEyeSeparation(0.3f);
- if (QApplication::arguments().contains(QLatin1String("-maximize")))
- view.showMaximized();
- else if (QApplication::arguments().contains(QLatin1String("-fullscreen")))
- view.showFullScreen();
- else
- view.show();
-#endif
- return app.exec();
-}
diff --git a/examples/qt3d/basket/qt3d.ico b/examples/qt3d/basket/qt3d.ico
deleted file mode 100644
index e6442baf..00000000
--- a/examples/qt3d/basket/qt3d.ico
+++ /dev/null
Binary files differ
diff --git a/examples/qt3d/basket/qt3d.png b/examples/qt3d/basket/qt3d.png
deleted file mode 100644
index 21ec0176..00000000
--- a/examples/qt3d/basket/qt3d.png
+++ /dev/null
Binary files differ
diff --git a/examples/qt3d/basket/teapot-logo.png b/examples/qt3d/basket/teapot-logo.png
deleted file mode 100644
index 3532b520..00000000
--- a/examples/qt3d/basket/teapot-logo.png
+++ /dev/null
Binary files differ