diff options
Diffstat (limited to 'examples')
294 files changed, 0 insertions, 18209 deletions
diff --git a/examples/examples.pro b/examples/examples.pro deleted file mode 100644 index b008b37d..00000000 --- a/examples/examples.pro +++ /dev/null @@ -1,2 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS += quick3d qt3d diff --git a/examples/qt3d/README b/examples/qt3d/README deleted file mode 100644 index 2a45154d..00000000 --- a/examples/qt3d/README +++ /dev/null @@ -1,14 +0,0 @@ -This directory contains examples for the Qt3D C++ API. - -Qt3D can be used to extend Qt Quick3D with custom 3D items. Qt3D is also -a general 3D toolkit, featuring a scenegraph API, support for OpenGL VBO's -and other utilities for general 3D programming. - -Research work on Qt3D also continues in the labs repository: - - http://qt.gitorious.org/qt-labs/qt3d - -...and is from time to time ported into Qt Quick3D. - -Check the labs version of Qt3D for additional cutting edge features such as -support for stereoscopic hardware. 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 Binary files differdeleted file mode 100644 index c292a83d..00000000 --- a/examples/qt3d/basket/basket.jpg +++ /dev/null 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 (qt-info@nokia.com) -** -** 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 (qt-info@nokia.com) -** -** 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 (qt-info@nokia.com) -** -** 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 (qt-info@nokia.com) -** -** 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 Binary files differdeleted file mode 100644 index e6442baf..00000000 --- a/examples/qt3d/basket/qt3d.ico +++ /dev/null diff --git a/examples/qt3d/basket/qt3d.png b/examples/qt3d/basket/qt3d.png Binary files differdeleted file mode 100644 index 21ec0176..00000000 --- a/examples/qt3d/basket/qt3d.png +++ /dev/null diff --git a/examples/qt3d/basket/teapot-logo.png b/examples/qt3d/basket/teapot-logo.png Binary files differdeleted file mode 100644 index 3532b520..00000000 --- a/examples/qt3d/basket/teapot-logo.png +++ /dev/null diff --git a/examples/qt3d/builder/builder.cpp b/examples/qt3d/builder/builder.cpp deleted file mode 100644 index 3628b4d4..00000000 --- a/examples/qt3d/builder/builder.cpp +++ /dev/null @@ -1,192 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "builder.h" -#include "qglbuilder.h" -#include "qglmaterialcollection.h" -#include "qgltexture2d.h" -#include "qglmaterial.h" -#include "qglscenenode.h" -#include "qgllightmodel.h" - -#include <QtGui/qmatrix4x4.h> - -#include <QtCore/qmath.h> - -BuilderView::BuilderView(QWidget *parent) - : QGLView(parent) - , canScene(new QGLSceneNode(this)) -{ - //! [0] - QGLSceneNode *can = buildGeometry(); - canScene->addNode(can); - { - // rotate the can around so its label shows; and down - // so the base is facing down - QMatrix4x4 mat; - QQuaternion q1 = QQuaternion::fromAxisAndAngle(1.0f, 0.0f, 0.0f, 270.0f); - QQuaternion q2 = QQuaternion::fromAxisAndAngle(0.0f, 1.0f, 0.0f, 100.0f); - mat.rotate(q2 * q1); - can->setLocalTransform(mat); - } - - // display a copy of the can to the left - QGLSceneNode *node = new QGLSceneNode(canScene); - node->addNode(can); - { - QMatrix4x4 mat; - mat.translate(-2.0f, 0.0f, -2.0f); - node->setLocalTransform(mat); - } - - // display a copy of the can to the right - node = new QGLSceneNode(canScene); - node->addNode(can); - { - QMatrix4x4 mat; - mat.translate(2.0f, 0.0f, -2.0f); - node->setLocalTransform(mat); - } - //! [0] - - // rotate the whole scene about x-axis so that - // can tops are visible when scene is first displayed - { - QMatrix4x4 mat; - mat.rotate(1.0f, 0.0f, 0.0f, -30.0f); - canScene->setLocalTransform(mat); - } -} - -BuilderView::~BuilderView() -{ - delete canScene; -} - -void BuilderView::initializeGL(QGLPainter *painter) -{ - QGLLightParameters *light0 = new QGLLightParameters(this); - light0->setAmbientColor(Qt::white); - light0->setDiffuseColor(Qt::white); - light0->setDirection(QVector3D(0.0f, 0.2f, 2.0f)); - painter->setMainLight(light0); - QGLLightModel *model = new QGLLightModel(this); - model->setAmbientSceneColor(Qt::white); - painter->setLightModel(model); -} - -//! [1] -void BuilderView::paintGL(QGLPainter *painter) -{ - canScene->draw(painter); -} -//! [1] - -QGLSceneNode *BuilderView::buildGeometry() -{ - //! [2] - QGLBuilder builder; - QGLSceneNode *root = builder.sceneNode(); - - QGLMaterial *mat = new QGLMaterial; - mat->setAmbientColor(Qt::lightGray); - mat->setDiffuseColor(Qt::lightGray); - QUrl url; - url.setPath(QLatin1String(":/images/qt-soup.png")); - url.setScheme(QLatin1String("file")); - mat->setTextureUrl(url); - int canMat = root->palette()->addMaterial(mat); - root->setMaterialIndex(canMat); - root->setEffect(QGL::LitMaterial); - //! [2] - - // size data for can - const qreal canRadius = 1.0f; - const qreal canHeight = 2.5f; - const int numSlices = 32; - - QGeometryData canRim; - QVector3D canExtrudeVec(0.0f, 0.0f, -canHeight); - - // do the math for the defining points - for (int i = 0; i < numSlices; ++i) - { - qreal angle = (qreal(i) * 2.0 * M_PI) / numSlices; - canRim.appendVertex(QVector3D(canRadius * qCos(angle), - canRadius * qSin(angle), - canHeight / 2.0f)); - } - - //! [3] - // create the flat top lid of the can - builder.newSection(); - builder.currentNode()->setObjectName(QLatin1String("CanTop")); - QGeometryData top; - top.appendVertex(canRim.center()); - top.appendVertexArray(canRim.vertices()); - builder.addTriangulatedFace(top); - - // create the sides of the can - builder.newSection(); - builder.currentNode()->setObjectName(QLatin1String("CanSides")); - builder.currentNode()->setMaterialIndex(canMat); - builder.currentNode()->setEffect(QGL::LitModulateTexture2D); - QGeometryData canTop = canRim; - canTop.detach(); - canTop.appendVertex(canTop.vertex(0)); // doubled vert for texture seam - canTop.generateTextureCoordinates(); // generate x texture coords - QGeometryData canBase = canTop.translated(canExtrudeVec); // base has tex.y == 0 - for (int i = 0; i < canTop.count(); ++i) - canTop.texCoord(i).setY(1.0); // top has tex.y == 1 - builder.addQuadsInterleaved(canTop, canBase); - - // create the flat bottom lid of the can - builder.newSection(); - builder.currentNode()->setObjectName(QLatin1String("CanBottom")); - builder.currentNode()->setEffect(QGL::LitMaterial); - QGeometryData rimReversed = canRim.translated(canExtrudeVec).reversed(); - QGeometryData canBottom; - canBottom.appendVertex(rimReversed.center()); - canBottom.appendVertexArray(rimReversed.vertices()); - builder.addTriangulatedFace(canBottom); - - return builder.finalizedSceneNode(); - //! [3] -} diff --git a/examples/qt3d/builder/builder.desktop b/examples/qt3d/builder/builder.desktop deleted file mode 100644 index da231ad1..00000000 --- a/examples/qt3d/builder/builder.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Builder -Icon=/usr/share/icons/hicolor/80x80/apps/qt3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/builder -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_builder diff --git a/examples/qt3d/builder/builder.h b/examples/qt3d/builder/builder.h deleted file mode 100644 index 01df7d87..00000000 --- a/examples/qt3d/builder/builder.h +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 BUILDER_H -#define BUILDER_H - -#include "qglview.h" - -QT_BEGIN_NAMESPACE -class QGLSceneNode; -class QGLBuilder; -QT_END_NAMESPACE - -class BuilderView : public QGLView -{ - Q_OBJECT -public: - BuilderView(QWidget *parent = 0); - ~BuilderView(); - -protected: - void initializeGL(QGLPainter *painter); - void paintGL(QGLPainter *painter); - -private: - QGLSceneNode *buildGeometry(); - - QGLSceneNode *canScene; -}; - -#endif diff --git a/examples/qt3d/builder/builder.pro b/examples/qt3d/builder/builder.pro deleted file mode 100644 index aaa1e5d8..00000000 --- a/examples/qt3d/builder/builder.pro +++ /dev/null @@ -1,17 +0,0 @@ -TEMPLATE = app -TARGET = builder -CONFIG += qt warn_on - -CONFIG += qt3d_deploy_pkg -include(../../../pkg.pri) - -SOURCES = builder.cpp \ - main.cpp -HEADERS = builder.h -RESOURCES += builder.qrc - -OTHER_FILES += \ - builder.rc \ - builder.desktop - -RC_FILE = builder.rc diff --git a/examples/qt3d/builder/builder.qrc b/examples/qt3d/builder/builder.qrc deleted file mode 100644 index 8eefbaf1..00000000 --- a/examples/qt3d/builder/builder.qrc +++ /dev/null @@ -1,5 +0,0 @@ -<RCC> - <qresource prefix="/images" > - <file>qt-soup.png</file> - </qresource> -</RCC> diff --git a/examples/qt3d/builder/builder.rc b/examples/qt3d/builder/builder.rc deleted file mode 100644 index b40ecdc1..00000000 --- a/examples/qt3d/builder/builder.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qt3d.ico" diff --git a/examples/qt3d/builder/main.cpp b/examples/qt3d/builder/main.cpp deleted file mode 100644 index 29e9f1e6..00000000 --- a/examples/qt3d/builder/main.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "builder.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - BuilderView 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/builder/qt-soup.png b/examples/qt3d/builder/qt-soup.png Binary files differdeleted file mode 100644 index 5b264fff..00000000 --- a/examples/qt3d/builder/qt-soup.png +++ /dev/null diff --git a/examples/qt3d/builder/qt3d.ico b/examples/qt3d/builder/qt3d.ico Binary files differdeleted file mode 100644 index e6442baf..00000000 --- a/examples/qt3d/builder/qt3d.ico +++ /dev/null diff --git a/examples/qt3d/builder/qt3d.png b/examples/qt3d/builder/qt3d.png Binary files differdeleted file mode 100644 index 21ec0176..00000000 --- a/examples/qt3d/builder/qt3d.png +++ /dev/null diff --git a/examples/qt3d/cube/cube.desktop b/examples/qt3d/cube/cube.desktop deleted file mode 100644 index 8610bf06..00000000 --- a/examples/qt3d/cube/cube.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=cube Qt3D -Icon=/usr/share/icons/hicolor/80x80/apps/qt3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/cube -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_cube diff --git a/examples/qt3d/cube/cube.pro b/examples/qt3d/cube/cube.pro deleted file mode 100644 index a91ed947..00000000 --- a/examples/qt3d/cube/cube.pro +++ /dev/null @@ -1,17 +0,0 @@ -TEMPLATE = app -TARGET = cube -CONFIG += qt warn_on - -CONFIG += qt3d_deploy_pkg -include(../../../pkg.pri) - -SOURCES = cubeview.cpp main.cpp -HEADERS = cubeview.h -RESOURCES = cube.qrc - -OTHER_FILES += \ - cube.rc \ - cube.desktop - -RC_FILE = cube.rc - diff --git a/examples/qt3d/cube/cube.qrc b/examples/qt3d/cube/cube.qrc deleted file mode 100644 index 70f5024d..00000000 --- a/examples/qt3d/cube/cube.qrc +++ /dev/null @@ -1,5 +0,0 @@ -<!DOCTYPE RCC><RCC version="1.0"> -<qresource> - <file>qtlogo.png</file> -</qresource> -</RCC> diff --git a/examples/qt3d/cube/cube.rc b/examples/qt3d/cube/cube.rc deleted file mode 100644 index b40ecdc1..00000000 --- a/examples/qt3d/cube/cube.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qt3d.ico" diff --git a/examples/qt3d/cube/cubeview.cpp b/examples/qt3d/cube/cubeview.cpp deleted file mode 100644 index e8de7516..00000000 --- a/examples/qt3d/cube/cubeview.cpp +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "cubeview.h" -#include "qglbuilder.h" -#include "qglcube.h" - -#include <QtCore/qurl.h> - -CubeView::CubeView(QWidget *parent) - : QGLView(parent) -{ - QGLBuilder builder; - builder << QGL::Faceted << QGLCube(1.5f); - cube = builder.finalizedSceneNode(); - - QGLMaterial *mat = new QGLMaterial; - mat->setColor(QColor(170, 202, 0)); - QUrl url; - url.setPath(QLatin1String(":/qtlogo.png")); - url.setScheme(QLatin1String("file")); - mat->setTextureUrl(url); - cube->setMaterial(mat); - - cube->setEffect(QGL::LitDecalTexture2D); -} - -CubeView::~CubeView() -{ - delete cube; -} - -void CubeView::paintGL(QGLPainter *painter) -{ - painter->modelViewMatrix().rotate(45.0f, 1.0f, 1.0f, 1.0f); - cube->draw(painter); -} diff --git a/examples/qt3d/cube/cubeview.h b/examples/qt3d/cube/cubeview.h deleted file mode 100644 index 7398bdf5..00000000 --- a/examples/qt3d/cube/cubeview.h +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 CUBEVIEW_H -#define CUBEVIEW_H - -#include "qglview.h" - -QT_BEGIN_NAMESPACE -class QGLSceneNode; -QT_END_NAMESPACE - -class CubeView : public QGLView -{ - Q_OBJECT -public: - CubeView(QWidget *parent = 0); - ~CubeView(); - -protected: - void paintGL(QGLPainter *painter); - -private: - QGLSceneNode *cube; -}; - -#endif diff --git a/examples/qt3d/cube/main.cpp b/examples/qt3d/cube/main.cpp deleted file mode 100644 index 79c75655..00000000 --- a/examples/qt3d/cube/main.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "cubeview.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - CubeView 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/cube/qt3d.ico b/examples/qt3d/cube/qt3d.ico Binary files differdeleted file mode 100644 index e6442baf..00000000 --- a/examples/qt3d/cube/qt3d.ico +++ /dev/null diff --git a/examples/qt3d/cube/qt3d.png b/examples/qt3d/cube/qt3d.png Binary files differdeleted file mode 100644 index 21ec0176..00000000 --- a/examples/qt3d/cube/qt3d.png +++ /dev/null diff --git a/examples/qt3d/cube/qtlogo.png b/examples/qt3d/cube/qtlogo.png Binary files differdeleted file mode 100644 index 7d3e97eb..00000000 --- a/examples/qt3d/cube/qtlogo.png +++ /dev/null diff --git a/examples/qt3d/cylinder/cubeview.cpp b/examples/qt3d/cylinder/cubeview.cpp deleted file mode 100644 index 4569caeb..00000000 --- a/examples/qt3d/cylinder/cubeview.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "cubeview.h" -#include "qglbuilder.h" -#include "qglcube.h" -#include "qglcylinder.h" - -#include <QtCore/qurl.h> - -CubeView::CubeView(QWidget *parent) - : QGLView(parent) -{ - QGLBuilder builder; - builder << QGL::Smooth << QGLCylinder(2.0, 1.5, 2.0, 36, 3); - cube = builder.finalizedSceneNode(); - - QGLMaterial *mat = new QGLMaterial; - mat->setColor(QColor(170, 202, 0)); - QUrl url; - url.setPath(QLatin1String(":/cupTexture.png")); - url.setScheme(QLatin1String("file")); - mat->setTextureUrl(url); - cube->setMaterial(mat); - - cube->setEffect(QGL::LitDecalTexture2D); -} - -CubeView::~CubeView() -{ - delete cube; -} - -void CubeView::paintGL(QGLPainter *painter) -{ - painter->modelViewMatrix().translate(0.0f, -1.0f, 0.0f); - painter->modelViewMatrix().rotate(-75.0f, 1.0f, 0.0f, 0.0f); - cube->draw(painter); -} diff --git a/examples/qt3d/cylinder/cubeview.h b/examples/qt3d/cylinder/cubeview.h deleted file mode 100644 index 8996fd34..00000000 --- a/examples/qt3d/cylinder/cubeview.h +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 CUBEVIEW_H -#define CUBEVIEW_H - -#include "qglview.h" - -class QGLSceneNode; - -class CubeView : public QGLView -{ - Q_OBJECT -public: - CubeView(QWidget *parent = 0); - ~CubeView(); - -protected: - void paintGL(QGLPainter *painter); - -private: - QGLSceneNode *cube; -}; - -#endif diff --git a/examples/qt3d/cylinder/cupTexture.png b/examples/qt3d/cylinder/cupTexture.png Binary files differdeleted file mode 100644 index e099dea2..00000000 --- a/examples/qt3d/cylinder/cupTexture.png +++ /dev/null diff --git a/examples/qt3d/cylinder/cylinder.desktop b/examples/qt3d/cylinder/cylinder.desktop deleted file mode 100644 index da9d8102..00000000 --- a/examples/qt3d/cylinder/cylinder.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Cappucino -Icon=/usr/share/icons/hicolor/80x80/apps/qt3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/cylinder -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_cylinder diff --git a/examples/qt3d/cylinder/cylinder.pro b/examples/qt3d/cylinder/cylinder.pro deleted file mode 100644 index 229ae5b0..00000000 --- a/examples/qt3d/cylinder/cylinder.pro +++ /dev/null @@ -1,17 +0,0 @@ -TEMPLATE = app -TARGET = cylinder -CONFIG += qt warn_on - -CONFIG += qt3d_deploy_pkg -include(../../../pkg.pri) - -SOURCES = cylinderview.cpp main.cpp -HEADERS = cylinderview.h -RESOURCES = cylinder.qrc - -OTHER_FILES += \ - cylinder.rc \ - cylinder.desktop - -RC_FILE = cylinder.rc - diff --git a/examples/qt3d/cylinder/cylinder.qrc b/examples/qt3d/cylinder/cylinder.qrc deleted file mode 100644 index 20fa400f..00000000 --- a/examples/qt3d/cylinder/cylinder.qrc +++ /dev/null @@ -1,6 +0,0 @@ -<RCC> - <qresource prefix="/"> - <file>latte.png</file> - <file>cupTexture.png</file> - </qresource> -</RCC> diff --git a/examples/qt3d/cylinder/cylinder.rc b/examples/qt3d/cylinder/cylinder.rc deleted file mode 100644 index b40ecdc1..00000000 --- a/examples/qt3d/cylinder/cylinder.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qt3d.ico" diff --git a/examples/qt3d/cylinder/cylinderview.cpp b/examples/qt3d/cylinder/cylinderview.cpp deleted file mode 100644 index 2b347ab6..00000000 --- a/examples/qt3d/cylinder/cylinderview.cpp +++ /dev/null @@ -1,101 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "cylinderview.h" -#include "qglbuilder.h" -#include "qglcylinder.h" -#include <QtCore/qurl.h> - -CylinderView::CylinderView(QWidget *parent) - : QGLView(parent) -{ - QGLBuilder builder; - builder << QGL::Smooth << QGLCylinder(2.0, 1.5, 2.0, 36, 3, true, true); - - QGLMaterial *matLid = new QGLMaterial; - matLid->setAmbientColor(Qt::gray); - matLid->setDiffuseColor(Qt::gray); - QUrl urlLid; - urlLid.setPath(QLatin1String(":/latte.png")); - urlLid.setScheme(QLatin1String("file")); - matLid->setTextureUrl(urlLid); - - QGLMaterial *matSides = new QGLMaterial; - matSides->setColor(QColor(170, 202, 0)); - QUrl urlSides; - urlSides.setPath(QLatin1String(":/cupTexture.png")); - urlSides.setScheme(QLatin1String("file")); - matSides->setTextureUrl(urlSides); - - QGLSceneNode *root = builder.sceneNode(); - - QGLSceneNode *lid = root->findChild<QGLSceneNode *>("Cylinder Top"); - int lidMat = root->palette()->addMaterial(matLid); - lid->setMaterialIndex(lidMat); - lid->setEffect(QGL::LitDecalTexture2D); - - QGLSceneNode *sides = root->findChild<QGLSceneNode *>("Cylinder Sides"); - int sideMat = root->palette()->addMaterial(matSides); - sides->setMaterialIndex(sideMat); - sides->setEffect(QGL::LitDecalTexture2D); - - - cylinder = builder.finalizedSceneNode(); - - QGLMaterial *mat = new QGLMaterial; - mat->setAmbientColor(Qt::gray); - mat->setDiffuseColor(Qt::gray); - cylinder->setMaterial(mat); - cylinder->setEffect(QGL::LitMaterial); -} - -CylinderView::~CylinderView() -{ - delete cylinder; -} - -void CylinderView::paintGL(QGLPainter *painter) -{ - painter->modelViewMatrix().translate(0.0f, -1.0f, 0.0f); - painter->modelViewMatrix().rotate(-75.0f, 1.0f, 0.0f, 0.0f); - cylinder->draw(painter); -} - diff --git a/examples/qt3d/cylinder/cylinderview.h b/examples/qt3d/cylinder/cylinderview.h deleted file mode 100644 index 0a4ac8bc..00000000 --- a/examples/qt3d/cylinder/cylinderview.h +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 CYLINDERVIEW_H -#define CYLINDERVIEW_H - -#include "qglview.h" - -QT_BEGIN_NAMESPACE -class QGLSceneNode; -QT_END_NAMESPACE - -class CylinderView : public QGLView -{ - Q_OBJECT -public: - CylinderView(QWidget *parent = 0); - ~CylinderView(); - -protected: - void paintGL(QGLPainter *painter); - -private: - QGLSceneNode *cylinder; -}; - -#endif diff --git a/examples/qt3d/cylinder/latte.png b/examples/qt3d/cylinder/latte.png Binary files differdeleted file mode 100644 index 6902b96c..00000000 --- a/examples/qt3d/cylinder/latte.png +++ /dev/null diff --git a/examples/qt3d/cylinder/main.cpp b/examples/qt3d/cylinder/main.cpp deleted file mode 100644 index 8101853d..00000000 --- a/examples/qt3d/cylinder/main.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "cylinderview.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - CylinderView 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/cylinder/qt3d.ico b/examples/qt3d/cylinder/qt3d.ico Binary files differdeleted file mode 100644 index e6442baf..00000000 --- a/examples/qt3d/cylinder/qt3d.ico +++ /dev/null diff --git a/examples/qt3d/cylinder/qt3d.png b/examples/qt3d/cylinder/qt3d.png Binary files differdeleted file mode 100644 index 21ec0176..00000000 --- a/examples/qt3d/cylinder/qt3d.png +++ /dev/null diff --git a/examples/qt3d/geometry/EarthFlat_512x512.jpg b/examples/qt3d/geometry/EarthFlat_512x512.jpg Binary files differdeleted file mode 100644 index 28864977..00000000 --- a/examples/qt3d/geometry/EarthFlat_512x512.jpg +++ /dev/null diff --git a/examples/qt3d/geometry/bullseye.png b/examples/qt3d/geometry/bullseye.png Binary files differdeleted file mode 100644 index e67cf703..00000000 --- a/examples/qt3d/geometry/bullseye.png +++ /dev/null diff --git a/examples/qt3d/geometry/geometry.cpp b/examples/qt3d/geometry/geometry.cpp deleted file mode 100644 index 870d68d5..00000000 --- a/examples/qt3d/geometry/geometry.cpp +++ /dev/null @@ -1,210 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "geometry.h" -#include "qgltexture2d.h" -#include "qglmaterialcollection.h" -#include "qtriangle3d.h" - -#include <QImage> -#include <QPainter> - -// icosahedron is defined by phi, derived from the golden section -// http://en.wikipedia.org/wiki/Icosahedron#Cartesian_coordinates -const qreal phi = 1.618033988749894848f; - -Geometry::Geometry(QObject *parent, QGLMaterialCollection *materials) - : QGLSceneNode(parent) -{ - setPalette(materials); - - float ico[12][3] = { - { 0.0f, 1.0f, phi }, // A - 0 - { 0.0f, 1.0f, -phi }, // B - 1 - { 0.0f, -1.0f, phi }, // C - 2 - { 0.0f, -1.0f, -phi }, // D - 3 - { 1.0f, phi, 0.0f }, // E - 4 - { 1.0f, -phi, 0.0f }, // F - 5 - { -1.0f, phi, 0.0f }, // G - 6 - { -1.0f, -phi, 0.0f }, // H - 7 - { phi, 0.0f, 1.0f }, // I - 8 - { phi, 0.0f, -1.0f }, // J - 9 - { -phi, 0.0f, 1.0f }, // K - 10 - { -phi, 0.0f, -1.0f } // L - 11 - }; - - int face[20][3] = { - { 4, 0, 8 }, // E-A-I - { 6, 0, 4 }, // G-A-E - { 6, 10, 0 }, // G-K-A - { 11, 10, 6 }, // L-K-G - { 0, 2, 8 }, // A-C-I - { 10, 2, 0 }, // K-C-A - { 10, 7, 2 }, // K-H-C - { 11, 7, 10 }, // L-H-K - { 2, 5, 8 }, // C-F-I - { 7, 5, 2 }, // H-F-C - { 7, 3, 5 }, // H-D-F - { 11, 3, 7 }, // L-D-H - { 5, 9, 8 }, // F-J-I - { 3, 9, 5 }, // D-J-F - { 3, 1, 9 }, // D-B-J - { 11, 1, 3 }, // L-B-D - { 9, 4, 8 }, // J-E-I - { 1, 4, 9 }, // B-E-J - { 1, 6, 4 }, // B-G-E - { 11, 6, 1 } // L-G-B - }; - - const float u0 = 0.0f; - const float u1 = 0.173205081f; - const float u2 = 0.346410162f; - const float u3 = 0.519615242f; - const float u4 = 0.692820323f; - const float u5 = 0.866025402f; - const float v0 = 0.0f; - const float v1 = 0.111111111f; - const float v2 = 0.222222222f; - const float v3 = 0.333333333f; - const float v4 = 0.444444444f; - const float v5 = 0.555555555f; - const float v6 = 0.666666666f; - const float v7 = 0.777777777f; - const float v8 = 0.888888888f; - const float v9 = 1.0f; - - float tex[20][3][2] = { - { { u0, v1 }, { u1, v2 }, { u1, v0 } }, // E-A-I - { { u0, v3 }, { u1, v2 }, { u0, v1 } }, // G-A-E - { { u0, v3 }, { u1, v4 }, { u1, v2 } }, // G-K-A - { { u0, v5 }, { u1, v4 }, { u0, v3 } }, // L-K-G - { { u1, v2 }, { u2, v3 }, { u2, v1 } }, // A-C-I - { { u1, v4 }, { u2, v3 }, { u1, v2 } }, // K-C-A - { { u1, v4 }, { u2, v5 }, { u2, v3 } }, // K-H-C - { { u1, v6 }, { u2, v5 }, { u1, v4 } }, // L-H-K - { { u2, v3 }, { u3, v4 }, { u3, v2 } }, // C-F-I - { { u2, v5 }, { u3, v4 }, { u2, v3 } }, // H-F-C - { { u2, v5 }, { u3, v6 }, { u3, v4 } }, // H-D-F - { { u2, v7 }, { u3, v6 }, { u2, v5 } }, // L-D-H - { { u3, v4 }, { u4, v5 }, { u4, v3 } }, // F-J-I - { { u3, v6 }, { u4, v5 }, { u3, v4 } }, // D-J-F - { { u3, v6 }, { u4, v7 }, { u4, v5 } }, // D-B-J - { { u3, v8 }, { u4, v7 }, { u3, v6 } }, // L-B-D - { { u4, v5 }, { u5, v6 }, { u5, v4 } }, // J-E-I - { { u4, v7 }, { u5, v6 }, { u4, v5 } }, // B-E-J - { { u4, v7 }, { u5, v8 }, { u5, v6 } }, // B-G-E - { { u4, v9 }, { u5, v8 }, { u4, v7 } } // L-G-B - }; - -#ifdef Q_OS_SYMBIAN - const int imgSize = 256; - const int txtSize = 6; -#else - const int imgSize = 1024; - const int txtSize = 36; -#endif - - QImage uv(imgSize, imgSize, QImage::Format_ARGB32); - uv.fill(qRgba(196, 196, 196, 196)); - QPainter painter; - painter.begin(&uv); - painter.setRenderHint(QPainter::Antialiasing); - QPen pen = painter.pen(); - pen.setWidth(2.0); - painter.setPen(pen); - QFont font = painter.font(); - font.setPointSize(txtSize); - painter.setFont(font); - QFontMetrics metrics = painter.fontMetrics(); - - QGLBuilder b; - b.newSection(); - b.currentNode()->setEffect(QGL::LitDecalTexture2D); - for (int ix = 0; ix < 20; ++ix) - { - QVector3D v0(ico[face[ix][0]][0], ico[face[ix][0]][1], ico[face[ix][0]][2]); - QVector3D v1(ico[face[ix][1]][0], ico[face[ix][1]][1], ico[face[ix][1]][2]); - QVector3D v2(ico[face[ix][2]][0], ico[face[ix][2]][1], ico[face[ix][2]][2]); - - QVector2D t0(tex[ix][0][0], tex[ix][0][1]); - QVector2D t1(tex[ix][1][0], tex[ix][1][1]); - QVector2D t2(tex[ix][2][0], tex[ix][2][1]); - - // scale up and flip to draw the texture - QVector2D tv0 = t0 * static_cast<float>(imgSize); - QVector2D tv1 = t1 * static_cast<float>(imgSize); - QVector2D tv2 = t2 * static_cast<float>(imgSize); - - painter.setPen(QColor("darkblue")); - painter.drawLine(tv0.toPointF(), tv1.toPointF()); - painter.drawLine(tv1.toPointF(), tv2.toPointF()); - painter.drawLine(tv2.toPointF(), tv0.toPointF()); - QTriangle3D tri(tv0, tv1, tv2); - QVector3D cen = tri.center(); - QString n = QString::number(ix+1); - - painter.setPen(QColor("darkgreen")); - painter.drawText(QPointF(cen.x() - metrics.width(n) / 2.0, cen.y() + 3.0), n); - - // Qt's coordinate system is upside down. I'm ok with that. - t0.setY(1.0f - t0.y()); - t1.setY(1.0f - t1.y()); - t2.setY(1.0f - t2.y()); - - QGeometryData op; - op.appendVertex(v0, v1, v2); - op.appendTexCoord(t0, t1, t2); - b.addTriangles(op); - } - - painter.end(); - - QGLMaterial *mat = new QGLMaterial; - mat->setAmbientColor(QColor(32, 64, 196)); - mat->setDiffuseColor(QColor(32, 32, 32)); - - QGLTexture2D *texture = new QGLTexture2D(mat); - texture->setImage(uv); - mat->setTexture(texture); - - setMaterial(mat); - QGLSceneNode *n = b.finalizedSceneNode(); - addNode(n); -} diff --git a/examples/qt3d/geometry/geometry.desktop b/examples/qt3d/geometry/geometry.desktop deleted file mode 100644 index 62c79a41..00000000 --- a/examples/qt3d/geometry/geometry.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=D20 Qt3D -Icon=/usr/share/icons/hicolor/80x80/apps/qt3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/geometry -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_geometry diff --git a/examples/qt3d/geometry/geometry.h b/examples/qt3d/geometry/geometry.h deleted file mode 100644 index ff100449..00000000 --- a/examples/qt3d/geometry/geometry.h +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 GEOMETRY_H -#define GEOMETRY_H - -#include "qglbuilder.h" - -#include <QImage> - -QT_BEGIN_NAMESPACE -class QGLTexture2D; -QT_END_NAMESPACE - -class Geometry : public QGLSceneNode -{ -public: - Geometry(QObject *parent = 0, QGLMaterialCollection *materials = 0); -}; - -#endif // GEOMETRY_H diff --git a/examples/qt3d/geometry/geometry.pro b/examples/qt3d/geometry/geometry.pro deleted file mode 100644 index f2a8fbde..00000000 --- a/examples/qt3d/geometry/geometry.pro +++ /dev/null @@ -1,22 +0,0 @@ -TEMPLATE = app -TARGET = geometry -CONFIG += qt warn_on - -CONFIG += qt3d_deploy_pkg -include(../../../pkg.pri) - -SOURCES = geometryview.cpp \ - main.cpp \ - geometry.cpp \ - quadplane.cpp -HEADERS = geometryview.h \ - geometry.h \ - quadplane.h -RESOURCES = geometry.qrc - -OTHER_FILES += \ - geometry.rc \ - geometry.desktop - -RC_FILE = geometry.rc - diff --git a/examples/qt3d/geometry/geometry.qrc b/examples/qt3d/geometry/geometry.qrc deleted file mode 100644 index 4599a46a..00000000 --- a/examples/qt3d/geometry/geometry.qrc +++ /dev/null @@ -1,6 +0,0 @@ -<RCC> - <qresource prefix="/" > - <file>bullseye.png</file> - <file>EarthFlat_512x512.jpg</file> - </qresource> -</RCC> diff --git a/examples/qt3d/geometry/geometry.rc b/examples/qt3d/geometry/geometry.rc deleted file mode 100644 index b40ecdc1..00000000 --- a/examples/qt3d/geometry/geometry.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qt3d.ico" diff --git a/examples/qt3d/geometry/geometryview.cpp b/examples/qt3d/geometry/geometryview.cpp deleted file mode 100644 index 762e56fc..00000000 --- a/examples/qt3d/geometry/geometryview.cpp +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "geometryview.h" -#include "qray3d.h" - -#include <QImage> -#include <QPainter> -#include <QDir> -#include <QTimer> -#include <QWheelEvent> - -#include <math.h> - -#include "geometry.h" -#include "quadplane.h" -#include "qplane3d.h" -#include "qglmaterialcollection.h" -#include "qgraphicsscale3d.h" - -GeometryView::GeometryView(QWidget *parent) - : QGLView(parent) - , timer(new QTimer(this)) -{ - lp = new QGLLightParameters(this); - lp->setPosition(QVector3D(-3.0, 1.0, 15.0)); - lp->setSpotAngle(15.0); - lp->setSpotExponent(24); - lp->setSpotDirection(QVector3D(0.0, -1.0, -2.0)); - - palette = new QGLMaterialCollection(this); - - // first set up the geometry - an icosahedron - // this one handles all its own colors and textures - icosahedron = new Geometry(this, palette); - - // now a generic flat floor plane which will be painted grey - // and textured the same as the icosahedron - floor = new QuadPlane(this); - floor->setPalette(palette); - QGLMaterial *parms = new QGLMaterial; - parms->setAmbientColor(Qt::darkGray); - parms->setDiffuseColor(Qt::gray); - int m = palette->addMaterial(parms); - QGLTexture2D *tex = icosahedron->material()->texture(); - parms->setTexture(tex); - floor->setMaterialIndex(m); - floor->setPosition(QVector3D(0, 0, -5)); - QGraphicsScale3D *scale = new QGraphicsScale3D(floor); - scale->setScale(QVector3D(0.2, 0.2, 0.1)); - floor->addTransform(scale); - - mdl = new QGLLightModel(this); - mdl->setAmbientSceneColor(QColor(196,196,196)); -} - -GeometryView::~GeometryView() -{ - delete icosahedron; - delete floor; - delete timer; -} - -void GeometryView::initializeGL(QGLPainter *painter) -{ - painter->setLightModel(mdl); - - painter->setMainLight(lp); - - connect(timer, SIGNAL(timeout()), this, SLOT(rotate())); - timer->start(25); -} - -void GeometryView::paintGL(QGLPainter *painter) -{ - floor->draw(painter); - painter->modelViewMatrix().rotate(angle, 0.10f, 1.0f, 0.0f); - icosahedron->draw(painter); -} - -void GeometryView::rotate() -{ - angle = (angle + 2) % 360; - updateGL(); -} diff --git a/examples/qt3d/geometry/geometryview.h b/examples/qt3d/geometry/geometryview.h deleted file mode 100644 index e6cc33e4..00000000 --- a/examples/qt3d/geometry/geometryview.h +++ /dev/null @@ -1,88 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 GEOMETRYVIEW_H -#define GEOMETRYVIEW_H - -#include "qglview.h" -#include "qgltexture2d.h" - -QT_BEGIN_NAMESPACE -class QTimer; -class QGLLightParameters; -class QGLMaterial; -class QGLLightModel; -class QGLMaterialCollection; -class QWheelEvent; -QT_END_NAMESPACE - -class QuadPlane; -class Geometry; - -class GeometryView : public QGLView -{ - Q_OBJECT -public: - GeometryView(QWidget *parent = 0); - ~GeometryView(); - -protected: - void initializeGL(QGLPainter *painter); - void paintGL(QGLPainter *painter); - -private slots: - void rotate(); - -private: - void makeTexture(); - - QGLTexture2D texture; - Geometry *icosahedron; - QuadPlane *floor; - QTimer *timer; - int angle; - QGLLightParameters *lp; - QGLMaterialCollection *palette; - QGLMaterial *mat1; - QGLMaterial *mat2; - QGLLightModel *mdl; -}; - -#endif // GEOMETRYVIEW_H diff --git a/examples/qt3d/geometry/main.cpp b/examples/qt3d/geometry/main.cpp deleted file mode 100644 index b2f2025f..00000000 --- a/examples/qt3d/geometry/main.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "geometryview.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - GeometryView 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/geometry/qt3d.ico b/examples/qt3d/geometry/qt3d.ico Binary files differdeleted file mode 100644 index e6442baf..00000000 --- a/examples/qt3d/geometry/qt3d.ico +++ /dev/null diff --git a/examples/qt3d/geometry/qt3d.png b/examples/qt3d/geometry/qt3d.png Binary files differdeleted file mode 100644 index 21ec0176..00000000 --- a/examples/qt3d/geometry/qt3d.png +++ /dev/null diff --git a/examples/qt3d/geometry/quadplane.cpp b/examples/qt3d/geometry/quadplane.cpp deleted file mode 100644 index 3387002b..00000000 --- a/examples/qt3d/geometry/quadplane.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "quadplane.h" - -/*! - \class QuadPlane - \brief The QuadPlane class holds a 3D model of a large flat plane. - When drawing a large flat plane, such as a wall or a floor, it is desirable - to decompose it into smaller units to make the shading effects look correct. - This class composes a plane out of a configurable number of quads. -*/ - -/*! - Construct a new QuadPlane with \a size, subdivided \a level times. By default - the plane is 100.0f x 100.0f, and is subdivided 3 times - that is into an - 8 x 8 grid. - - It is centered on the origin, and lies in the z = 0 plane. -*/ -QuadPlane::QuadPlane(QObject *parent, QSizeF size, int level) - : QGLSceneNode(parent) -{ - setObjectName(QLatin1String("QuadPlane")); - if (level > 8) - level = 8; - if (level < 1) - level = 1; - int divisions = 1; - for ( ; level--; divisions *= 2) {} // integer 2**n - QSizeF div = size / float(divisions); - QSizeF half = size / 2.0f; - QGLBuilder builder; - QGeometryData zip; - QGeometryData zip2; - for (int yy = 0; yy <= divisions; ++yy) - { - qreal y = half.height() - float(yy) * div.height(); - qreal texY = float(yy) / divisions; - for (int xx = 0; xx <= divisions; ++xx) - { - qreal x = half.width() - float(xx) * div.width(); - qreal texX = float(xx) / divisions; - zip.appendVertex(QVector3D(x, y, 0)); - zip.appendTexCoord(QVector2D(1.0f - texX, 1.0f - texY)); - } - if (yy > 0) - builder.addQuadsInterleaved(zip, zip2); - zip2 = zip; - zip2.detach(); - zip.clear(); - } - QGLSceneNode *n = builder.finalizedSceneNode(); - addNode(n); -} diff --git a/examples/qt3d/geometry/quadplane.h b/examples/qt3d/geometry/quadplane.h deleted file mode 100644 index e95d1907..00000000 --- a/examples/qt3d/geometry/quadplane.h +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 QUADPLANE_H -#define QUADPLANE_H - -#include "qglbuilder.h" - -#include <QSizeF> - -class QPlane3D; - -class QuadPlane : public QGLSceneNode -{ -public: - QuadPlane(QObject *parent = 0, - QSizeF size = QSizeF(100.0f, 100.0f), int level = 3); -}; - -#endif // QUADPLANE_H diff --git a/examples/qt3d/graphicsview/cubeicon.png b/examples/qt3d/graphicsview/cubeicon.png Binary files differdeleted file mode 100644 index 9979fb58..00000000 --- a/examples/qt3d/graphicsview/cubeicon.png +++ /dev/null diff --git a/examples/qt3d/graphicsview/cubeitem.cpp b/examples/qt3d/graphicsview/cubeitem.cpp deleted file mode 100644 index 10c7609f..00000000 --- a/examples/qt3d/graphicsview/cubeitem.cpp +++ /dev/null @@ -1,193 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "cubeitem.h" -#include "qglpainter.h" -#include "qglcube.h" -#include "qray3d.h" -#include "qplane3d.h" -#include "qtriangle3d.h" -#include "qgraphicsembedscene.h" - -const qreal CubeSize = 2.0f; - -CubeItem::CubeItem(QGraphicsItem *parent) - : ModelItem(parent) -{ - QGLBuilder builder; - builder.newSection(QGL::Faceted); - builder << QGLCube(CubeSize); - cube = builder.finalizedSceneNode(); -} - -CubeItem::~CubeItem() -{ - delete cube; -} - -void CubeItem::paintGL(QGLPainter *painter) -{ - GLuint textureId = this->textureId(); - if (textureId) { - glDisable(GL_DEPTH_TEST); - glEnable(GL_BLEND); - painter->setFaceColor(QGL::AllFaces, QColor(0, 0, 0, 200)); - painter->setStandardEffect(QGL::LitDecalTexture2D); - glBindTexture(GL_TEXTURE_2D, textureId); - glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - if (painter->isFixedFunction()) - glEnable(GL_TEXTURE_2D); - glCullFace(GL_FRONT); - glEnable(GL_CULL_FACE); - cube->draw(painter); - glCullFace(GL_BACK); - cube->draw(painter); - glDisable(GL_CULL_FACE); - glBindTexture(GL_TEXTURE_2D, 0); - if (painter->isFixedFunction()) - glDisable(GL_TEXTURE_2D); - } else { - painter->setStandardEffect(QGL::LitMaterial); - cube->draw(painter); - } -} - -static const int vertexDataLen = 6 * 4 * 3; - -static const float vertexData[vertexDataLen] = { - -0.5f * CubeSize, -0.5f * CubeSize, -0.5f * CubeSize, - -0.5f * CubeSize, -0.5f * CubeSize, 0.5f * CubeSize, - -0.5f * CubeSize, 0.5f * CubeSize, 0.5f * CubeSize, - -0.5f * CubeSize, 0.5f * CubeSize, -0.5f * CubeSize, - - -0.5f * CubeSize, 0.5f * CubeSize, -0.5f * CubeSize, - -0.5f * CubeSize, 0.5f * CubeSize, 0.5f * CubeSize, - 0.5f * CubeSize, 0.5f * CubeSize, 0.5f * CubeSize, - 0.5f * CubeSize, 0.5f * CubeSize, -0.5f * CubeSize, - - 0.5f * CubeSize, 0.5f * CubeSize, -0.5f * CubeSize, - 0.5f * CubeSize, 0.5f * CubeSize, 0.5f * CubeSize, - 0.5f * CubeSize, -0.5f * CubeSize, 0.5f * CubeSize, - 0.5f * CubeSize, -0.5f * CubeSize, -0.5f * CubeSize, - - 0.5f * CubeSize, -0.5f * CubeSize, -0.5f * CubeSize, - 0.5f * CubeSize, -0.5f * CubeSize, 0.5f * CubeSize, - -0.5f * CubeSize, -0.5f * CubeSize, 0.5f * CubeSize, - -0.5f * CubeSize, -0.5f * CubeSize, -0.5f * CubeSize, - - 0.5f * CubeSize, -0.5f * CubeSize, 0.5f * CubeSize, - 0.5f * CubeSize, 0.5f * CubeSize, 0.5f * CubeSize, - -0.5f * CubeSize, 0.5f * CubeSize, 0.5f * CubeSize, - -0.5f * CubeSize, -0.5f * CubeSize, 0.5f * CubeSize, - - 0.5f * CubeSize, 0.5f * CubeSize, -0.5f * CubeSize, - 0.5f * CubeSize, -0.5f * CubeSize, -0.5f * CubeSize, - -0.5f * CubeSize, -0.5f * CubeSize, -0.5f * CubeSize, - -0.5f * CubeSize, 0.5f * CubeSize, -0.5f * CubeSize -}; - -QPointF CubeItem::intersection(const QRay3D &ray, int *actualFace) const -{ - // Determine which face of the cube contains the point. - QMatrix4x4 mv = camera()->modelViewMatrix(); - QVector3D pt1, pt2, pt3, pt4; - QVector2D tc1, tc2, tc3; - bool singleFace = (pressedFace() != -1); - for (int face = 0; face < 6; ++face) { - if (singleFace && face != pressedFace()) - continue; - - // Test the two triangles on the face for an intersection. - pt1 = QVector3D(vertexData[face * 4 * 3], - vertexData[face * 4 * 3 + 1], - vertexData[face * 4 * 3 + 2]); - pt2 = QVector3D(vertexData[face * 4 * 3 + 3], - vertexData[face * 4 * 3 + 4], - vertexData[face * 4 * 3 + 5]); - pt3 = QVector3D(vertexData[face * 4 * 3 + 6], - vertexData[face * 4 * 3 + 7], - vertexData[face * 4 * 3 + 8]); - pt4 = QVector3D(vertexData[face * 4 * 3 + 9], - vertexData[face * 4 * 3 + 10], - vertexData[face * 4 * 3 + 11]); - pt1 = mv.map(pt1); - pt2 = mv.map(pt2); - pt3 = mv.map(pt3); - pt4 = mv.map(pt4); - QTriangle3D triangle(pt1, pt2, pt3); - qreal t = triangle.intersection(ray); - if (qIsNaN(t)) { - triangle.setQ(pt3); - triangle.setR(pt4); - t = triangle.intersection(ray); - if (qIsNaN(t)) { - if (!singleFace) - continue; - // The mouse probably moved outside the face while the - // mouse button was held down. Use the triangle's plane - // to compute a virtual texture co-ordinate. - t = triangle.plane().intersection(ray); - } - tc1 = QVector2D(1.0f, 0.0f); - tc2 = QVector2D(0.0f, 1.0f); - tc3 = QVector2D(0.0f, 0.0f); - } else { - tc1 = QVector2D(1.0f, 0.0f); - tc2 = QVector2D(1.0f, 1.0f); - tc3 = QVector2D(0.0f, 1.0f); - } - - // We want the face that is pointing towards the user. - QVector3D v = QVector3D::crossProduct(pt2 - pt1, pt3 - pt1); - if (!singleFace && v.z() <= 0.0f) - continue; - - // Get the texture co-ordinate corresponding to the intersection. - QVector2D uv = triangle.uv(ray.point(t)); - QVector2D tc = - uv.x() * tc1 + uv.y() * tc2 + (1 - uv.x() - uv.y()) * tc3; - *actualFace = face; - return QPointF(tc.x(), tc.y()); - } - - *actualFace = -1; - return QPointF(); -} diff --git a/examples/qt3d/graphicsview/cubeitem.h b/examples/qt3d/graphicsview/cubeitem.h deleted file mode 100644 index 67b4aa25..00000000 --- a/examples/qt3d/graphicsview/cubeitem.h +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 CUBEITEM_H -#define CUBEITEM_H - -#include "modelitem.h" - -class CubeItem : public ModelItem -{ - Q_OBJECT -public: - CubeItem(QGraphicsItem *parent = 0); - ~CubeItem(); - -protected: - void paintGL(QGLPainter *painter); - QPointF intersection(const QRay3D &ray, int *actualFace) const; - -private: - QGLSceneNode *cube; -}; - -#endif diff --git a/examples/qt3d/graphicsview/edge.cpp b/examples/qt3d/graphicsview/edge.cpp deleted file mode 100644 index bf480ec4..00000000 --- a/examples/qt3d/graphicsview/edge.cpp +++ /dev/null @@ -1,151 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 <QPainter> - -#include "edge.h" -#include "node.h" - -#include <math.h> - -static const double Pi = 3.14159265358979323846264338327950288419717; -static double TwoPi = 2.0 * Pi; - -Edge::Edge(Node *sourceNode, Node *destNode) - : arrowSize(10) -{ - setAcceptedMouseButtons(0); - source = sourceNode; - dest = destNode; - source->addEdge(this); - dest->addEdge(this); - adjust(); -} - -Edge::~Edge() -{ -} - -Node *Edge::sourceNode() const -{ - return source; -} - -void Edge::setSourceNode(Node *node) -{ - source = node; - adjust(); -} - -Node *Edge::destNode() const -{ - return dest; -} - -void Edge::setDestNode(Node *node) -{ - dest = node; - adjust(); -} - -void Edge::adjust() -{ - if (!source || !dest) - return; - - QLineF line(mapFromItem(source, 0, 0), mapFromItem(dest, 0, 0)); - qreal length = line.length(); - - prepareGeometryChange(); - - if (length > qreal(20.)) { - QPointF edgeOffset((line.dx() * 10) / length, (line.dy() * 10) / length); - sourcePoint = line.p1() + edgeOffset; - destPoint = line.p2() - edgeOffset; - } else { - sourcePoint = destPoint = line.p1(); - } -} - -QRectF Edge::boundingRect() const -{ - if (!source || !dest) - return QRectF(); - - qreal penWidth = 1; - qreal extra = (penWidth + arrowSize) / 2.0; - - return QRectF(sourcePoint, QSizeF(destPoint.x() - sourcePoint.x(), - destPoint.y() - sourcePoint.y())) - .normalized() - .adjusted(-extra, -extra, extra, extra); -} - -void Edge::paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) -{ - if (!source || !dest) - return; - - QLineF line(sourcePoint, destPoint); - if (qFuzzyCompare(line.length(), qreal(0.))) - return; - - // Draw the line itself - painter->setPen(QPen(Qt::black, 2, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin)); - painter->drawLine(line); - - // Draw the arrows - double angle = ::acos(line.dx() / line.length()); - if (line.dy() >= 0) - angle = TwoPi - angle; - - QPointF sourceArrowP1 = sourcePoint + QPointF(sin(angle + Pi / 3) * arrowSize, - cos(angle + Pi / 3) * arrowSize); - QPointF sourceArrowP2 = sourcePoint + QPointF(sin(angle + Pi - Pi / 3) * arrowSize, - cos(angle + Pi - Pi / 3) * arrowSize); - QPointF destArrowP1 = destPoint + QPointF(sin(angle - Pi / 3) * arrowSize, - cos(angle - Pi / 3) * arrowSize); - QPointF destArrowP2 = destPoint + QPointF(sin(angle - Pi + Pi / 3) * arrowSize, - cos(angle - Pi + Pi / 3) * arrowSize); - - painter->setBrush(Qt::black); - painter->drawPolygon(QPolygonF() << line.p1() << sourceArrowP1 << sourceArrowP2); - painter->drawPolygon(QPolygonF() << line.p2() << destArrowP1 << destArrowP2); -} diff --git a/examples/qt3d/graphicsview/edge.h b/examples/qt3d/graphicsview/edge.h deleted file mode 100644 index d50c403a..00000000 --- a/examples/qt3d/graphicsview/edge.h +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 EDGE_H -#define EDGE_H - -#include <QGraphicsItem> - -class Node; - -class Edge : public QGraphicsItem -{ -public: - Edge(Node *sourceNode, Node *destNode); - ~Edge(); - - Node *sourceNode() const; - void setSourceNode(Node *node); - - Node *destNode() const; - void setDestNode(Node *node); - - void adjust(); - - enum { Type = UserType + 2 }; - int type() const { return Type; } - -protected: - QRectF boundingRect() const; - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); - -private: - Node *source, *dest; - - QPointF sourcePoint; - QPointF destPoint; - qreal arrowSize; -}; - -#endif diff --git a/examples/qt3d/graphicsview/graph.cpp b/examples/qt3d/graphicsview/graph.cpp deleted file mode 100644 index 2aa28b10..00000000 --- a/examples/qt3d/graphicsview/graph.cpp +++ /dev/null @@ -1,130 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "graph.h" -#include "edge.h" -#include "node.h" -#include "scene.h" - -#include <QDebug> -#include <QGraphicsScene> - -#include <math.h> - -Graph::Graph(QObject *parent) - : QObject(parent), timerId(0) -{ - QGraphicsEmbedScene *scene = new Scene(this); - sceneObject = scene; - scene->setItemIndexMethod(QGraphicsScene::NoIndex); - scene->setSceneRect(-128, -128, 256, 256); - - Node *node1 = new Node(this); - Node *node2 = new Node(this); - Node *node3 = new Node(this); - Node *node4 = new Node(this); - centerNode = new Node(this); - Node *node6 = new Node(this); - Node *node7 = new Node(this); - Node *node8 = new Node(this); - Node *node9 = new Node(this); - scene->addItem(node1); - scene->addItem(node2); - scene->addItem(node3); - scene->addItem(node4); - scene->addItem(centerNode); - scene->addItem(node6); - scene->addItem(node7); - scene->addItem(node8); - scene->addItem(node9); - scene->addItem(new Edge(node1, node2)); - scene->addItem(new Edge(node2, node3)); - scene->addItem(new Edge(node2, centerNode)); - scene->addItem(new Edge(node3, node6)); - scene->addItem(new Edge(node4, node1)); - scene->addItem(new Edge(node4, centerNode)); - scene->addItem(new Edge(centerNode, node6)); - scene->addItem(new Edge(centerNode, node8)); - scene->addItem(new Edge(node6, node9)); - scene->addItem(new Edge(node7, node4)); - scene->addItem(new Edge(node8, node7)); - scene->addItem(new Edge(node9, node8)); - - node1->setPos(-50, -50); - node2->setPos(0, -50); - node3->setPos(50, -50); - node4->setPos(-50, 0); - centerNode->setPos(0, 0); - node6->setPos(50, 0); - node7->setPos(-50, 50); - node8->setPos(0, 50); - node9->setPos(50, 50); -} - -void Graph::itemMoved() -{ - if (!timerId) - timerId = startTimer(1000 / 25); -} - -void Graph::timerEvent(QTimerEvent *event) -{ - Q_UNUSED(event); - - QList<Node *> nodes; - foreach (QGraphicsItem *item, scene()->items()) { - if (Node *node = qgraphicsitem_cast<Node *>(item)) - nodes << node; - } - - foreach (Node *node, nodes) - node->calculateForces(); - - bool itemsMoved = false; - foreach (Node *node, nodes) { - if (node->advance()) - itemsMoved = true; - } - - if (!itemsMoved) { - killTimer(timerId); - timerId = 0; - } -} diff --git a/examples/qt3d/graphicsview/graph.h b/examples/qt3d/graphicsview/graph.h deleted file mode 100644 index 0fa897ce..00000000 --- a/examples/qt3d/graphicsview/graph.h +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 GRAPHWIDGET_H -#define GRAPHWIDGET_H - -#include "qgraphicsembedscene.h" - -class Node; - -class Graph : public QObject -{ - Q_OBJECT -public: - Graph(QObject *parent = 0); - - QGraphicsEmbedScene *scene() const { return sceneObject; } - - void itemMoved(); - -protected: - void timerEvent(QTimerEvent *event); - -private: - QGraphicsEmbedScene *sceneObject; - int timerId; - Node *centerNode; -}; - -#endif diff --git a/examples/qt3d/graphicsview/graphicsview.desktop b/examples/qt3d/graphicsview/graphicsview.desktop deleted file mode 100644 index 3a38c3a6..00000000 --- a/examples/qt3d/graphicsview/graphicsview.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=GraphicsView -Icon=/usr/share/icons/hicolor/80x80/apps/qt3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/graphicsview -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_graphicsview diff --git a/examples/qt3d/graphicsview/graphicsview.pro b/examples/qt3d/graphicsview/graphicsview.pro deleted file mode 100644 index 48523320..00000000 --- a/examples/qt3d/graphicsview/graphicsview.pro +++ /dev/null @@ -1,36 +0,0 @@ -TEMPLATE = app -TARGET = graphicsview -CONFIG += qt warn_on - -CONFIG += qt3d_deploy_pkg -include(../../../pkg.pri) - -VPATH += $$PWD/../../src/threed/geometry -SOURCES = \ - cubeitem.cpp \ - modelitem.cpp \ - teapotitem.cpp \ - main.cpp \ - edge.cpp \ - node.cpp \ - graph.cpp \ - scene.cpp \ - view.cpp -HEADERS = \ - cubeitem.h \ - modelitem.h \ - teapotitem.h \ - edge.h \ - node.h \ - graph.h \ - scene.h \ - view.h -RESOURCES = \ - graphicsview.qrc - -OTHER_FILES += \ - graphicsview.rc \ - graphicsview.desktop - -RC_FILE = graphicsview.rc - diff --git a/examples/qt3d/graphicsview/graphicsview.qrc b/examples/qt3d/graphicsview/graphicsview.qrc deleted file mode 100644 index 37a99a11..00000000 --- a/examples/qt3d/graphicsview/graphicsview.qrc +++ /dev/null @@ -1,6 +0,0 @@ -<!DOCTYPE RCC><RCC version="1.0"> -<qresource> - <file>cubeicon.png</file> - <file>teapoticon.png</file> -</qresource> -</RCC> diff --git a/examples/qt3d/graphicsview/graphicsview.rc b/examples/qt3d/graphicsview/graphicsview.rc deleted file mode 100644 index b40ecdc1..00000000 --- a/examples/qt3d/graphicsview/graphicsview.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qt3d.ico" diff --git a/examples/qt3d/graphicsview/main.cpp b/examples/qt3d/graphicsview/main.cpp deleted file mode 100644 index d9eae41c..00000000 --- a/examples/qt3d/graphicsview/main.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 <QtOpenGL/qgl.h> -#include <QtCore/qmath.h> -#include <QtCore/qdatetime.h> -#include "view.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QGLFormat format(QGLFormat::defaultFormat()); - format.setSampleBuffers(true); - View view; - view.setViewport(new QGLWidget(format)); - view.show(); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.showFullScreen(); -#endif - return app.exec(); -} diff --git a/examples/qt3d/graphicsview/modelitem.cpp b/examples/qt3d/graphicsview/modelitem.cpp deleted file mode 100644 index 41ba1383..00000000 --- a/examples/qt3d/graphicsview/modelitem.cpp +++ /dev/null @@ -1,220 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "modelitem.h" -#include "qglpainter.h" -#include "qgraphicsembedscene.h" -#include <QtGui/qgraphicssceneevent.h> -#include <QtGui/qapplication.h> - -const qreal CubeSize = 2.0f; - -ModelItem::ModelItem(QGraphicsItem *parent) - : QGLGraphicsViewportItem(parent) - , mScene(0) - , mTextureId(0) - , navigating(false) - , mPressedFace(-1) - , pressedButton(Qt::NoButton) -{ - startNavCamera = new QGLCamera(); - - setFlag(ItemIsFocusable, true); -} - -ModelItem::~ModelItem() -{ - delete startNavCamera; -} - -void ModelItem::setScene(QGraphicsEmbedScene *scene) -{ - mScene = scene; - connect(scene, SIGNAL(changed(QList<QRectF>)), this, SLOT(updateScene())); -} - -void ModelItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) -{ - // Render the inner scene into a framebuffer object. - // We do this while the ordinary Qt paint engine has - // control of the GL context rather than later when the - // QGLPainter has control of the GL context. - if (mScene) - mTextureId = mScene->renderToTexture(); - - // Now render the GL parts of the item using QGLPainter. - QGLGraphicsViewportItem::paint(painter, option, widget); -} - -void ModelItem::updateScene() -{ - update(); -} - -void ModelItem::mousePressEvent(QGraphicsSceneMouseEvent *event) -{ - int face; - QPointF tc = intersection - (event->widget(), event->pos().toPoint(), &face); - if (!navigating && mPressedFace == -1 && face != -1) { - mPressedFace = face; - pressedButton = event->button(); - mScene->deliverEvent(event, tc); - return; - } else if (!navigating && face == -1) { - navigating = true; - pressedButton = event->button(); - pressedPos = event->pos().toPoint(); - startNavCamera->setEye(camera()->eye()); - startNavCamera->setCenter(camera()->center()); - startNavCamera->setUpVector(camera()->upVector()); -#ifndef QT_NO_CURSOR - setCursor(Qt::ClosedHandCursor); -#endif - return; - } - QGraphicsItem::mousePressEvent(event); -} - -void ModelItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event) -{ - if (navigating) { - QPoint delta = event->pos().toPoint() - pressedPos; - int deltax = delta.x(); - int deltay = delta.y(); - QGLCamera *camera = this->camera(); - int rotation = camera->screenRotation(); - if (rotation == 90 || rotation == 270) { - qSwap(deltax, deltay); - } - if (rotation == 90 || rotation == 180) { - deltax = -deltax; - } - if (rotation == 180 || rotation == 270) { - deltay = -deltay; - } - qreal anglex = deltax * 90.0f / rect().width(); - qreal angley = deltay * 90.0f / rect().height(); - QQuaternion q = startNavCamera->pan(-anglex); - q *= startNavCamera->tilt(-angley); - camera->setEye(startNavCamera->eye()); - camera->setCenter(startNavCamera->center()); - camera->setUpVector(startNavCamera->upVector()); - camera->rotateCenter(q); - } else if (mPressedFace != -1) { - int face; - QPointF tc = intersection - (event->widget(), event->pos().toPoint(), &face); - if (face != mPressedFace) - tc = QPointF(-1, -1); - mScene->deliverEvent(event, tc); - return; - } - QGraphicsItem::mouseMoveEvent(event); -} - -void ModelItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) -{ - if (navigating && pressedButton == event->button()) { - navigating = false; - pressedButton = Qt::NoButton; -#ifndef QT_NO_CURSOR - unsetCursor(); -#endif - return; - } else if (mPressedFace != -1) { - int face; - QPointF tc = intersection - (event->widget(), event->pos().toPoint(), &face); - if (face != mPressedFace) - tc = QPoint(-1, -1); - if (pressedButton == event->button()) { - mPressedFace = -1; - pressedButton = Qt::NoButton; - } - mScene->deliverEvent(event, tc); - return; - } - QGraphicsItem::mouseReleaseEvent(event); -} - -void ModelItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) -{ - int face; - QPointF tc = intersection - (event->widget(), event->pos().toPoint(), &face); - if (mPressedFace == -1 && face != -1) { - mPressedFace = face; - pressedButton = event->button(); - mScene->deliverEvent(event, tc); - return; - } - QGraphicsItem::mouseDoubleClickEvent(event); -} - -QPointF ModelItem::intersection - (QWidget *widget, const QPoint &point, int *actualFace) const -{ - // Bail out if no scene. - if (!mScene) { - *actualFace = -1; - return QPointF(); - } - - // Get the combined matrix for the projection. - int dpiX = widget->logicalDpiX(); - int dpiY = widget->logicalDpiY(); - QRectF bounds = boundingRect(); - qreal aspectRatio = (bounds.width() * dpiY) / (bounds.height() * dpiX); - QMatrix4x4 proj = camera()->projectionMatrix(aspectRatio); - - // Find the relative position of the point within (-1, -1) to (1, 1). - QPointF relativePoint = - QPointF((point.x() - bounds.center().x()) * 2 / bounds.width(), - -(point.y() - bounds.center().y()) * 2 / bounds.height()); - - // Get the ray extending from the eye through the point the user selected. - QVector3D eyept = proj.inverted().map - (QVector3D(relativePoint.x(), relativePoint.y(), -1.0f)); - QRay3D ray(QVector3D(0, 0, 0), eyept); - - // Intersect with the ray using a model-specific intersection method. - return intersection(ray, actualFace); -} diff --git a/examples/qt3d/graphicsview/modelitem.h b/examples/qt3d/graphicsview/modelitem.h deleted file mode 100644 index 7ab55219..00000000 --- a/examples/qt3d/graphicsview/modelitem.h +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 MODELITEM_H -#define MODELITEM_H - -#include "qglgraphicsviewportitem.h" -#include "qglbuilder.h" -#include "qray3d.h" - -QT_BEGIN_NAMESPACE -class QGraphicsEmbedScene; -QT_END_NAMESPACE - -class ModelItem : public QObject, public QGLGraphicsViewportItem -{ - Q_OBJECT -public: - ModelItem(QGraphicsItem *parent = 0); - ~ModelItem(); - - QGraphicsEmbedScene *scene() const { return mScene; } - void setScene(QGraphicsEmbedScene *scene); - - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); - -protected: - void mousePressEvent(QGraphicsSceneMouseEvent *event); - void mouseMoveEvent(QGraphicsSceneMouseEvent *event); - void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); - void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event); - -private Q_SLOTS: - void updateScene(); - -protected: - virtual QPointF intersection(const QRay3D &ray, int *actualFace) const = 0; - GLuint textureId() const { return mTextureId; } - int pressedFace() const { return mPressedFace; } - -private: - QGraphicsEmbedScene *mScene; - GLuint mTextureId; - bool navigating; - int mPressedFace; - Qt::MouseButton pressedButton; - QPoint pressedPos; - QGLCamera *startNavCamera; - - QPointF intersection - (QWidget *widget, const QPoint &point, int *actualFace) const; -}; - -#endif diff --git a/examples/qt3d/graphicsview/node.cpp b/examples/qt3d/graphicsview/node.cpp deleted file mode 100644 index 4723b0ab..00000000 --- a/examples/qt3d/graphicsview/node.cpp +++ /dev/null @@ -1,185 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 <QGraphicsScene> -#include <QGraphicsSceneMouseEvent> -#include <QPainter> -#include <QStyleOption> - -#include "edge.h" -#include "node.h" -#include "graph.h" - -Node::Node(Graph *graphWidget) - : graph(graphWidget) -{ - setFlag(ItemIsMovable); - setFlag(ItemSendsGeometryChanges); - //setCacheMode(DeviceCoordinateCache); - setZValue(-1); -} - -void Node::addEdge(Edge *edge) -{ - edgeList << edge; - edge->adjust(); -} - -QList<Edge *> Node::edges() const -{ - return edgeList; -} - -void Node::calculateForces() -{ - if (!scene() || scene()->mouseGrabberItem() == this) { - newPos = pos(); - return; - } - - // Sum up all forces pushing this item away - qreal xvel = 0; - qreal yvel = 0; - foreach (QGraphicsItem *item, scene()->items()) { - Node *node = qgraphicsitem_cast<Node *>(item); - if (!node) - continue; - - QLineF line(mapFromItem(node, 0, 0), QPointF(0, 0)); - qreal dx = line.dx(); - qreal dy = line.dy(); - double l = 2.0 * (dx * dx + dy * dy); - if (l > 0) { - xvel += (dx * 150.0) / l; - yvel += (dy * 150.0) / l; - } - } - - // Now subtract all forces pulling items together - double weight = (edgeList.size() + 1) * 10; - foreach (Edge *edge, edgeList) { - QPointF pos; - if (edge->sourceNode() == this) - pos = mapFromItem(edge->destNode(), 0, 0); - else - pos = mapFromItem(edge->sourceNode(), 0, 0); - xvel += pos.x() / weight; - yvel += pos.y() / weight; - } - - if (qAbs(xvel) < 0.1 && qAbs(yvel) < 0.1) - xvel = yvel = 0; - - QRectF sceneRect = scene()->sceneRect(); - newPos = pos() + QPointF(xvel, yvel); - newPos.setX(qMin(qMax(newPos.x(), sceneRect.left() + 10), sceneRect.right() - 10)); - newPos.setY(qMin(qMax(newPos.y(), sceneRect.top() + 10), sceneRect.bottom() - 10)); -} - -bool Node::advance() -{ - if (newPos == pos()) - return false; - - setPos(newPos); - return true; -} - -QRectF Node::boundingRect() const -{ - qreal adjust = 42; - return QRectF(-10 - adjust, -10 - adjust, - 23 + adjust * 2, 23 + adjust * 2); -} - -QPainterPath Node::shape() const -{ - QPainterPath path; - path.addEllipse(-20, -20, 40, 40); - return path; -} - -void Node::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *) -{ - painter->setPen(Qt::NoPen); - painter->setBrush(Qt::darkGray); - painter->drawEllipse(-7, -7, 20, 20); - - QRadialGradient gradient(-3, -3, 10); - if (option->state & QStyle::State_Sunken) { - gradient.setCenter(3, 3); - gradient.setFocalPoint(3, 3); - gradient.setColorAt(1, QColor(Qt::yellow).light(120)); - gradient.setColorAt(0, QColor(Qt::darkYellow).light(120)); - } else { - gradient.setColorAt(0, Qt::yellow); - gradient.setColorAt(1, Qt::darkYellow); - } - painter->setBrush(gradient); - painter->setPen(QPen(Qt::black, 0)); - painter->drawEllipse(-10, -10, 20, 20); -} - -QVariant Node::itemChange(GraphicsItemChange change, const QVariant &value) -{ - switch (change) { - case ItemPositionHasChanged: - foreach (Edge *edge, edgeList) - edge->adjust(); - graph->itemMoved(); - break; - default: - break; - }; - - return QGraphicsItem::itemChange(change, value); -} - -void Node::mousePressEvent(QGraphicsSceneMouseEvent *event) -{ - update(); - QGraphicsItem::mousePressEvent(event); -} - -void Node::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) -{ - update(); - QGraphicsItem::mouseReleaseEvent(event); -} diff --git a/examples/qt3d/graphicsview/node.h b/examples/qt3d/graphicsview/node.h deleted file mode 100644 index 45208610..00000000 --- a/examples/qt3d/graphicsview/node.h +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 NODE_H -#define NODE_H - -#include <QGraphicsItem> -#include <QList> - -class Edge; -class Graph; -QT_BEGIN_NAMESPACE -class QGraphicsSceneMouseEvent; -QT_END_NAMESPACE - -class Node : public QGraphicsItem -{ -public: - Node(Graph *graphWidget); - - void addEdge(Edge *edge); - QList<Edge *> edges() const; - - enum { Type = UserType + 1 }; - int type() const { return Type; } - - void calculateForces(); - bool advance(); - - QRectF boundingRect() const; - QPainterPath shape() const; - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); - -protected: - QVariant itemChange(GraphicsItemChange change, const QVariant &value); - - void mousePressEvent(QGraphicsSceneMouseEvent *event); - void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); - -private: - QList<Edge *> edgeList; - QPointF newPos; - Graph *graph; -}; - -#endif diff --git a/examples/qt3d/graphicsview/qt3d.ico b/examples/qt3d/graphicsview/qt3d.ico Binary files differdeleted file mode 100644 index e6442baf..00000000 --- a/examples/qt3d/graphicsview/qt3d.ico +++ /dev/null diff --git a/examples/qt3d/graphicsview/qt3d.png b/examples/qt3d/graphicsview/qt3d.png Binary files differdeleted file mode 100644 index 21ec0176..00000000 --- a/examples/qt3d/graphicsview/qt3d.png +++ /dev/null diff --git a/examples/qt3d/graphicsview/scene.cpp b/examples/qt3d/graphicsview/scene.cpp deleted file mode 100644 index 5fe55105..00000000 --- a/examples/qt3d/graphicsview/scene.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "scene.h" -#include <QtGui/qpainter.h> - -void Scene::drawBackground(QPainter *painter, const QRectF &rect) -{ - painter->save(); - QLinearGradient gradient(rect.topLeft(), rect.bottomRight()); - gradient.setColorAt(0, QColor(0, 128, 192, 255)); - gradient.setColorAt(1, QColor(0, 0, 128, 255)); - painter->setPen(QPen(Qt::black, 3)); - painter->setBrush(gradient); - painter->drawRect(rect); - painter->restore(); -} diff --git a/examples/qt3d/graphicsview/scene.h b/examples/qt3d/graphicsview/scene.h deleted file mode 100644 index 73be795a..00000000 --- a/examples/qt3d/graphicsview/scene.h +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 SCENE_H -#define SCENE_H - -#include "qgraphicsembedscene.h" - -class Scene : public QGraphicsEmbedScene -{ - Q_OBJECT -public: - Scene(QObject *parent = 0) : QGraphicsEmbedScene(parent) {} - -protected: - void drawBackground(QPainter *painter, const QRectF &rect); -}; - -#endif diff --git a/examples/qt3d/graphicsview/teapoticon.png b/examples/qt3d/graphicsview/teapoticon.png Binary files differdeleted file mode 100644 index 17392361..00000000 --- a/examples/qt3d/graphicsview/teapoticon.png +++ /dev/null diff --git a/examples/qt3d/graphicsview/teapotitem.cpp b/examples/qt3d/graphicsview/teapotitem.cpp deleted file mode 100644 index 72161a5a..00000000 --- a/examples/qt3d/graphicsview/teapotitem.cpp +++ /dev/null @@ -1,129 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "teapotitem.h" -#include "qglpainter.h" -#include "qplane3d.h" -#include "qtriangle3d.h" -#include <QtCore/qnumeric.h> - -TeapotItem::TeapotItem(QGraphicsItem *parent) - : ModelItem(parent) -{ - QGLBuilder builder; - builder.newSection(QGL::Faceted); - builder << teapot; - teapotNode = builder.finalizedSceneNode(); -} - -TeapotItem::~TeapotItem() -{ - delete teapotNode; -} - -void TeapotItem::paintGL(QGLPainter *painter) -{ - GLuint textureId = this->textureId(); - if (textureId) { - glDisable(GL_DEPTH_TEST); - glEnable(GL_BLEND); - painter->setFaceColor(QGL::AllFaces, QColor(0, 0, 0, 200)); - painter->setStandardEffect(QGL::LitDecalTexture2D); - glBindTexture(GL_TEXTURE_2D, textureId); - glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - if (painter->isFixedFunction()) - glEnable(GL_TEXTURE_2D); - glCullFace(GL_FRONT); - glEnable(GL_CULL_FACE); - teapotNode->draw(painter); - glCullFace(GL_BACK); - teapotNode->draw(painter); - glDisable(GL_CULL_FACE); - glBindTexture(GL_TEXTURE_2D, 0); - if (painter->isFixedFunction()) - glDisable(GL_TEXTURE_2D); - } else { - painter->setStandardEffect(QGL::LitMaterial); - teapotNode->draw(painter); - } -} - -QPointF TeapotItem::intersection(const QRay3D &ray, int *actualFace) const -{ - QVector2D tc; - QGLBezierPatches patches = teapot.transformed(camera()->modelViewMatrix()); - if (pressedFace() == -1) { - // Intersect with the whole teapot. - qreal t = patches.intersection(ray, &tc, actualFace); - if (!qIsNaN(t)) - return QPointF(tc.x(), tc.y()); - } else { - // Only intersect with the patch that was pressed previously. - QGLBezierPatches subpatches; - subpatches.setPositions - (patches.positions().mid(pressedFace() * 16, 16)); - qreal t = subpatches.intersection(ray, &tc); - if (!qIsNaN(t)) { - *actualFace = pressedFace(); - return QPointF(tc.x(), tc.y()); - } - - // The mouse has moved outside the boundary of the patch. - // Use the plane containing the patch to extend the hit - // area out to infinity. - QTriangle3D triangle(subpatches.positions()[0], - subpatches.positions()[3], - subpatches.positions()[12]); - t = triangle.plane().intersection(ray); - if (!qIsNaN(t)) { - *actualFace = pressedFace(); - QVector2D uv = triangle.uv(ray.point(t)); - QVector2D tc1(0, 0); - QVector2D tc2(1, 0); - QVector2D tc3(0, 1); - QVector2D tc = - uv.x() * tc1 + uv.y() * tc2 + (1 - uv.x() - uv.y()) * tc3; - return QPointF(tc.x(), tc.y()); - } - } - *actualFace = -1; - return QPointF(); -} diff --git a/examples/qt3d/graphicsview/teapotitem.h b/examples/qt3d/graphicsview/teapotitem.h deleted file mode 100644 index f2706eeb..00000000 --- a/examples/qt3d/graphicsview/teapotitem.h +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 TEAPOTITEM_H -#define TEAPOTITEM_H - -#include "modelitem.h" -#include "qglteapot.h" - -class TeapotItem : public ModelItem -{ - Q_OBJECT -public: - TeapotItem(QGraphicsItem *parent = 0); - ~TeapotItem(); - -protected: - void paintGL(QGLPainter *painter); - QPointF intersection(const QRay3D &ray, int *actualFace) const; - -private: - QGLTeapot teapot; - QGLSceneNode *teapotNode; -}; - -#endif diff --git a/examples/qt3d/graphicsview/view.cpp b/examples/qt3d/graphicsview/view.cpp deleted file mode 100644 index 73f4bb6c..00000000 --- a/examples/qt3d/graphicsview/view.cpp +++ /dev/null @@ -1,121 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "view.h" -#include "cubeitem.h" -#include "teapotitem.h" -#include "graph.h" -#include "qglcamera.h" -#include <QtGui/qgraphicssceneevent.h> - -View::View(QWidget *parent) - : QGraphicsView(parent) -{ - setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - setViewportUpdateMode(QGraphicsView::FullViewportUpdate); - - scene.setBackgroundBrush(Qt::black); - setScene(&scene); - - cube = new CubeItem(); - cube->setRect(0, 0, 600, 480); - cube->camera()->setEye(QVector3D(-5.0f, 3.0f, 6.0f)); - cube->setVisible(false); - - teapot = new TeapotItem(); - teapot->setRect(0, 0, 600, 480); - teapot->camera()->setEye(QVector3D(-5.0f, 3.0f, 6.0f)); - - Button *cubeButton = new Button - (QPixmap(QLatin1String(":/cubeicon.png")), teapot); - Button *teapotButton = new Button - (QPixmap(QLatin1String(":/teapoticon.png")), cube); - - connect(cubeButton, SIGNAL(clicked()), this, SLOT(switchToCube())); - connect(teapotButton, SIGNAL(clicked()), this, SLOT(switchToTeapot())); - - scene.addItem(cube); - scene.addItem(teapot); - - Graph *graph = new Graph(this); - cube->setScene(graph->scene()); - teapot->setScene(graph->scene()); -} - -void View::resizeEvent(QResizeEvent *e) -{ - QGraphicsView::resizeEvent(e); - cube->setRect(0, 0, width(), height()); - teapot->setRect(0, 0, width(), height()); -} - -void View::switchToCube() -{ - teapot->setVisible(false); - cube->setVisible(true); -} - -void View::switchToTeapot() -{ - cube->setVisible(false); - teapot->setVisible(true); -} - -Button::Button(const QPixmap &pixmap, QGraphicsItem *parent) - : QGraphicsPixmapItem(pixmap, parent) - , pressed(false) -{ - setFlag(ItemIsSelectable, true); -} - -void Button::mousePressEvent(QGraphicsSceneMouseEvent *event) -{ - pressed = true; - QGraphicsItem::mousePressEvent(event); -} - -void Button::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) -{ - if (pressed && boundingRect().contains(event->scenePos())) - emit clicked(); - pressed = false; - QGraphicsItem::mouseReleaseEvent(event); -} diff --git a/examples/qt3d/graphicsview/view.h b/examples/qt3d/graphicsview/view.h deleted file mode 100644 index f47a7249..00000000 --- a/examples/qt3d/graphicsview/view.h +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 VIEW_H -#define VIEW_H - -#include <QtGui/qgraphicsview.h> -#include <QtGui/qgraphicsscene.h> -#include <QtGui/qgraphicsitem.h> - -class CubeItem; -class TeapotItem; - -class View : public QGraphicsView -{ - Q_OBJECT -public: - View(QWidget *parent = 0); - -protected: - void resizeEvent(QResizeEvent *e); - -private Q_SLOTS: - void switchToCube(); - void switchToTeapot(); - -private: - QGraphicsScene scene; - CubeItem *cube; - TeapotItem *teapot; -}; - -class Button : public QObject, public QGraphicsPixmapItem -{ - Q_OBJECT -public: - Button(const QPixmap &pixmap, QGraphicsItem *parent); - -Q_SIGNALS: - void clicked(); - -protected: - void mousePressEvent(QGraphicsSceneMouseEvent *event); - void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); - -private: - bool pressed; -}; - -#endif diff --git a/examples/qt3d/nesting/cubeview.cpp b/examples/qt3d/nesting/cubeview.cpp deleted file mode 100644 index d14b5048..00000000 --- a/examples/qt3d/nesting/cubeview.cpp +++ /dev/null @@ -1,209 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "cubeview.h" -#include "qglcube.h" -#include "qglteapot.h" -#include <QtOpenGL/qglframebufferobject.h> -#include <QtCore/qpropertyanimation.h> - -//! [1] -CubeView::CubeView(QWidget *parent) - : QGLView(parent) - , fbo(0) - , tangle(0.0f) - , cangle(0.0f) - , oangle(0.0f) -{ - QGLBuilder builder; - builder.newSection(QGL::Faceted); - builder << QGLCube(1.5f); - cube = builder.currentNode(); - cube->setObjectName(QLatin1String("Cube")); - - builder.newSection(); - builder << QGLTeapot(); - teapot = builder.currentNode(); - teapot->setObjectName(QLatin1String("Teapot")); - - scene = builder.finalizedSceneNode(); - scene->setParent(this); -//! [1] - -//! [2] - QPropertyAnimation *animation; - - animation = new QPropertyAnimation(this, "teapotAngle", this); - animation->setStartValue(0.0f); - animation->setEndValue(360.0f); - animation->setDuration(1000); - animation->setLoopCount(-1); - animation->start(); - - animation = new QPropertyAnimation(this, "cubeAngle", this); - animation->setStartValue(0.0f); - animation->setEndValue(360.0f); - animation->setDuration(5000); - animation->setLoopCount(-1); - animation->start(); - - animation = new QPropertyAnimation(this, "orbitAngle", this); - animation->setStartValue(0.0f); - animation->setEndValue(360.0f); - animation->setDuration(5000); - animation->setLoopCount(-1); - animation->start(); -//! [2] - -//! [3] - innerCamera = new QGLCamera(this); -} -//! [3] - -CubeView::~CubeView() -{ - delete fbo; -} - -//! [4] -void CubeView::initializeGL(QGLPainter *) -{ - fbo = new QGLFramebufferObject(512, 512, QGLFramebufferObject::Depth); - fboSurface.setFramebufferObject(fbo); -//! [4] - -//! [5] - QImage textureImage(QLatin1String(":/qtlogo.png")); - qtlogo.setImage(textureImage); - - glEnable(GL_BLEND); -} -//! [5] - -//! [6] -void CubeView::paintGL(QGLPainter *painter) -{ - painter->modelViewMatrix().push(); - painter->projectionMatrix().push(); - painter->pushSurface(&fboSurface); -//! [6] - -//! [7] - painter->setCamera(innerCamera); - painter->modelViewMatrix().rotate(tangle, 0.0f, 1.0f, 0.0f); - - painter->setFaceColor(QGL::AllFaces, QColor(170, 202, 0)); - painter->setStandardEffect(QGL::LitMaterial); - - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - teapot->draw(painter); -//! [7] - -//! [8] - painter->popSurface(); - painter->projectionMatrix().pop(); - painter->modelViewMatrix().pop(); -//! [8] - -//! [9] - painter->modelViewMatrix().rotate(oangle, 0.0f, 1.0f, 0.0f); - QMatrix4x4 m = painter->modelViewMatrix(); - QVector3D cube1pos(-1.5f, 0.0f, 0.0f); - QVector3D cube2pos(1.5f, 0.0f, 0.0f); - - if (m.map(cube1pos).z() < m.map(cube2pos).z()) { - drawCube1(painter, cube1pos); - drawCube2(painter, cube2pos); - } else { - drawCube2(painter, cube2pos); - drawCube1(painter, cube1pos); - } -} -//! [9] - -//! [10] -void CubeView::drawCube1(QGLPainter *painter, const QVector3D &posn) -{ - painter->modelViewMatrix().push(); - - qtlogo.bind(); - painter->setFaceColor(QGL::AllFaces, QColor(202, 100, 0, 150)); - painter->setStandardEffect(QGL::LitDecalTexture2D); - - painter->modelViewMatrix().translate(posn); - painter->modelViewMatrix().rotate(cangle, 1.0f, -1.0f, 1.0f); - - glCullFace(GL_FRONT); - glEnable(GL_CULL_FACE); - cube->draw(painter); - glCullFace(GL_BACK); - cube->draw(painter); - glDisable(GL_CULL_FACE); - - painter->modelViewMatrix().pop(); -} -//! [10] - -//! [11] -void CubeView::drawCube2(QGLPainter *painter, const QVector3D &posn) -{ - painter->modelViewMatrix().push(); - - painter->setFaceColor(QGL::AllFaces, QColor(0, 160, 202, 125)); - painter->setStandardEffect(QGL::LitDecalTexture2D); - glBindTexture(GL_TEXTURE_2D, fbo->texture()); - glEnable(GL_TEXTURE_2D); - - painter->modelViewMatrix().translate(posn); - painter->modelViewMatrix().rotate(cangle, 1.0f, 1.0f, 1.0f); - - glCullFace(GL_FRONT); - glEnable(GL_CULL_FACE); - cube->draw(painter); - glCullFace(GL_BACK); - cube->draw(painter); - glDisable(GL_CULL_FACE); - - glBindTexture(GL_TEXTURE_2D, 0); - glDisable(GL_TEXTURE_2D); - - painter->modelViewMatrix().pop(); -} -//! [11] diff --git a/examples/qt3d/nesting/cubeview.h b/examples/qt3d/nesting/cubeview.h deleted file mode 100644 index 5bcce12a..00000000 --- a/examples/qt3d/nesting/cubeview.h +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 CUBEVIEW_H -#define CUBEVIEW_H - -#include "qglview.h" -#include "qglbuilder.h" -#include "qglframebufferobjectsurface.h" - -QT_BEGIN_NAMESPACE -class QGLFramebufferObject; -class QGLCamera; -QT_END_NAMESPACE - -class CubeView : public QGLView -{ - Q_OBJECT - Q_PROPERTY(qreal teapotAngle READ teapotAngle WRITE setTeapotAngle) - Q_PROPERTY(qreal cubeAngle READ cubeAngle WRITE setCubeAngle) - Q_PROPERTY(qreal orbitAngle READ orbitAngle WRITE setOrbitAngle) -public: - CubeView(QWidget *parent = 0); - ~CubeView(); - - qreal teapotAngle() const { return tangle; } - void setTeapotAngle(qreal angle) { tangle = angle; update(); } - - qreal cubeAngle() const { return cangle; } - void setCubeAngle(qreal angle) { cangle = angle; update(); } - - qreal orbitAngle() const { return oangle; } - void setOrbitAngle(qreal angle) { oangle = angle; update(); } - -protected: - void initializeGL(QGLPainter *painter); - void paintGL(QGLPainter *painter); - -private: - QGLSceneNode *scene; - QGLSceneNode *cube; - QGLSceneNode *teapot; - QGLTexture2D qtlogo; - QGLFramebufferObject *fbo; - QGLFramebufferObjectSurface fboSurface; - QGLCamera *innerCamera; - qreal tangle; - qreal cangle; - qreal oangle; - - void drawCube1(QGLPainter *painter, const QVector3D &posn); - void drawCube2(QGLPainter *painter, const QVector3D &posn); -}; - -#endif diff --git a/examples/qt3d/nesting/main.cpp b/examples/qt3d/nesting/main.cpp deleted file mode 100644 index f0c849d2..00000000 --- a/examples/qt3d/nesting/main.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "cubeview.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - CubeView 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/nesting/nesting.desktop b/examples/qt3d/nesting/nesting.desktop deleted file mode 100644 index 85668cc3..00000000 --- a/examples/qt3d/nesting/nesting.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Nesting -Icon=/usr/share/icons/hicolor/80x80/apps/qt3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/nesting -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_nesting diff --git a/examples/qt3d/nesting/nesting.pro b/examples/qt3d/nesting/nesting.pro deleted file mode 100644 index 7725c2f3..00000000 --- a/examples/qt3d/nesting/nesting.pro +++ /dev/null @@ -1,17 +0,0 @@ -TEMPLATE = app -TARGET = nesting -CONFIG += qt warn_on - -CONFIG += qt3d_deploy_pkg -include(../../../pkg.pri) - -SOURCES = cubeview.cpp main.cpp -HEADERS = cubeview.h -RESOURCES = nesting.qrc - -OTHER_FILES += \ - nesting.rc \ - nesting.desktop - -RC_FILE = nesting.rc - diff --git a/examples/qt3d/nesting/nesting.qrc b/examples/qt3d/nesting/nesting.qrc deleted file mode 100644 index 70f5024d..00000000 --- a/examples/qt3d/nesting/nesting.qrc +++ /dev/null @@ -1,5 +0,0 @@ -<!DOCTYPE RCC><RCC version="1.0"> -<qresource> - <file>qtlogo.png</file> -</qresource> -</RCC> diff --git a/examples/qt3d/nesting/nesting.rc b/examples/qt3d/nesting/nesting.rc deleted file mode 100644 index b40ecdc1..00000000 --- a/examples/qt3d/nesting/nesting.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qt3d.ico" diff --git a/examples/qt3d/nesting/qt3d.ico b/examples/qt3d/nesting/qt3d.ico Binary files differdeleted file mode 100644 index e6442baf..00000000 --- a/examples/qt3d/nesting/qt3d.ico +++ /dev/null diff --git a/examples/qt3d/nesting/qt3d.png b/examples/qt3d/nesting/qt3d.png Binary files differdeleted file mode 100644 index 21ec0176..00000000 --- a/examples/qt3d/nesting/qt3d.png +++ /dev/null diff --git a/examples/qt3d/nesting/qtlogo.png b/examples/qt3d/nesting/qtlogo.png Binary files differdeleted file mode 100644 index 7d3e97eb..00000000 --- a/examples/qt3d/nesting/qtlogo.png +++ /dev/null diff --git a/examples/qt3d/qt3d.pro b/examples/qt3d/qt3d.pro deleted file mode 100644 index 07b7c8dc..00000000 --- a/examples/qt3d/qt3d.pro +++ /dev/null @@ -1,2 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS += basket builder cube cylinder geometry graphicsview nesting solarsystem tank teapot diff --git a/examples/qt3d/qt3d.svg b/examples/qt3d/qt3d.svg deleted file mode 100644 index 4b25ec50..00000000 --- a/examples/qt3d/qt3d.svg +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0"?> -<!-- Converted with SVG Converter - Version 0.9.5 (Compiled Mon May 30 09:08:51 2011) - Copyright (C) 2011 Nokia --> -<svg xmlns="http://www.w3.org/2000/svg" width="287" version="1.1" height="286" xmlns:xlink="http://www.w3.org/1999/xlink" baseProfile="tiny" id="svg2"> - <defs id="defs4"> - <linearGradient id="linearGradient4309"> - <stop offset="0" style="stop-color:#d4f301;stop-opacity:1;" id="stop4311"/> - <stop offset="1" style="stop-color:#d4f301;stop-opacity:0;" id="stop4313"/> - </linearGradient> - <linearGradient gradientTransform="matrix(1.0104795,0,0,1.004441,23.387309,76.758859)" id="linearGradient3730-2" y1="131.35715" y2="156.39526" x1="23.626827" gradientUnits="userSpaceOnUse" x2="303.57144"> - <stop offset="0" style="stop-color:#038d30;stop-opacity:1;" id="stop3726-7"/> - <stop offset="1" style="stop-color:#038d30;stop-opacity:0;" id="stop3728-1"/> - </linearGradient> - <linearGradient id="linearGradient3724-7"> - <stop offset="0" style="stop-color:#038d30;stop-opacity:1;" id="stop3726-7"/> - <stop offset="1" style="stop-color:#038d30;stop-opacity:0;" id="stop3728-1"/> - </linearGradient> - <linearGradient id="linearGradient4315" y1="62.920685" y2="62.920685" x1="72.492188" gradientUnits="userSpaceOnUse" x2="165.83203"> - <stop offset="0" style="stop-color:#d4f301;stop-opacity:1;" id="stop4311"/> - <stop offset="1" style="stop-color:#d4f301;stop-opacity:0;" id="stop4313"/> - </linearGradient> - </defs> - <metadata id="metadata7"/> - <g id="layer1" transform="translate(-25.071424,-77.933617)"> - <path style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#d4f301;stroke-width:8.85648727;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path3722" d="M 149.39285,339.37194 C 118.29002,338.06386 93.410274,329.21846 78.267585,314.08502 66.239667,302.06444 58.159936,285.11057 54.818135,264.88047 c -1.962614,-11.881 -2.442596,-20.11519 -2.455216,-42.1199 -0.01051,-18.36712 0.160997,-23.0644 1.239861,-33.95521 2.529982,-25.53941 11.482605,-46.43472 25.677112,-59.93007 16.042727,-15.25252 39.462148,-23.21337 72.203768,-24.54383 6.77105,-0.27512 31.97542,0.38686 41.46813,1.08915 17.85829,1.32123 29.86273,4.01251 41.92069,9.39824 16.71724,7.46685 28.60768,18.52238 36.44553,33.88638 5.7477,11.26691 9.34961,23.29707 11.69339,39.05536 2.22754,14.97664 2.81073,44.00559 1.22086,60.77114 -2.76934,29.20404 -10.704,50.36949 -24.19378,64.53629 -8.65346,9.08774 -21.29946,16.39504 -35.37578,20.44137 -13.11053,3.76868 -25.14568,5.0858 -52.44498,5.73944 -13.81368,0.33078 -17.4242,0.35023 -22.82487,0.12311 l 0,0 z"/> - <rect width="236.93414" x="49.282932" y="102.78797" rx="95.84404" ry="92.255867" height="239.43414" style="opacity:0;fill:none;stroke:#008000;stroke-width:3.29858350999999980;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="rect2852"/> - <rect width="175" x="28.571428" y="19.214285" rx="95.84404" ry="92.255867" height="206.07143" style="opacity:0;fill:#b94b4b;fill-opacity:1;stroke:#05d105;stroke-width:4.147;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="rect3704" transform="translate(25.071424,77.933617)"/> - <image width="172.71428" x="86.571419" y="214.50505" height="93.14286" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIkAAABMCAYA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un2gUZXfEpqnneG7VIrn42xYNoY5jXKBG61ZGpyOuCYNk4uReJAg/p31biQ+okHShH9OoP/F 7NEhmZurBhDgCgwbvpjTV+QcdbsAmLQ61X4SXHO83gZOIkBolIlpEdgUFGlsJLE3KXHV7q9f5g06 79I0gBPtoThJrYJlTUOJTuEge7uU5r/McsPLlo8OEoBe3miPvrbegLSKRF99dFWq2ETTpAXVmUJq DYg0TiKiNYyvCdE7SBxEeUNSMuAcIB2vDGuyxvD6Omg42S7nq5vwnyvkv4ZeZbkSIAFCctDVZK97 gzACtVSKd/thZKSyopELbZkQ2RQoUIBRyz4xuMrcrOAkIS0cPBkdPKszJmU2BdwYOOYBd0f7gbhP Dq+eeUnlyoAEoJc1nxORk7E1pNimKLkHWydolS4P+CIxlZbHk9S/AiHg5qBAlNxDdi6AELOjEnXi wYh2kP+WJbGQ+YzGuhXeMRmHcW+vOkAAZKvoPqpIg0uEteyq/58nBdPc8L0+daKOttn4HD4amxZF a4CkwTTxXhCWI2Kq4h9LxTumkzB2i/xrNdEuNY+gLUk97fpfdblyIGmJJp5JEExGBIqCZxle4jmJ Njnq/JHkPBwFGOcAKUzy3g248WUUbO0e8zl1nuf/mlx9kNzIRxd78i43ct3lBiQ3cqLcgORGTpQb kNzIiXIDkhs5Uf4XvCkz5B6wzDwAAAAASUVORK5CYII= " id="image3149"/> - <image width="156.57143" x="89.857132" y="140.67836" height="65.897751" id="image3075" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPMAAABoCAIAAACrNVHoAAAAA3NCSVQICAjb4U/gAAAgAElEQVR4 nO29ebR9SVXn+Yk4w73vvvd+7zfkPJFJAmKiKS0qMpQMIlQJBYhoaQMKWpZFid2WrdCuokpKWykX WtqKJbZDtraKUoWKE6JLUFBAlDlBSCAHciCH3/SGe+8ZYug/dkTcc+f3ywGl+7fXXW+de96558SJ 2LHju8eA83SeztN5Ok9fKKQe3NsVRfGox1xx9aOOHL/MXXlNfuWJ8qKNo+3Gme2e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SRTAVHWbN8koWXwjUVNx9 C3ffwt/9MRDihza2KPrB4JAXFCW6CPY1weimDsKsa1c+T116yDl7vB+NDAXeT6J2kpW+a7OUBA1Z fJEdhDs+oCTjU9zsOQVAfkGQqCLLKkmfp8PTQ8vZw5j0nxVkeTDCz4htifUh2miTf0TwWRdHpoyj vJzMBK0fakh1nr4g6aHl7HtvCxpSqECppgzeSQmTFBtiMWzxaOpsNoK0m+KQpPV8ZZ/zdJ54qDn7 vttC3ZJE3eR7STpKlRhSlrJox6JrzmSGJses2PbDnDkPNM/THD3Q7eBXkzV87K8heobn83GI0cmT qO54vDbxu5uBd57O0ww9tJwNvPUNfPbjh4ob7pI4lmcqrZ2n83R4esDbwR+CPvYu7voUV15HUU7F BkyOO9GkIqpTmc0Z/3ZK7ewef+rvpxLgztN54qHG2ULec8uHecMr2DrG0Yu56GFcdR0nLqfoL04a 9S7MOLF/J9u24JnDFxI/T/9/pn8CBjMVAtaWWqZ9+hN/oeJ5MY/Y896K83SeztN5Ok/n6Tydp/N0 ns7TeTpP5+k83T/6fwEfb2KSI/kgFgAAAABJRU5ErkJggg== "/> - <rect width="285.97864" x="26.028843" y="78.512794" rx="0" height="284.96848" ry="0" style="fill:#000000;fill-opacity:1;stroke:none;opacity:0" id="rect2995"/> - </g> - <g id="layer2"/> -</svg> diff --git a/examples/qt3d/solarsystem/main.cpp b/examples/qt3d/solarsystem/main.cpp deleted file mode 100644 index a4d44d3d..00000000 --- a/examples/qt3d/solarsystem/main.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "solarsystem.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - SolarSystemView 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/solarsystem/qt3d.ico b/examples/qt3d/solarsystem/qt3d.ico Binary files differdeleted file mode 100644 index e6442baf..00000000 --- a/examples/qt3d/solarsystem/qt3d.ico +++ /dev/null diff --git a/examples/qt3d/solarsystem/qt3d.png b/examples/qt3d/solarsystem/qt3d.png Binary files differdeleted file mode 100644 index 21ec0176..00000000 --- a/examples/qt3d/solarsystem/qt3d.png +++ /dev/null diff --git a/examples/qt3d/solarsystem/resources/attribution.txt b/examples/qt3d/solarsystem/resources/attribution.txt deleted file mode 100644 index 28fe61c3..00000000 --- a/examples/qt3d/solarsystem/resources/attribution.txt +++ /dev/null @@ -1,4 +0,0 @@ -Image files based on textures courtesy of: -qzma.deviantart.com -sirius-sdz.deviantart.com - diff --git a/examples/qt3d/solarsystem/resources/moon-texture.jpg b/examples/qt3d/solarsystem/resources/moon-texture.jpg Binary files differdeleted file mode 100644 index b6955e38..00000000 --- a/examples/qt3d/solarsystem/resources/moon-texture.jpg +++ /dev/null diff --git a/examples/qt3d/solarsystem/resources/planet.jpg b/examples/qt3d/solarsystem/resources/planet.jpg Binary files differdeleted file mode 100644 index c6d92c43..00000000 --- a/examples/qt3d/solarsystem/resources/planet.jpg +++ /dev/null diff --git a/examples/qt3d/solarsystem/resources/solar.fsh b/examples/qt3d/solarsystem/resources/solar.fsh deleted file mode 100644 index b85bd708..00000000 --- a/examples/qt3d/solarsystem/resources/solar.fsh +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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$ -** -****************************************************************************/ - -uniform sampler2D qt_Texture0; -uniform sampler2D qt_Texture1; -varying mediump vec4 lightingColor; -varying highp vec4 texCoord0; -uniform mediump float glowFactor; - -void main(void) -{ - vec4 unlitColor0 = texture2D(qt_Texture0, texCoord0.st); - vec4 unlitColor1 = texture2D(qt_Texture1, texCoord0.st); - - // interpolate between the two textures - vec4 unlitColor = mix(unlitColor0, unlitColor1, glowFactor); - - // Apply lighting - vec4 litColor = lightingColor * unlitColor; - // Normally, we'd just paint this lit colour like so: -// gl_FragColor = litColor; - - // However, we want a cool glow effect, because the sun is generating - // it's own light. - - // Multiplying the color by itself will washing out the darker colours, - // leaving the brighter colours brighter by comparison - vec4 powerColor = unlitColor * unlitColor; - powerColor = powerColor * powerColor ; - - // Then combine the higher contrast color and the lit color - gl_FragColor= mix(litColor, powerColor, glowFactor); -} diff --git a/examples/qt3d/solarsystem/resources/solar.jpg b/examples/qt3d/solarsystem/resources/solar.jpg Binary files differdeleted file mode 100644 index 86f5921a..00000000 --- a/examples/qt3d/solarsystem/resources/solar.jpg +++ /dev/null diff --git a/examples/qt3d/solarsystem/resources/solar.vsh b/examples/qt3d/solarsystem/resources/solar.vsh deleted file mode 100644 index 420bc701..00000000 --- a/examples/qt3d/solarsystem/resources/solar.vsh +++ /dev/null @@ -1,175 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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$ -** -****************************************************************************/ - -attribute highp vec4 qt_Vertex; -attribute highp vec3 qt_Normal; -attribute highp vec4 qt_MultiTexCoord0; -uniform highp mat4 qt_ModelViewProjectionMatrix; -uniform highp mat4 qt_ModelViewMatrix; -uniform highp mat3 qt_NormalMatrix; -varying highp vec4 texCoord0; - -// varying values for per-pixel lighting -varying mediump vec4 lightingColor; -varying highp vec3 normal; -varying highp vec3 lightDirection; -varying highp vec3 halfVector; -varying highp vec3 vertexToLight; - -// Varying values for per-vertex lighting -varying mediump vec4 litCombinedColor; - -// These structs are copied from the QGLShaderProgramEffect documentation -struct qt_MaterialParameters { - mediump vec4 emission; - mediump vec4 ambient; - mediump vec4 diffuse; - mediump vec4 specular; - mediump float shininess; -}; -uniform qt_MaterialParameters qt_Material; - -struct qt_SingleLightParameters { - mediump vec4 position; - mediump vec3 spotDirection; - mediump float spotExponent; - mediump float spotCutoff; - mediump float spotCosCutoff; - mediump float constantAttenuation; - mediump float linearAttenuation; - mediump float quadraticAttenuation; -}; -uniform qt_SingleLightParameters qt_Light; - -// This is a pretty standard lighting function, adapted from QGLLitMaterial. -// The changes are mostly just renaming to improve readablity, but some -// unecessary features are removed too (e.g. support for two-sided materials) - -void qLightVertex(vec4 vertex, vec3 normal) -{ - // Start with the material's emissive color and the ambient scene color, - // which have been combined into the emission parameter. - vec4 color = qt_Material.emission; - vec4 scolor = qt_Material.specular; - - // Viewer is at infinity. - vec3 toEye = vec3(0, 0, 1); - - // Determine the angle between the normal and the light direction. - vec4 lightPosition = qt_Light.position; - vec3 lightDirection; - if (lightPosition.w == 0.0) - lightDirection = normalize(lightPosition.xyz); - else - lightDirection = normalize(lightPosition.xyz - vertex.xyz); - // Clean up negative values - float angle = max(dot(normal, lightDirection), 0.0); - - // Calculate the ambient and diffuse light components. - vec4 adcomponent = qt_Material.ambient + angle * qt_Material.diffuse; - - // Calculate the specular light components, in case they're needed for - // per-vertex lighting. - vec4 scomponent; - if (angle != 0.0) { - halfVector = normalize(lightDirection + toEye); - angle = max(dot(normal, halfVector), 0.0); - float srm = qt_Material.shininess; - vec4 scm = qt_Material.specular; - if (srm != 0.0) - scomponent = pow(angle, srm) * scm; - else - scomponent = scm; - } else { - scomponent = vec4(0, 0, 0, 0); - } - - // Apply the spotlight angle and exponent. - if (qt_Light.spotCutoff != 180.0) { - vertexToLight = vertex.xyz - lightPosition.xyz; - float spot = max(dot(normalize(vertexToLight), - qt_Light.spotDirection), 0.0); - if (spot < qt_Light.spotCosCutoff) { - adcomponent = vec4(0, 0, 0, 0); - scomponent = vec4(0, 0, 0, 0); - } else { - spot = pow(spot, qt_Light.spotExponent); - adcomponent *= spot; - scomponent *= spot; - } - } - - // Apply attenuation to the colors. - if (lightPosition.w != 0.0) { - float attenuation = qt_Light.constantAttenuation; - float k1 = qt_Light.linearAttenuation; - float k2 = qt_Light.quadraticAttenuation; - if (k1 != 0.0 || k2 != 0.0) { - float len = length(lightPosition.xyz - vertex.xyz); - attenuation += k1 * len + k2 * len * len; - } - color += adcomponent / attenuation; - scolor += scomponent / attenuation; - } else { - color += adcomponent; - scolor += scomponent; - } - - // Generate the final output colors to pass to the fragment shader. - float alpha = qt_Material.diffuse.a; - // This is the combined diffuse and ambient lighting color - lightingColor = vec4(clamp(color.rgb, 0.0, 1.0), alpha); - // Specular lighting and combined color is used for per vertex lighting if - // per-pixel is too expensive or not required. - vec4 specularLightingColor = vec4(clamp(scolor.rgb, 0.0, 1.0), 0.0); - litCombinedColor = clamp(lightingColor + vec4(specularLightingColor.xyz, 0.0), 0.0, 1.0); -} - - void main(void) - { - gl_Position = qt_ModelViewProjectionMatrix * qt_Vertex; - texCoord0 = qt_MultiTexCoord0; - - // Calculate the vertex and normal to use for lighting calculations. - highp vec4 vertex = qt_ModelViewMatrix * qt_Vertex; - normal = normalize(qt_NormalMatrix * qt_Normal); - qLightVertex(vertex,normal); -} - diff --git a/examples/qt3d/solarsystem/resources/solar2.jpg b/examples/qt3d/solarsystem/resources/solar2.jpg Binary files differdeleted file mode 100755 index 1aa0f02d..00000000 --- a/examples/qt3d/solarsystem/resources/solar2.jpg +++ /dev/null diff --git a/examples/qt3d/solarsystem/solarsystem.cpp b/examples/qt3d/solarsystem/solarsystem.cpp deleted file mode 100644 index 25b0f769..00000000 --- a/examples/qt3d/solarsystem/solarsystem.cpp +++ /dev/null @@ -1,232 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "solarsystem.h" -#include "qglbuilder.h" -#include "qglmaterialcollection.h" -#include "qgltexture2d.h" -#include "qglmaterial.h" -#include "qglscenenode.h" -#include "qgllightmodel.h" -#include "qglsphere.h" -#include "qgraphicsrotation3d.h" -#include "qgraphicstranslation3d.h" -#include "qglshaderprogrameffect.h" -#include "qglshaderprogram.h" - -#include <QtGui/qmatrix4x4.h> - -#include <QtCore/qmath.h> - -SolarSystemView::SolarSystemView(QWidget *parent) - : QGLView(parent) - , spaceScene(new QGLSceneNode(this)) - , sunEffect(0) -{ - //Generate geometry for the scene - spaceScene = createScene(); - - //Set up the camera - camera()->setEye(QVector3D(0, 0, 15)); - - //Create the animation for the rotation of the Sun - QPropertyAnimation *animation; - animation = new QPropertyAnimation(this, "angle1", this); - animation->setStartValue(0.0f); - animation->setEndValue(360.0f); - animation->setDuration(7000); - animation->setLoopCount(-1); - animation->start(); - - //Create the animation for the rotation of the Planet - QPropertyAnimation *animation2; - animation2 = new QPropertyAnimation(this, "angle2", this); - animation2->setStartValue(0.0f); - animation2->setEndValue(360.0f); - animation2->setDuration(3000); - animation2->setLoopCount(-1); - animation2->start(); - - //Create the animation for the rotation of the Solar-System - QPropertyAnimation *animation3; - animation3 = new QPropertyAnimation(this, "angle3", this); - animation3->setStartValue(0.0f); - animation3->setEndValue(360.0f); - animation3->setDuration(30000); - animation3->setLoopCount(-1); - animation3->start(); - - //Create the animation for the glow effect - QPropertyAnimation *glowAnimation; - glowAnimation = new QPropertyAnimation(this, "glowFactor", this); - glowAnimation->setStartValue(0.0f); - glowAnimation->setEndValue(0.0f); - glowAnimation->setKeyValueAt(0.5, 1.0f); - glowAnimation->setDuration(3000); - glowAnimation->setLoopCount(-1); - glowAnimation->start(); -} - -SolarSystemView::~SolarSystemView() -{ - delete spaceScene; - delete sunEffect; -} - -void SolarSystemView::initializeGL(QGLPainter *painter) -{ - Q_UNUSED(painter); - //nothing for now -} - - -void SolarSystemView::paintGL(QGLPainter *painter) -{ - sunRotation->setAngle(-m_angle1); - planetRotation->setAngle(m_angle2); - systemRotation->setAngle(m_angle3); - // Set the effect active to make sure that the program is created - // and bound so that we can update our uniform - sunEffect->setActive(painter,true); - sunEffect->program()->setUniformValue("glowFactor", m_glowFactor); - spaceScene->draw(painter); -} - -QGLSceneNode *SolarSystemView::createScene() -{ - QGLBuilder builder; - QGLSceneNode *root = builder.sceneNode(); - QUrl url; - - //set up our materials palette - this describes all - //of the materials we will use for this scene. - - //solar surface - QGLMaterial *mat1 = new QGLMaterial; - url.setPath(QLatin1String(":/solar.jpg")); - url.setScheme(QLatin1String("file")); - mat1->setTextureUrl(url,0); - url.setPath(QLatin1String(":/solar2.jpg")); - url.setScheme(QLatin1String("file")); - mat1->setTextureUrl(url, 1); - //mat1->setEmittedLight(Qt::white); - int sunMat = root->palette()->addMaterial(mat1); - - //planetary surface - QGLMaterial *mat2 = new QGLMaterial; - url.setPath(QLatin1String(":/planet.jpg")); - url.setScheme(QLatin1String("file")); - mat2->setTextureUrl(url); - int planetMat = root->palette()->addMaterial(mat2); - - //moon surface - QGLMaterial *mat3 = new QGLMaterial; - url.setPath(QLatin1String(":/moon-texture.jpg")); - url.setScheme(QLatin1String("file")); - mat3->setTextureUrl(url); - int moonMat = root->palette()->addMaterial(mat3); - - //Set the rotation of the solar-system - systemRotation = new QGraphicsRotation3D(); - systemRotation->setAxis(QVector3D(0,1,0)); - root->addTransform(systemRotation); - - // create the sun for our solar system - builder.pushNode()->setObjectName(QLatin1String("Solar")); - builder<<QGLSphere(1.5); - builder.currentNode()->setMaterialIndex(sunMat); - sunEffect = new QGLShaderProgramEffect(); - sunEffect->setVertexShaderFromFile(":/solar.vsh"); - sunEffect->setFragmentShaderFromFile(":/solar.fsh"); -// builder.currentNode()->setEffect(QGL::LitModulateTexture2D); - builder.currentNode()->setUserEffect(sunEffect); - - //create and add rotations for axial tilt and rotation - sunRotation = new QGraphicsRotation3D(); - QGraphicsRotation3D *axialTilt1 = new QGraphicsRotation3D(); - axialTilt1->setAngle(90.0f); - axialTilt1->setAxis(QVector3D(1,0,0)); - builder.currentNode()->addTransform(sunRotation); - builder.currentNode()->addTransform(axialTilt1); - - // create the planet - builder.newNode()->setObjectName(QLatin1String("Planet")); - builder<<QGLSphere(0.4); - builder.currentNode()->setMaterialIndex(planetMat); - builder.currentNode()->setEffect(QGL::LitModulateTexture2D); - - //position our planet - positioning occurs only AFTER transformations - //have taken place. - builder.currentNode()->setPosition(QVector3D(4.5,0,0)); - - //create and add rotations for axial tilt and rotation - planetRotation = new QGraphicsRotation3D(); - QGraphicsRotation3D *axialTilt2 = new QGraphicsRotation3D(); - axialTilt2->setAngle(75.0f); - axialTilt2->setAxis(QVector3D(1,0,0)); - - builder.currentNode()->addTransform(planetRotation); - builder.currentNode()->addTransform(axialTilt2); - - //create the moon - builder.pushNode()->setObjectName("Moon"); - builder<<QGLSphere(0.1); - builder.currentNode()->setMaterialIndex(moonMat); - builder.currentNode()->setEffect(QGL::LitModulateTexture2D); - - //as our moon is tidally locked to the planet (ie. they - //always face the same side to one another), we are just - //correcting the axial tilt of the moon here. - QGraphicsRotation3D *axialTilt3 = new QGraphicsRotation3D(); - axialTilt3->setAngle(90.0f); - axialTilt3->setAxis(QVector3D(1,0,0)); - builder.currentNode()->addTransform(axialTilt3); - - //The position is set relative to the parent node... - builder.currentNode()->setPosition(QVector3D(0.7,0,0)); - - - - - - //completed building, so finalise - return builder.finalizedSceneNode(); -} diff --git a/examples/qt3d/solarsystem/solarsystem.desktop b/examples/qt3d/solarsystem/solarsystem.desktop deleted file mode 100644 index 3d16c486..00000000 --- a/examples/qt3d/solarsystem/solarsystem.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/solarsystem/solarsystem.h b/examples/qt3d/solarsystem/solarsystem.h deleted file mode 100644 index 9b8bcc1a..00000000 --- a/examples/qt3d/solarsystem/solarsystem.h +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 BUILDER_H -#define BUILDER_H - -#include "qglview.h" -#include "qgraphicsrotation3d.h" - -QT_BEGIN_NAMESPACE -class QGLSceneNode; -class QGLBuilder; -class QGLShaderProgramEffect; -QT_END_NAMESPACE - -class SolarSystemView : public QGLView -{ - Q_OBJECT - Q_PROPERTY(qreal angle1 READ angle1 WRITE setAngle1) - Q_PROPERTY(qreal angle2 READ angle2 WRITE setAngle2) - Q_PROPERTY(qreal angle3 READ angle3 WRITE setAngle3) - Q_PROPERTY(qreal glowFactor READ glowFactor WRITE setGlowFactor) -public: - SolarSystemView(QWidget *parent = 0); - ~SolarSystemView(); - - qreal angle1() const { return m_angle1; } - void setAngle1(qreal angle) { m_angle1 = angle; update(); } - - qreal angle2() const { return m_angle2; } - void setAngle2(qreal angle) { m_angle2 = angle; update(); } - - qreal angle3() const { return m_angle3; } - void setAngle3(qreal angle) { m_angle3 = angle; update(); } - - qreal glowFactor() const { return m_glowFactor; } - void setGlowFactor(qreal arg) { m_glowFactor = arg; update(); } - -protected: - void initializeGL(QGLPainter *painter); - void paintGL(QGLPainter *painter); - -private: - qreal m_angle1; - qreal m_angle2; - qreal m_angle3; - float m_glowFactor; - QGraphicsRotation3D *sunRotation; - QGraphicsRotation3D *planetRotation; - QGraphicsRotation3D *moonRotation; - QGraphicsRotation3D *systemRotation; - QGLSceneNode *spaceScene; - - QGLShaderProgramEffect* sunEffect; - - QGLSceneNode *createScene(); -}; - -#endif diff --git a/examples/qt3d/solarsystem/solarsystem.pro b/examples/qt3d/solarsystem/solarsystem.pro deleted file mode 100644 index 757d3753..00000000 --- a/examples/qt3d/solarsystem/solarsystem.pro +++ /dev/null @@ -1,29 +0,0 @@ -TEMPLATE = app -TARGET = solarsystem -CONFIG += qt warn_on - -CONFIG += qt3d_deploy_pkg -include(../../../pkg.pri) - -SOURCES = solarsystem.cpp \ - main.cpp -HEADERS = solarsystem.h -RESOURCES += solarsystem.qrc -DEPENDPATH += resources - -OTHER_FILES += \ - resources/moon-texture.jpg \ - resources/planet.jpg \ - resources/solar.jpg \ - resources/solar.fsh \ - resources/solar.vsh - -OTHER_FILES += \ - solarsystem.rc \ - solarsystem.desktop - -RC_FILE = solarsystem.rc - -symbian { - TARGET.EPOCHEAPSIZE = 0x40000 0x4000000 -} diff --git a/examples/qt3d/solarsystem/solarsystem.qrc b/examples/qt3d/solarsystem/solarsystem.qrc deleted file mode 100644 index 8a90a5eb..00000000 --- a/examples/qt3d/solarsystem/solarsystem.qrc +++ /dev/null @@ -1,10 +0,0 @@ -<RCC> - <qresource prefix="/"> - <file alias="moon-texture.jpg">resources/moon-texture.jpg</file> - <file alias="planet.jpg">resources/planet.jpg</file> - <file alias="solar.fsh">resources/solar.fsh</file> - <file alias="solar.jpg">resources/solar.jpg</file> - <file alias="solar.vsh">resources/solar.vsh</file> - <file alias="solar2.jpg">resources/solar2.jpg</file> - </qresource> -</RCC> diff --git a/examples/qt3d/solarsystem/solarsystem.rc b/examples/qt3d/solarsystem/solarsystem.rc deleted file mode 100644 index b40ecdc1..00000000 --- a/examples/qt3d/solarsystem/solarsystem.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qt3d.ico" diff --git a/examples/qt3d/tank/main.cpp b/examples/qt3d/tank/main.cpp deleted file mode 100644 index 14e1ef43..00000000 --- a/examples/qt3d/tank/main.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 <QtGui/QApplication> - -#include <time.h> - -#include "tankview.h" - -int main(int argc, char *argv[]) -{ - qsrand(time(0)); - - QApplication a(argc, argv); - TankView 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 a.exec(); -} diff --git a/examples/qt3d/tank/qt3d.ico b/examples/qt3d/tank/qt3d.ico Binary files differdeleted file mode 100644 index e6442baf..00000000 --- a/examples/qt3d/tank/qt3d.ico +++ /dev/null diff --git a/examples/qt3d/tank/qt3d.png b/examples/qt3d/tank/qt3d.png Binary files differdeleted file mode 100644 index 21ec0176..00000000 --- a/examples/qt3d/tank/qt3d.png +++ /dev/null diff --git a/examples/qt3d/tank/quadplane.cpp b/examples/qt3d/tank/quadplane.cpp deleted file mode 100644 index fb3cf16b..00000000 --- a/examples/qt3d/tank/quadplane.cpp +++ /dev/null @@ -1,107 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "quadplane.h" -#include "qgraphicsrotation3d.h" - -QGLMaterial *qCreateFloor() -{ - quint32 sz = 512; - QImage image(QSize(sz, sz), QImage::Format_ARGB32); - QRgb col = qRgba(196, 196, 200, 255); - image.fill(col); - QPainter painter(&image); - QPen pen = painter.pen(); - pen.setColor(QColor(col).darker()); - pen.setWidth(2); - painter.setPen(pen); - for (quint32 i = 0; i < sz; i += (sz / 8)) - { - painter.drawLine(0, i, sz-1, i); - painter.drawLine(i, 0, i, sz-1); - } - painter.end(); - QGLMaterial *mat = new QGLMaterial; - QGLTexture2D *tex = new QGLTexture2D(mat); - tex->setImage(image); - mat->setTexture(tex); - return mat; -} - -QuadPlane::QuadPlane(QObject *parent, QSizeF size, int level) - : QGLSceneNode(parent) -{ - setObjectName("QuadPlane"); - if (level > 8) - level = 8; - if (level < 1) - level = 1; - int divisions = 1; - for ( ; level--; divisions *= 2) {} // integer 2**n - QSizeF div = size / float(divisions); - QSizeF half = size / 2.0f; - QGLBuilder builder; - QGeometryData zip; - QGeometryData zip2; - for (int yy = 0; yy <= divisions; ++yy) - { - qreal y = half.height() - float(yy) * div.height(); - qreal texY = float(yy) / divisions; - for (int xx = 0; xx <= divisions; ++xx) - { - qreal x = half.width() - float(xx) * div.width(); - qreal texX = float(xx) / divisions; - zip.appendVertex(QVector3D(x, y, 0)); - zip.appendTexCoord(QVector2D(1.0f - texX, 1.0f - texY)); - } - if (yy > 0) - builder.addQuadsInterleaved(zip, zip2); - zip2 = zip; - zip2.detach(); - zip.clear(); - } - QGLSceneNode *n = builder.finalizedSceneNode(); - addNode(n); - n->setMaterial(qCreateFloor()); - QGraphicsRotation3D *rot = new QGraphicsRotation3D(n); - rot->setAxis(QVector3D(1, 0, 0)); - rot->setAngle(90.0f); - n->addTransform(rot); -} diff --git a/examples/qt3d/tank/quadplane.h b/examples/qt3d/tank/quadplane.h deleted file mode 100644 index 2ffc1963..00000000 --- a/examples/qt3d/tank/quadplane.h +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 QUADPLANE_H -#define QUADPLANE_H - -#include "qglbuilder.h" - -#include <QSizeF> - -class QuadPlane : public QGLSceneNode -{ -public: - QuadPlane(QObject *parent = 0, - QSizeF size = QSizeF(100.0f, 100.0f), int level = 3); -}; - -#endif // QUADPLANE_H diff --git a/examples/qt3d/tank/tank.cpp b/examples/qt3d/tank/tank.cpp deleted file mode 100644 index fe4fa8e8..00000000 --- a/examples/qt3d/tank/tank.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "tank.h" - -#include <QSequentialAnimationGroup> -#include <QPropertyAnimation> -#include <QImage> -#include <QPainter> -#include <QSize> - -#ifndef QT_NO_DEBUG -#include <QThread> -#include <QCoreApplication> -#endif - -#include "qglbuilder.h" -#include "qglcylinder.h" -#include "qglmaterial.h" -#include "qgltexture2d.h" -#include "qgraphicsscale3d.h" -#include "qgraphicsrotation3d.h" - -static inline int rval() -{ - // return an int 64 <--> 192 inclusive - return (qreal(qrand()) / qreal(RAND_MAX)) * 128 + 64; -} - -static QGLMaterial *qCreateFluid() -{ - QImage image(QSize(128,128), QImage::Format_ARGB32); - QRgb col = qRgba(rval(), rval(), rval(), 196); - image.fill(col); - QPainter painter(&image); - QLinearGradient linearGrad(QPointF(56, 56), QPointF(72, 72)); - linearGrad.setColorAt(0, col); - linearGrad.setColorAt(1, QColor(col).lighter()); - linearGrad.setSpread(QGradient::ReflectSpread); - painter.fillRect(image.rect(), linearGrad); - painter.end(); - QGLMaterial *mat = new QGLMaterial; - QColor white(Qt::white); - white.setAlpha(128); - mat->setAmbientColor(white); - mat->setDiffuseColor(white); - QGLTexture2D *tex = new QGLTexture2D(mat); - tex->setImage(image); - mat->setTexture(tex); - return mat; -} - -Tank::Tank(QObject *parent) : - QGLSceneNode(parent) -{ - QSequentialAnimationGroup *seq = new QSequentialAnimationGroup(this); - QGraphicsScale3D *scale = new QGraphicsScale3D(this); - addTransform(scale); - QPropertyAnimation *anim = new QPropertyAnimation(scale, "scale"); - anim->setDuration(10000); - anim->setStartValue(QVector3D(1.0f, 0.1f, 1.0f)); - anim->setEndValue(QVector3D(1.0f, 1.2f, 1.0f)); - anim->setEasingCurve(QEasingCurve(QEasingCurve::InOutQuad)); - seq->addAnimation(anim); - seq->addPause(2000); - anim = new QPropertyAnimation(scale, "scale"); - anim->setDuration(10000); - anim->setStartValue(QVector3D(1.0f, 1.2f, 1.0f)); - anim->setEndValue(QVector3D(1.0f, 0.1f, 1.0f)); - anim->setEasingCurve(QEasingCurve(QEasingCurve::InOutQuad)); - seq->addAnimation(anim); - seq->setLoopCount(-1); - seq->start(); - - addNode(tankObject()); - setMaterial(qCreateFluid()); -} - -QGLSceneNode *Tank::tankObject() -{ -#ifndef QT_NO_DEBUG - // NOT THREADSAFE, NOT RE-ENTRANT - Q_ASSERT(QThread::currentThread() == qApp->thread()); -#endif - static QGLSceneNode *theTank = 0; - if (!theTank) - { - QGLBuilder build; - build << QGLCylinder(1.0f, 1.0f, 1.0f, 32); - theTank = build.finalizedSceneNode(); - theTank->setObjectName("Tank Component"); - QGraphicsRotation3D *rot = new QGraphicsRotation3D(theTank); - rot->setAxis(QVector3D(1, 0, 0)); - rot->setAngle(-90.0f); - theTank->addTransform(rot); - theTank->setY(-theTank->boundingBox().minimum().y()); - } - return theTank; -} diff --git a/examples/qt3d/tank/tank.desktop b/examples/qt3d/tank/tank.desktop deleted file mode 100644 index 17ebe2c6..00000000 --- a/examples/qt3d/tank/tank.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Tank -Icon=/usr/share/icons/hicolor/80x80/apps/qt3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/invoker --type=d -s /usr/bin/tank -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_tank diff --git a/examples/qt3d/tank/tank.h b/examples/qt3d/tank/tank.h deleted file mode 100644 index 89449640..00000000 --- a/examples/qt3d/tank/tank.h +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 TANK_H -#define TANK_H - -#include "qglscenenode.h" - -class Tank : public QGLSceneNode -{ - Q_OBJECT -public: - explicit Tank(QObject *parent = 0); - -signals: - -public slots: -private: - static QGLSceneNode *tankObject(); -}; - -#endif // TANK_H diff --git a/examples/qt3d/tank/tank.pro b/examples/qt3d/tank/tank.pro deleted file mode 100644 index fa622cdf..00000000 --- a/examples/qt3d/tank/tank.pro +++ /dev/null @@ -1,21 +0,0 @@ -TARGET = tank -TEMPLATE = app -CONFIG += qt warn_on - -CONFIG += qt3d_deploy_pkg -include(../../../pkg.pri) - -SOURCES += main.cpp\ - tankview.cpp \ - tank.cpp \ - quadplane.cpp - -HEADERS += tankview.h \ - tank.h \ - quadplane.h - -OTHER_FILES += \ - tank.rc \ - tank.desktop - -RC_FILE = tank.rc diff --git a/examples/qt3d/tank/tank.rc b/examples/qt3d/tank/tank.rc deleted file mode 100644 index b40ecdc1..00000000 --- a/examples/qt3d/tank/tank.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qt3d.ico" diff --git a/examples/qt3d/tank/tankview.cpp b/examples/qt3d/tank/tankview.cpp deleted file mode 100644 index 1c2e706d..00000000 --- a/examples/qt3d/tank/tankview.cpp +++ /dev/null @@ -1,114 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "tankview.h" -#include "tank.h" -#include "quadplane.h" - -#include "qglscenenode.h" -#include "qray3d.h" -#include "qplane3d.h" - -#include <QMouseEvent> - -TankView::TankView(QWidget *parent) - : QGLView(parent) - , m_tankScene(new QGLSceneNode) - , m_count(0) -{ - m_tankScene->setParent(this); - m_tankScene->setPalette(new QGLMaterialCollection(this)); - m_tankScene->setEffect(QGL::LitDecalTexture2D); - m_tankScene->addNode(new QuadPlane(0, QSizeF(25, 25))); - Tank *tank = addTank(); - connect(tank, SIGNAL(updated()), this, SLOT(update())); - - setToolTip(tr("Double-click to add more tanks")); - setWindowTitle(tr("Double-click Me!")); -} - -TankView::~TankView() -{ -} - -Tank *TankView::addTank() -{ - Tank *tank = new Tank(m_tankScene); - tank->setObjectName(QString(QLatin1String("Tank %1")).arg(m_count)); - ++m_count; - connect(tank, SIGNAL(updated()), this, SLOT(update())); - return tank; -} - -void TankView::paintGL(QGLPainter *painter) -{ - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - m_tankScene->draw(painter); -} - -void TankView::initializeGL(QGLPainter *painter) -{ - painter->setClearColor(Qt::gray); - camera()->setEye(camera()->eye() + QVector3D(0.0f, 4.0f, 0.0f)); - glEnable(GL_BLEND); -} - -void TankView::mouseDoubleClickEvent(QMouseEvent *e) -{ - Tank *t = addTank(); - QVector3D pick = mapPoint(e->pos()); - - // find the origin of the near plane - QRay3D eyeline(camera()->eye(), (camera()->center() - camera()->eye()).normalized()); - QVector3D nearPlaneOrigin = eyeline.point(camera()->nearPlane()); - - // from the near plane origin move up and across by the pick's XY to find the point - // on the near plane - QRay3D up(nearPlaneOrigin, camera()->upVector()); - QVector3D sideDir = QVector3D::crossProduct(camera()->upVector(), -eyeline.direction()); - QRay3D side(up.point(pick.y()), sideDir.normalized()); - QVector3D v = side.point(pick.x()); - - // intersect the ray thru the picked point on the near plane with the floor - QRay3D ray(camera()->eye(), v - camera()->eye()); - QPlane3D floorPlane(QVector3D(), QVector3D(0, 1, 0)); - QVector3D pointOnFloor = ray.point(floorPlane.intersection(ray)); - t->setPosition(pointOnFloor); -} diff --git a/examples/qt3d/tank/tankview.h b/examples/qt3d/tank/tankview.h deleted file mode 100644 index 74f26438..00000000 --- a/examples/qt3d/tank/tankview.h +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 TANKVIEW_H -#define TANKVIEW_H - -#include "qglview.h" - -QT_BEGIN_NAMESPACE -class QGLSceneNode; -QT_END_NAMESPACE - -class Tank; - -class TankView : public QGLView -{ -public: - TankView(QWidget *parent = 0); - ~TankView(); -protected: - void initializeGL(QGLPainter *painter); - void paintGL(QGLPainter *painter); - void mouseDoubleClickEvent(QMouseEvent *e); -private: - Tank *addTank(); - - QGLSceneNode *m_tankScene; - int m_count; -}; - - - -#endif // TANKVIEW_H diff --git a/examples/qt3d/teapot/main.cpp b/examples/qt3d/teapot/main.cpp deleted file mode 100644 index 8bf02f47..00000000 --- a/examples/qt3d/teapot/main.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "teapotview.h" - -//! [main] -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - TeapotView view; -//! [main-args] - -#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 - -//! [main-args-end] - return app.exec(); -} -//! [main] diff --git a/examples/qt3d/teapot/qt3d.ico b/examples/qt3d/teapot/qt3d.ico Binary files differdeleted file mode 100644 index e6442baf..00000000 --- a/examples/qt3d/teapot/qt3d.ico +++ /dev/null diff --git a/examples/qt3d/teapot/qt3d.png b/examples/qt3d/teapot/qt3d.png Binary files differdeleted file mode 100644 index 21ec0176..00000000 --- a/examples/qt3d/teapot/qt3d.png +++ /dev/null diff --git a/examples/qt3d/teapot/teapot.desktop b/examples/qt3d/teapot/teapot.desktop deleted file mode 100644 index b28a3dac..00000000 --- a/examples/qt3d/teapot/teapot.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=teapot Qt3D -Icon=/usr/share/icons/hicolor/80x80/apps/qt3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/teapot -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_teapot diff --git a/examples/qt3d/teapot/teapot.pro b/examples/qt3d/teapot/teapot.pro deleted file mode 100644 index 907db547..00000000 --- a/examples/qt3d/teapot/teapot.pro +++ /dev/null @@ -1,15 +0,0 @@ -TEMPLATE = app -TARGET = teapot -CONFIG += qt warn_on - -CONFIG += qt3d_deploy_pkg -include(../../../pkg.pri) - -SOURCES = teapotview.cpp main.cpp -HEADERS = teapotview.h - -OTHER_FILES += \ - teapot.rc \ - teapot.desktop - -RC_FILE = teapot.rc diff --git a/examples/qt3d/teapot/teapot.rc b/examples/qt3d/teapot/teapot.rc deleted file mode 100644 index b40ecdc1..00000000 --- a/examples/qt3d/teapot/teapot.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qt3d.ico" diff --git a/examples/qt3d/teapot/teapotview.cpp b/examples/qt3d/teapot/teapotview.cpp deleted file mode 100644 index 2c58e19a..00000000 --- a/examples/qt3d/teapot/teapotview.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 "teapotview.h" -#include "qglbuilder.h" -#include "qglscenenode.h" - -//! [initialize] -void TeapotView::initializeGL(QGLPainter *painter) -{ - painter->setStandardEffect(QGL::LitMaterial); -//! [build-geometry] - QGLBuilder builder; - builder << QGLTeapot(); - teapot = builder.finalizedSceneNode(); -} -//! [initialize] - -//! [destructor] -TeapotView::~TeapotView() -{ - delete teapot; -} -//! [destructor] - -//! [paint] -void TeapotView::paintGL(QGLPainter *painter) -{ - teapot->draw(painter); -} -//! [paint] diff --git a/examples/qt3d/teapot/teapotview.h b/examples/qt3d/teapot/teapotview.h deleted file mode 100644 index f0dd0428..00000000 --- a/examples/qt3d/teapot/teapotview.h +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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 TEAPOTVIEW_H -#define TEAPOTVIEW_H - -//! [class-defn] -#include "qglview.h" -#include "qglteapot.h" - -QT_BEGIN_NAMESPACE -class QGLSceneNode; -QT_END_NAMESPACE - -class TeapotView : public QGLView -{ - Q_OBJECT -public: - TeapotView(QWidget *parent = 0) : QGLView(parent), teapot(0) {} - ~TeapotView(); - -protected: - void initializeGL(QGLPainter *painter); - void paintGL(QGLPainter *painter); - -private: - QGLSceneNode *teapot; -}; -//! [class-defn] - -#endif diff --git a/examples/quick3d/animations/animations.pro b/examples/quick3d/animations/animations.pro deleted file mode 100644 index fe6aa634..00000000 --- a/examples/quick3d/animations/animations.pro +++ /dev/null @@ -1,19 +0,0 @@ -TEMPLATE = app -TARGET = animations_qml -CONFIG += qt warn_on - -CONFIG += qt3dquick_deploy_pkg -include(../../../pkg.pri) - -SOURCES += main.cpp - -OTHER_FILES += \ - animations_qml.rc \ - animations_qml.desktop \ - qml/animations.qml - -RC_FILE = animations_qml.rc - -RESOURCES += \ - animations.qrc - diff --git a/examples/quick3d/animations/animations.qrc b/examples/quick3d/animations/animations.qrc deleted file mode 100644 index 0336aaa9..00000000 --- a/examples/quick3d/animations/animations.qrc +++ /dev/null @@ -1,7 +0,0 @@ -<RCC> - <qresource prefix="/"> - <file>qml/cube_rotated.dae</file> - <file>qml/animations.qml</file> - <file>qml/stonewal.jpg</file> - </qresource> -</RCC> diff --git a/examples/quick3d/animations/animations_qml.desktop b/examples/quick3d/animations/animations_qml.desktop deleted file mode 100644 index b300b920..00000000 --- a/examples/quick3d/animations/animations_qml.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Animations -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/animations_qml -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_animations_qml diff --git a/examples/quick3d/animations/animations_qml.rc b/examples/quick3d/animations/animations_qml.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/animations/animations_qml.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/animations/main.cpp b/examples/quick3d/animations/main.cpp deleted file mode 100644 index 4fed90fa..00000000 --- a/examples/quick3d/animations/main.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QDeclarativeView3D view; - - view.setSource(QUrl(QLatin1String("qrc:///qml/animations.qml"))); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showMaximized(); -#else - 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/quick3d/animations/qml/animations.qml b/examples/quick3d/animations/qml/animations.qml deleted file mode 100644 index 6f4b8846..00000000 --- a/examples/quick3d/animations/qml/animations.qml +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -//! [1] -import QtQuick 1.0 -import Qt3D 1.0 - -Viewport { - width: 640; height: 480 - - camera: Camera { - eye: Qt.vector3d(0, 80, 200) - } - - Item3D { - mesh: Mesh { source: ":/qml/cube_rotated.dae" } - effect: Effect { texture: ":/qml/stonewal.jpg" } - } -} -//! [3] diff --git a/examples/quick3d/animations/qml/cube_rotated.dae b/examples/quick3d/animations/qml/cube_rotated.dae deleted file mode 100755 index 0bb2f031..00000000 --- a/examples/quick3d/animations/qml/cube_rotated.dae +++ /dev/null @@ -1,561 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.0"> - <asset> - <contributor> - <author></author> - <authoring_tool>FBX COLLADA exporter</authoring_tool> - <comments></comments> - </contributor> - <created>2012-01-09T10:08:02Z</created> - <modified>2012-01-09T10:08:02Z</modified> - <revision></revision> - <title></title> - <subject></subject> - <keywords></keywords> - <unit meter="0.025400"/> - <up_axis>Y_UP</up_axis> - </asset> - <library_images> - <image id="Map__2-image" name="Map__2"> - <init_from>file://stonewal.png</init_from> - </image> - <image id="Map__1-image" name="Map__1"> - <init_from>file://waves.bmp</init_from> - </image> - </library_images> - <library_materials> - <material id="_02___Default" name="_02___Default"> - <instance_effect url="#_02___Default-fx"/> - </material> - <material id="_01___Default" name="_01___Default"> - <instance_effect url="#_01___Default-fx"/> - </material> - </library_materials> - <library_effects> - <effect id="_02___Default-fx" name="_02___Default"> - <profile_COMMON> - <technique sid="standard"> - <phong> - <emission> - <color sid="emission">0.000000 0.000000 0.000000 1.000000</color> - </emission> - <ambient> - <color sid="ambient">0.588235 0.588235 0.588235 1.000000</color> - </ambient> - <diffuse> - <texture texture="Map__2-image" texcoord="CHANNEL0"> - <extra> - <technique profile="MAYA"> - <wrapU sid="wrapU0">TRUE</wrapU> - <wrapV sid="wrapV0">TRUE</wrapV> - <blend_mode>ADD</blend_mode> - </technique> - </extra> - </texture> - </diffuse> - <specular> - <color sid="specular">0.000000 0.000000 0.000000 1.000000</color> - </specular> - <shininess> - <float sid="shininess">2.000000</float> - </shininess> - <reflective> - <color sid="reflective">0.000000 0.000000 0.000000 1.000000</color> - </reflective> - <reflectivity> - <float sid="reflectivity">1.000000</float> - </reflectivity> - <transparent> - <color sid="transparent">1.000000 1.000000 1.000000 1.000000</color> - </transparent> - <transparency> - <float sid="transparency">0.000000</float> - </transparency> - </phong> - </technique> - </profile_COMMON> - </effect> - <effect id="_01___Default-fx" name="_01___Default"> - <profile_COMMON> - <technique sid="standard"> - <phong> - <emission> - <color sid="emission">0.000000 0.000000 0.000000 1.000000</color> - </emission> - <ambient> - <color sid="ambient">0.588235 0.588235 0.588235 1.000000</color> - </ambient> - <diffuse> - <texture texture="Map__1-image" texcoord="CHANNEL0"> - <extra> - <technique profile="MAYA"> - <wrapU sid="wrapU0">TRUE</wrapU> - <wrapV sid="wrapV0">TRUE</wrapV> - <blend_mode>ADD</blend_mode> - </technique> - </extra> - </texture> - </diffuse> - <specular> - <color sid="specular">0.000000 0.000000 0.000000 1.000000</color> - </specular> - <shininess> - <float sid="shininess">2.000000</float> - </shininess> - <reflective> - <color sid="reflective">0.000000 0.000000 0.000000 1.000000</color> - </reflective> - <reflectivity> - <float sid="reflectivity">1.000000</float> - </reflectivity> - <transparent> - <color sid="transparent">1.000000 1.000000 1.000000 1.000000</color> - </transparent> - <transparency> - <float sid="transparency">0.000000</float> - </transparency> - </phong> - </technique> - </profile_COMMON> - </effect> - </library_effects> - <library_geometries> - <geometry id="Box01-lib" name="Box01Mesh"> - <mesh> - <source id="Box01-lib-Position"> - <float_array id="Box01-lib-Position-array" count="24"> --50.000000 -50.000000 0.000000 -50.000000 -50.000000 0.000000 --50.000000 50.000000 0.000000 -50.000000 50.000000 0.000000 --50.000000 -50.000000 1.000000 -50.000000 -50.000000 1.000000 --50.000000 50.000000 1.000000 -50.000000 50.000000 1.000000 -</float_array> - <technique_common> - <accessor source="#Box01-lib-Position-array" count="8" stride="3"> - <param name="X" type="float"/> - <param name="Y" type="float"/> - <param name="Z" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box01-lib-Normal0"> - <float_array id="Box01-lib-Normal0-array" count="108"> -0.000000 0.000000 -1.000000 -0.000000 0.000000 -1.000000 -0.000000 0.000000 -1.000000 -0.000000 0.000000 -1.000000 -0.000000 0.000000 -1.000000 -0.000000 0.000000 -1.000000 -0.000000 0.000000 1.000000 -0.000000 0.000000 1.000000 -0.000000 0.000000 1.000000 -0.000000 0.000000 1.000000 -0.000000 0.000000 1.000000 -0.000000 0.000000 1.000000 -0.000000 -1.000000 0.000000 -0.000000 -1.000000 0.000000 -0.000000 -1.000000 0.000000 -0.000000 -1.000000 0.000000 -0.000000 -1.000000 0.000000 -0.000000 -1.000000 0.000000 -1.000000 0.000000 0.000000 -1.000000 0.000000 0.000000 -1.000000 0.000000 0.000000 -1.000000 0.000000 0.000000 -1.000000 0.000000 0.000000 -1.000000 0.000000 0.000000 -0.000000 1.000000 0.000000 -0.000000 1.000000 0.000000 -0.000000 1.000000 0.000000 -0.000000 1.000000 0.000000 -0.000000 1.000000 0.000000 -0.000000 1.000000 0.000000 --1.000000 0.000000 0.000000 --1.000000 0.000000 0.000000 --1.000000 0.000000 0.000000 --1.000000 0.000000 0.000000 --1.000000 0.000000 0.000000 --1.000000 0.000000 0.000000 -</float_array> - <technique_common> - <accessor source="#Box01-lib-Normal0-array" count="36" stride="3"> - <param name="X" type="float"/> - <param name="Y" type="float"/> - <param name="Z" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box01-lib-UV0"> - <float_array id="Box01-lib-UV0-array" count="24"> -0.000000 0.000000 -1.000000 0.000000 -0.000000 1.000000 -1.000000 1.000000 -0.000000 0.000000 -1.000000 0.000000 -0.000000 1.000000 -1.000000 1.000000 -0.000000 0.000000 -1.000000 0.000000 -0.000000 1.000000 -1.000000 1.000000 -</float_array> - <technique_common> - <accessor source="#Box01-lib-UV0-array" count="12" stride="2"> - <param name="S" type="float"/> - <param name="T" type="float"/> - </accessor> - </technique_common> - </source> - <vertices id="Box01-lib-Vertex"> - <input semantic="POSITION" source="#Box01-lib-Position"/> - </vertices> - <polygons material="_02___Default" count="12"> - <input semantic="VERTEX" offset="0" source="#Box01-lib-Vertex"/> - <input semantic="NORMAL" offset="1" source="#Box01-lib-Normal0"/> - <input semantic="TEXCOORD" offset="2" set="0" source="#Box01-lib-UV0"/> - <p>0 0 9 2 1 11 3 2 10</p> - <p>3 3 10 1 4 8 0 5 9</p> - <p>4 6 8 5 7 9 7 8 11</p> - <p>7 9 11 6 10 10 4 11 8</p> - <p>0 12 4 1 13 5 5 14 7</p> - <p>5 15 7 4 16 6 0 17 4</p> - <p>1 18 0 3 19 1 7 20 3</p> - <p>7 21 3 5 22 2 1 23 0</p> - <p>3 24 4 2 25 5 6 26 7</p> - <p>6 27 7 7 28 6 3 29 4</p> - <p>2 30 0 0 31 1 4 32 3</p> - <p>4 33 3 6 34 2 2 35 0</p> - </polygons> - </mesh> - </geometry> - <geometry id="Box02-lib" name="Box02Mesh"> - <mesh> - <source id="Box02-lib-Position"> - <float_array id="Box02-lib-Position-array" count="24"> --20.000000 -20.000000 0.000000 -20.000000 -20.000000 0.000000 --20.000000 20.000000 0.000000 -20.000000 20.000000 0.000000 --20.000000 -20.000000 20.000000 -20.000000 -20.000000 20.000000 --20.000000 20.000000 20.000000 -20.000000 20.000000 20.000000 -</float_array> - <technique_common> - <accessor source="#Box02-lib-Position-array" count="8" stride="3"> - <param name="X" type="float"/> - <param name="Y" type="float"/> - <param name="Z" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-lib-Normal0"> - <float_array id="Box02-lib-Normal0-array" count="108"> -0.000000 0.000000 -1.000000 -0.000000 0.000000 -1.000000 -0.000000 0.000000 -1.000000 -0.000000 0.000000 -1.000000 -0.000000 0.000000 -1.000000 -0.000000 0.000000 -1.000000 -0.000000 0.000000 1.000000 -0.000000 0.000000 1.000000 -0.000000 0.000000 1.000000 -0.000000 0.000000 1.000000 -0.000000 0.000000 1.000000 -0.000000 0.000000 1.000000 -0.000000 -1.000000 0.000000 -0.000000 -1.000000 0.000000 -0.000000 -1.000000 0.000000 -0.000000 -1.000000 0.000000 -0.000000 -1.000000 0.000000 -0.000000 -1.000000 0.000000 -1.000000 0.000000 0.000000 -1.000000 0.000000 0.000000 -1.000000 0.000000 0.000000 -1.000000 0.000000 0.000000 -1.000000 0.000000 0.000000 -1.000000 0.000000 0.000000 -0.000000 1.000000 0.000000 -0.000000 1.000000 0.000000 -0.000000 1.000000 0.000000 -0.000000 1.000000 0.000000 -0.000000 1.000000 0.000000 -0.000000 1.000000 0.000000 --1.000000 0.000000 0.000000 --1.000000 0.000000 0.000000 --1.000000 0.000000 0.000000 --1.000000 0.000000 0.000000 --1.000000 0.000000 0.000000 --1.000000 0.000000 0.000000 -</float_array> - <technique_common> - <accessor source="#Box02-lib-Normal0-array" count="36" stride="3"> - <param name="X" type="float"/> - <param name="Y" type="float"/> - <param name="Z" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-lib-UV0"> - <float_array id="Box02-lib-UV0-array" count="24"> -0.000000 0.000000 -1.000000 0.000000 -0.000000 1.000000 -1.000000 1.000000 -0.000000 0.000000 -1.000000 0.000000 -0.000000 1.000000 -1.000000 1.000000 -0.000000 0.000000 -1.000000 0.000000 -0.000000 1.000000 -1.000000 1.000000 -</float_array> - <technique_common> - <accessor source="#Box02-lib-UV0-array" count="12" stride="2"> - <param name="S" type="float"/> - <param name="T" type="float"/> - </accessor> - </technique_common> - </source> - <vertices id="Box02-lib-Vertex"> - <input semantic="POSITION" source="#Box02-lib-Position"/> - </vertices> - <polygons material="_01___Default" count="12"> - <input semantic="VERTEX" offset="0" source="#Box02-lib-Vertex"/> - <input semantic="NORMAL" offset="1" source="#Box02-lib-Normal0"/> - <input semantic="TEXCOORD" offset="2" set="0" source="#Box02-lib-UV0"/> - <p>0 0 9 2 1 11 3 2 10</p> - <p>3 3 10 1 4 8 0 5 9</p> - <p>4 6 8 5 7 9 7 8 11</p> - <p>7 9 11 6 10 10 4 11 8</p> - <p>0 12 4 1 13 5 5 14 7</p> - <p>5 15 7 4 16 6 0 17 4</p> - <p>1 18 0 3 19 1 7 20 3</p> - <p>7 21 3 5 22 2 1 23 0</p> - <p>3 24 4 2 25 5 6 26 7</p> - <p>6 27 7 7 28 6 3 29 4</p> - <p>2 30 0 0 31 1 4 32 3</p> - <p>4 33 3 6 34 2 2 35 0</p> - </polygons> - </mesh> - </geometry> - </library_geometries> - <library_animations> - <animation id="Box02-anim" name="Box02"> - <animation> - <source id="Box02-rotateX-animation-inputANGLE"> - <float_array id="Box02-rotateX-animation-inputANGLE-array" count="2"> - -0.000000 0.800000</float_array> - <technique_common> - <accessor source="#Box02-rotateX-animation-inputANGLE-array" count="2"> - <param name="TIME" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateX-animation-outputANGLE"> - <float_array id="Box02-rotateX-animation-outputANGLE-array" count="2"> - -0.000000 0.000000</float_array> - <technique_common> - <accessor source="#Box02-rotateX-animation-outputANGLE-array" count="2"> - <param name="ANGLE" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateX-animation-intanANGLE"> - <float_array id="Box02-rotateX-animation-intanANGLE-array" count="2"> - -0.000000 -0.000000</float_array> - <technique_common> - <accessor source="#Box02-rotateX-animation-intanANGLE-array" count="2"> - <param name="ANGLE" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateX-animation-outtanANGLE"> - <float_array id="Box02-rotateX-animation-outtanANGLE-array" count="2"> - -0.000000 0.000000</float_array> - <technique_common> - <accessor source="#Box02-rotateX-animation-outtanANGLE-array" count="2"> - <param name="ANGLE" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateX-animation-interpolationANGLE"> - <Name_array id="Box02-rotateX-animation-interpolationANGLE-array" count="2"> - BEZIER BEZIER</Name_array> - <technique_common> - <accessor source="#Box02-rotateX-animation-interpolationANGLE-array" count="2"> - <param type="name"/> - </accessor> - </technique_common> - </source> - <sampler id="Box02-rotateX-animationANGLE"> - <input semantic="INPUT" source="#Box02-rotateX-animation-inputANGLE"/> - <input semantic="OUTPUT" source="#Box02-rotateX-animation-outputANGLE"/> - <input semantic="IN_TANGENT" source="#Box02-rotateX-animation-intanANGLE"/> - <input semantic="OUT_TANGENT" source="#Box02-rotateX-animation-outtanANGLE"/> - <input semantic="INTERPOLATION" source="#Box02-rotateX-animation-interpolationANGLE"/> - </sampler> - <channel source="#Box02-rotateX-animationANGLE" target="Box02/rotateX.ANGLE"/> - </animation> - <animation> - <source id="Box02-rotateY-animation-inputANGLE"> - <float_array id="Box02-rotateY-animation-inputANGLE-array" count="2"> - -0.000000 0.800000</float_array> - <technique_common> - <accessor source="#Box02-rotateY-animation-inputANGLE-array" count="2"> - <param name="TIME" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateY-animation-outputANGLE"> - <float_array id="Box02-rotateY-animation-outputANGLE-array" count="2"> - --0.000000 -0.000000</float_array> - <technique_common> - <accessor source="#Box02-rotateY-animation-outputANGLE-array" count="2"> - <param name="ANGLE" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateY-animation-intanANGLE"> - <float_array id="Box02-rotateY-animation-intanANGLE-array" count="2"> - -0.000000 -0.000000</float_array> - <technique_common> - <accessor source="#Box02-rotateY-animation-intanANGLE-array" count="2"> - <param name="ANGLE" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateY-animation-outtanANGLE"> - <float_array id="Box02-rotateY-animation-outtanANGLE-array" count="2"> - -0.000000 0.000000</float_array> - <technique_common> - <accessor source="#Box02-rotateY-animation-outtanANGLE-array" count="2"> - <param name="ANGLE" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateY-animation-interpolationANGLE"> - <Name_array id="Box02-rotateY-animation-interpolationANGLE-array" count="2"> - BEZIER BEZIER</Name_array> - <technique_common> - <accessor source="#Box02-rotateY-animation-interpolationANGLE-array" count="2"> - <param type="name"/> - </accessor> - </technique_common> - </source> - <sampler id="Box02-rotateY-animationANGLE"> - <input semantic="INPUT" source="#Box02-rotateY-animation-inputANGLE"/> - <input semantic="OUTPUT" source="#Box02-rotateY-animation-outputANGLE"/> - <input semantic="IN_TANGENT" source="#Box02-rotateY-animation-intanANGLE"/> - <input semantic="OUT_TANGENT" source="#Box02-rotateY-animation-outtanANGLE"/> - <input semantic="INTERPOLATION" source="#Box02-rotateY-animation-interpolationANGLE"/> - </sampler> - <channel source="#Box02-rotateY-animationANGLE" target="Box02/rotateY.ANGLE"/> - </animation> - <animation> - <source id="Box02-rotateZ-animation-inputANGLE"> - <float_array id="Box02-rotateZ-animation-inputANGLE-array" count="2"> - -0.000000 0.800000</float_array> - <technique_common> - <accessor source="#Box02-rotateZ-animation-inputANGLE-array" count="2"> - <param name="TIME" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateZ-animation-outputANGLE"> - <float_array id="Box02-rotateZ-animation-outputANGLE-array" count="2"> - -0.000000 90.000008</float_array> - <technique_common> - <accessor source="#Box02-rotateZ-animation-outputANGLE-array" count="2"> - <param name="ANGLE" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateZ-animation-intanANGLE"> - <float_array id="Box02-rotateZ-animation-intanANGLE-array" count="2"> - -0.000000 -0.000000</float_array> - <technique_common> - <accessor source="#Box02-rotateZ-animation-intanANGLE-array" count="2"> - <param name="ANGLE" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateZ-animation-outtanANGLE"> - <float_array id="Box02-rotateZ-animation-outtanANGLE-array" count="2"> - -0.000000 0.000000</float_array> - <technique_common> - <accessor source="#Box02-rotateZ-animation-outtanANGLE-array" count="2"> - <param name="ANGLE" type="float"/> - </accessor> - </technique_common> - </source> - <source id="Box02-rotateZ-animation-interpolationANGLE"> - <Name_array id="Box02-rotateZ-animation-interpolationANGLE-array" count="2"> - BEZIER BEZIER</Name_array> - <technique_common> - <accessor source="#Box02-rotateZ-animation-interpolationANGLE-array" count="2"> - <param type="name"/> - </accessor> - </technique_common> - </source> - <sampler id="Box02-rotateZ-animationANGLE"> - <input semantic="INPUT" source="#Box02-rotateZ-animation-inputANGLE"/> - <input semantic="OUTPUT" source="#Box02-rotateZ-animation-outputANGLE"/> - <input semantic="IN_TANGENT" source="#Box02-rotateZ-animation-intanANGLE"/> - <input semantic="OUT_TANGENT" source="#Box02-rotateZ-animation-outtanANGLE"/> - <input semantic="INTERPOLATION" source="#Box02-rotateZ-animation-interpolationANGLE"/> - </sampler> - <channel source="#Box02-rotateZ-animationANGLE" target="Box02/rotateZ.ANGLE"/> - </animation> - </animation> - </library_animations> - <library_visual_scenes> - <visual_scene id="RootNode" name="RootNode"> - <node id="Box01" name="Box01"> - <rotate sid="jointOrientX">1 0 0 -90.000000</rotate> - <instance_geometry url="#Box01-lib"> - <bind_material> - <technique_common> - <instance_material symbol="_02___Default" target="#_02___Default"/> - </technique_common> - </bind_material> - </instance_geometry> - </node> - <node id="Box02" name="Box02"> - <translate sid="translate">0.000000 5.000000 -0.000000</translate> - <rotate sid="jointOrientX">1 0 0 -90.000000</rotate> - <rotate sid="rotateZ">0 0 1 0.000000</rotate> - <rotate sid="rotateY">0 1 0 0.000000</rotate> - <rotate sid="rotateX">1 0 0 0.000000</rotate> - <instance_geometry url="#Box02-lib"> - <bind_material> - <technique_common> - <instance_material symbol="_01___Default" target="#_01___Default"/> - </technique_common> - </bind_material> - </instance_geometry> - </node> - </visual_scene> - </library_visual_scenes> - <scene> - <instance_visual_scene url="#RootNode"/> - </scene> -</COLLADA> - diff --git a/examples/quick3d/animations/qml/stonewal.jpg b/examples/quick3d/animations/qml/stonewal.jpg Binary files differdeleted file mode 100644 index 226672a2..00000000 --- a/examples/quick3d/animations/qml/stonewal.jpg +++ /dev/null diff --git a/examples/quick3d/animations/qtquick3d.ico b/examples/quick3d/animations/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/animations/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/animations/qtquick3d.png b/examples/quick3d/animations/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/animations/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/basket/basket.pro b/examples/quick3d/basket/basket.pro deleted file mode 100644 index 15db3ed5..00000000 --- a/examples/quick3d/basket/basket.pro +++ /dev/null @@ -1,18 +0,0 @@ -TEMPLATE = app -TARGET = basket_qml -CONFIG += qt warn_on - -CONFIG += qt3dquick_deploy_pkg -include(../../../pkg.pri) - -SOURCES += main.cpp - -OTHER_FILES += \ - basket_qml.rc \ - basket_qml.desktop - -RC_FILE = basket_qml.rc - -RESOURCES += \ - basket.qrc - diff --git a/examples/quick3d/basket/basket.qrc b/examples/quick3d/basket/basket.qrc deleted file mode 100644 index 91e4f129..00000000 --- a/examples/quick3d/basket/basket.qrc +++ /dev/null @@ -1,7 +0,0 @@ -<RCC> - <qresource prefix="/"> - <file>qml/basket.bez</file> - <file>qml/basket.jpg</file> - <file>qml/basket.qml</file> - </qresource> -</RCC> diff --git a/examples/quick3d/basket/basket_qml.desktop b/examples/quick3d/basket/basket_qml.desktop deleted file mode 100644 index 76b06cd6..00000000 --- a/examples/quick3d/basket/basket_qml.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Basket -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/basket_qml -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_basket_qml diff --git a/examples/quick3d/basket/basket_qml.rc b/examples/quick3d/basket/basket_qml.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/basket/basket_qml.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/basket/main.cpp b/examples/quick3d/basket/main.cpp deleted file mode 100644 index 3907160b..00000000 --- a/examples/quick3d/basket/main.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QDeclarativeView3D view; - - view.setSource(QUrl(QLatin1String("qrc:///qml/basket.qml"))); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showMaximized(); -#else - 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/quick3d/basket/qml/basket.bez b/examples/quick3d/basket/qml/basket.bez deleted file mode 100644 index 614daf09..00000000 --- a/examples/quick3d/basket/qml/basket.bez +++ /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 -0.700000,0.450000,-0.000000 -0.700000,0.450000,0.392000 -0.392000,0.450000,0.700000 -0.000000,0.450000,0.700000 -0.668750,0.515625,-0.000000 -0.668750,0.515625,0.374500 -0.374500,0.515625,0.668750 -0.000000,0.515625,0.668750 -0.718750,0.515625,-0.000000 -0.718750,0.515625,0.402500 -0.402500,0.515625,0.718750 -0.000000,0.515625,0.718750 -0.750000,0.450000,-0.000000 -0.750000,0.450000,0.420000 -0.420000,0.450000,0.750000 -0.000000,0.450000,0.750000 --0.392000,0.450000,0.700000 --0.700000,0.450000,0.392000 --0.700000,0.450000,-0.000000 --0.374500,0.515625,0.668750 --0.668750,0.515625,0.374500 --0.668750,0.515625,-0.000000 --0.402500,0.515625,0.718750 --0.718750,0.515625,0.402500 --0.718750,0.515625,-0.000000 --0.420000,0.450000,0.750000 --0.750000,0.450000,0.420000 --0.750000,0.450000,-0.000000 --0.700000,0.450000,-0.392000 --0.392000,0.450000,-0.700000 -0.000000,0.450000,-0.700000 --0.668750,0.515625,-0.374500 --0.374500,0.515625,-0.668750 -0.000000,0.515625,-0.668750 --0.718750,0.515625,-0.402500 --0.402500,0.515625,-0.718750 -0.000000,0.515625,-0.718750 --0.750000,0.450000,-0.420000 --0.420000,0.450000,-0.750000 -0.000000,0.450000,-0.750000 -0.392000,0.450000,-0.700000 -0.700000,0.450000,-0.392000 -0.374500,0.515625,-0.668750 -0.668750,0.515625,-0.374500 -0.402500,0.515625,-0.718750 -0.718750,0.515625,-0.402500 -0.420000,0.450000,-0.750000 -0.750000,0.450000,-0.420000 -0.875000,0.187500,-0.000000 -0.875000,0.187500,0.490000 -0.490000,0.187500,0.875000 -0.000000,0.187500,0.875000 -1.000000,-0.075000,-0.000000 -1.000000,-0.075000,0.560000 -0.560000,-0.075000,1.000000 -0.000000,-0.075000,1.000000 -1.000000,-0.300000,-0.000000 -1.000000,-0.300000,0.560000 -0.560000,-0.300000,1.000000 -0.000000,-0.300000,1.000000 --0.490000,0.187500,0.875000 --0.875000,0.187500,0.490000 --0.875000,0.187500,-0.000000 --0.560000,-0.075000,1.000000 --1.000000,-0.075000,0.560000 --1.000000,-0.075000,-0.000000 --0.560000,-0.300000,1.000000 --1.000000,-0.300000,0.560000 --1.000000,-0.300000,-0.000000 --0.875000,0.187500,-0.490000 --0.490000,0.187500,-0.875000 -0.000000,0.187500,-0.875000 --1.000000,-0.075000,-0.560000 --0.560000,-0.075000,-1.000000 -0.000000,-0.075000,-1.000000 --1.000000,-0.300000,-0.560000 --0.560000,-0.300000,-1.000000 -0.000000,-0.300000,-1.000000 -0.490000,0.187500,-0.875000 -0.875000,0.187500,-0.490000 -0.560000,-0.075000,-1.000000 -1.000000,-0.075000,-0.560000 -0.560000,-0.300000,-1.000000 -1.000000,-0.300000,-0.560000 -1.000000,-0.525000,-0.000000 -1.000000,-0.525000,0.560000 -0.560000,-0.525000,1.000000 -0.000000,-0.525000,1.000000 -0.750000,-0.637500,-0.000000 -0.750000,-0.637500,0.420000 -0.420000,-0.637500,0.750000 -0.000000,-0.637500,0.750000 -0.750000,-0.675000,-0.000000 -0.750000,-0.675000,0.420000 -0.420000,-0.675000,0.750000 -0.000000,-0.675000,0.750000 --0.560000,-0.525000,1.000000 --1.000000,-0.525000,0.560000 --1.000000,-0.525000,-0.000000 --0.420000,-0.637500,0.750000 --0.750000,-0.637500,0.420000 --0.750000,-0.637500,-0.000000 --0.420000,-0.675000,0.750000 --0.750000,-0.675000,0.420000 --0.750000,-0.675000,-0.000000 --1.000000,-0.525000,-0.560000 --0.560000,-0.525000,-1.000000 -0.000000,-0.525000,-1.000000 --0.750000,-0.637500,-0.420000 --0.420000,-0.637500,-0.750000 -0.000000,-0.637500,-0.750000 --0.750000,-0.675000,-0.420000 --0.420000,-0.675000,-0.750000 -0.000000,-0.675000,-0.750000 -0.560000,-0.525000,-1.000000 -1.000000,-0.525000,-0.560000 -0.420000,-0.637500,-0.750000 -0.750000,-0.637500,-0.420000 -0.420000,-0.675000,-0.750000 -0.750000,-0.675000,-0.420000 --0.800000,0.262500,-0.000000 --0.800000,0.262500,0.150000 --0.750000,0.375000,0.150000 --0.750000,0.375000,-0.000000 --1.150000,0.262500,-0.000000 --1.150000,0.262500,0.150000 --1.250000,0.375000,0.150000 --1.250000,0.375000,-0.000000 --1.350000,0.262500,-0.000000 --1.350000,0.262500,0.150000 --1.500000,0.375000,0.150000 --1.500000,0.375000,-0.000000 --1.350000,0.150000,-0.000000 --1.350000,0.150000,0.150000 --1.500000,0.150000,0.150000 --1.500000,0.150000,-0.000000 --0.750000,0.375000,-0.150000 --0.800000,0.262500,-0.150000 --1.250000,0.375000,-0.150000 --1.150000,0.262500,-0.150000 --1.500000,0.375000,-0.150000 --1.350000,0.262500,-0.150000 --1.500000,0.150000,-0.150000 --1.350000,0.150000,-0.150000 --1.350000,0.037500,-0.000000 --1.350000,0.037500,0.150000 --1.500000,-0.075000,0.150000 --1.500000,-0.075000,-0.000000 --1.250000,-0.187500,-0.000000 --1.250000,-0.187500,0.150000 --1.325000,-0.281250,0.150000 --1.325000,-0.281250,-0.000000 --1.000000,-0.300000,0.150000 --0.950000,-0.450000,0.150000 --0.950000,-0.450000,-0.000000 --1.500000,-0.075000,-0.150000 --1.350000,0.037500,-0.150000 --1.325000,-0.281250,-0.150000 --1.250000,-0.187500,-0.150000 --0.950000,-0.450000,-0.150000 --1.000000,-0.300000,-0.150000 -0.850000,-0.037500,-0.000000 -0.850000,-0.037500,0.330000 -0.850000,-0.450000,0.330000 -0.850000,-0.450000,-0.000000 -1.300000,-0.037500,-0.000000 -1.300000,-0.037500,0.330000 -1.550000,-0.337500,0.330000 -1.550000,-0.337500,-0.000000 -1.150000,0.300000,-0.000000 -1.150000,0.300000,0.125000 -1.200000,0.262500,0.125000 -1.200000,0.262500,-0.000000 -1.350000,0.450000,-0.000000 -1.350000,0.450000,0.125000 -1.650000,0.450000,0.125000 -1.650000,0.450000,-0.000000 -0.850000,-0.450000,-0.330000 -0.850000,-0.037500,-0.330000 -1.550000,-0.337500,-0.330000 -1.300000,-0.037500,-0.330000 -1.200000,0.262500,-0.125000 -1.150000,0.300000,-0.125000 -1.650000,0.450000,-0.125000 -1.350000,0.450000,-0.125000 -1.400000,0.487500,-0.000000 -1.400000,0.487500,0.125000 -1.762500,0.496875,0.125000 -1.762500,0.496875,-0.000000 -1.450000,0.487500,-0.000000 -1.450000,0.487500,0.075000 -1.725000,0.506250,0.075000 -1.725000,0.506250,-0.000000 -1.400000,0.450000,-0.000000 -1.400000,0.450000,0.075000 -1.600000,0.450000,0.075000 -1.600000,0.450000,-0.000000 -1.762500,0.496875,-0.125000 -1.400000,0.487500,-0.125000 -1.725000,0.506250,-0.075000 -1.450000,0.487500,-0.075000 -1.600000,0.450000,-0.075000 -1.400000,0.450000,-0.075000 -0.000000,0.825000,-0.000000 -0.000000,0.825000,0.001000 -0.001000,0.825000,-0.000000 -0.400000,0.825000,-0.000000 -0.400000,0.825000,0.225000 -0.225000,0.825000,0.400000 -0.000000,0.825000,0.400000 -0.000000,0.675000,-0.000000 -0.100000,0.600000,-0.000000 -0.100000,0.600000,0.056000 -0.056000,0.600000,0.100000 -0.000000,0.600000,0.100000 --0.001000,0.825000,-0.000000 --0.225000,0.825000,0.400000 --0.400000,0.825000,0.225000 --0.400000,0.825000,-0.000000 --0.056000,0.600000,0.100000 --0.100000,0.600000,0.056000 --0.100000,0.600000,-0.000000 -0.000000,0.825000,-0.001000 --0.400000,0.825000,-0.225000 --0.225000,0.825000,-0.400000 -0.000000,0.825000,-0.400000 --0.100000,0.600000,-0.056000 --0.056000,0.600000,-0.100000 -0.000000,0.600000,-0.100000 -0.225000,0.825000,-0.400000 -0.400000,0.825000,-0.225000 -0.056000,0.600000,-0.100000 -0.100000,0.600000,-0.056000 -0.200000,0.525000,-0.000000 -0.200000,0.525000,0.112000 -0.112000,0.525000,0.200000 -0.000000,0.525000,0.200000 -0.650000,0.525000,-0.000000 -0.650000,0.525000,0.364000 -0.364000,0.525000,0.650000 -0.000000,0.525000,0.650000 -0.650000,0.450000,-0.000000 -0.650000,0.450000,0.364000 -0.364000,0.450000,0.650000 -0.000000,0.450000,0.650000 --0.112000,0.525000,0.200000 --0.200000,0.525000,0.112000 --0.200000,0.525000,-0.000000 --0.364000,0.525000,0.650000 --0.650000,0.525000,0.364000 --0.650000,0.525000,-0.000000 --0.364000,0.450000,0.650000 --0.650000,0.450000,0.364000 --0.650000,0.450000,-0.000000 --0.200000,0.525000,-0.112000 --0.112000,0.525000,-0.200000 -0.000000,0.525000,-0.200000 --0.650000,0.525000,-0.364000 --0.364000,0.525000,-0.650000 -0.000000,0.525000,-0.650000 --0.650000,0.450000,-0.364000 --0.364000,0.450000,-0.650000 -0.000000,0.450000,-0.650000 -0.112000,0.525000,-0.200000 -0.200000,0.525000,-0.112000 -0.364000,0.525000,-0.650000 -0.650000,0.525000,-0.364000 -0.364000,0.450000,-0.650000 -0.650000,0.450000,-0.364000 -0.000000,-0.750000,-0.000000 -0.750000,-0.675000,-0.000000 -0.750000,-0.675000,-0.420000 -0.420000,-0.675000,-0.750000 -0.000000,-0.675000,-0.750000 -0.750000,-0.712500,-0.000000 -0.750000,-0.712500,-0.420000 -0.420000,-0.712500,-0.750000 -0.000000,-0.712500,-0.750000 -0.712500,-0.750000,-0.000000 -0.712500,-0.750000,-0.399000 -0.399000,-0.750000,-0.712500 -0.000000,-0.750000,-0.712500 --0.420000,-0.675000,-0.750000 --0.750000,-0.675000,-0.420000 --0.750000,-0.675000,-0.000000 --0.420000,-0.712500,-0.750000 --0.750000,-0.712500,-0.420000 --0.750000,-0.712500,-0.000000 --0.399000,-0.750000,-0.712500 --0.712500,-0.750000,-0.399000 --0.712500,-0.750000,-0.000000 --0.750000,-0.675000,0.420000 --0.420000,-0.675000,0.750000 -0.000000,-0.675000,0.750000 --0.750000,-0.712500,0.420000 --0.420000,-0.712500,0.750000 -0.000000,-0.712500,0.750000 --0.712500,-0.750000,0.399000 --0.399000,-0.750000,0.712500 -0.000000,-0.750000,0.712500 -0.420000,-0.675000,0.750000 -0.750000,-0.675000,0.420000 -0.420000,-0.712500,0.750000 -0.750000,-0.712500,0.420000 -0.399000,-0.750000,0.712500 -0.712500,-0.750000,0.399000 diff --git a/examples/quick3d/basket/qml/basket.jpg b/examples/quick3d/basket/qml/basket.jpg Binary files differdeleted file mode 100644 index c292a83d..00000000 --- a/examples/quick3d/basket/qml/basket.jpg +++ /dev/null diff --git a/examples/quick3d/basket/qml/basket.qml b/examples/quick3d/basket/qml/basket.qml deleted file mode 100644 index c9a41de7..00000000 --- a/examples/quick3d/basket/qml/basket.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -//! [1] -import QtQuick 1.0 -import Qt3D 1.0 - -Viewport { - width: 640; height: 480 - - camera: Camera { - eye: Qt.vector3d(0, 4, 10) - } -//! [1] - -//! [2] - Item3D { - mesh: Mesh { source: ":/qml/basket.bez" } - effect: Effect { texture: ":/qml/basket.jpg" } -//! [2] -//! [3] - transform: [ - Scale3D { scale: 1.5 }, - Rotation3D { - axis: Qt.vector3d(0, 1, 0) - NumberAnimation on angle { - running: true - loops: Animation.Infinite - from: 0 - to: 360 - duration: 2000 - } - } - ] - } -} -//! [3] diff --git a/examples/quick3d/basket/qtquick3d.ico b/examples/quick3d/basket/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/basket/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/basket/qtquick3d.png b/examples/quick3d/basket/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/basket/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/cube/cube.pro b/examples/quick3d/cube/cube.pro deleted file mode 100644 index 82101573..00000000 --- a/examples/quick3d/cube/cube.pro +++ /dev/null @@ -1,16 +0,0 @@ -TEMPLATE = app -TARGET = cube_qml -CONFIG += qt warn_on - -INSTALL_DIRS = qml -CONFIG += qt3d_deploy_qml qt3dquick_deploy_pkg -include(../../../pkg.pri) -qtcAddDeployment() - -SOURCES += main.cpp - -OTHER_FILES += \ - cube_qml.rc \ - cube_qml.desktop - -RC_FILE = cube_qml.rc diff --git a/examples/quick3d/cube/cube_qml.desktop b/examples/quick3d/cube/cube_qml.desktop deleted file mode 100644 index 2872740c..00000000 --- a/examples/quick3d/cube/cube_qml.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Cube -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/cube_qml -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_cube_qml diff --git a/examples/quick3d/cube/cube_qml.rc b/examples/quick3d/cube/cube_qml.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/cube/cube_qml.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/cube/main.cpp b/examples/quick3d/cube/main.cpp deleted file mode 100644 index 44dd0a0c..00000000 --- a/examples/quick3d/cube/main.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" - -#include "../qmlres.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QDeclarativeView3D view; - QString qml = q_get_qmldir(QLatin1String("qml/cube.qml")); - - view.setSource(QUrl::fromLocalFile(qml)); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/cube/qml/cube.qml b/examples/quick3d/cube/qml/cube.qml deleted file mode 100644 index 89a7e669..00000000 --- a/examples/quick3d/cube/qml/cube.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ -//! [1] -import QtQuick 1.0 -import Qt3D 1.0 -import Qt3D.Shapes 1.0 - -Viewport { - width: 640; height: 480 - - Cube { - scale: 1.5 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, 1, 1) - } - - effect: Effect { - color: "#aaca00" - texture: "qtlogo.png" - decal: true - } - } -} -//! [1] diff --git a/examples/quick3d/cube/qml/qtlogo.png b/examples/quick3d/cube/qml/qtlogo.png Binary files differdeleted file mode 100644 index 7d3e97eb..00000000 --- a/examples/quick3d/cube/qml/qtlogo.png +++ /dev/null diff --git a/examples/quick3d/cube/qtquick3d.ico b/examples/quick3d/cube/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/cube/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/cube/qtquick3d.png b/examples/quick3d/cube/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/cube/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/forest/forest.pro b/examples/quick3d/forest/forest.pro deleted file mode 100644 index 6c60025a..00000000 --- a/examples/quick3d/forest/forest.pro +++ /dev/null @@ -1,17 +0,0 @@ -TEMPLATE = app -TARGET = forest_qml -CONFIG += qt warn_on - -CONFIG += qt3dquick_deploy_pkg -include(../../../pkg.pri) - -SOURCES += main.cpp - -OTHER_FILES += \ - forest.rc \ - forest_qml.desktop - -RC_FILE = forest.rc - -RESOURCES += \ - forest.qrc diff --git a/examples/quick3d/forest/forest.qrc b/examples/quick3d/forest/forest.qrc deleted file mode 100644 index d0d391a5..00000000 --- a/examples/quick3d/forest/forest.qrc +++ /dev/null @@ -1,9 +0,0 @@ -<RCC> - <qresource prefix="/"> - <file>qml/forest.qml</file> - <file>qml/ground.obj</file> - <file>qml/tree.obj</file> - <file>qml/tree.png</file> - <file>qml/Tree.qml</file> - </qresource> -</RCC> diff --git a/examples/quick3d/forest/forest.rc b/examples/quick3d/forest/forest.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/forest/forest.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/forest/forest_qml.desktop b/examples/quick3d/forest/forest_qml.desktop deleted file mode 100644 index 0c27d6ed..00000000 --- a/examples/quick3d/forest/forest_qml.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Forest -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/forest_qml -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_forest diff --git a/examples/quick3d/forest/main.cpp b/examples/quick3d/forest/main.cpp deleted file mode 100644 index f20698db..00000000 --- a/examples/quick3d/forest/main.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - QDeclarativeView3D view; - - view.setSource(QUrl(QLatin1String("qrc:///qml/forest.qml"))); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/forest/qml/Tree.qml b/examples/quick3d/forest/qml/Tree.qml deleted file mode 100644 index a1af5cc7..00000000 --- a/examples/quick3d/forest/qml/Tree.qml +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -//![1] -import QtQuick 1.0 -import Qt3D 1.0 - -BillboardItem3D { - id: tree - mesh: Mesh { source: "tree.obj" } - effect: Effect { - blending: true - texture: "tree.png" - } -//![2] -} -//![3] diff --git a/examples/quick3d/forest/qml/forest.qml b/examples/quick3d/forest/qml/forest.qml deleted file mode 100644 index a492ff6a..00000000 --- a/examples/quick3d/forest/qml/forest.qml +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -//![1] -import QtQuick 1.0 -import Qt3D 1.0 - -Viewport { - id: viewport - width: 640; height: 480 - picking: false - - camera: Camera { - eye: Qt.vector3d(0, 4, 12) - } - - Item3D { - id: ground - mesh: Mesh { source: "ground.obj" } - effect: Effect { - color: "#604000" - useLighting: false - } - } - - Item3D { - sortChildren: Item3D.BackToFront - - Tree { position: Qt.vector3d(-1.5, 0, -1) } - Tree { position: Qt.vector3d(-0.5, 0, -1) } - Tree { position: Qt.vector3d(0.5, 0, -1) } - Tree { position: Qt.vector3d(1.5, 0, -1) } - - Tree { position: Qt.vector3d(0, 0, 0) } - Tree { position: Qt.vector3d(-1, 0, 0) } - Tree { position: Qt.vector3d(1, 0, 0) } - - Tree { position: Qt.vector3d(-1.5, 0, 1) } - Tree { position: Qt.vector3d(-0.5, 0, 1) } - Tree { position: Qt.vector3d(0.5, 0, 1) } - Tree { position: Qt.vector3d(1.5, 0, 1) } - } -} -//![1] diff --git a/examples/quick3d/forest/qml/ground.obj b/examples/quick3d/forest/qml/ground.obj deleted file mode 100644 index d13a931a..00000000 --- a/examples/quick3d/forest/qml/ground.obj +++ /dev/null @@ -1,11 +0,0 @@ -s 0 -v -3.0 0.0 3.0 -v 3.0 0.0 3.0 -v 3.0 0.0 -3.0 -v -3.0 0.0 -3.0 -vt 0.0 0.0 -vt 1.0 0.0 -vt 1.0 1.0 -vt 0.0 1.0 -vn 0.0 1.0 0.0 -f 1/1/1 2/2/1 3/3/1 4/4/1 diff --git a/examples/quick3d/forest/qml/tree.obj b/examples/quick3d/forest/qml/tree.obj deleted file mode 100644 index 6dd72d7b..00000000 --- a/examples/quick3d/forest/qml/tree.obj +++ /dev/null @@ -1,11 +0,0 @@ -s 0 -v -0.5 0.0 0.0 -v 0.5 0.0 0.0 -v 0.5 1.0 0.0 -v -0.5 1.0 0.0 -vt 0.0 0.0 -vt 1.0 0.0 -vt 1.0 1.0 -vt 0.0 1.0 -vn 0.0 0.0 1.0 -f 1/1/1 2/2/1 3/3/1 4/4/1 diff --git a/examples/quick3d/forest/qml/tree.png b/examples/quick3d/forest/qml/tree.png Binary files differdeleted file mode 100644 index c6a27748..00000000 --- a/examples/quick3d/forest/qml/tree.png +++ /dev/null diff --git a/examples/quick3d/forest/qtquick3d.ico b/examples/quick3d/forest/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/forest/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/forest/qtquick3d.png b/examples/quick3d/forest/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/forest/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/lander/lander.desktop b/examples/quick3d/lander/lander.desktop deleted file mode 100644 index 9020fea1..00000000 --- a/examples/quick3d/lander/lander.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Lunar Lander -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/lander -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_lander diff --git a/examples/quick3d/lander/lander.pro b/examples/quick3d/lander/lander.pro deleted file mode 100644 index 6594bf05..00000000 --- a/examples/quick3d/lander/lander.pro +++ /dev/null @@ -1,22 +0,0 @@ -TEMPLATE = app -TARGET = lander -CONFIG += qt warn_on - -INSTALL_DIRS = qml -CONFIG += qt3d_deploy_qml qt3dquick_deploy_pkg -include(../../../pkg.pri) -qtcAddDeployment() - -SOURCES += main.cpp - -symbian { - qmlDeployment2.sources = qml\meshes\* - qmlDeployment2.path = qml\meshes - DEPLOYMENT += qmlDeployment2 -} - -OTHER_FILES += \ - lander.rc \ - lander.desktop - -RC_FILE = lander.rc diff --git a/examples/quick3d/lander/lander.rc b/examples/quick3d/lander/lander.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/lander/lander.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/lander/main.cpp b/examples/quick3d/lander/main.cpp deleted file mode 100644 index f546e0e0..00000000 --- a/examples/quick3d/lander/main.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" - -#include "../qmlres.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QDeclarativeView3D view; - QString qml = q_get_qmldir(QLatin1String("qml/lander.qml")); - view.setSource(QUrl::fromLocalFile(qml)); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/lander/qml/Jet.qml b/examples/quick3d/lander/qml/Jet.qml deleted file mode 100644 index e90be73d..00000000 --- a/examples/quick3d/lander/qml/Jet.qml +++ /dev/null @@ -1,117 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 -import Qt3D.Shapes 1.0 - -Item3D { - // We want to scale the flame, but keep the top constant so it - // looks like it's attached to the lander's foot, so we use a - // container Item3D to translate the flame's origin - - // This magic number lines up the jet with the bottom of the lander model - y: -0.97 - 0.25 + 0.5 - id: jet - - property real scaleFactor: 1.0 - property real internalScaleFactor: 1.0 - - Behavior on scaleFactor { NumberAnimation { duration: 200 }} - - transform: Scale3D { scale: jet.scaleFactor * internalScaleFactor * 0.5 } - - SequentialAnimation { - running: true - loops: Animation.Infinite - NumberAnimation { target: jet;property: "internalScaleFactor"; - from: 1.0; to: 0.8; duration: 100 } - PauseAnimation { duration: 100 } - NumberAnimation { target: jet; property: "internalScaleFactor"; - from: 0.8; to: 1.0; duration: 100 } - PauseAnimation { duration: 100 } - } - - Quad { - y: -1.0 - pretransform: Rotation3D { axis: Qt.vector3d(1, 0, 0); angle: 90 } - effect: flame - } - - ShaderProgram { - id: flame - blending: true - texture: "flame.png" - property real interpolationFactor : 1.0 - - SequentialAnimation on interpolationFactor { - running: true - loops: Animation.Infinite - NumberAnimation { to : 1.0; duration: 150; } - NumberAnimation { to : 0.0; duration: 150; } - } - - vertexShader: " - attribute highp vec4 qt_Vertex; - attribute highp vec4 qt_MultiTexCoord0; - uniform mediump mat4 qt_ModelViewProjectionMatrix; - varying highp vec4 texCoord; - - void main(void) - { - gl_Position = qt_ModelViewProjectionMatrix * qt_Vertex; - texCoord = qt_MultiTexCoord0; - } - " - fragmentShader: " - varying highp vec4 texCoord; - uniform sampler2D qt_Texture0; - uniform sampler2D texture2; - uniform mediump float interpolationFactor; - - void main(void) - { - mediump vec4 col1 = texture2D(qt_Texture0, texCoord.st); - mediump vec4 col2 = texture2D(texture2, texCoord.st); - gl_FragColor = mix(col1, col2, interpolationFactor); - } - " - } -} diff --git a/examples/quick3d/lander/qml/README b/examples/quick3d/lander/qml/README deleted file mode 100644 index b089fd32..00000000 --- a/examples/quick3d/lander/qml/README +++ /dev/null @@ -1,5 +0,0 @@ -Lander is intended to use the Joystix font available for free from Ray Larabie via: -http://typodermicfonts.com/the-larabie-fonts-collection - -Licencing does not allow distribution in ttf form as part of the source package, so please download and place the "JOYSTIX.TTF" file in this directory. - diff --git a/examples/quick3d/lander/qml/dropshadow.png b/examples/quick3d/lander/qml/dropshadow.png Binary files differdeleted file mode 100644 index 105d34e4..00000000 --- a/examples/quick3d/lander/qml/dropshadow.png +++ /dev/null diff --git a/examples/quick3d/lander/qml/flame.png b/examples/quick3d/lander/qml/flame.png Binary files differdeleted file mode 100644 index 8b80c0c2..00000000 --- a/examples/quick3d/lander/qml/flame.png +++ /dev/null diff --git a/examples/quick3d/lander/qml/flame.xcf b/examples/quick3d/lander/qml/flame.xcf Binary files differdeleted file mode 100644 index bc6a423a..00000000 --- a/examples/quick3d/lander/qml/flame.xcf +++ /dev/null diff --git a/examples/quick3d/lander/qml/flame2.png b/examples/quick3d/lander/qml/flame2.png Binary files differdeleted file mode 100644 index a3913623..00000000 --- a/examples/quick3d/lander/qml/flame2.png +++ /dev/null diff --git a/examples/quick3d/lander/qml/flame2.xcf b/examples/quick3d/lander/qml/flame2.xcf Binary files differdeleted file mode 100644 index 2cdf4367..00000000 --- a/examples/quick3d/lander/qml/flame2.xcf +++ /dev/null diff --git a/examples/quick3d/lander/qml/lander.qml b/examples/quick3d/lander/qml/lander.qml deleted file mode 100644 index 359ebae6..00000000 --- a/examples/quick3d/lander/qml/lander.qml +++ /dev/null @@ -1,465 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 -import Qt3D.Shapes 1.0 - -Image { - id: screen - source: "nebula.jpg" - width: 720 - height: 480 - - // Joystix font available for free from Ray Larabie via - // http://typodermicfonts.com/the-larabie-fonts-collection - // Licence does *NOT* allow distribution in ttf form as part of the - // source package. - // Install the font file into the same directory as this qml file, and - // uncomment the following line, and remove the susequent one: -// FontLoader { id: customFont; source: "JOYSTIX.TTF" - FontLoader { id: customFont; name: "Sans Serif" } - - Viewport { - id: viewport - y: 30 - anchors.fill: parent - visible: false - - camera: Camera { - eye.x: cameraTarget.x - // Keep the lander and pad in view for reasonable values - eye.y: (Math.abs(lander.x) * 2.0) + (lander.y * 2.0) - + (Math.abs(lander.z) * 2.0) + 5.0 - eye.z: lander.z + 20.0 - center: lander.position - } - - Item3D { - id:cameraTarget - x: ((lander.x + landingPad.x) / 2.0) - y: 0 - z: 0 - } - - Item3D { - // Landing pad must come before lander so that transparency on - // the flames is in the correct order - id: landingPad - - // The landing crater isn't quite centered, and we use the lander's - // position for scoring, so we're going to adjust the landscape's - // position and scale to get it to the right size and place. - scale: 1.4 - x: -0.28 - z: -0.0 - - mesh: Mesh { source: "meshes/lunar-landscape.obj" } - - // This is the top of the model, where we want the lander to land. - // It would be nice if there was API for this - property real yMax : y + 3.6; - } - - Quad { - // Simple drop shadow - x: lander.x - y: landingPad.yMax - z: lander.z - scale: 2.0 - effect: Effect { texture: "dropshadow.png"; blending: true } - } - - Item3D { - id: lander - scale: 0.5 - mesh: Mesh { - id: landerMesh; - source: "meshes/lunar-lander.3ds" - // dumpInfo lets us see the names the 3d artist has assigned - // to the various nodes in the model for use with the meshNode - // syntax - // dumpInfo: true - } - effect: Effect { - color: "#aaca00" - texture: "rusty.png" - decal: true - } - Item3D { - // This mesh/meshNode combination serves to pull these - // elements off the parent mesh, meaning that they are not - // drawn as part of the lander Item3D, and are instead drawn - // by these three Item3Ds, where we can control their position - // and characteristics - - Item3D { mesh: landerMesh; meshNode: "Rod.001" } - Item3D { mesh: landerMesh; meshNode: "Receiver.001" } - Item3D { mesh: landerMesh; meshNode: "Dish.001" } - - transform: [ - // Correct context loss from "pulling off" of graph - Rotation3D { axis: Qt.vector3d(1.0, 0.0, 0.0) ; angle: -90}, - // Rotate the radar dish around the lander's aerial - Rotation3D { - id: radarSpin2 ; axis: Qt.vector3d(0.0, 1.0, 0.0); - angle: 0 - // Move the origin so the dish rotates relative to - // lander's aerial - origin: Qt.vector3d(0.55,0.0,0.0) - NumberAnimation on angle { - running: gameLogic.gameRunning - loops: Animation.Infinite - from: 360; to: 0; duration: 3000; - } - } - ] - } - - transform: [ - Rotation3D { - Behavior on angle { NumberAnimation { duration: 200}} - axis: Qt.vector3d(-1.0,0,0) - angle: gameLogic.fuel > 0 ? gameLogic.zBoostInput * 50 : 0 - }, - Rotation3D { - Behavior on angle { NumberAnimation { duration: 200}} - axis: Qt.vector3d(0,0,1.0) - angle: gameLogic.fuel > 0 ? gameLogic.xBoostInput * 50 : 0 - } - ] - - // HACK. There should be API for this - property real yMin: -0.37; - property bool jetsVisible: gameLogic.gameRunning && - gameLogic.fuel > 0.0 - property real yBoostScaleFactor: (gameLogic.yboosting ? 1.3 : 0.8) - property real activeScaleFactor: 1.3 - - // Draw back to front to avoid depth vs transparancy issues - - // Back - Jet { - z: -2.7 - scaleFactor: lander.yBoostScaleFactor - - gameLogic.zBoostInput * lander.activeScaleFactor - enabled: lander.jetsVisible - } - - // Left - Jet { - x: -2.7 - scaleFactor: lander.yBoostScaleFactor - - gameLogic.xBoostInput * lander.activeScaleFactor - enabled: lander.jetsVisible - } - - // Right - Jet { - x: 2.7 - scaleFactor: lander.yBoostScaleFactor + - gameLogic.xBoostInput * lander.activeScaleFactor - enabled: lander.jetsVisible - } - - // Front - Jet { - z: 2.7 - scaleFactor: lander.yBoostScaleFactor + - gameLogic.zBoostInput * lander.activeScaleFactor - enabled: lander.jetsVisible - } - } - - Rectangle { - id: fuelGauge - color: "#333333" - anchors.left: parent.left - anchors.bottom: parent.bottom - anchors.top: parent.top - width: 15 - visible: true - - Rectangle { - id: gauge - anchors.bottom: fuelGauge.bottom - anchors.horizontalCenter: parent.horizontalCenter - height: fuelGauge.height * gameLogic.fuel; - width: fuelGauge.width * 0.8 - color: Qt.rgba(1.0 -gameLogic.fuel,0.2,gameLogic.fuel) - } - } - - MouseArea { - id: gameInputPad - anchors.fill: parent - enabled: false - - onMousePositionChanged: { - gameLogic.yboosting = true; - gameLogic.xBoostInput = (mouseX / viewport.width) - 0.5; - gameLogic.zBoostInput = (mouseY / viewport.height) - 0.5; - } - onPressed: { - gameLogic.yboosting = true; - gameLogic.xBoostInput = (mouseX / viewport.width) - 0.5; - gameLogic.zBoostInput = (mouseY / viewport.height) - 0.5; - } - onReleased: { - gameLogic.yboosting = false; - gameLogic.xBoostInput = 0.0; - gameLogic.zBoostInput = 0.0; - } - } - - // TODO : Key input - - Item { - id: gameLogic - visible: false - property string state: "titleScreen" - - // Game State - property int score : 0 - property int hiScore : 0 - property bool gameRunning: false - property real fuel : 1.0; - - property real xBoostInput: 0.0 - property real xVelocity : 0 - property real xBoostFactor: gravity - - property bool yboosting: false - property real yVelocity : 0 - property real yBoostFactor: gravity * 2.0 - - property real zBoostInput: 0.0 - property real zVelocity : 0 - property real zBoostFactor: gravity - - // Constants - property real gravity: 0.1 / 60.0; - // Should be about 5 seconds of fuel - property real fuelConsuptionRate: 1.0 / 60.0 / 5.0 - - Timer { - id: simulationTickTimer - running: false - interval: 1000.0 / 60.0 - repeat: true - onTriggered: { - gameLogic.tick() - } - } - - function tick() { - // apply gravity and user inputs to velocities - yVelocity -= gravity; - if (fuel > 0.0) - { - if (yboosting) - { - yVelocity += yBoostFactor; - fuel -= fuelConsuptionRate; - } - xVelocity -= xBoostInput * xBoostFactor; - zVelocity -= zBoostInput * zBoostFactor; - } - - // update lander position - lander.x += xVelocity; - lander.y += yVelocity; - lander.z += zVelocity; - - // Check win condition - if (lander.y + lander.yMin <= landingPad.yMax) - { - // Correct very fast landings - lander.y = landingPad.yMax - lander.yMin; - win(); - } - } - - function win() { - // Theoretical max score is 2 * 100^5, or 20,000,000,000 - score = Math.floor(sanitize(xVelocity) / sanitize(yVelocity) / - sanitize(zVelocity) / sanitize(lander.x) - / sanitize(lander.z) * (fuel + 1) ); - if (score > hiScore) hiScore = score; - simulationTickTimer.running = false; - endGame(); - } - - // When calculating scores, don't divide by zero and ignore sign. - // Can't have infinite scores, and don't want negative ones! - function sanitize(value) { - return Math.max(0.01, Math.abs(value)); - } - - function newGame() { - titleBar.visible = false; - viewport.visible = true; - simulationTickTimer.running = true; - gameInputPad.enabled = true; - gameLogic.gameRunning = true; - - // reset state - score = 0; - xBoostInput = 0.0 - xVelocity = 0 - zBoostInput = 0.0 - zVelocity = 0 - yboosting = false - fuel = 1.0; - - // Random starting position - lander.position = Qt.vector3d(Math.random() * 10.0 - 5.0, - 5.0, - Math.random() * 10.0 - 5.0); - - // add a small positive yVelocity to give the player a chance - // to get their bearings - yVelocity = 0.1 - } - - function endGame() { - simulationTickTimer.running = false; - // Tidy up visuals - titleBar.visible = true; - gameInputPad.enabled = false; - gameLogic.gameRunning = false; - gameLogic.zBoostInput = 0.0; - gameLogic.xBoostInput = 0.0; - gameLogic.yboosting = false; - } - } - } - - Column { - anchors.left: parent.left - anchors.right: parent.right - Row { - id: scoreBar - anchors.left: parent.left - anchors.right: parent.right - Column { - // Player 1 Score - width: parent.width / 3.0 - Text { - text: "Player 1" - anchors.horizontalCenter: parent.horizontalCenter - font.family: customFont.name; - color: "red" - } - Text { - id: scoreBoardText - text: "Score: " + gameLogic.score - anchors.horizontalCenter: parent.horizontalCenter - font.family: customFont.name; - color: "white" - } - } - Column { - // Hi Score - width: parent.width / 3.0 - Text { - text: "Hi Score" - anchors.horizontalCenter: parent.horizontalCenter - font.family: customFont.name; - color: "red" - } - Text { - text: "Score: " + gameLogic.hiScore - anchors.horizontalCenter: parent.horizontalCenter - font.family: customFont.name; - color: "white" - } - } - Column { - // Player 2 Score (Not used) - width: screen.width / 3.0 - Text { - text: "Player 2" - anchors.horizontalCenter: parent.horizontalCenter - font.family: customFont.name; - color: "red" - } - } - } - - Text { - id: titleBar - anchors.horizontalCenter: parent.horizontalCenter - y: screen.height / 5.0 - text: "Qt-Lander" - font.family: customFont.name - font.pointSize: 48 - color: "white" - SequentialAnimation on color { - loops: Animation.Infinite - ColorAnimation { to: "#ff0000"; duration: 100 } - ColorAnimation { to: "#ffff00"; duration: 100 } - ColorAnimation { to: "#00ff00"; duration: 100 } - ColorAnimation { to: "#00ffff"; duration: 100 } - ColorAnimation { to: "#0000ff"; duration: 100 } - ColorAnimation { to: "#ff00ff"; duration: 100 } - } - } - } - - Item { - id: tapToStart - visible: titleBar.visible - anchors.fill: parent - Text { - text: "Tap to Play" - anchors.centerIn: parent - font.family: customFont.name - font.pointSize: 20 - color: "white" - } - MouseArea { - // Note - this mousearea will be obscured by the game's mousearea - // during play - anchors.fill: parent - onClicked: gameLogic.newGame(); - } - } -} diff --git a/examples/quick3d/lander/qml/lander.qmlproject b/examples/quick3d/lander/qml/lander.qmlproject deleted file mode 100644 index 29d37590..00000000 --- a/examples/quick3d/lander/qml/lander.qmlproject +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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$ -** -****************************************************************************/ - -import QmlProject 1.0 - -Project { - /* Include .qml, .js, and image files from current directory and subdirectories */ - QmlFiles { - directory: "." - } - JavaScriptFiles { - directory: "." - } - ImageFiles { - directory: "." - } - /* List of plugin directories passed to QML runtime */ - // importPaths: [ " ../exampleplugin " ] -} diff --git a/examples/quick3d/lander/qml/lunar-lander.3ds b/examples/quick3d/lander/qml/lunar-lander.3ds Binary files differdeleted file mode 100644 index eab75bc5..00000000 --- a/examples/quick3d/lander/qml/lunar-lander.3ds +++ /dev/null diff --git a/examples/quick3d/lander/qml/meshes/lunar-lander.3ds b/examples/quick3d/lander/qml/meshes/lunar-lander.3ds Binary files differdeleted file mode 100644 index 7403fdef..00000000 --- a/examples/quick3d/lander/qml/meshes/lunar-lander.3ds +++ /dev/null diff --git a/examples/quick3d/lander/qml/meshes/lunar-lander.obj b/examples/quick3d/lander/qml/meshes/lunar-lander.obj deleted file mode 100644 index f8873069..00000000 --- a/examples/quick3d/lander/qml/meshes/lunar-lander.obj +++ /dev/null @@ -1,1784 +0,0 @@ -# Blender3D v249 OBJ File: -# www.blender3d.org -mtllib lunar-lander.mtl -v 0.552023 6.009904 -0.036599 -v 0.552023 5.994745 -0.000000 -v 0.552023 6.009904 0.036598 -v 0.552023 6.046502 0.051757 -v 0.552023 6.083100 0.036598 -v 0.552023 6.098259 -0.000000 -v 0.552023 6.083100 -0.036599 -v 0.552023 6.046502 -0.051758 -v 1.426268 6.009904 -0.036599 -v 1.426268 5.994745 -0.000000 -v 1.426268 6.009904 0.036598 -v 1.426268 6.046502 0.051757 -v 1.426268 6.083100 0.036598 -v 1.426268 6.098259 -0.000000 -v 1.426268 6.083100 -0.036599 -v 1.426268 6.046502 -0.051758 -v 0.552023 6.046502 -0.000000 -v 1.426268 6.046502 -0.000000 -usemtl (null) -s off -f 17 1 2 -f 18 10 9 -f 17 2 3 -f 18 11 10 -f 17 3 4 -f 18 12 11 -f 17 4 5 -f 18 13 12 -f 17 5 6 -f 18 14 13 -f 17 6 7 -f 18 15 14 -f 17 7 8 -f 18 16 15 -f 8 1 17 -f 18 9 16 -f 1 9 10 -f 1 10 2 -f 2 10 11 -f 2 11 3 -f 3 11 12 -f 3 12 4 -f 4 12 13 -f 4 13 5 -f 5 13 14 -f 5 14 6 -f 6 14 15 -f 6 15 7 -f 7 15 16 -f 7 16 8 -f 9 1 8 -f 9 8 16 -v 1.339483 5.927386 -0.000000 -v 1.425675 5.993232 0.062621 -v 1.306561 5.993232 0.101324 -v 1.232943 5.993232 -0.000000 -v 1.306561 5.993232 -0.101325 -v 1.425675 5.993232 -0.062622 -v 1.372405 6.099772 0.101324 -v 1.253291 6.099772 0.062621 -v 1.253291 6.099772 -0.062622 -v 1.372405 6.099772 -0.101325 -v 1.446023 6.099772 -0.000000 -v 1.339483 6.165618 -0.000000 -v 1.390145 5.945176 0.036808 -v 1.320132 5.945176 0.059557 -v 1.370795 5.983879 0.096366 -v 1.390145 5.945176 -0.036809 -v 1.440808 5.983879 -0.000000 -v 1.276860 5.945176 -0.000000 -v 1.257509 5.983879 0.059557 -v 1.320132 5.945176 -0.059558 -v 1.257509 5.983879 -0.059558 -v 1.370795 5.983879 -0.096367 -v 1.452769 6.046502 -0.036809 -v 1.452769 6.046502 0.036808 -v 1.409497 6.046502 0.096366 -v 1.339483 6.046502 0.119115 -v 1.269468 6.046502 0.096366 -v 1.226197 6.046502 0.036808 -v 1.226197 6.046502 -0.036809 -v 1.269468 6.046502 -0.096367 -v 1.339483 6.046502 -0.119116 -v 1.409497 6.046502 -0.096367 -v 1.421457 6.109126 0.059557 -v 1.308171 6.109126 0.096366 -v 1.238157 6.109126 -0.000000 -v 1.308171 6.109126 -0.096367 -v 1.421457 6.109126 -0.059558 -v 1.402106 6.147828 -0.000000 -v 1.358834 6.147829 0.059557 -v 1.288820 6.147829 0.036808 -v 1.288820 6.147829 -0.036809 -v 1.358834 6.147829 -0.059558 -usemtl (null) -s off -f 33 31 20 -f 31 33 32 -f 21 32 33 -f 32 19 31 -f 35 20 31 -f 31 34 35 -f 24 35 34 -f 31 19 34 -f 37 32 21 -f 32 37 36 -f 22 36 37 -f 36 19 32 -f 39 36 22 -f 36 39 38 -f 23 38 39 -f 38 19 36 -f 40 38 23 -f 38 40 34 -f 24 34 40 -f 34 19 38 -f 42 20 35 -f 35 41 42 -f 29 42 41 -f 41 35 24 -f 44 21 33 -f 33 43 44 -f 25 44 43 -f 43 33 20 -f 46 22 37 -f 37 45 46 -f 26 46 45 -f 45 37 21 -f 48 23 39 -f 39 47 48 -f 27 48 47 -f 47 39 22 -f 50 24 40 -f 40 49 50 -f 28 50 49 -f 49 40 23 -f 51 42 29 -f 42 51 43 -f 25 43 51 -f 43 20 42 -f 52 44 25 -f 44 52 45 -f 26 45 52 -f 45 21 44 -f 53 46 26 -f 46 53 47 -f 27 47 53 -f 47 22 46 -f 54 48 27 -f 48 54 49 -f 28 49 54 -f 49 23 48 -f 55 50 28 -f 50 55 41 -f 29 41 55 -f 41 24 50 -f 57 25 51 -f 51 56 57 -f 30 57 56 -f 56 51 29 -f 58 26 52 -f 52 57 58 -f 30 58 57 -f 57 52 25 -f 59 27 53 -f 53 58 59 -f 30 59 58 -f 58 53 26 -f 60 28 54 -f 54 59 60 -f 30 60 59 -f 59 54 27 -f 56 29 55 -f 55 60 56 -f 30 56 60 -f 60 55 28 -v 0.997706 6.704086 -0.000000 -v 0.997706 5.411325 -0.170196 -v 0.997706 5.477018 -0.328792 -v 0.997706 5.581521 -0.464982 -v 0.997706 5.717710 -0.569484 -v 0.997706 5.876307 -0.635177 -v 0.997706 6.046502 -0.657584 -v 0.997706 6.216697 -0.635177 -v 0.997706 6.375294 -0.569484 -v 0.997706 6.511484 -0.464982 -v 0.997706 6.615986 -0.328792 -v 0.997706 6.681679 -0.170196 -v 0.925269 6.681679 -0.147394 -v 0.857769 6.615986 -0.284743 -v 0.799805 6.511484 -0.402686 -v 0.755328 6.375294 -0.493188 -v 0.727369 6.216697 -0.550080 -v 0.717832 6.046502 -0.569484 -v 0.727369 5.876307 -0.550080 -v 0.755328 5.717710 -0.493188 -v 0.799805 5.581521 -0.402687 -v 0.857769 5.477018 -0.284743 -v 0.925269 5.411325 -0.147394 -v 0.872242 5.411325 -0.085098 -v 0.755328 5.477018 -0.164396 -v 0.654932 5.581521 -0.232491 -v 0.577895 5.717710 -0.284742 -v 0.529468 5.876307 -0.317589 -v 0.512951 6.046502 -0.328792 -v 0.529468 6.216697 -0.317589 -v 0.577895 6.375294 -0.284742 -v 0.654932 6.511484 -0.232491 -v 0.755328 6.615986 -0.164396 -v 0.872242 6.681679 -0.085098 -v 0.852833 6.681679 -0.000000 -v 0.717832 6.615986 -0.000000 -v 0.601905 6.511484 -0.000000 -v 0.512951 6.375294 -0.000000 -v 0.457032 6.216697 -0.000000 -v 0.437959 6.046502 -0.000000 -v 0.457032 5.876307 -0.000000 -v 0.512951 5.717710 -0.000000 -v 0.601905 5.581521 -0.000000 -v 0.717832 5.477018 -0.000000 -v 0.852832 5.411325 -0.000000 -v 0.997706 5.388918 -0.000000 -v 0.872242 5.411325 0.085097 -v 0.755328 5.477018 0.164396 -v 0.654932 5.581521 0.232491 -v 0.577896 5.717710 0.284742 -v 0.529468 5.876307 0.317588 -v 0.512951 6.046502 0.328791 -v 0.529468 6.216697 0.317588 -v 0.577896 6.375294 0.284742 -v 0.654932 6.511484 0.232490 -v 0.755328 6.615986 0.164395 -v 0.872242 6.681679 0.085097 -v 0.925269 6.681679 0.147393 -v 0.857769 6.615986 0.284742 -v 0.799805 6.511484 0.402686 -v 0.755328 6.375294 0.493187 -v 0.727369 6.216697 0.550079 -v 0.717832 6.046502 0.569484 -v 0.727369 5.876307 0.550079 -v 0.755328 5.717710 0.493187 -v 0.799805 5.581521 0.402686 -v 0.857769 5.477018 0.284742 -v 0.925269 5.411325 0.147393 -v 0.997706 5.411325 0.170195 -v 0.997706 5.477018 0.328791 -v 0.997706 5.581521 0.464981 -v 0.997706 5.717710 0.569484 -v 0.997706 5.876307 0.635176 -v 0.997706 6.046502 0.657583 -v 0.997706 6.216697 0.635176 -v 0.997706 6.375294 0.569484 -v 0.997706 6.511484 0.464981 -v 0.997706 6.615986 0.328791 -v 0.997706 6.681679 0.170195 -v 0.997942 6.621034 0.153945 -v 0.997942 6.561613 0.297399 -v 0.997942 6.467088 0.420586 -v 0.997942 6.343902 0.515110 -v 0.997942 6.200448 0.574531 -v 0.997942 6.046502 0.594798 -v 0.997942 5.892557 0.574531 -v 0.997942 5.749103 0.515110 -v 0.997942 5.625916 0.420586 -v 0.997942 5.531392 0.297399 -v 0.997942 5.471971 0.153945 -v 0.932422 5.471971 0.133320 -v 0.871366 5.531392 0.257555 -v 0.818937 5.625916 0.364238 -v 0.778706 5.749103 0.446099 -v 0.753416 5.892557 0.497558 -v 0.744790 6.046502 0.515110 -v 0.753417 6.200448 0.497558 -v 0.778706 6.343902 0.446099 -v 0.818937 6.467088 0.364238 -v 0.871366 6.561613 0.257555 -v 0.932422 6.621034 0.133320 -v 0.884457 6.621034 0.076972 -v 0.778706 6.561613 0.148699 -v 0.687896 6.467088 0.210293 -v 0.618215 6.343902 0.257555 -v 0.574411 6.200448 0.287265 -v 0.559471 6.046502 0.297399 -v 0.574411 5.892557 0.287265 -v 0.618215 5.749103 0.257555 -v 0.687896 5.625916 0.210293 -v 0.778706 5.531392 0.148699 -v 0.884457 5.471971 0.076972 -v 0.997942 5.451703 -0.000000 -v 0.866901 5.471971 -0.000000 -v 0.744790 5.531392 -0.000000 -v 0.639932 5.625916 -0.000000 -v 0.559471 5.749103 -0.000000 -v 0.508891 5.892557 -0.000000 -v 0.491639 6.046502 -0.000000 -v 0.508891 6.200448 -0.000000 -v 0.559471 6.343902 -0.000000 -v 0.639932 6.467088 -0.000000 -v 0.744790 6.561613 -0.000000 -v 0.866901 6.621034 -0.000000 -v 0.884457 6.621034 -0.076973 -v 0.778706 6.561613 -0.148700 -v 0.687896 6.467088 -0.210294 -v 0.618215 6.343902 -0.257556 -v 0.574411 6.200448 -0.287266 -v 0.559471 6.046502 -0.297400 -v 0.574411 5.892557 -0.287266 -v 0.618215 5.749103 -0.257556 -v 0.687896 5.625916 -0.210294 -v 0.778706 5.531392 -0.148700 -v 0.884457 5.471971 -0.076973 -v 0.932422 5.471971 -0.133321 -v 0.871366 5.531392 -0.257556 -v 0.818937 5.625916 -0.364239 -v 0.778706 5.749103 -0.446099 -v 0.753416 5.892557 -0.497559 -v 0.744790 6.046502 -0.515111 -v 0.753416 6.200448 -0.497559 -v 0.778706 6.343902 -0.446099 -v 0.818937 6.467088 -0.364239 -v 0.871366 6.561613 -0.257556 -v 0.932422 6.621034 -0.133321 -v 0.997942 6.621034 -0.153946 -v 0.997942 6.561613 -0.297400 -v 0.997942 6.467088 -0.420587 -v 0.997942 6.343902 -0.515111 -v 0.997942 6.200448 -0.574532 -v 0.997942 6.046502 -0.594799 -v 0.997942 5.892557 -0.574532 -v 0.997942 5.749103 -0.515111 -v 0.997942 5.625916 -0.420587 -v 0.997942 5.531392 -0.297400 -v 0.997942 5.471971 -0.153946 -v 0.997942 6.641301 -0.000000 -usemtl (null) -s off -f 73 61 72 -f 71 74 73 -f 71 73 72 -f 70 75 74 -f 70 74 71 -f 69 76 75 -f 69 75 70 -f 68 77 76 -f 68 76 69 -f 67 78 77 -f 67 77 68 -f 66 79 78 -f 66 78 67 -f 65 80 79 -f 65 79 66 -f 64 81 80 -f 64 80 65 -f 63 82 81 -f 63 81 64 -f 62 83 82 -f 62 82 63 -f 106 83 62 -f 106 84 83 -f 83 84 85 -f 83 85 82 -f 82 85 86 -f 82 86 81 -f 81 86 87 -f 81 87 80 -f 80 87 88 -f 80 88 79 -f 79 88 89 -f 79 89 78 -f 78 89 90 -f 78 90 77 -f 77 90 91 -f 77 91 76 -f 76 91 92 -f 76 92 75 -f 75 92 93 -f 75 93 74 -f 74 93 94 -f 74 94 73 -f 94 61 73 -f 95 61 94 -f 93 96 95 -f 93 95 94 -f 92 97 96 -f 92 96 93 -f 91 98 97 -f 91 97 92 -f 90 99 98 -f 90 98 91 -f 89 100 99 -f 89 99 90 -f 88 101 100 -f 88 100 89 -f 87 102 101 -f 87 101 88 -f 86 103 102 -f 86 102 87 -f 85 104 103 -f 85 103 86 -f 84 105 104 -f 84 104 85 -f 106 105 84 -f 106 107 105 -f 105 107 108 -f 105 108 104 -f 104 108 109 -f 104 109 103 -f 103 109 110 -f 103 110 102 -f 102 110 111 -f 102 111 101 -f 101 111 112 -f 101 112 100 -f 100 112 113 -f 100 113 99 -f 99 113 114 -f 99 114 98 -f 98 114 115 -f 98 115 97 -f 97 115 116 -f 97 116 96 -f 96 116 117 -f 96 117 95 -f 117 61 95 -f 118 61 117 -f 116 119 118 -f 116 118 117 -f 115 120 119 -f 115 119 116 -f 114 121 120 -f 114 120 115 -f 113 122 121 -f 113 121 114 -f 112 123 122 -f 112 122 113 -f 111 124 123 -f 111 123 112 -f 110 125 124 -f 110 124 111 -f 109 126 125 -f 109 125 110 -f 108 127 126 -f 108 126 109 -f 107 128 127 -f 107 127 108 -f 106 128 107 -f 106 129 128 -f 128 129 130 -f 128 130 127 -f 127 130 131 -f 127 131 126 -f 126 131 132 -f 126 132 125 -f 125 132 133 -f 125 133 124 -f 124 133 134 -f 124 134 123 -f 123 134 135 -f 123 135 122 -f 122 135 136 -f 122 136 121 -f 121 136 137 -f 121 137 120 -f 120 137 138 -f 120 138 119 -f 119 138 139 -f 119 139 118 -f 139 61 118 -f 161 140 218 -f 160 141 140 -f 160 140 161 -f 159 142 141 -f 159 141 160 -f 158 143 142 -f 158 142 159 -f 157 144 143 -f 157 143 158 -f 156 145 144 -f 156 144 157 -f 155 146 145 -f 155 145 156 -f 154 147 146 -f 154 146 155 -f 153 148 147 -f 153 147 154 -f 152 149 148 -f 152 148 153 -f 151 150 149 -f 151 149 152 -f 173 150 151 -f 173 151 172 -f 172 151 152 -f 172 152 171 -f 171 152 153 -f 171 153 170 -f 170 153 154 -f 170 154 169 -f 169 154 155 -f 169 155 168 -f 168 155 156 -f 168 156 167 -f 167 156 157 -f 167 157 166 -f 166 157 158 -f 166 158 165 -f 165 158 159 -f 165 159 164 -f 164 159 160 -f 164 160 163 -f 163 160 161 -f 163 161 162 -f 162 161 218 -f 184 162 218 -f 183 163 162 -f 183 162 184 -f 182 164 163 -f 182 163 183 -f 181 165 164 -f 181 164 182 -f 180 166 165 -f 180 165 181 -f 179 167 166 -f 179 166 180 -f 178 168 167 -f 178 167 179 -f 177 169 168 -f 177 168 178 -f 176 170 169 -f 176 169 177 -f 175 171 170 -f 175 170 176 -f 174 172 171 -f 174 171 175 -f 173 172 174 -f 173 174 195 -f 195 174 175 -f 195 175 194 -f 194 175 176 -f 194 176 193 -f 193 176 177 -f 193 177 192 -f 192 177 178 -f 192 178 191 -f 191 178 179 -f 191 179 190 -f 190 179 180 -f 190 180 189 -f 189 180 181 -f 189 181 188 -f 188 181 182 -f 188 182 187 -f 187 182 183 -f 187 183 186 -f 186 183 184 -f 186 184 185 -f 185 184 218 -f 206 185 218 -f 205 186 185 -f 205 185 206 -f 204 187 186 -f 204 186 205 -f 203 188 187 -f 203 187 204 -f 202 189 188 -f 202 188 203 -f 201 190 189 -f 201 189 202 -f 200 191 190 -f 200 190 201 -f 199 192 191 -f 199 191 200 -f 198 193 192 -f 198 192 199 -f 197 194 193 -f 197 193 198 -f 196 195 194 -f 196 194 197 -f 173 195 196 -f 173 196 217 -f 217 196 197 -f 217 197 216 -f 216 197 198 -f 216 198 215 -f 215 198 199 -f 215 199 214 -f 214 199 200 -f 214 200 213 -f 213 200 201 -f 213 201 212 -f 212 201 202 -f 212 202 211 -f 211 202 203 -f 211 203 210 -f 210 203 204 -f 210 204 209 -f 209 204 205 -f 209 205 208 -f 208 205 206 -f 208 206 207 -f 207 206 218 -f 64 65 214 -f 64 214 215 -f 65 66 213 -f 65 213 214 -f 66 67 212 -f 66 212 213 -f 67 68 211 -f 67 211 212 -f 68 69 210 -f 68 210 211 -f 69 70 209 -f 69 209 210 -f 70 71 208 -f 70 208 209 -f 71 72 207 -f 71 207 208 -f 61 218 207 -f 61 207 72 -f 61 139 140 -f 61 140 218 -f 138 141 140 -f 138 140 139 -f 137 142 141 -f 137 141 138 -f 136 143 142 -f 136 142 137 -f 135 144 143 -f 135 143 136 -f 134 145 144 -f 134 144 135 -f 133 146 145 -f 133 145 134 -f 132 147 146 -f 132 146 133 -f 131 148 147 -f 131 147 132 -f 130 149 148 -f 130 148 131 -f 129 150 149 -f 129 149 130 -f 106 173 150 -f 106 150 129 -f 62 217 173 -f 62 173 106 -f 62 63 216 -f 62 216 217 -f 63 64 215 -f 63 215 216 -v 0.803657 3.845104 -0.200341 -v 0.803657 3.845104 0.200341 -v 0.402975 3.845104 0.200341 -v 0.402975 3.845104 -0.200341 -v 0.603316 5.811587 -0.000000 -v 0.603316 3.845104 -0.000000 -usemtl (null) -s off -f 220 219 223 -f 223 221 220 -f 223 222 221 -f 223 219 222 -f 224 219 220 -f 224 220 221 -f 224 221 222 -f 222 219 224 -v 1.414214 -0.000000 -1.414214 -v 2.000000 0.000000 0.000000 -v 2.000000 0.000000 0.000000 -v 2.000000 0.000000 0.000000 -v 1.414214 0.000000 1.414214 -v 1.414214 0.000000 1.414214 -v 1.414214 0.000000 1.414214 -v -0.000000 0.000000 2.000000 -v -0.000000 0.000000 2.000000 -v -0.000000 0.000000 2.000000 -v -1.414214 0.000000 1.414213 -v -1.414214 0.000000 1.414213 -v -1.414214 0.000000 1.414213 -v -2.000000 -0.000000 -0.000000 -v -2.000000 -0.000000 -0.000000 -v -2.000000 -0.000000 -0.000000 -v -1.414214 -0.000000 -1.414213 -v -1.414214 -0.000000 -1.414213 -v -1.414214 -0.000000 -1.414213 -v -0.000001 -0.000000 -2.000000 -v -0.000001 -0.000000 -2.000000 -v -0.000001 -0.000000 -2.000000 -v -0.765367 1.483010 -1.847759 -v -0.765367 1.483010 -1.847759 -v -0.765367 1.483010 -1.847759 -v -1.847759 1.483010 -0.765366 -v -1.847759 1.483010 -0.765366 -v -1.847759 1.483010 -0.765366 -v -1.847759 1.483010 0.765367 -v -1.847759 1.483010 0.765367 -v -1.847759 1.483010 0.765367 -v -0.765367 1.483010 1.847759 -v -0.765367 1.483010 1.847759 -v -0.765367 1.483010 1.847759 -v 0.765367 1.483010 1.847759 -v 0.765367 1.483010 1.847759 -v 0.765367 1.483010 1.847759 -v 1.847759 1.483010 0.765367 -v 1.847759 1.483010 0.765367 -v 1.847759 1.483010 0.765367 -v 1.847759 1.483010 -0.765367 -v 1.847759 1.483010 -0.765367 -v 1.847759 1.483010 -0.765367 -v 0.765367 1.483010 -1.847759 -v 0.765367 1.483010 -1.847759 -v -0.000000 1.483010 -0.000000 -v -0.000000 1.483010 -0.000000 -v -0.000000 -0.000000 -0.000000 -v -0.000000 -0.000000 -0.000000 -v 0.039342 -0.614886 -2.708646 -v 0.039342 -0.614886 -2.708646 -v 0.039342 -0.614886 -2.708646 -v 0.039342 -0.614886 -2.708646 -v 0.053987 -0.619693 -2.655628 -v 0.053987 -0.619693 -2.655628 -v 0.053987 -0.619693 -2.655628 -v 0.053987 -0.619693 -2.655628 -v 0.039342 -0.624500 -2.602610 -v 0.039342 -0.624500 -2.602610 -v 0.039342 -0.624500 -2.602610 -v 0.039342 -0.624500 -2.602610 -v 0.003987 -0.626491 -2.580649 -v 0.003987 -0.626491 -2.580649 -v 0.003987 -0.626491 -2.580649 -v 0.003987 -0.626491 -2.580649 -v -0.031368 -0.624500 -2.602610 -v -0.031368 -0.624500 -2.602610 -v -0.031368 -0.624500 -2.602610 -v -0.031368 -0.624500 -2.602610 -v -0.046013 -0.619693 -2.655628 -v -0.046013 -0.619693 -2.655628 -v -0.046013 -0.619693 -2.655628 -v -0.046013 -0.619693 -2.655628 -v -0.031368 -0.614886 -2.708646 -v -0.031368 -0.614886 -2.708646 -v -0.031368 -0.614886 -2.708646 -v -0.031368 -0.614886 -2.708646 -v 0.003987 -0.612895 -2.730607 -v 0.003987 -0.612895 -2.730607 -v 0.003987 -0.612895 -2.730607 -v 0.003987 -0.612895 -2.730607 -v 0.039342 1.206135 -1.869200 -v 0.039342 1.206135 -1.869200 -v 0.053987 1.182634 -1.816778 -v 0.053987 1.182634 -1.816778 -v 0.039342 1.159133 -1.764356 -v 0.039342 1.159133 -1.764356 -v 0.003987 1.149398 -1.742642 -v 0.003987 1.149398 -1.742642 -v -0.031368 1.159133 -1.764356 -v -0.031368 1.159133 -1.764356 -v -0.046013 1.182634 -1.816778 -v -0.046013 1.182634 -1.816778 -v -0.031368 1.206136 -1.869200 -v -0.031368 1.206136 -1.869200 -v 0.003987 1.215870 -1.890914 -v 0.003987 1.215870 -1.890914 -v 0.003987 -0.619693 -2.655628 -v 0.003987 1.182634 -1.816778 -v 1.815641 1.182634 -0.004957 -v 2.654491 -0.619693 -0.005292 -v 1.889777 1.215870 -0.004986 -v 1.889777 1.215870 -0.004986 -v 1.868049 1.206136 -0.040333 -v 1.868049 1.206136 -0.040333 -v 1.815621 1.182634 -0.054957 -v 1.815621 1.182634 -0.054957 -v 1.763205 1.159133 -0.040291 -v 1.763205 1.159133 -0.040291 -v 1.741505 1.149398 -0.004927 -v 1.741505 1.149398 -0.004927 -v 1.763234 1.159133 0.030420 -v 1.763234 1.159133 0.030420 -v 1.815661 1.182634 0.045043 -v 1.815661 1.182634 0.045043 -v 1.868077 1.206136 0.030378 -v 1.868077 1.206136 0.030378 -v 2.729470 -0.612894 -0.005322 -v 2.729470 -0.612894 -0.005322 -v 2.729470 -0.612894 -0.005322 -v 2.729470 -0.612894 -0.005322 -v 2.707495 -0.614886 -0.040669 -v 2.707495 -0.614886 -0.040669 -v 2.707495 -0.614886 -0.040669 -v 2.707495 -0.614886 -0.040669 -v 2.654471 -0.619693 -0.055292 -v 2.654471 -0.619693 -0.055292 -v 2.654471 -0.619693 -0.055292 -v 2.654471 -0.619693 -0.055292 -v 2.601459 -0.624500 -0.040626 -v 2.601459 -0.624500 -0.040626 -v 2.601459 -0.624500 -0.040626 -v 2.601459 -0.624500 -0.040626 -v 2.579512 -0.626491 -0.005262 -v 2.579512 -0.626491 -0.005262 -v 2.579512 -0.626491 -0.005262 -v 2.579512 -0.626491 -0.005262 -v 2.601487 -0.624500 0.030084 -v 2.601487 -0.624500 0.030084 -v 2.601487 -0.624500 0.030084 -v 2.601487 -0.624500 0.030084 -v 2.654511 -0.619693 0.044708 -v 2.654511 -0.619693 0.044708 -v 2.654511 -0.619693 0.044708 -v 2.654511 -0.619693 0.044708 -v 2.707523 -0.614886 0.030042 -v 2.707523 -0.614886 0.030042 -v 2.707523 -0.614886 0.030042 -v 2.707523 -0.614886 0.030042 -v -0.048773 -0.614886 2.724306 -v -0.048773 -0.614886 2.724306 -v -0.048773 -0.614886 2.724306 -v -0.048773 -0.614886 2.724306 -v -0.062936 -0.619693 2.671157 -v -0.062936 -0.619693 2.671157 -v -0.062936 -0.619693 2.671157 -v -0.062936 -0.619693 2.671157 -v -0.047811 -0.624500 2.618274 -v -0.047811 -0.624500 2.618274 -v -0.047811 -0.624500 2.618274 -v -0.047811 -0.624500 2.618274 -v -0.012258 -0.626491 2.596635 -v -0.012258 -0.626491 2.596635 -v -0.012258 -0.626491 2.596635 -v -0.012258 -0.626491 2.596635 -v 0.022896 -0.624500 2.618915 -v 0.022896 -0.624500 2.618915 -v 0.022896 -0.624500 2.618915 -v 0.022896 -0.624500 2.618915 -v 0.037060 -0.619693 2.672064 -v 0.037060 -0.619693 2.672064 -v 0.037060 -0.619693 2.672064 -v 0.037060 -0.619693 2.672064 -v 0.021935 -0.614886 2.724946 -v 0.021935 -0.614886 2.724946 -v 0.021935 -0.614886 2.724946 -v 0.021935 -0.614886 2.724946 -v -0.013618 -0.612894 2.746586 -v -0.013618 -0.612894 2.746586 -v -0.013618 -0.612894 2.746586 -v -0.013618 -0.612894 2.746586 -v -0.041163 1.206136 1.884894 -v -0.041163 1.206136 1.884894 -v -0.055332 1.182634 1.832342 -v -0.055332 1.182634 1.832342 -v -0.040213 1.159133 1.780055 -v -0.040213 1.159133 1.780055 -v -0.004662 1.149398 1.758662 -v -0.004662 1.149398 1.758662 -v 0.030495 1.159133 1.780696 -v 0.030495 1.159133 1.780696 -v 0.044664 1.182634 1.833248 -v 0.044664 1.182634 1.833248 -v 0.029545 1.206136 1.885535 -v 0.029545 1.206136 1.885535 -v -0.006006 1.215870 1.906928 -v -0.006006 1.215870 1.906928 -v -0.012938 -0.619693 2.671610 -v -0.005334 1.182634 1.832795 -v -1.820801 1.182634 -0.021234 -v -2.659629 -0.619693 -0.015261 -v -1.894934 1.215870 -0.020707 -v -1.894934 1.215870 -0.020707 -v -1.872969 1.206136 0.014493 -v -1.872969 1.206136 0.014493 -v -1.820445 1.182634 0.028764 -v -1.820445 1.182634 0.028764 -v -1.768129 1.159133 0.013747 -v -1.768129 1.159133 0.013747 -v -1.746666 1.149398 -0.021762 -v -1.746666 1.149398 -0.021762 -v -1.768632 1.159133 -0.056962 -v -1.768632 1.159133 -0.056962 -v -1.821157 1.182634 -0.071233 -v -1.821157 1.182634 -0.071233 -v -1.873473 1.206136 -0.056216 -v -1.873473 1.206136 -0.056216 -v -2.734606 -0.612894 -0.014728 -v -2.734606 -0.612894 -0.014728 -v -2.734606 -0.612894 -0.014728 -v -2.734606 -0.612894 -0.014728 -v -2.712394 -0.614886 0.020471 -v -2.712394 -0.614886 0.020471 -v -2.712394 -0.614886 0.020471 -v -2.712394 -0.614886 0.020471 -v -2.659273 -0.619693 0.034737 -v -2.659273 -0.619693 0.034737 -v -2.659273 -0.619693 0.034737 -v -2.659273 -0.619693 0.034737 -v -2.606360 -0.624500 0.019715 -v -2.606360 -0.624500 0.019715 -v -2.606360 -0.624500 0.019715 -v -2.606360 -0.624500 0.019715 -v -2.584652 -0.626491 -0.015795 -v -2.584652 -0.626491 -0.015795 -v -2.584652 -0.626491 -0.015795 -v -2.584652 -0.626491 -0.015795 -v -2.606864 -0.624500 -0.050993 -v -2.606864 -0.624500 -0.050993 -v -2.606864 -0.624500 -0.050993 -v -2.606864 -0.624500 -0.050993 -v -2.659985 -0.619693 -0.065260 -v -2.659985 -0.619693 -0.065260 -v -2.659985 -0.619693 -0.065260 -v -2.659985 -0.619693 -0.065260 -v -2.712898 -0.614886 -0.050238 -v -2.712898 -0.614886 -0.050238 -v -2.712898 -0.614886 -0.050238 -v -2.712898 -0.614886 -0.050238 -vt 0.000000 0.000000 -vt 1.000000 1.000000 -vt 1.000000 0.000000 -vt 0.000000 1.000000 -usemtl Nonerusty.pn -s off -f 229/1 259/2 232/3 -f 233/1 259/2 256/3 -f 233/1 257/2 235/3 -f 236/1 257/2 253/3 -f 236/1 254/2 238/3 -f 239/1 254/2 250/3 -f 239/1 251/2 241/3 -f 242/1 251/2 247/3 -f 242/1 248/2 244/3 -f 245/1 248/2 268/3 -f 225/1 246/2 268/3 -f 225/1 269/2 265/3 -f 225/1 266/2 226/3 -f 227/1 266/2 262/3 -f 227/1 263/2 230/3 -f 229/1 263/2 260/3 -f 258/1 259/2 270/3 -f 261/1 263/2 270/3 -f 264/1 266/2 270/3 -f 267/1 269/2 270/3 -f 249/1 271/2 268/3 -f 249/1 251/2 270/3 -f 252/1 254/2 270/3 -f 255/1 257/2 270/3 -f 236/1 240/2 272/3 -f 239/1 243/2 272/3 -f 242/1 246/2 272/3 -f 225/1 273/2 244/3 -f 225/1 228/2 272/3 -f 227/1 231/2 272/3 -f 229/1 234/2 272/3 -f 233/1 237/2 272/3 -f 322/1 274/3 278/2 -f 323/1 308/3 306/2 -f 322/1 279/3 282/2 -f 323/1 310/3 309/2 -f 322/1 283/3 286/2 -f 323/1 312/3 311/2 -f 322/1 287/3 290/2 -f 323/1 314/3 313/2 -f 322/1 291/3 294/2 -f 323/1 316/3 315/2 -f 322/1 295/3 298/2 -f 323/1 318/3 317/2 -f 322/1 299/3 302/2 -f 323/1 320/3 319/2 -f 322/1 303/3 275/2 -f 323/1 307/3 321/2 -f 276/1 307/3 309/2 -f 276/1 309/2 280/4 -f 281/1 308/3 311/2 -f 281/1 311/2 284/4 -f 285/1 310/3 313/2 -f 285/1 313/2 288/4 -f 289/1 312/3 315/2 -f 289/1 315/2 292/4 -f 293/1 314/3 317/2 -f 293/1 317/2 296/4 -f 297/1 316/3 319/2 -f 297/1 319/2 300/4 -f 301/1 318/3 321/2 -f 301/1 321/2 304/4 -f 305/1 320/3 306/2 -f 305/1 306/2 277/4 -f 342/1 326/3 340/2 -f 342/1 340/2 370/4 -f 346/1 328/3 327/2 -f 346/1 327/2 343/4 -f 350/1 330/3 329/2 -f 350/1 329/2 347/4 -f 354/1 332/3 331/2 -f 354/1 331/2 351/4 -f 358/1 334/3 333/2 -f 358/1 333/2 355/4 -f 362/1 336/3 335/2 -f 362/1 335/2 359/4 -f 366/1 338/3 337/2 -f 366/1 337/2 363/4 -f 371/1 341/3 339/2 -f 371/1 339/2 367/4 -f 324/1 341/3 327/2 -f 325/1 344/3 372/2 -f 324/1 326/3 329/2 -f 325/1 348/3 345/2 -f 324/1 328/3 331/2 -f 325/1 352/3 349/2 -f 324/1 330/3 333/2 -f 325/1 356/3 353/2 -f 324/1 332/3 335/2 -f 325/1 360/3 357/2 -f 324/1 334/3 337/2 -f 325/1 364/3 361/2 -f 324/1 336/3 339/2 -f 325/1 368/3 365/2 -f 324/1 338/3 340/2 -f 325/1 373/3 369/2 -f 422/1 374/3 378/2 -f 423/1 408/3 406/2 -f 422/1 379/3 382/2 -f 423/1 410/3 409/2 -f 422/1 383/3 386/2 -f 423/1 412/3 411/2 -f 422/1 387/3 390/2 -f 423/1 414/3 413/2 -f 422/1 391/3 394/2 -f 423/1 416/3 415/2 -f 422/1 395/3 398/2 -f 423/1 418/3 417/2 -f 422/1 399/3 402/2 -f 423/1 420/3 419/2 -f 422/1 403/3 375/2 -f 423/1 407/3 421/2 -f 376/1 407/3 409/2 -f 376/1 409/2 380/4 -f 381/1 408/3 411/2 -f 381/1 411/2 384/4 -f 385/1 410/3 413/2 -f 385/1 413/2 388/4 -f 389/1 412/3 415/2 -f 389/1 415/2 392/4 -f 393/1 414/3 417/2 -f 393/1 417/2 396/4 -f 397/1 416/3 419/2 -f 397/1 419/2 400/4 -f 401/1 418/3 421/2 -f 401/1 421/2 404/4 -f 405/1 420/3 406/2 -f 405/1 406/2 377/4 -f 442/1 426/3 440/2 -f 442/1 440/2 470/4 -f 446/1 428/3 427/2 -f 446/1 427/2 443/4 -f 450/1 430/3 429/2 -f 450/1 429/2 447/4 -f 454/1 432/3 431/2 -f 454/1 431/2 451/4 -f 458/1 434/3 433/2 -f 458/1 433/2 455/4 -f 462/1 436/3 435/2 -f 462/1 435/2 459/4 -f 466/1 438/3 437/2 -f 466/1 437/2 463/4 -f 471/1 441/3 439/2 -f 471/1 439/2 467/4 -f 424/1 441/3 427/2 -f 425/1 444/3 472/2 -f 424/1 426/3 429/2 -f 425/1 448/3 445/2 -f 424/1 428/3 431/2 -f 425/1 452/3 449/2 -f 424/1 430/3 433/2 -f 425/1 456/3 453/2 -f 424/1 432/3 435/2 -f 425/1 460/3 457/2 -f 424/1 434/3 437/2 -f 425/1 464/3 461/2 -f 424/1 436/3 439/2 -f 425/1 468/3 465/2 -f 424/1 438/3 440/2 -f 425/1 473/3 469/2 -v 0.353553 -0.651305 -3.028615 -v 0.353553 -0.651305 -3.028615 -v 0.500000 -0.651305 -2.675062 -v 0.500000 -0.651305 -2.675062 -v 0.500000 -0.651305 -2.675062 -v 0.500000 -0.651305 -2.675062 -v 0.353553 -0.651305 -2.321509 -v 0.353553 -0.651305 -2.321509 -v 0.353553 -0.651305 -2.321509 -v 0.353553 -0.651305 -2.321509 -v -0.000000 -0.651305 -2.175062 -v -0.000000 -0.651305 -2.175062 -v -0.000000 -0.651305 -2.175062 -v -0.000000 -0.651305 -2.175062 -v -0.353553 -0.651305 -2.321509 -v -0.353553 -0.651305 -2.321509 -v -0.353553 -0.651305 -2.321509 -v -0.353553 -0.651305 -2.321509 -v -0.500000 -0.651305 -2.675062 -v -0.500000 -0.651305 -2.675062 -v -0.500000 -0.651305 -2.675062 -v -0.500000 -0.651305 -2.675062 -v -0.353553 -0.651305 -3.028615 -v -0.353553 -0.651305 -3.028615 -v -0.353553 -0.651305 -3.028615 -v -0.353553 -0.651305 -3.028615 -v -0.000000 -0.651305 -3.175062 -v -0.000000 -0.651305 -3.175062 -v -0.000000 -0.651305 -3.175062 -v 0.353553 -0.591305 -3.028615 -v 0.353553 -0.591305 -3.028615 -v 0.353553 -0.591305 -3.028615 -v 0.500000 -0.591305 -2.675062 -v 0.500000 -0.591305 -2.675062 -v 0.353554 -0.591305 -2.321509 -v 0.353554 -0.591305 -2.321509 -v -0.000000 -0.591305 -2.175062 -v -0.000000 -0.591305 -2.175062 -v -0.353554 -0.591305 -2.321509 -v -0.353554 -0.591305 -2.321509 -v -0.500000 -0.591305 -2.675062 -v -0.500000 -0.591305 -2.675062 -v -0.353553 -0.591305 -3.028616 -v -0.353553 -0.591305 -3.028616 -v 0.000001 -0.591305 -3.175062 -v 0.000001 -0.591305 -3.175062 -v 0.000001 -0.591305 -3.175062 -v 0.000000 -0.651305 -2.675062 -v 0.000000 -0.651305 -2.675062 -v 0.000000 -0.591305 -2.675062 -vt 0.000000 0.000000 -vt 1.000000 0.000000 -vt 1.000000 1.000000 -vt 0.000000 1.000000 -usemtl Nonerusty.pn -s off -f 521/5 474/6 476/7 -f 523/5 506/6 503/7 -f 521/5 477/6 480/7 -f 523/5 508/6 507/7 -f 521/5 481/6 484/7 -f 523/5 510/6 509/7 -f 521/5 485/6 488/7 -f 523/5 512/6 511/7 -f 521/5 489/6 492/7 -f 523/5 514/6 513/7 -f 521/5 493/6 496/7 -f 523/5 516/6 515/7 -f 521/5 497/6 500/7 -f 523/5 518/6 517/7 -f 501/5 474/6 522/7 -f 523/5 504/6 519/7 -f 475/5 504/6 507/7 -f 475/5 507/7 478/8 -f 479/5 506/6 509/7 -f 479/5 509/7 482/8 -f 483/5 508/6 511/7 -f 483/5 511/7 486/8 -f 487/5 510/6 513/7 -f 487/5 513/7 490/8 -f 491/5 512/6 515/7 -f 491/5 515/7 494/8 -f 495/5 514/6 517/7 -f 495/5 517/7 498/8 -f 499/5 516/6 519/7 -f 499/5 519/7 502/8 -f 505/5 474/6 500/7 -f 505/5 500/7 520/8 -v -2.330138 -0.651305 -0.353553 -v -2.330138 -0.651305 -0.353553 -v -2.183692 -0.651305 0.000000 -v -2.183692 -0.651305 0.000000 -v -2.183692 -0.651305 0.000000 -v -2.183692 -0.651305 0.000000 -v -2.330138 -0.651305 0.353553 -v -2.330138 -0.651305 0.353553 -v -2.330138 -0.651305 0.353553 -v -2.330138 -0.651305 0.353553 -v -2.683692 -0.651305 0.500000 -v -2.683692 -0.651305 0.500000 -v -2.683692 -0.651305 0.500000 -v -2.683692 -0.651305 0.500000 -v -3.037245 -0.651305 0.353553 -v -3.037245 -0.651305 0.353553 -v -3.037245 -0.651305 0.353553 -v -3.037245 -0.651305 0.353553 -v -3.183692 -0.651305 0.000000 -v -3.183692 -0.651305 0.000000 -v -3.183692 -0.651305 0.000000 -v -3.183692 -0.651305 0.000000 -v -3.037245 -0.651305 -0.353553 -v -3.037245 -0.651305 -0.353553 -v -3.037245 -0.651305 -0.353553 -v -3.037245 -0.651305 -0.353553 -v -2.683692 -0.651305 -0.500000 -v -2.683692 -0.651305 -0.500000 -v -2.683692 -0.651305 -0.500000 -v -2.330138 -0.591305 -0.353554 -v -2.330138 -0.591305 -0.353554 -v -2.330138 -0.591305 -0.353554 -v -2.183692 -0.591305 -0.000000 -v -2.183692 -0.591305 -0.000000 -v -2.330138 -0.591305 0.353553 -v -2.330138 -0.591305 0.353553 -v -2.683692 -0.591305 0.500000 -v -2.683692 -0.591305 0.500000 -v -3.037245 -0.591305 0.353553 -v -3.037245 -0.591305 0.353553 -v -3.183692 -0.591305 -0.000000 -v -3.183692 -0.591305 -0.000000 -v -3.037245 -0.591305 -0.353554 -v -3.037245 -0.591305 -0.353554 -v -2.683691 -0.591305 -0.500000 -v -2.683691 -0.591305 -0.500000 -v -2.683691 -0.591305 -0.500000 -v -2.683692 -0.651305 0.000000 -v -2.683692 -0.651305 0.000000 -v -2.683692 -0.591305 0.000000 -vt 0.000000 0.000000 -vt 1.000000 0.000000 -vt 1.000000 1.000000 -vt 0.000000 1.000000 -usemtl Nonerusty.pn -s off -f 571/9 524/10 526/11 -f 573/9 556/10 553/11 -f 571/9 527/10 530/11 -f 573/9 558/10 557/11 -f 571/9 531/10 534/11 -f 573/9 560/10 559/11 -f 571/9 535/10 538/11 -f 573/9 562/10 561/11 -f 571/9 539/10 542/11 -f 573/9 564/10 563/11 -f 571/9 543/10 546/11 -f 573/9 566/10 565/11 -f 571/9 547/10 550/11 -f 573/9 568/10 567/11 -f 551/9 524/10 572/11 -f 573/9 554/10 569/11 -f 525/9 554/10 557/11 -f 525/9 557/11 528/12 -f 529/9 556/10 559/11 -f 529/9 559/11 532/12 -f 533/9 558/10 561/11 -f 533/9 561/11 536/12 -f 537/9 560/10 563/11 -f 537/9 563/11 540/12 -f 541/9 562/10 565/11 -f 541/9 565/11 544/12 -f 545/9 564/10 567/11 -f 545/9 567/11 548/12 -f 549/9 566/10 569/11 -f 549/9 569/11 552/12 -f 555/9 524/10 550/11 -f 555/9 550/11 570/12 -v 3.028616 -0.651305 -0.353553 -v 3.028616 -0.651305 -0.353553 -v 3.175062 -0.651305 0.000000 -v 3.175062 -0.651305 0.000000 -v 3.175062 -0.651305 0.000000 -v 3.175062 -0.651305 0.000000 -v 3.028616 -0.651305 0.353553 -v 3.028616 -0.651305 0.353553 -v 3.028616 -0.651305 0.353553 -v 3.028616 -0.651305 0.353553 -v 2.675062 -0.651305 0.500000 -v 2.675062 -0.651305 0.500000 -v 2.675062 -0.651305 0.500000 -v 2.675062 -0.651305 0.500000 -v 2.321509 -0.651305 0.353553 -v 2.321509 -0.651305 0.353553 -v 2.321509 -0.651305 0.353553 -v 2.321509 -0.651305 0.353553 -v 2.175062 -0.651305 0.000000 -v 2.175062 -0.651305 0.000000 -v 2.175062 -0.651305 0.000000 -v 2.175062 -0.651305 0.000000 -v 2.321509 -0.651305 -0.353553 -v 2.321509 -0.651305 -0.353553 -v 2.321509 -0.651305 -0.353553 -v 2.321509 -0.651305 -0.353553 -v 2.675062 -0.651305 -0.500000 -v 2.675062 -0.651305 -0.500000 -v 2.675062 -0.651305 -0.500000 -v 3.028616 -0.591305 -0.353554 -v 3.028616 -0.591305 -0.353554 -v 3.028616 -0.591305 -0.353554 -v 3.175062 -0.591305 -0.000000 -v 3.175062 -0.591305 -0.000000 -v 3.028616 -0.591305 0.353553 -v 3.028616 -0.591305 0.353553 -v 2.675062 -0.591305 0.500000 -v 2.675062 -0.591305 0.500000 -v 2.321509 -0.591305 0.353553 -v 2.321509 -0.591305 0.353553 -v 2.175062 -0.591305 -0.000000 -v 2.175062 -0.591305 -0.000000 -v 2.321509 -0.591305 -0.353554 -v 2.321509 -0.591305 -0.353554 -v 2.675063 -0.591305 -0.500000 -v 2.675063 -0.591305 -0.500000 -v 2.675063 -0.591305 -0.500000 -v 2.675062 -0.651305 0.000000 -v 2.675062 -0.651305 0.000000 -v 2.675062 -0.591305 0.000000 -vt 0.000000 0.000000 -vt 1.000000 0.000000 -vt 1.000000 1.000000 -vt 0.000000 1.000000 -usemtl Nonerusty.pn -s off -f 621/13 574/14 576/15 -f 623/13 606/14 603/15 -f 621/13 577/14 580/15 -f 623/13 608/14 607/15 -f 621/13 581/14 584/15 -f 623/13 610/14 609/15 -f 621/13 585/14 588/15 -f 623/13 612/14 611/15 -f 621/13 589/14 592/15 -f 623/13 614/14 613/15 -f 621/13 593/14 596/15 -f 623/13 616/14 615/15 -f 621/13 597/14 600/15 -f 623/13 618/14 617/15 -f 601/13 574/14 622/15 -f 623/13 604/14 619/15 -f 575/13 604/14 607/15 -f 575/13 607/15 578/16 -f 579/13 606/14 609/15 -f 579/13 609/15 582/16 -f 583/13 608/14 611/15 -f 583/13 611/15 586/16 -f 587/13 610/14 613/15 -f 587/13 613/15 590/16 -f 591/13 612/14 615/15 -f 591/13 615/15 594/16 -f 595/13 614/14 617/15 -f 595/13 617/15 598/16 -f 599/13 616/14 619/15 -f 599/13 619/15 602/16 -f 605/13 574/14 600/15 -f 605/13 600/15 620/16 -v 0.353553 -0.651305 2.330138 -v 0.353553 -0.651305 2.330138 -v 0.500000 -0.651305 2.683691 -v 0.500000 -0.651305 2.683691 -v 0.500000 -0.651305 2.683691 -v 0.500000 -0.651305 2.683691 -v 0.353553 -0.651305 3.037245 -v 0.353553 -0.651305 3.037245 -v 0.353553 -0.651305 3.037245 -v 0.353553 -0.651305 3.037245 -v -0.000000 -0.651305 3.183691 -v -0.000000 -0.651305 3.183691 -v -0.000000 -0.651305 3.183691 -v -0.000000 -0.651305 3.183691 -v -0.353553 -0.651305 3.037245 -v -0.353553 -0.651305 3.037245 -v -0.353553 -0.651305 3.037245 -v -0.353553 -0.651305 3.037245 -v -0.500000 -0.651305 2.683691 -v -0.500000 -0.651305 2.683691 -v -0.500000 -0.651305 2.683691 -v -0.500000 -0.651305 2.683691 -v -0.353553 -0.651305 2.330138 -v -0.353553 -0.651305 2.330138 -v -0.353553 -0.651305 2.330138 -v -0.353553 -0.651305 2.330138 -v -0.000000 -0.651305 2.183691 -v -0.000000 -0.651305 2.183691 -v -0.000000 -0.651305 2.183691 -v 0.353553 -0.591305 2.330138 -v 0.353553 -0.591305 2.330138 -v 0.353553 -0.591305 2.330138 -v 0.500000 -0.591305 2.683691 -v 0.500000 -0.591305 2.683691 -v 0.353554 -0.591305 3.037245 -v 0.353554 -0.591305 3.037245 -v -0.000000 -0.591305 3.183691 -v -0.000000 -0.591305 3.183691 -v -0.353554 -0.591305 3.037245 -v -0.353554 -0.591305 3.037245 -v -0.500000 -0.591305 2.683691 -v -0.500000 -0.591305 2.683691 -v -0.353553 -0.591305 2.330137 -v -0.353553 -0.591305 2.330137 -v 0.000001 -0.591305 2.183691 -v 0.000001 -0.591305 2.183691 -v 0.000001 -0.591305 2.183691 -v 0.000000 -0.651305 2.683691 -v 0.000000 -0.651305 2.683691 -v 0.000000 -0.591305 2.683691 -vt 0.000000 0.000000 -vt 1.000000 0.000000 -vt 1.000000 1.000000 -vt 0.000000 1.000000 -usemtl Nonerusty.pn -s off -f 671/17 624/18 626/19 -f 673/17 656/18 653/19 -f 671/17 627/18 630/19 -f 673/17 658/18 657/19 -f 671/17 631/18 634/19 -f 673/17 660/18 659/19 -f 671/17 635/18 638/19 -f 673/17 662/18 661/19 -f 671/17 639/18 642/19 -f 673/17 664/18 663/19 -f 671/17 643/18 646/19 -f 673/17 666/18 665/19 -f 671/17 647/18 650/19 -f 673/17 668/18 667/19 -f 651/17 624/18 672/19 -f 673/17 654/18 669/19 -f 625/17 654/18 657/19 -f 625/17 657/19 628/20 -f 629/17 656/18 659/19 -f 629/17 659/19 632/20 -f 633/17 658/18 661/19 -f 633/17 661/19 636/20 -f 637/17 660/18 663/19 -f 637/17 663/19 640/20 -f 641/17 662/18 665/19 -f 641/17 665/19 644/20 -f 645/17 664/18 667/19 -f 645/17 667/19 648/20 -f 649/17 666/18 669/19 -f 649/17 669/19 652/20 -f 655/17 624/18 650/19 -f 655/17 650/19 670/20 -v 0.709899 1.489080 -0.703753 -v 1.002792 1.489080 0.003354 -v 0.709899 1.489080 0.710461 -v 0.002792 1.489080 1.003354 -v -0.704315 1.489080 0.710461 -v -0.997208 1.489080 0.003354 -v -0.704315 1.489080 -0.703752 -v 0.002792 1.489080 -0.996646 -v 0.709899 1.765484 -0.703753 -v 1.002792 1.765484 0.003354 -v 0.709899 1.765484 0.710461 -v 0.002792 1.765484 1.003354 -v -0.704315 1.765484 0.710461 -v -0.997208 1.765484 0.003354 -v -0.704314 1.765484 -0.703753 -v 0.002794 1.765484 -0.996646 -v 0.002792 1.489080 0.003354 -v 0.002792 1.765484 0.003354 -usemtl (null) -s off -f 690 674 675 -f 691 683 682 -f 690 675 676 -f 691 684 683 -f 690 676 677 -f 691 685 684 -f 690 677 678 -f 691 686 685 -f 690 678 679 -f 691 687 686 -f 690 679 680 -f 691 688 687 -f 690 680 681 -f 691 689 688 -f 681 674 690 -f 691 682 689 -f 674 682 683 -f 674 683 675 -f 675 683 684 -f 675 684 676 -f 676 684 685 -f 676 685 677 -f 677 685 686 -f 677 686 678 -f 678 686 687 -f 678 687 679 -f 679 687 688 -f 679 688 680 -f 680 688 689 -f 680 689 681 -f 682 674 681 -f 682 681 689 -v 1.049999 1.763321 -1.048155 -v 1.049999 1.763321 -1.048155 -v 1.049999 1.763321 1.053526 -v 1.049999 1.763321 1.053526 -v 1.049999 1.763321 1.053526 -v 1.049999 1.763321 1.053526 -v -1.051682 1.763321 1.053525 -v -1.051682 1.763321 1.053525 -v -1.051682 1.763321 1.053525 -v -1.051682 1.763321 -1.048155 -v -1.051682 1.763321 -1.048155 -v -1.051682 1.763321 -1.048155 -v -1.051682 1.763321 -1.048155 -v 1.049999 3.846746 -1.048154 -v 1.049999 3.846746 -1.048154 -v 1.049999 3.846746 -1.048154 -v -1.051682 3.846746 -1.048155 -v -1.051682 3.846746 -1.048155 -v -1.051682 3.846746 -1.048155 -v -1.051682 3.846746 1.053525 -v -1.051682 3.846746 1.053525 -v 1.049998 3.846746 1.053526 -v 1.049998 3.846746 1.053526 -v 1.049998 3.846746 1.053526 -v 1.469491 2.060526 -1.048155 -v 1.469491 2.060526 -1.048155 -v 1.469491 3.549541 -1.048154 -v 1.469491 3.549541 -1.048154 -v 1.469491 3.549541 -1.048154 -v 1.469490 3.549541 1.053526 -v 1.469490 3.549541 1.053526 -v 1.469490 3.549541 1.053526 -v 1.469490 2.060526 1.053526 -v 1.469490 2.060526 1.053526 -v 1.469490 2.060526 1.053526 -v 1.049998 2.060526 1.473017 -v 1.049998 2.060526 1.473017 -v 1.049998 3.549541 1.473018 -v 1.049998 3.549541 1.473018 -v 1.049998 3.549541 1.473018 -v -1.051682 3.549541 1.473017 -v -1.051682 3.549541 1.473017 -v -1.051682 3.549541 1.473017 -v -1.051682 2.060526 1.473017 -v -1.051682 2.060526 1.473017 -v -1.051682 2.060526 1.473017 -v -1.471174 2.060526 1.053525 -v -1.471174 2.060526 1.053525 -v -1.471174 3.549541 1.053525 -v -1.471174 3.549541 1.053525 -v -1.471174 3.549541 1.053525 -v -1.471174 3.549541 -1.048155 -v -1.471174 3.549541 -1.048155 -v -1.471174 3.549541 -1.048155 -v -1.471174 2.060526 -1.048155 -v -1.471174 2.060526 -1.048155 -v -1.471174 2.060526 -1.048155 -v 1.049999 3.549541 -1.467646 -v 1.049999 3.549541 -1.467646 -v 1.049999 3.549541 -1.467646 -v 1.049999 2.060526 -1.467647 -v 1.049999 2.060526 -1.467647 -v 1.049999 2.060526 -1.467647 -v -1.051682 2.060526 -1.467647 -v -1.051682 2.060526 -1.467647 -v -1.051682 2.060526 -1.467647 -v -1.051682 3.549541 -1.467647 -v -1.051682 3.549541 -1.467647 -v 2.029957 2.556905 -0.887185 -v 1.296532 2.556905 -0.887185 -v 1.296532 2.556905 -0.887185 -v 1.296532 3.284032 -0.887185 -v 1.296532 3.284032 -0.887185 -v 2.029957 3.284031 -0.887185 -v 2.029957 3.284031 -0.887185 -v 2.029957 3.284031 0.315386 -v 2.029957 3.284031 0.315386 -v 1.296532 3.284031 0.315386 -v 1.296532 3.284031 0.315386 -v 1.296532 3.284031 0.315386 -v 1.296532 2.556906 0.315387 -v 1.296532 2.556906 0.315387 -v 2.029957 2.556905 0.315387 -v 2.029957 2.556905 0.315387 -v 2.029957 2.556905 0.315387 -v 2.029957 3.587937 -0.458234 -v 2.029957 3.587937 -0.458234 -v 2.029957 3.587937 -0.458234 -v 2.029957 3.587937 -0.113564 -v 2.029957 3.587937 -0.113564 -v 2.029957 3.587937 -0.113564 -v 2.029957 2.252998 -0.113564 -v 2.029957 2.252998 -0.113564 -v 2.029957 2.252998 -0.458234 -v 2.029957 2.252998 -0.458234 -v 1.296532 2.252999 -0.458234 -v 1.296532 2.252999 -0.458234 -v 1.296532 2.252999 -0.458234 -v 1.296532 2.252999 -0.113564 -v 1.296532 2.252999 -0.113564 -v 1.296532 3.587938 -0.113564 -v 1.296532 3.587938 -0.113564 -v 1.296532 3.587938 -0.458234 -v 1.296532 3.587938 -0.458234 -v 0.340492 2.743868 1.395637 -v 0.340492 2.743868 1.395637 -v -0.209410 2.743867 1.395637 -v -0.209410 2.743867 1.395637 -v -0.209410 1.906234 1.395637 -v -0.209410 1.906234 1.395637 -v 0.340492 1.906234 1.395637 -v 0.340492 1.906234 1.395637 -v 0.340492 1.906234 1.395637 -v 0.340491 1.906234 1.823388 -v 0.340491 1.906234 1.823388 -v -0.209410 1.906234 1.823388 -v -0.209410 1.906234 1.823388 -v -0.209410 2.743867 1.823388 -v -0.209410 2.743867 1.823388 -v -0.209410 2.743867 1.823388 -v 0.340491 2.743867 1.823388 -v 0.340491 2.743867 1.823388 -v 0.340491 2.743867 1.823388 -v -0.893777 2.096926 1.823388 -v -0.893777 2.096926 1.823388 -v -0.893777 2.096926 1.823388 -v -0.893777 2.096926 1.395637 -v -0.893777 2.096926 1.395637 -v -0.893777 2.553175 1.395637 -v -0.893777 2.553175 1.395637 -v -0.893777 2.553175 1.395637 -v -0.893777 2.553175 1.823388 -v -0.893777 2.553175 1.823388 -v 1.024858 2.553175 1.823388 -v 1.024858 2.553175 1.823388 -v 1.024858 2.553176 1.395637 -v 1.024858 2.553176 1.395637 -v 1.024858 2.096926 1.395637 -v 1.024858 2.096926 1.395637 -v 1.024858 2.096926 1.823388 -vt 0.000000 0.000000 -vt 1.000000 0.000000 -vt 1.000000 1.000000 -vt 0.000000 1.000000 -usemtl Nonerusty.pn -s off -f 692/21 694/22 698/23 -f 692/21 698/23 701/24 -f 711/21 713/22 705/23 -f 711/21 705/23 708/24 -f 721/21 724/22 716/23 -f 721/21 716/23 718/24 -f 732/21 735/22 727/23 -f 732/21 727/23 729/24 -f 743/21 746/22 738/23 -f 743/21 738/23 740/24 -f 755/21 758/22 749/23 -f 755/21 749/23 752/24 -f 692/21 717/22 725/23 -f 692/21 725/23 695/24 -f 736/21 699/22 696/23 -f 736/21 696/23 728/24 -f 753/21 693/22 702/23 -f 753/21 702/23 756/24 -f 747/21 703/22 698/23 -f 747/21 698/23 739/24 -f 759/21 709/22 705/23 -f 759/21 705/23 750/24 -f 710/21 744/22 741/23 -f 710/21 741/23 712/24 -f 714/21 722/22 719/23 -f 714/21 719/23 706/24 -f 711/21 733/22 730/23 -f 711/21 730/23 715/24 -f 751/21 720/22 716/23 -f 751/21 716/23 752/24 -f 721/21 731/22 727/23 -f 721/21 727/23 726/24 -f 732/21 742/22 738/23 -f 732/21 738/23 737/24 -f 743/21 758/22 757/23 -f 743/21 757/23 748/24 -f 692/21 754/22 716/23 -f 697/21 724/22 727/23 -f 700/21 735/22 738/23 -f 704/21 746/22 757/23 -f 707/21 720/22 749/23 -f 714/21 731/22 723/23 -f 711/21 742/22 734/23 -f 710/21 758/22 745/23 -f 763/21 765/22 760/23 -f 763/21 760/23 761/24 -f 772/21 774/22 767/23 -f 772/21 767/23 769/24 -f 777/21 785/22 760/23 -f 777/21 760/23 766/24 -f 783/21 790/22 787/23 -f 783/21 787/23 786/24 -f 788/21 794/22 764/23 -f 788/21 764/23 761/24 -f 792/21 780/22 778/23 -f 792/21 778/23 795/24 -f 788/21 762/22 760/23 -f 788/21 760/23 786/24 -f 763/21 794/22 778/23 -f 763/21 778/23 766/24 -f 792/21 770/22 767/23 -f 792/21 767/23 781/24 -f 772/21 790/22 784/23 -f 772/21 784/23 775/24 -f 776/21 779/22 782/23 -f 776/21 782/23 768/24 -f 777/21 774/22 784/23 -f 777/21 784/23 786/24 -f 771/21 789/22 791/23 -f 771/21 791/23 773/24 -f 788/21 770/22 793/23 -f 788/21 793/23 795/24 -f 802/21 820/22 798/23 -f 802/21 798/23 796/24 -f 821/21 803/22 800/23 -f 821/21 800/23 818/24 -f 812/21 815/22 807/23 -f 812/21 807/23 805/24 -f 816/21 813/22 809/23 -f 816/21 809/23 823/24 -f 819/21 801/22 807/23 -f 819/21 807/23 817/24 -f 799/21 820/22 824/23 -f 799/21 824/23 810/24 -f 827/21 797/22 814/23 -f 827/21 814/23 825/24 -f 802/21 829/22 831/23 -f 802/21 831/23 805/24 -f 799/21 811/22 814/23 -f 799/21 814/23 796/24 -f 802/21 797/22 828/23 -f 802/21 828/23 830/24 -f 808/21 801/22 804/23 -f 808/21 804/23 805/24 -f 812/21 806/22 831/23 -f 812/21 831/23 825/24 -f 819/21 815/22 824/23 -f 819/21 824/23 822/24 -f 827/21 826/22 831/23 -f 827/21 831/23 830/24 -v -0.714283 3.818236 -0.544765 -v -0.701072 3.818236 -0.517479 -v -0.714283 3.818236 -0.490193 -v -0.746178 3.818236 -0.478891 -v -0.778073 3.818236 -0.490193 -v -0.791284 3.818236 -0.517479 -v -0.778073 3.818236 -0.544765 -v -0.746178 3.818236 -0.556067 -v -0.714283 5.818236 -0.544765 -v -0.701072 5.818236 -0.517479 -v -0.714283 5.818236 -0.490193 -v -0.746178 5.818236 -0.478891 -v -0.778073 5.818236 -0.490193 -v -0.791284 5.818236 -0.517479 -v -0.778073 5.818236 -0.544765 -v -0.746178 5.818236 -0.556067 -v -0.746178 3.818236 -0.517479 -v -0.746178 5.818236 -0.517479 -usemtl (null) -s off -f 848 832 833 -f 849 841 840 -f 848 833 834 -f 849 842 841 -f 848 834 835 -f 849 843 842 -f 848 835 836 -f 849 844 843 -f 848 836 837 -f 849 845 844 -f 848 837 838 -f 849 846 845 -f 848 838 839 -f 849 847 846 -f 839 832 848 -f 849 840 847 -f 832 840 841 -f 832 841 833 -f 833 841 842 -f 833 842 834 -f 834 842 843 -f 834 843 835 -f 835 843 844 -f 835 844 836 -f 836 844 845 -f 836 845 837 -f 837 845 846 -f 837 846 838 -f 838 846 847 -f 838 847 839 -f 840 832 839 -f 840 839 847 diff --git a/examples/quick3d/lander/qml/meshes/lunar-landscape.3ds b/examples/quick3d/lander/qml/meshes/lunar-landscape.3ds Binary files differdeleted file mode 100644 index 4fc9f707..00000000 --- a/examples/quick3d/lander/qml/meshes/lunar-landscape.3ds +++ /dev/null diff --git a/examples/quick3d/lander/qml/meshes/lunar-landscape.obj b/examples/quick3d/lander/qml/meshes/lunar-landscape.obj deleted file mode 100644 index b115a189..00000000 --- a/examples/quick3d/lander/qml/meshes/lunar-landscape.obj +++ /dev/null @@ -1,3207 +0,0 @@ -# Blender3D v249 OBJ File: lunar-landscape.blend
-# www.blender3d.org
-mtllib lunar-landscape.mtl
-v 6.987587 3.832309 -6.987586
-v 6.987587 0.000000 6.987587
-v -6.987588 0.001511 6.987586
-v -6.987585 -0.000000 -6.987589
-v 0.000000 0.000000 6.987586
-v 6.987587 0.000227 0.000000
-v 0.000001 2.874231 -6.987588
-v -6.987586 1.399991 -0.000002
-v -0.157373 2.432356 0.018808
-v 3.493793 0.006147 6.987586
-v -3.493794 0.000227 6.987586
-v 6.987587 -0.000000 -3.493793
-v 6.987587 0.000000 3.493793
-v 3.493794 0.000908 -6.987587
-v -3.493792 -0.000000 -6.987588
-v -6.987587 0.000000 3.493792
-v -6.987586 1.708463 -3.493796
-v -3.493793 0.045664 -0.000001
-v 0.000001 0.578838 -3.493794
-v 3.493793 0.006147 -0.000000
-v 0.000000 0.024587 3.493793
-v -3.493792 3.832309 -3.493795
-v 3.493794 0.005577 -3.493793
-v -3.493793 0.045664 3.493792
-v 3.493793 0.000000 3.493793
-v 1.746897 0.045664 6.987586
-v 5.240690 0.045664 6.987587
-v -1.746897 0.000000 6.987586
-v -5.245850 2.489622 6.987579
-v 6.987587 0.126444 -5.240690
-v 6.987587 3.832309 -1.746897
-v 6.987587 0.000000 5.240690
-v 6.987587 0.000000 1.746897
-v 5.240691 0.000908 -6.987587
-v 1.746898 0.126444 -6.987587
-v -5.240688 0.126444 -6.987588
-v -1.746895 0.126444 -6.987588
-v -6.811378 2.775703 1.650681
-v -6.987587 2.355273 5.240689
-v -6.987586 1.708463 -1.746899
-v -6.987585 0.045663 -5.240693
-v -1.780814 1.512713 -0.000001
-v -5.240689 3.053871 -0.000002
-v -0.011412 2.544912 -1.689837
-v 0.000001 0.578838 -5.240691
-v 1.667012 2.544912 0.011411
-v 5.240690 0.139720 0.000000
-v -0.033917 1.512714 1.746896
-v 0.000000 0.000908 5.240689
-v -5.240689 -0.000000 -3.493795
-v -3.493792 0.126444 -5.240692
-v -1.746896 0.579065 -3.493795
-v -3.493793 0.344065 -1.746898
-v 1.746897 0.000908 -3.493794
-v 3.493794 0.939364 -5.240690
-v 5.240690 0.004669 -3.493793
-v 3.493793 0.403728 -1.746897
-v -5.240690 1.463332 3.493792
-v -3.493793 0.208845 1.746895
-v -1.746897 0.024587 3.493793
-v -3.493793 0.000227 5.240689
-v 1.746897 0.208845 3.493793
-v 3.493793 0.000908 1.746896
-v 5.240690 0.208845 3.493793
-v 3.493793 0.006147 5.240690
-v -5.240689 2.874231 -5.240692
-v -1.746895 2.874231 -5.240692
-v -5.240689 0.045663 -1.746899
-v -1.746896 0.579065 -1.746898
-v 1.746898 3.832309 -5.240691
-v 5.240691 0.939364 -5.240690
-v 1.728248 0.831735 -1.746897
-v 5.240690 -0.000000 -1.746897
-v -5.240690 1.444047 1.746895
-v -1.746896 0.000227 1.746896
-v -5.240690 0.970727 5.240689
-v -1.746897 0.208845 5.240689
-v 1.746804 0.004135 1.746896
-v 5.240690 0.208845 1.746897
-v 1.746897 0.001135 5.240689
-v 5.240690 0.045664 5.240690
-v 2.620345 0.045664 6.987586
-v 0.873448 0.000000 6.987586
-v 4.367242 0.000227 6.987587
-v 6.114139 0.045664 6.987587
-v -2.620346 0.000227 6.987586
-v -0.873448 0.000000 6.987586
-v -4.367243 0.103614 6.987586
-v -6.114140 1.477486 6.987586
-v 6.987587 -0.000000 -4.367241
-v 6.987587 3.832309 -6.114138
-v 6.987587 1.708463 -2.620345
-v 6.987587 1.708463 -0.873448
-v 6.987587 0.000000 6.114139
-v 6.987587 0.000000 4.367242
-v 6.987587 0.000000 2.620345
-v 6.987587 0.000227 0.873449
-v 6.114139 1.708463 -6.987587
-v 4.367243 0.403727 -6.987587
-v 0.873450 1.708463 -6.987587
-v 2.620346 -0.000000 -6.987587
-v -6.114136 -0.000000 -6.987588
-v -4.367240 0.126444 -6.987588
-v -2.620343 0.004669 -6.987588
-v -0.873447 1.708464 -6.987588
-v -6.930481 2.505252 0.936312
-v -6.987587 0.103614 2.620343
-v -6.987587 0.769984 6.114137
-v -6.987587 0.769757 4.367240
-v -6.987586 0.769756 -0.873451
-v -6.987586 3.832309 -2.620347
-v -6.987585 0.045663 -6.114141
-v -6.987586 -0.000000 -4.367244
-v -1.284286 2.544912 0.251066
-v -2.620344 0.045664 -0.000001
-v -6.118347 2.379504 0.021046
-v -4.367241 0.928443 -0.000002
-v -0.265250 2.437868 -1.224662
-v -0.002510 0.690795 -2.620346
-v 0.000001 0.578838 -4.367243
-v 0.000001 1.708463 -6.114140
-v 1.257562 2.477531 0.181236
-v 2.617835 0.111957 -0.000000
-v 4.367242 0.139720 -0.000000
-v 6.114139 0.083050 0.000000
-v -0.157373 2.432356 1.130498
-v 0.000000 0.000000 2.620344
-v 0.000000 0.000908 6.114138
-v 0.000000 0.000000 4.367241
-v -4.367240 0.939364 -3.493795
-v -6.114137 0.939364 -3.493795
-v -3.493792 3.832309 -4.367243
-v -3.493792 0.126444 -6.114140
-v -2.620344 1.518202 -3.493795
-v -0.873447 0.578838 -3.493794
-v -3.493793 0.456221 -2.620347
-v -3.493793 0.000940 -0.873450
-v 0.873449 0.025464 -3.493794
-v 2.620346 0.403727 -3.493793
-v 3.493794 0.000908 -6.114139
-v 3.493794 1.708463 -4.367242
-v 6.114139 -0.000000 -3.493793
-v 4.367242 1.708463 -3.493793
-v 3.493793 0.000908 -0.873448
-v 3.493793 0.000908 -2.620345
-v -6.114139 1.463332 3.493792
-v -4.367242 0.045664 3.493792
-v -3.493793 0.083050 0.873447
-v -3.493793 0.208845 2.620344
-v -0.873448 0.698598 3.493793
-v -2.620345 0.024586 3.493792
-v -3.493793 0.083051 6.114138
-v -3.493793 0.070153 4.367241
-v 0.873448 0.000000 3.493793
-v 2.620345 0.208845 3.493793
-v 3.493793 0.000908 0.873448
-v 3.493793 0.000000 2.620345
-v 6.114139 0.000000 3.493793
-v 4.367242 0.208845 3.493793
-v 3.493793 0.139720 6.114138
-v 3.493793 0.000000 4.367241
-v -6.114137 0.169588 -5.240693
-v -5.240689 2.874231 -6.114140
-v -4.367240 2.874231 -5.240692
-v -5.240689 0.126443 -4.367243
-v -2.620344 1.733928 -5.240692
-v -1.746895 2.874231 -6.114140
-v -0.873447 0.705283 -5.240691
-v -1.746896 0.705283 -4.367243
-v -6.114138 0.939366 -1.746899
-v -5.240689 -0.000000 -2.620347
-v -4.367241 0.045663 -1.746898
-v -5.240689 1.073324 -0.873450
-v -2.620344 0.579065 -1.746898
-v -1.746896 0.661888 -2.620346
-v -0.892096 1.020912 -1.746898
-v -1.765545 0.838555 -0.873450
-v 0.873449 1.708464 -5.240691
-v 1.746898 3.832309 -6.114139
-v 2.620346 1.708463 -5.240690
-v 1.746898 0.126444 -4.367242
-v 4.367243 1.708463 -5.240690
-v 5.240691 0.000908 -6.114139
-v 6.114139 -0.000000 -5.240690
-v 5.240690 1.708463 -4.367242
-v 0.839532 1.512714 -1.746897
-v 1.746897 0.000908 -2.620346
-v 2.620345 -0.000000 -1.746897
-v 1.609951 2.544912 -0.713679
-v 4.367242 0.403728 -1.746897
-v 5.240690 -0.000000 -2.620345
-v 6.114139 1.708463 -1.746897
-v 5.240690 0.006147 -0.873448
-v -6.226498 2.775703 1.650681
-v -5.257568 2.380566 0.881865
-v -4.367241 0.208901 1.746895
-v -5.240690 0.208862 2.620343
-v -2.620345 0.083050 1.746896
-v -1.749407 0.111957 0.873447
-v -0.892097 0.831735 1.746896
-v -1.746897 0.000227 2.620344
-v -6.114139 2.379860 5.240689
-v -5.240690 2.564118 4.367240
-v -4.367242 0.024587 5.240689
-v -5.245913 2.515856 6.114130
-v -2.620345 0.024808 5.240689
-v -1.746897 0.024587 4.367241
-v -0.873448 0.208845 5.240689
-v -1.746897 0.208845 6.114138
-v 0.839531 1.512714 1.746896
-v 1.712980 1.512713 0.873448
-v 2.620345 0.000000 1.746896
-v 1.746897 0.000000 2.620344
-v 4.367242 0.403728 1.746897
-v 5.240690 0.007055 0.873448
-v 6.114139 0.208845 1.746897
-v 5.240690 0.208845 2.620345
-v 0.873448 0.403728 5.240689
-v 1.746897 0.208845 4.367241
-v 2.620345 0.083051 5.240689
-v 1.746897 0.046572 6.114138
-v 4.367242 0.000227 5.240690
-v 5.240690 0.208845 4.367242
-v 6.114139 0.045664 5.240690
-v 5.240690 0.045664 6.114139
-v -6.114137 0.169589 -6.114141
-v -4.367240 2.874231 -6.114140
-v -6.114137 -0.000000 -4.367244
-v -4.367240 1.708463 -4.367243
-v -2.620343 1.708463 -6.114140
-v -0.873447 0.949180 -6.114140
-v -2.620344 2.287302 -4.367243
-v -0.873447 0.578838 -4.367243
-v -6.114137 1.708463 -2.620347
-v -4.367240 -0.000000 -2.620347
-v -6.114138 1.399988 -0.873450
-v -4.367241 0.045663 -0.873450
-v -2.620344 0.661888 -2.620347
-v -0.873448 0.578838 -2.620346
-v -2.620344 0.344065 -0.873450
-v -1.010394 2.544912 -0.919098
-v 0.873449 1.708464 -6.114139
-v 2.620346 0.939364 -6.114139
-v 0.873449 0.348714 -4.367243
-v 2.620346 0.004669 -4.367242
-v 4.367243 0.403727 -6.114139
-v 6.114139 0.939364 -6.114139
-v 4.367242 2.874231 -4.367242
-v 6.114139 -0.000000 -4.367242
-v 0.873356 0.026239 -2.620346
-v 2.620345 0.403728 -2.620345
-v 0.954318 2.432356 -1.092883
-v 2.617835 0.111957 -0.873449
-v 4.367242 0.000908 -2.620345
-v 6.114139 0.939364 -2.620345
-v 4.367242 0.007054 -0.873448
-v 6.114139 0.939364 -0.873448
-v -6.226498 2.775703 1.065802
-v -4.367241 1.460189 0.873447
-v -6.114139 0.103614 2.620343
-v -4.367242 0.208845 2.620344
-v -2.620345 0.045664 0.873447
-v -0.930509 2.544912 0.873447
-v -2.620345 0.083050 2.620344
-v -0.873448 0.024587 2.620344
-v -6.114139 2.564118 4.367240
-v -4.367242 0.126893 4.367241
-v -6.119423 2.575730 6.114130
-v -4.367242 0.103064 6.114138
-v -2.620345 0.698598 4.367241
-v -0.873448 0.024587 4.367241
-v -2.620345 0.083051 6.114138
-v -0.873448 0.208845 6.114138
-v 1.021807 2.544912 1.078866
-v 2.620252 0.004135 0.873448
-v 0.873448 0.000000 2.620344
-v 2.620345 0.000000 2.620345
-v 4.367242 0.403728 0.873448
-v 6.114139 0.083050 0.873449
-v 4.367242 0.000000 2.620345
-v 6.114139 0.208845 2.620345
-v 0.873448 0.000000 4.367241
-v 2.620345 0.208845 4.367241
-v 0.873448 0.403728 6.114138
-v 2.620345 0.083051 6.114138
-v 4.367242 0.208845 4.367242
-v 6.114139 0.000000 4.367242
-v 4.367242 0.083051 6.114139
-v 6.114139 0.045664 6.114139
-v 2.183621 0.083051 6.987586
-v 3.057069 0.000227 6.987586
-v 1.310173 0.000227 6.987586
-v 0.436724 0.000000 6.987586
-v 4.803966 0.000227 6.987587
-v 3.930518 0.006147 6.987587
-v 5.677414 0.083051 6.987587
-v 6.550863 0.000227 6.987587
-v -2.183621 0.000000 6.987586
-v -3.057070 0.006147 6.987586
-v -1.310173 0.000000 6.987586
-v -0.436724 0.000000 6.987586
-v -4.803967 1.399991 6.987586
-v -3.930518 0.000000 6.987586
-v -5.686989 2.649852 6.987572
-v -6.550864 0.791741 6.987586
-v 6.987587 -0.000000 -4.803966
-v 6.987587 -0.000000 -3.930517
-v 6.987587 1.708463 -5.677414
-v 6.987587 3.832309 -6.550862
-v 6.987587 3.832309 -2.183621
-v 6.987587 0.126444 -3.057069
-v 6.987587 3.832309 -1.310172
-v 6.987587 0.126444 -0.436724
-v 6.987587 0.000000 5.677414
-v 6.987587 0.000000 6.550863
-v 6.987587 0.000000 4.803966
-v 6.987587 0.000000 3.930518
-v 6.987587 0.000000 2.183621
-v 6.987587 0.000000 3.057069
-v 6.987587 0.000000 1.310173
-v 6.987587 0.006147 0.436725
-v 5.677414 0.126444 -6.987587
-v 6.550863 3.832309 -6.987587
-v 4.803967 0.208845 -6.987587
-v 3.930518 0.208845 -6.987587
-v 1.310174 0.126444 -6.987587
-v 0.436725 2.874231 -6.987587
-v 2.183622 0.004669 -6.987587
-v 3.057070 -0.000000 -6.987587
-v -5.677412 0.004669 -6.987588
-v -6.550860 -0.000000 -6.987588
-v -4.803964 0.126444 -6.987588
-v -3.930516 0.004669 -6.987588
-v -2.183619 0.126444 -6.987588
-v -3.057068 -0.000000 -6.987588
-v -1.310171 0.126444 -6.987588
-v -0.436723 2.874231 -6.987588
-v -6.885465 2.673244 1.338740
-v -6.987586 1.399991 0.436722
-v -6.987587 1.399990 2.183619
-v -6.987587 0.000000 3.057068
-v -6.987587 1.399991 5.677413
-v -6.987587 0.094449 6.550861
-v -6.987587 1.399991 4.803965
-v -6.987587 0.009821 3.930516
-v -6.987586 0.128082 -1.310175
-v -6.987586 1.399991 -0.436726
-v -6.987586 3.832309 -2.183623
-v -6.987586 3.832309 -3.057072
-v -6.987585 0.083050 -5.677417
-v -6.987585 0.000227 -6.550865
-v -6.987586 0.000227 -4.803968
-v -6.987586 0.126443 -3.930520
-v -1.378645 2.544912 -0.159772
-v -0.930745 2.426263 -0.026189
-v -2.186131 0.112111 -0.000001
-v -3.057069 0.083050 -0.000001
-v -5.677413 2.759001 -0.000002
-v -6.550784 2.355273 0.000779
-v -4.803965 2.759001 -0.000002
-v -3.930517 0.017326 -0.000002
-v -0.342364 2.544912 -1.469944
-v -0.464730 2.415156 -0.889547
-v -0.033917 1.701891 -2.183622
-v 0.000001 0.578838 -3.057070
-v 0.000001 0.578838 -4.803967
-v 0.000001 0.578838 -3.930518
-v 0.000001 0.705282 -5.677415
-v 0.000001 2.874231 -6.550864
-v 1.510163 2.544912 0.018808
-v 0.398472 2.432356 0.018808
-v 2.149704 1.512715 -0.000001
-v 3.057069 -0.000000 -0.000000
-v 4.803966 0.083050 0.000000
-v 3.930518 0.083050 -0.000000
-v 5.677414 0.083050 0.000000
-v 6.550863 0.045664 0.000000
-v -0.057060 2.544912 1.447117
-v -0.480137 2.433997 0.867175
-v -0.002510 0.111957 2.183620
-v 0.000000 0.000908 3.057069
-v 0.000000 0.024587 5.677413
-v 0.000000 0.000000 6.550862
-v 0.000000 0.000000 4.803965
-v 0.000000 0.000908 3.930517
-v -4.803965 0.004669 -3.493795
-v -3.930516 1.708465 -3.493795
-v -5.677413 0.004669 -3.493795
-v -6.550861 1.708465 -3.493795
-v -3.493792 1.709404 -4.803967
-v -3.493792 3.832309 -3.930520
-v -3.493792 0.126444 -5.677416
-v -3.493792 0.004669 -6.550864
-v -2.183620 0.589653 -3.493795
-v -3.057068 1.897641 -3.493795
-v -1.310171 0.578838 -3.493794
-v -0.436723 0.578838 -3.493794
-v -3.493793 0.344065 -2.183623
-v -3.493792 1.708463 -3.057071
-v -3.493793 0.189177 -1.310174
-v -3.493793 0.000227 -0.436726
-v 1.310173 -0.000000 -3.493794
-v 0.436725 0.344065 -3.493794
-v 2.183621 0.208845 -3.493793
-v 3.057070 0.208845 -3.493793
-v 3.493794 0.004669 -5.677414
-v 3.493794 0.024586 -6.550863
-v 3.493794 1.708463 -4.803966
-v 3.493794 0.939364 -3.930518
-v 5.677414 -0.000000 -3.493793
-v 6.550863 -0.000000 -3.493793
-v 4.803966 0.939364 -3.493793
-v 3.930518 0.939364 -3.493793
-v 3.493793 0.208845 -1.310173
-v 3.493793 0.000227 -0.436724
-v 3.493793 0.208845 -2.183621
-v 3.493793 0.024586 -3.057069
-v -5.677414 1.486244 3.493792
-v -6.550863 0.402930 3.493792
-v -4.803966 0.403496 3.493792
-v -3.930518 0.083050 3.493792
-v -3.493793 0.046571 1.310171
-v -3.493793 0.083050 0.436723
-v -3.493793 0.403727 2.183620
-v -3.493793 0.001135 3.057068
-v -1.310172 0.403728 3.493793
-v -0.436724 0.403728 3.493793
-v -2.183621 0.000908 3.493792
-v -3.057069 0.001135 3.493792
-v -3.493793 0.045664 5.677413
-v -3.493793 0.045664 6.550862
-v -3.493793 0.001135 4.803965
-v -3.493793 0.083958 3.930517
-v 1.310173 0.000908 3.493793
-v 0.436724 0.000000 3.493793
-v 2.183621 0.403728 3.493793
-v 3.057069 0.000908 3.493793
-v 3.493793 0.024586 1.310172
-v 3.493793 0.000227 0.436724
-v 3.493793 0.000000 2.183620
-v 3.493793 0.000000 3.057069
-v 5.677414 0.000908 3.493793
-v 6.550863 0.000000 3.493793
-v 4.803966 0.403727 3.493793
-v 3.930518 0.000908 3.493793
-v 3.493793 0.083051 5.677414
-v 3.493793 0.083051 6.550862
-v 3.493793 0.000000 4.803966
-v 3.493793 0.000000 3.930517
-v -6.550861 0.083050 -5.240693
-v -5.677413 1.708463 -5.240693
-v -5.240689 1.708463 -6.550864
-v -5.240689 2.874231 -5.677416
-v -3.930516 1.708463 -5.240692
-v -4.803965 2.874231 -5.240692
-v -5.240689 -0.000000 -3.930519
-v -5.240689 1.708462 -4.803967
-v -3.057068 0.939364 -5.240692
-v -2.183619 2.874231 -5.240692
-v -1.746895 1.708463 -6.550864
-v -1.746895 2.874231 -5.677416
-v -0.436723 0.578838 -5.240691
-v -1.310171 1.729865 -5.240691
-v -1.746896 0.578838 -3.930519
-v -1.746896 1.729864 -4.803967
-v -6.550862 1.708463 -1.746899
-v -5.677413 0.004896 -1.746899
-v -5.240689 -0.000000 -3.057071
-v -5.240689 0.000227 -2.183623
-v -3.930517 0.025685 -1.746898
-v -4.803965 0.083050 -1.746898
-v -5.240689 2.759001 -0.436726
-v -5.240689 0.115640 -1.310174
-v -3.057069 0.578838 -1.746898
-v -2.183620 0.584985 -1.746898
-v -1.746896 0.624502 -3.057070
-v -1.746896 0.624502 -2.183622
-v -0.470641 2.091552 -1.746898
-v -1.310264 0.582973 -1.746898
-v -1.780813 1.512713 -0.436725
-v -1.746989 0.582973 -1.310174
-v 0.436725 0.705283 -5.240691
-v 1.310173 3.832309 -5.240691
-v 1.746898 1.708463 -6.550863
-v 1.746898 3.832309 -5.677414
-v 3.057070 0.126444 -5.240690
-v 2.183622 3.832309 -5.240690
-v 1.746898 -0.000000 -3.930518
-v 1.746898 1.708463 -4.803967
-v 3.930518 1.708463 -5.240690
-v 4.803967 1.708463 -5.240690
-v 5.240691 0.024586 -6.550863
-v 5.240691 0.004669 -5.677414
-v 6.550863 0.004669 -5.240690
-v 5.677414 0.004669 -5.240690
-v 5.240690 0.939364 -3.930518
-v 5.240690 1.708465 -4.803966
-v 0.379664 2.544912 -1.655600
-v 1.276256 1.512714 -1.746897
-v 1.746897 0.024586 -3.057070
-v 1.746804 0.004134 -2.183621
-v 3.057069 0.024586 -1.746897
-v 2.183529 0.004134 -1.746897
-v 1.689836 2.544912 -0.436725
-v 1.712980 1.512713 -1.310173
-v 3.930518 0.698598 -1.746897
-v 4.803966 0.024586 -1.746897
-v 5.240690 -0.000000 -3.057069
-v 5.240690 -0.000000 -2.183621
-v 6.550863 3.832309 -1.746897
-v 5.677414 0.126444 -1.746897
-v 5.240690 0.083050 -0.436724
-v 5.240690 -0.000000 -1.310172
-v -6.518938 2.775703 1.650681
-v -5.831019 2.633315 1.689703
-v -5.240689 2.759001 0.436722
-v -5.257716 2.358775 1.312286
-v -3.930517 0.403728 1.746895
-v -4.803966 0.805750 1.746895
-v -5.240690 0.010925 3.057068
-v -5.240690 0.805750 2.183619
-v -3.057069 0.046571 1.746895
-v -2.183620 0.045664 1.746896
-v -1.765545 0.831735 0.436723
-v -1.746989 0.004135 1.310171
-v -0.470641 1.512714 1.746896
-v -1.310265 0.004135 1.746896
-v -1.746897 0.000908 3.057068
-v -1.746897 0.006147 2.183620
-v -6.550863 2.355273 5.240689
-v -5.677414 1.658214 5.240689
-v -5.240690 2.759001 3.930516
-v -5.240690 1.658214 4.803965
-v -3.930518 0.000000 5.240689
-v -4.803966 0.403852 5.240689
-v -5.250143 2.607150 6.550848
-v -5.240690 1.307364 5.677413
-v -3.057069 0.007055 5.240689
-v -2.183621 0.000908 5.240689
-v -1.746897 0.000908 3.930517
-v -1.746897 0.000908 4.803965
-v -0.436724 0.000908 5.240689
-v -1.310172 0.403728 5.240689
-v -1.746897 0.000908 6.550862
-v -1.746897 0.403728 5.677413
-v 0.402807 1.512714 1.746896
-v 1.291524 0.831735 1.746896
-v 1.564302 2.544912 0.413899
-v 1.728248 0.831735 1.310172
-v 3.057069 0.000000 1.746896
-v 2.183621 0.000000 1.746896
-v 1.746897 0.000908 3.057069
-v 1.746897 0.000000 2.183620
-v 3.930518 0.208845 1.746897
-v 4.803966 0.208845 1.746897
-v 5.240690 0.083050 0.436724
-v 5.240690 0.024586 1.310173
-v 6.550863 0.000908 1.746897
-v 5.677414 0.403728 1.746897
-v 5.240690 0.000908 3.057069
-v 5.240690 0.403728 2.183621
-v 0.436724 0.208845 5.240689
-v 1.310173 0.208845 5.240689
-v 1.746897 0.403728 3.930517
-v 1.746897 0.000908 4.803965
-v 3.057069 0.045664 5.240689
-v 2.183621 0.045664 5.240689
-v 1.746897 0.083051 6.550862
-v 1.746897 0.030701 5.677413
-v 3.930518 0.006147 5.240690
-v 4.803966 0.000227 5.240690
-v 5.240690 0.403728 3.930518
-v 5.240690 0.001135 4.803966
-v 6.550863 0.000227 5.240690
-v 5.677414 0.083051 5.240690
-v 5.240690 0.083051 6.550863
-v 5.240690 0.083051 5.677414
-v -6.550860 0.083050 -6.114141
-v -6.114136 0.004896 -6.550864
-v -5.677413 1.708463 -6.114140
-v -6.114137 0.205780 -5.677417
-v -4.803965 2.874231 -6.114140
-v -4.367240 1.708463 -6.550864
-v -3.930516 1.708463 -6.114140
-v -4.367240 2.874231 -5.677416
-v -6.550861 -0.000000 -4.367244
-v -6.114137 0.004896 -4.803968
-v -5.677413 0.004669 -4.367243
-v -6.114137 0.004669 -3.930519
-v -4.803965 0.126444 -4.367243
-v -4.367240 1.708463 -4.803967
-v -3.930516 3.832309 -4.367243
-v -4.367240 1.708463 -3.930519
-v -3.057068 0.939364 -6.114140
-v -2.620343 0.939364 -6.550864
-v -2.183619 2.874231 -6.114140
-v -2.620343 2.874231 -5.677416
-v -1.310171 1.708464 -6.114140
-v -0.873447 1.708464 -6.550864
-v -0.436723 1.708462 -6.114140
-v -0.873447 0.705283 -5.677415
-v -3.057068 3.832309 -4.367243
-v -2.620344 0.960765 -4.803967
-v -2.183620 0.705283 -4.367243
-v -2.620344 2.287302 -3.930519
-v -1.310171 0.583508 -4.367243
-v -0.873447 0.583508 -4.803967
-v -0.436723 0.578838 -4.367243
-v -0.873447 0.578838 -3.930518
-v -6.550861 3.832309 -2.620347
-v -6.114137 1.708463 -3.057071
-v -5.677413 0.126444 -2.620347
-v -6.114137 1.708465 -2.183623
-v -4.803965 -0.000000 -2.620347
-v -4.367240 0.004670 -3.057071
-v -3.930516 0.030134 -2.620347
-v -4.367241 0.000227 -2.183623
-v -6.550862 1.399991 -0.873450
-v -6.114138 0.108271 -1.310175
-v -5.677413 1.236681 -0.873450
-v -6.114138 2.356181 -0.436726
-v -4.803965 0.606133 -0.873450
-v -4.367241 0.083050 -1.310174
-v -3.930517 0.000227 -0.873450
-v -4.367241 0.403496 -0.436726
-v -3.057069 0.589653 -2.620347
-v -2.620344 0.629168 -3.057071
-v -2.183620 0.718558 -2.620346
-v -2.620344 0.624502 -2.183622
-v -1.310172 0.584985 -2.620346
-v -0.873448 0.578838 -3.057070
-v -0.436816 0.582973 -2.620346
-v -0.873540 0.582973 -2.183622
-v -3.057069 0.189177 -0.873450
-v -2.620344 0.578838 -1.310174
-v -2.183713 0.348183 -0.873450
-v -2.620344 0.025685 -0.436725
-v -1.344089 1.512714 -0.873449
-v -0.907365 1.701891 -1.310174
-v -0.756264 2.544912 -1.147341
-v -1.181576 2.544912 -0.642144
-v 0.436725 1.708465 -6.114140
-v 0.873449 1.708464 -6.550863
-v 1.310174 3.832309 -6.114139
-v 0.873449 1.708464 -5.677415
-v 2.183622 1.708463 -6.114139
-v 2.620346 0.004669 -6.550863
-v 3.057070 0.004669 -6.114139
-v 2.620346 1.708463 -5.677414
-v 0.436725 0.578838 -4.367243
-v 0.873449 0.939364 -4.803967
-v 1.310173 0.148522 -4.367243
-v 0.873449 0.189177 -3.930518
-v 2.183622 0.126444 -4.367242
-v 2.620346 0.939364 -4.803966
-v 3.057070 0.126444 -4.367242
-v 2.620346 0.024586 -3.930518
-v 3.930518 0.208845 -6.114139
-v 4.367243 0.698598 -6.550863
-v 4.803967 0.208845 -6.114139
-v 4.367243 0.148252 -5.677414
-v 5.677414 0.004669 -6.114139
-v 6.114139 1.708463 -6.550863
-v 6.550863 1.708463 -6.114139
-v 6.114139 0.004669 -5.677414
-v 3.930518 2.874231 -4.367242
-v 4.367243 2.874231 -4.803966
-v 4.803966 2.874231 -4.367242
-v 4.367242 2.874231 -3.930518
-v 5.677414 0.126444 -4.367242
-v 6.114139 -0.000000 -4.803966
-v 6.550863 -0.000000 -4.367242
-v 6.114139 -0.000000 -3.930518
-v 0.434215 0.456022 -2.620346
-v 0.873449 0.025464 -3.057070
-v 1.310173 -0.000000 -2.620346
-v 0.854800 0.831735 -2.183622
-v 2.183621 0.208845 -2.620346
-v 2.620346 0.698598 -3.057069
-v 3.057069 0.208845 -2.620345
-v 2.620345 0.024586 -2.183621
-v 0.478570 2.451154 -1.287513
-v 0.868934 2.544499 -1.362677
-v 1.355822 2.544912 -0.964746
-v 1.171653 2.474583 -0.761451
-v 2.149704 1.512713 -0.873449
-v 2.620253 0.004135 -1.310173
-v 3.057069 -0.000000 -0.873449
-v 2.617835 0.111957 -0.436724
-v 3.930518 0.024586 -2.620345
-v 4.367242 0.126444 -3.057069
-v 4.803966 -0.000000 -2.620345
-v 4.367242 0.208845 -2.183621
-v 5.677414 0.004669 -2.620345
-v 6.114139 0.004669 -3.057069
-v 6.550863 1.708463 -2.620345
-v 6.114139 1.708463 -2.183620
-v 3.930518 0.024807 -0.873448
-v 4.367242 0.208845 -1.310173
-v 4.803966 0.000227 -0.873448
-v 4.367242 0.083050 -0.436724
-v 5.677414 0.004896 -0.873448
-v 6.114139 1.708463 -1.310172
-v 6.550863 1.708464 -0.873448
-v 6.114139 0.010815 -0.436724
-v -6.534504 2.673244 0.987780
-v -6.181068 2.609604 0.636822
-v -5.830884 2.629829 0.987782
-v -6.226498 2.775703 1.358241
-v -4.803965 2.362328 0.873447
-v -4.367241 1.344501 0.436723
-v -3.930517 0.228220 0.873447
-v -4.367241 0.812116 1.310171
-v -6.550863 0.103614 2.620343
-v -6.114139 1.399990 2.183619
-v -5.677414 0.104522 2.620343
-v -6.114139 0.010925 3.057068
-v -4.803966 0.403728 2.620343
-v -4.367242 0.403728 2.183619
-v -3.930518 0.403728 2.620344
-v -4.367242 0.001135 3.057068
-v -3.057069 0.083050 0.873447
-v -2.620345 0.083050 0.436723
-v -2.183620 0.000227 0.873447
-v -2.620345 0.006147 1.310171
-v -1.344090 1.512714 0.873447
-v -1.113103 2.544912 0.516608
-v -0.756264 2.544912 1.090278
-v -0.907365 1.512714 1.310171
-v -3.057069 0.046571 2.620344
-v -2.620345 0.139720 2.183620
-v -2.183620 0.045664 2.620344
-v -2.620345 0.006147 3.057068
-v -1.310172 0.000908 2.620344
-v -0.873541 0.004135 2.183620
-v -0.436724 0.000908 2.620344
-v -0.873448 0.403728 3.057069
-v -6.550863 1.400896 4.367240
-v -6.114139 2.759001 3.930516
-v -5.677414 2.759001 4.367240
-v -6.114139 2.356181 4.803965
-v -4.803966 1.236682 4.367241
-v -4.367242 0.115640 3.930517
-v -3.930518 0.083050 4.367241
-v -4.367242 0.001153 4.803965
-v -6.550863 1.440099 6.114137
-v -6.114159 2.362851 5.677413
-v -5.686990 2.650807 6.114124
-v -6.123663 2.742625 6.550848
-v -4.803966 1.398626 6.114138
-v -4.367242 0.004640 5.677413
-v -3.930518 0.006147 6.114138
-v -4.367242 0.103580 6.550862
-v -3.057069 0.403728 4.367241
-v -2.620345 0.403728 3.930517
-v -2.183621 0.403728 4.367241
-v -2.620345 0.403728 4.803965
-v -1.310172 0.000908 4.367241
-v -0.873448 0.403728 3.930517
-v -0.436724 0.000908 4.367241
-v -0.873448 0.000908 4.803965
-v -3.057069 0.139720 6.114138
-v -2.620345 0.045664 5.677413
-v -2.183621 0.007055 6.114138
-v -2.620345 0.045664 6.550862
-v -1.310173 0.403728 6.114138
-v -0.873448 0.403728 5.677413
-v -0.436724 0.000908 6.114138
-v -0.873448 0.000908 6.550862
-v 0.398472 2.432356 1.130498
-v 0.954318 2.432356 0.574653
-v 1.253112 2.544912 0.873448
-v 0.816388 2.544912 1.310172
-v 2.164972 0.831735 0.873448
-v 2.617835 0.111957 0.436724
-v 3.057069 0.000000 0.873448
-v 2.620345 0.000000 1.310172
-v 0.436724 0.000000 2.620344
-v 0.870938 0.111957 2.183620
-v 1.310173 0.000000 2.620344
-v 0.873448 0.000000 3.057069
-v 2.183621 0.000000 2.620345
-v 2.620345 0.000000 2.183620
-v 3.057069 0.000000 2.620345
-v 2.620345 0.000908 3.057069
-v 3.930518 0.208845 0.873448
-v 4.367242 0.107494 0.436724
-v 4.803966 0.208845 0.873448
-v 4.367242 0.698598 1.310172
-v 5.677414 0.045664 0.873448
-v 6.114139 0.139720 0.436724
-v 6.550863 0.045664 0.873449
-v 6.114139 0.007055 1.310173
-v 3.930518 0.000000 2.620345
-v 4.367242 0.024587 2.183621
-v 4.803966 0.000908 2.620345
-v 4.367242 0.000908 3.057069
-v 5.677414 0.403728 2.620345
-v 6.114139 0.403728 2.183621
-v 6.550863 0.000908 2.620345
-v 6.114139 0.000908 3.057069
-v 0.436724 0.000000 4.367241
-v 0.873448 0.000000 3.930517
-v 1.310173 0.000908 4.367241
-v 0.873448 0.024587 4.803965
-v 2.183621 0.403728 4.367241
-v 2.620345 0.403728 3.930517
-v 3.057069 0.000908 4.367241
-v 2.620345 0.007055 4.803965
-v 0.436724 0.208845 6.114138
-v 0.873448 0.698598 5.677413
-v 1.310173 0.208845 6.114138
-v 0.873448 0.024587 6.550862
-v 2.183621 0.083051 6.114138
-v 2.620345 0.139720 5.677413
-v 3.057069 0.083051 6.114138
-v 2.620345 0.083051 6.550862
-v 3.930518 0.000908 4.367242
-v 4.367242 0.403728 3.930518
-v 4.803966 0.403728 4.367242
-v 4.367242 0.000908 4.803966
-v 5.677414 0.000908 4.367242
-v 6.114139 0.000000 3.930518
-v 6.550863 0.000000 4.367242
-v 6.114139 0.000227 4.803966
-v 3.930518 0.139720 6.114139
-v 4.367242 0.045664 5.677414
-v 4.803966 0.006147 6.114139
-v 4.367242 0.045664 6.550863
-v 5.677414 0.083051 6.114139
-v 6.114139 0.083051 5.677414
-v 6.550863 0.000227 6.114139
-v 6.114139 0.083051 6.550863
-v -6.550860 0.006146 -6.550865
-v -5.677413 0.939365 -6.550864
-v -6.550861 0.139719 -5.677417
-v -5.677413 1.708463 -5.677416
-v -4.803965 1.708463 -6.550864
-v -3.930516 0.939364 -6.550864
-v -4.803965 2.874231 -5.677416
-v -3.930516 1.708463 -5.677416
-v -6.550861 0.006146 -4.803968
-v -5.677413 0.939364 -4.803968
-v -6.550861 0.126444 -3.930520
-v -5.677413 -0.000000 -3.930519
-v -4.803965 1.708463 -4.803967
-v -3.930516 1.708463 -4.803967
-v -4.803965 0.126444 -3.930519
-v -3.930516 3.832309 -3.930520
-v -3.057068 0.004669 -6.550864
-v -2.183619 1.708463 -6.550864
-v -3.057068 1.708463 -5.677416
-v -2.183619 2.874231 -5.677416
-v -1.310171 0.939364 -6.550864
-v -0.436723 2.874231 -6.550864
-v -1.310171 1.708464 -5.677416
-v -0.436723 0.705282 -5.677415
-v -3.057068 1.897641 -4.803967
-v -2.183620 1.897641 -4.803967
-v -3.057068 3.832309 -3.930520
-v -2.183620 0.705283 -3.930519
-v -1.310171 1.518201 -4.803967
-v -0.436723 0.578838 -4.803967
-v -1.310171 0.578838 -3.930518
-v -0.436723 0.578838 -3.930518
-v -6.550861 3.832309 -3.057071
-v -5.677413 0.126444 -3.057071
-v -6.550861 3.832309 -2.183623
-v -5.677413 0.126446 -2.183623
-v -4.803965 -0.000000 -3.057071
-v -3.930516 0.939365 -3.057071
-v -4.803965 0.006147 -2.183623
-v -3.930517 0.025464 -2.183623
-v -6.550862 0.216277 -1.310175
-v -5.677413 0.076405 -1.310174
-v -6.550862 2.355273 -0.436726
-v -5.677413 2.564118 -0.436726
-v -4.803965 0.139720 -1.310174
-v -3.930517 0.007087 -1.310174
-v -4.803965 1.463332 -0.436726
-v -3.930517 -0.000000 -0.436726
-v -3.057068 1.128541 -3.057071
-v -2.183620 0.661888 -3.057071
-v -3.057069 0.579065 -2.183623
-v -2.183620 0.661888 -2.183622
-v -1.310172 0.579065 -3.057070
-v -0.436723 0.578838 -3.057070
-v -1.310172 0.579065 -2.183622
-v -0.455372 1.410573 -2.183622
-v -3.057069 0.344065 -1.310174
-v -2.183620 0.578838 -1.310174
-v -3.057069 0.007087 -0.436726
-v -2.186130 0.134744 -0.436725
-v -1.328821 0.840480 -1.310174
-v -0.493784 2.544912 -1.310174
-v -1.367233 2.544912 -0.436725
-v -0.773215 2.430153 -0.567038
-v 0.436725 2.874231 -6.550863
-v 1.310174 1.708463 -6.550863
-v 0.436725 0.705283 -5.677415
-v 1.310174 3.832309 -5.677415
-v 2.183622 0.939364 -6.550863
-v 3.057070 -0.000000 -6.550863
-v 2.183622 3.832309 -5.677414
-v 3.057070 0.126444 -5.677414
-v 0.436725 0.583508 -4.803967
-v 1.310173 1.708463 -4.803967
-v 0.436725 0.344065 -3.930518
-v 1.310173 0.000940 -3.930518
-v 2.183622 1.708463 -4.803966
-v 3.057070 0.126444 -4.803966
-v 2.183622 0.000908 -3.930518
-v 3.057070 0.005576 -3.930518
-v 3.930518 0.403727 -6.550863
-v 4.803967 0.403727 -6.550863
-v 3.930518 0.126833 -5.677414
-v 4.803967 0.126833 -5.677414
-v 5.677414 0.126444 -6.550863
-v 6.550863 3.832309 -6.550863
-v 5.677414 -0.000000 -5.677414
-v 6.550863 0.939365 -5.677414
-v 3.930518 2.874231 -4.803966
-v 4.803967 2.874231 -4.803966
-v 3.930518 1.708465 -3.930518
-v 4.803966 1.708463 -3.930518
-v 5.677414 0.126445 -4.803966
-v 6.550863 -0.000000 -4.803966
-v 5.677414 0.004669 -3.930518
-v 6.550863 -0.000000 -3.930518
-v 0.436725 0.344065 -3.057070
-v 1.310173 -0.000000 -3.057070
-v 0.402807 1.512713 -2.183622
-v 1.307663 0.111957 -2.183621
-v 2.183621 0.403727 -3.057070
-v 3.057070 0.403728 -3.057069
-v 2.183621 0.000908 -2.183621
-v 3.057069 0.000908 -2.183621
-v 0.630731 2.544912 -1.515592
-v 1.218876 2.544912 -1.150403
-v 0.499279 2.458198 -0.857565
-v 1.510163 2.544912 -0.537037
-v 2.164973 0.831735 -1.310173
-v 3.057069 0.000908 -1.310173
-v 2.149704 1.512715 -0.436725
-v 3.057069 -0.000000 -0.436724
-v 3.930518 0.004669 -3.057069
-v 4.803966 0.004669 -3.057069
-v 3.930518 0.403728 -2.183621
-v 4.803966 0.000908 -2.183621
-v 5.677414 -0.000000 -3.057069
-v 6.550863 0.126444 -3.057069
-v 5.677414 0.126444 -2.183620
-v 6.550863 3.832309 -2.183621
-v 3.930518 0.403728 -1.310173
-v 4.803966 0.000908 -1.310172
-v 3.930518 0.045663 -0.436724
-v 4.803966 0.045664 -0.436724
-v 5.677414 0.126444 -1.310172
-v 6.550863 3.832309 -1.310172
-v 5.677414 0.045664 -0.436724
-v 6.550863 0.126542 -0.436724
-v -6.540550 2.495842 0.546743
-v -5.747336 2.618095 0.530666
-v -6.518938 2.775703 1.358241
-v -5.831053 2.633462 1.338743
-v -4.803965 2.564118 0.436722
-v -3.930517 0.173019 0.436723
-v -4.803965 1.423544 1.310171
-v -3.930517 0.109832 1.310171
-v -6.550863 1.399990 2.183619
-v -5.677414 1.422347 2.183619
-v -6.550863 0.000000 3.057068
-v -5.677414 0.024587 3.057068
-v -4.803966 0.698598 2.183619
-v -3.930518 0.698598 2.183620
-v -4.803966 0.024586 3.057068
-v -3.930518 0.030701 3.057068
-v -3.057069 0.139720 0.436723
-v -2.183713 0.010289 0.436723
-v -3.057069 0.006147 1.310171
-v -2.183620 0.000227 1.310171
-v -1.344089 1.512713 0.436723
-v -0.713218 2.432356 0.574653
-v -1.328821 0.831735 1.310171
-v -0.493785 2.544912 1.310171
-v -3.057069 0.107494 2.183620
-v -2.183620 0.083050 2.183620
-v -3.057069 0.000227 3.057068
-v -2.183620 0.000227 3.057068
-v -1.310172 0.000000 2.183620
-v -0.439234 0.111957 2.183620
-v -1.310172 0.208845 3.057069
-v -0.436724 0.208845 3.057069
-v -6.550863 0.927723 3.930516
-v -5.677414 3.053871 3.930516
-v -6.550863 2.355273 4.803965
-v -5.677414 2.564118 4.803965
-v -4.803966 0.947605 3.930517
-v -3.930518 0.139720 3.930517
-v -4.803966 0.978601 4.803965
-v -3.930518 0.006147 4.803965
-v -6.550863 2.355500 5.677413
-v -5.677414 1.506774 5.677413
-v -6.550863 1.470303 6.550861
-v -5.693586 2.858753 6.550838
-v -4.803966 0.890325 5.677413
-v -3.930518 0.000227 5.677413
-v -4.803967 1.399841 6.550862
-v -3.930518 0.000227 6.550862
-v -3.057069 0.208845 3.930517
-v -2.183621 0.208845 3.930517
-v -3.057069 0.208845 4.803965
-v -2.183621 0.208845 4.803965
-v -1.310172 0.208845 3.930517
-v -0.436724 0.208845 3.930517
-v -1.310172 0.024587 4.803965
-v -0.436724 0.000000 4.803965
-v -3.057069 0.083051 5.677413
-v -2.183621 0.024808 5.677413
-v -3.057069 0.083051 6.550862
-v -2.183621 0.000227 6.550862
-v -1.310173 0.698598 5.677413
-v -0.436724 0.024587 5.677413
-v -1.310173 0.024587 6.550862
-v -0.436724 0.000000 6.550862
-v 0.623388 2.443964 0.799658
-v 1.412882 2.544912 0.630730
-v 0.379664 2.544912 1.447117
-v 1.276255 1.512713 1.310172
-v 2.149704 1.512715 0.436724
-v 3.057069 0.000000 0.436724
-v 2.183528 0.004135 1.310172
-v 3.057069 0.000000 1.310172
-v 0.434214 0.111957 2.183620
-v 1.310080 0.004135 2.183620
-v 0.436724 0.000000 3.057069
-v 1.310173 0.000000 3.057069
-v 2.183621 0.000000 2.183620
-v 3.057069 0.000000 2.183620
-v 2.183621 0.024587 3.057069
-v 3.057069 0.000000 3.057069
-v 3.930518 0.046571 0.436724
-v 4.803966 0.046571 0.436724
-v 3.930518 0.403728 1.310172
-v 4.803966 0.403728 1.310172
-v 5.677414 0.083050 0.436724
-v 6.550863 0.083050 0.436724
-v 5.677414 0.024808 1.310173
-v 6.550863 0.000227 1.310173
-v 3.930518 0.000908 2.183620
-v 4.803966 0.024587 2.183621
-v 3.930518 0.000000 3.057069
-v 4.803966 0.024586 3.057069
-v 5.677414 0.698598 2.183621
-v 6.550863 0.024587 2.183621
-v 5.677414 0.024587 3.057069
-v 6.550863 0.000000 3.057069
-v 0.436724 0.000000 3.930517
-v 1.310173 0.024587 3.930517
-v 0.436724 0.000908 4.803965
-v 1.310173 0.000908 4.803965
-v 2.183621 0.698598 3.930517
-v 3.057069 0.024587 3.930517
-v 2.183621 0.024808 4.803965
-v 3.057069 0.000227 4.803965
-v 0.436724 0.403728 5.677413
-v 1.310173 0.403728 5.677413
-v 0.436724 0.000908 6.550862
-v 1.310173 0.007055 6.550862
-v 2.183621 0.083051 5.677413
-v 3.057069 0.083051 5.677413
-v 2.183621 0.139720 6.550862
-v 3.057069 0.045664 6.550862
-v 3.930518 0.024587 3.930518
-v 4.803966 0.698598 3.930518
-v 3.930518 0.000000 4.803966
-v 4.803966 0.024587 4.803966
-v 5.677414 0.024587 3.930518
-v 6.550863 0.000000 3.930518
-v 5.677414 0.006147 4.803966
-v 6.550863 0.000000 4.803966
-v 3.930518 0.083051 5.677414
-v 4.803966 0.006147 5.677414
-v 3.930518 0.083051 6.550863
-v 4.803966 0.006147 6.550863
-v 5.677414 0.139720 5.677414
-v 6.550863 0.006147 5.677414
-v 5.677414 0.139720 6.550863
-v 6.550863 0.006147 6.550863
-vt 0.768135 0.151324
-vt 0.783578 0.148244
-vt 0.786659 0.163685
-vt 0.771198 0.167011
-vt 0.752526 0.153969
-vt 0.755118 0.170347
-vt 0.790009 0.178902
-vt 0.774841 0.182990
-vt 0.758981 0.187852
-vt 0.736332 0.156032
-vt 0.725357 0.187537
-vt 0.719772 0.155087
-vt 0.708329 0.198465
-vt 0.716635 0.206241
-vt 0.703224 0.211572
-vt 0.794012 0.193435
-vt 0.779274 0.198341
-vt 0.763826 0.203218
-vt 0.799460 0.207349
-vt 0.784804 0.213538
-vt 0.768415 0.219160
-vt 0.718900 0.214115
-vt 0.703275 0.214998
-vt 0.719414 0.222385
-vt 0.702918 0.218320
-vt 0.705564 0.152963
-vt 0.700738 0.196569
-vt 0.691435 0.152598
-vt 0.693181 0.196561
-vt 0.699904 0.211375
-vt 0.696790 0.211468
-vt 0.675662 0.149588
-vt 0.678894 0.182395
-vt 0.660606 0.143996
-vt 0.654927 0.159286
-vt 0.682270 0.203449
-vt 0.648463 0.174212
-vt 0.699708 0.214889
-vt 0.696074 0.214626
-vt 0.699554 0.218534
-vt 0.695816 0.218318
-vt 0.677857 0.211179
-vt 0.645800 0.187778
-vt 0.674162 0.222564
-vt 0.644990 0.196843
-vt 0.806486 0.221034
-vt 0.792095 0.229092
-vt 0.775815 0.237235
-vt 0.815294 0.234143
-vt 0.801091 0.244771
-vt 0.784770 0.254434
-vt 0.737139 0.237037
-vt 0.711791 0.235185
-vt 0.766965 0.263360
-vt 0.749516 0.271171
-vt 0.826515 0.246999
-vt 0.813564 0.260577
-vt 0.795380 0.273266
-vt 0.884726 0.281908
-vt 0.877797 0.297551
-vt 0.838017 0.302293
-vt 0.775331 0.282307
-vt 0.755925 0.289015
-vt 0.783112 0.303959
-vt 0.760532 0.309465
-vt 0.700567 0.242849
-vt 0.686182 0.241770
-vt 0.735583 0.276931
-vt 0.684296 0.258305
-vt 0.670404 0.239039
-vt 0.655811 0.237002
-vt 0.653726 0.269001
-vt 0.653773 0.268977
-vt 0.736856 0.292247
-vt 0.682507 0.271537
-vt 0.738898 0.312656
-vt 0.697752 0.296784
-vt 0.653689 0.268938
-vt 0.653751 0.268921
-vt 0.672089 0.285599
-vt 0.653733 0.268856
-vt 0.645087 0.138549
-vt 0.640674 0.153560
-vt 0.628762 0.134354
-vt 0.608159 0.162873
-vt 0.618172 0.178233
-vt 0.595463 0.182431
-vt 0.612772 0.128539
-vt 0.585246 0.172281
-vt 0.599869 0.120779
-vt 0.574371 0.168746
-vt 0.580436 0.190823
-vt 0.577099 0.190725
-vt 0.600892 0.195570
-vt 0.583231 0.194448
-vt 0.625819 0.211822
-vt 0.594433 0.207943
-vt 0.580026 0.194254
-vt 0.576350 0.193996
-vt 0.580007 0.197651
-vt 0.576580 0.197743
-vt 0.588177 0.112571
-vt 0.568467 0.140096
-vt 0.530178 0.131816
-vt 0.527669 0.151209
-vt 0.548929 0.175075
-vt 0.517851 0.187597
-vt 0.496356 0.110648
-vt 0.492169 0.121882
-vt 0.481635 0.107604
-vt 0.481053 0.121311
-vt 0.498667 0.161107
-vt 0.480643 0.162646
-vt 0.551110 0.192058
-vt 0.516647 0.203900
-vt 0.554721 0.204405
-vt 0.519141 0.219780
-vt 0.500655 0.203942
-vt 0.484425 0.204285
-vt 0.500891 0.221860
-vt 0.483339 0.221402
-vt 0.645351 0.245730
-vt 0.607457 0.235882
-vt 0.653815 0.268953
-vt 0.642211 0.264626
-vt 0.581028 0.213199
-vt 0.569403 0.216444
-vt 0.586471 0.259125
-vt 0.566498 0.258984
-vt 0.653809 0.268912
-vt 0.642275 0.271232
-vt 0.644219 0.284444
-vt 0.629461 0.287227
-vt 0.587842 0.278459
-vt 0.566157 0.280583
-vt 0.589190 0.301253
-vt 0.567008 0.302299
-vt 0.555127 0.219729
-vt 0.521415 0.239484
-vt 0.544141 0.259530
-vt 0.522550 0.260276
-vt 0.501377 0.240352
-vt 0.481829 0.239885
-vt 0.501508 0.260594
-vt 0.480870 0.260149
-vt 0.544684 0.281197
-vt 0.522937 0.281636
-vt 0.545122 0.302938
-vt 0.523193 0.303384
-vt 0.501400 0.281750
-vt 0.479844 0.281412
-vt 0.501259 0.303526
-vt 0.479391 0.303137
-vt 0.959946 0.305952
-vt 0.947511 0.317477
-vt 0.873383 0.324766
-vt 0.969956 0.326569
-vt 0.950628 0.330188
-vt 0.875246 0.342662
-vt 0.789199 0.329052
-vt 0.764090 0.332216
-vt 0.791545 0.353696
-vt 0.766090 0.355981
-vt 0.969753 0.350177
-vt 0.950772 0.344100
-vt 0.878660 0.360450
-vt 0.903246 0.397894
-vt 0.891437 0.385202
-vt 0.850104 0.392994
-vt 0.794080 0.378752
-vt 0.767581 0.380782
-vt 0.793615 0.405614
-vt 0.767995 0.406296
-vt 0.741106 0.334539
-vt 0.719527 0.335629
-vt 0.742305 0.357421
-vt 0.719263 0.357612
-vt 0.679911 0.313284
-vt 0.657620 0.293450
-vt 0.696835 0.356378
-vt 0.665247 0.349253
-vt 0.742580 0.381379
-vt 0.718280 0.380757
-vt 0.742278 0.406984
-vt 0.716686 0.405531
-vt 0.694473 0.379007
-vt 0.664818 0.374568
-vt 0.691701 0.403109
-vt 0.661636 0.398499
-vt 0.859433 0.453738
-vt 0.838887 0.443000
-vt 0.816957 0.432696
-vt 0.848911 0.482675
-vt 0.825737 0.500044
-vt 0.809003 0.497792
-vt 0.792983 0.430610
-vt 0.768647 0.432311
-vt 0.792210 0.491518
-vt 0.773793 0.486911
-vt 0.846503 0.511890
-vt 0.820798 0.530981
-vt 0.808908 0.532244
-vt 0.856142 0.526280
-vt 0.824277 0.543278
-vt 0.811387 0.545451
-vt 0.796635 0.535804
-vt 0.787139 0.539030
-vt 0.796326 0.546984
-vt 0.786857 0.546588
-vt 0.741910 0.434036
-vt 0.714591 0.431097
-vt 0.746224 0.471752
-vt 0.710717 0.455814
-vt 0.688807 0.428105
-vt 0.662134 0.424063
-vt 0.686112 0.453014
-vt 0.661819 0.450382
-vt 0.759980 0.513790
-vt 0.714732 0.486282
-vt 0.779350 0.545507
-vt 0.725986 0.518727
-vt 0.683030 0.477649
-vt 0.658964 0.474214
-vt 0.678511 0.500985
-vt 0.655518 0.497783
-vt 0.640018 0.311409
-vt 0.612320 0.323624
-vt 0.639509 0.345875
-vt 0.613565 0.346513
-vt 0.589956 0.324203
-vt 0.567740 0.324544
-vt 0.590442 0.346640
-vt 0.568259 0.346699
-vt 0.637300 0.371200
-vt 0.613357 0.369975
-vt 0.635245 0.394766
-vt 0.612236 0.393343
-vt 0.590318 0.369189
-vt 0.567981 0.368697
-vt 0.589464 0.392328
-vt 0.566932 0.390491
-vt 0.545595 0.324925
-vt 0.523489 0.325428
-vt 0.546073 0.346845
-vt 0.524139 0.347512
-vt 0.501096 0.325778
-vt 0.478307 0.325493
-vt 0.501236 0.348876
-vt 0.477452 0.349402
-vt 0.546366 0.368394
-vt 0.525411 0.368683
-vt 0.546114 0.389120
-vt 0.520749 0.395497
-vt 0.493203 0.390441
-vt 0.476470 0.396780
-vt 0.487760 0.416015
-vt 0.473285 0.422740
-vt 0.636991 0.421033
-vt 0.611150 0.416181
-vt 0.636351 0.445890
-vt 0.612148 0.442078
-vt 0.587222 0.416368
-vt 0.564680 0.411778
-vt 0.589521 0.443144
-vt 0.557764 0.436185
-vt 0.635485 0.471281
-vt 0.612981 0.469337
-vt 0.632400 0.494583
-vt 0.609988 0.491005
-vt 0.591523 0.466398
-vt 0.530300 0.455761
-vt 0.587845 0.487424
-vt 0.528240 0.470048
-vt 0.542323 0.411371
-vt 0.508497 0.422028
-vt 0.524125 0.436095
-vt 0.494594 0.442492
-vt 0.484345 0.432425
-vt 0.480559 0.428052
-vt 0.488738 0.437964
-vt 0.478014 0.433977
-vt 0.499978 0.454605
-vt 0.496826 0.449604
-vt 0.499040 0.460978
-vt 0.494966 0.467616
-vt 0.487468 0.450091
-vt 0.481504 0.442415
-vt 0.488612 0.462255
-vt 0.472851 0.461234
-vt 0.466267 0.108550
-vt 0.469787 0.121687
-vt 0.432136 0.131229
-vt 0.437675 0.146927
-vt 0.461887 0.163866
-vt 0.441532 0.165751
-vt 0.380660 0.103455
-vt 0.419632 0.150869
-vt 0.368598 0.113595
-vt 0.405725 0.155399
-vt 0.409648 0.181997
-vt 0.409788 0.181925
-vt 0.470013 0.202994
-vt 0.442760 0.181671
-vt 0.465403 0.218022
-vt 0.436479 0.193593
-vt 0.409579 0.181792
-vt 0.409761 0.181777
-vt 0.409581 0.181606
-vt 0.409764 0.181597
-vt 0.353329 0.121440
-vt 0.377837 0.148397
-vt 0.337201 0.125758
-vt 0.341181 0.142010
-vt 0.393621 0.167749
-vt 0.368488 0.166960
-vt 0.321274 0.129451
-vt 0.324459 0.146081
-vt 0.305543 0.132088
-vt 0.307272 0.148416
-vt 0.327685 0.164588
-vt 0.308826 0.166177
-vt 0.409910 0.181790
-vt 0.388729 0.181248
-vt 0.409962 0.181650
-vt 0.390652 0.190330
-vt 0.329637 0.185787
-vt 0.308988 0.184874
-vt 0.330411 0.206780
-vt 0.294962 0.220680
-vt 0.461323 0.238084
-vt 0.439046 0.226328
-vt 0.460297 0.258864
-vt 0.436407 0.258992
-vt 0.419902 0.204400
-vt 0.410196 0.204381
-vt 0.415780 0.262028
-vt 0.397641 0.259825
-vt 0.455746 0.281451
-vt 0.434479 0.280881
-vt 0.455211 0.302075
-vt 0.430592 0.301120
-vt 0.413541 0.281006
-vt 0.394913 0.278920
-vt 0.411833 0.299692
-vt 0.392858 0.297999
-vt 0.400836 0.201429
-vt 0.376624 0.213045
-vt 0.379491 0.255677
-vt 0.358170 0.252585
-vt 0.338217 0.228507
-vt 0.283545 0.237181
-vt 0.336817 0.248823
-vt 0.283784 0.243404
-vt 0.375564 0.276181
-vt 0.355417 0.273331
-vt 0.372037 0.297283
-vt 0.352981 0.298297
-vt 0.334441 0.271356
-vt 0.296030 0.258009
-vt 0.333935 0.294145
-vt 0.312751 0.291760
-vt 0.288716 0.133639
-vt 0.286576 0.149492
-vt 0.272274 0.134674
-vt 0.272398 0.149583
-vt 0.289565 0.166184
-vt 0.272499 0.164431
-vt 0.255927 0.134023
-vt 0.258263 0.149700
-vt 0.239401 0.132598
-vt 0.237430 0.148952
-vt 0.255512 0.166256
-vt 0.236264 0.166375
-vt 0.289393 0.183886
-vt 0.272573 0.182858
-vt 0.277646 0.230134
-vt 0.271757 0.228862
-vt 0.255881 0.183775
-vt 0.236482 0.184806
-vt 0.265819 0.229619
-vt 0.249942 0.219434
-vt 0.223817 0.129985
-vt 0.219655 0.146117
-vt 0.169811 0.105387
-vt 0.162780 0.118632
-vt 0.217428 0.165283
-vt 0.178942 0.147173
-vt 0.107989 0.069189
-vt 0.102538 0.082276
-vt 0.092876 0.064387
-vt 0.088712 0.079692
-vt 0.148319 0.135451
-vt 0.087176 0.095350
-vt 0.217101 0.184419
-vt 0.198610 0.183888
-vt 0.216155 0.203781
-vt 0.197436 0.202023
-vt 0.162508 0.164372
-vt 0.133904 0.150686
-vt 0.179617 0.200765
-vt 0.162605 0.201496
-vt 0.273019 0.239849
-vt 0.271199 0.239577
-vt 0.272881 0.241709
-vt 0.271031 0.241474
-vt 0.269341 0.239490
-vt 0.259272 0.235961
-vt 0.269160 0.241373
-vt 0.258411 0.241709
-vt 0.278629 0.250683
-vt 0.270887 0.243240
-vt 0.282367 0.269178
-vt 0.270139 0.254199
-vt 0.262353 0.249448
-vt 0.244773 0.253891
-vt 0.255976 0.266821
-vt 0.222718 0.283288
-vt 0.213609 0.223126
-vt 0.195477 0.219956
-vt 0.211419 0.239757
-vt 0.192961 0.237221
-vt 0.178500 0.217839
-vt 0.163217 0.216472
-vt 0.176082 0.234020
-vt 0.160844 0.230802
-vt 0.207796 0.259302
-vt 0.189115 0.255026
-vt 0.203178 0.279208
-vt 0.183614 0.273703
-vt 0.171970 0.250215
-vt 0.156784 0.245097
-vt 0.165836 0.266761
-vt 0.150781 0.259064
-vt 0.453635 0.322850
-vt 0.429155 0.319899
-vt 0.453260 0.344427
-vt 0.427336 0.337836
-vt 0.410422 0.318461
-vt 0.391573 0.317300
-vt 0.409331 0.336898
-vt 0.390537 0.336606
-vt 0.462283 0.391184
-vt 0.438599 0.372732
-vt 0.464404 0.423276
-vt 0.445000 0.400256
-vt 0.409797 0.355363
-vt 0.390375 0.356344
-vt 0.432306 0.403841
-vt 0.406347 0.391889
-vt 0.368010 0.315822
-vt 0.351782 0.314770
-vt 0.369604 0.334734
-vt 0.350772 0.331292
-vt 0.335147 0.313676
-vt 0.310152 0.311839
-vt 0.331159 0.333065
-vt 0.308524 0.333007
-vt 0.370246 0.356224
-vt 0.349857 0.356099
-vt 0.370121 0.376280
-vt 0.349693 0.376847
-vt 0.328933 0.355436
-vt 0.306046 0.355889
-vt 0.328503 0.376744
-vt 0.302600 0.376213
-vt 0.458951 0.426386
-vt 0.452541 0.428157
-vt 0.461480 0.431781
-vt 0.450491 0.435083
-vt 0.444026 0.433277
-vt 0.418314 0.417094
-vt 0.440883 0.438057
-vt 0.435496 0.442877
-vt 0.460251 0.441169
-vt 0.445135 0.442486
-vt 0.461130 0.460370
-vt 0.442766 0.462750
-vt 0.437543 0.446909
-vt 0.433560 0.448998
-vt 0.437088 0.459031
-vt 0.433634 0.458790
-vt 0.390714 0.409987
-vt 0.350007 0.398576
-vt 0.407179 0.432286
-vt 0.349644 0.420982
-vt 0.328097 0.398368
-vt 0.305139 0.396674
-vt 0.327670 0.419791
-vt 0.306346 0.419557
-vt 0.405164 0.445586
-vt 0.347895 0.441044
-vt 0.404362 0.458985
-vt 0.347741 0.460426
-vt 0.327094 0.440497
-vt 0.306436 0.440514
-vt 0.327196 0.460766
-vt 0.306868 0.461139
-vt 0.288547 0.309515
-vt 0.265968 0.306672
-vt 0.286593 0.331403
-vt 0.264243 0.330078
-vt 0.242931 0.305950
-vt 0.220334 0.304079
-vt 0.241303 0.328812
-vt 0.217757 0.327080
-vt 0.285351 0.357973
-vt 0.264368 0.354269
-vt 0.284916 0.375856
-vt 0.266812 0.375533
-vt 0.239932 0.351983
-vt 0.215925 0.351115
-vt 0.239176 0.375212
-vt 0.215515 0.375079
-vt 0.198233 0.300374
-vt 0.176457 0.294163
-vt 0.193312 0.323950
-vt 0.137669 0.329756
-vt 0.156303 0.284348
-vt 0.141767 0.272551
-vt 0.097467 0.330963
-vt 0.087167 0.315149
-vt 0.189937 0.350310
-vt 0.105913 0.356428
-vt 0.190321 0.375095
-vt 0.106855 0.376185
-vt 0.034466 0.363050
-vt 0.018196 0.355965
-vt 0.032732 0.376160
-vt 0.014591 0.376911
-vt 0.284678 0.393651
-vt 0.263805 0.396563
-vt 0.284837 0.419769
-vt 0.263035 0.419980
-vt 0.239607 0.398327
-vt 0.215898 0.399097
-vt 0.240755 0.421100
-vt 0.217731 0.422818
-vt 0.285378 0.441026
-vt 0.264093 0.442048
-vt 0.286064 0.461887
-vt 0.265412 0.463132
-vt 0.242487 0.443333
-vt 0.220671 0.445925
-vt 0.244552 0.464631
-vt 0.223868 0.467296
-vt 0.190329 0.399745
-vt 0.106211 0.393618
-vt 0.193529 0.425918
-vt 0.137865 0.420280
-vt 0.033832 0.388665
-vt 0.020448 0.397574
-vt 0.097953 0.419226
-vt 0.088775 0.433284
-vt 0.198412 0.449522
-vt 0.176337 0.455448
-vt 0.203375 0.470948
-vt 0.183658 0.476200
-vt 0.156125 0.465524
-vt 0.140935 0.476827
-vt 0.165550 0.483097
-vt 0.149645 0.491475
-vt 0.863642 0.540274
-vt 0.825987 0.563137
-vt 0.812562 0.566494
-vt 0.839146 0.579420
-vt 0.823160 0.580249
-vt 0.812022 0.581740
-vt 0.798803 0.561775
-vt 0.785547 0.555912
-vt 0.799437 0.576373
-vt 0.781163 0.570128
-vt 0.833357 0.595570
-vt 0.819467 0.593293
-vt 0.809966 0.590815
-vt 0.826451 0.606790
-vt 0.816442 0.602997
-vt 0.807387 0.599577
-vt 0.797206 0.587111
-vt 0.777351 0.582833
-vt 0.794793 0.597332
-vt 0.750133 0.608561
-vt 0.774581 0.554127
-vt 0.734815 0.542607
-vt 0.769025 0.565498
-vt 0.735552 0.560657
-vt 0.676387 0.526053
-vt 0.652077 0.521495
-vt 0.672522 0.550080
-vt 0.647407 0.544920
-vt 0.739607 0.585566
-vt 0.706637 0.579514
-vt 0.714521 0.609966
-vt 0.679696 0.601228
-vt 0.664732 0.573988
-vt 0.641715 0.567940
-vt 0.658256 0.600179
-vt 0.636832 0.591689
-vt 0.806836 0.656651
-vt 0.792224 0.649122
-vt 0.777502 0.640628
-vt 0.784126 0.704383
-vt 0.767716 0.698618
-vt 0.750293 0.691783
-vt 0.763123 0.630001
-vt 0.729513 0.638489
-vt 0.731985 0.683977
-vt 0.713913 0.673199
-vt 0.779382 0.720370
-vt 0.762010 0.716752
-vt 0.742992 0.710586
-vt 0.777512 0.736089
-vt 0.754662 0.741755
-vt 0.720117 0.765978
-vt 0.724187 0.703099
-vt 0.704184 0.695832
-vt 0.707897 0.762205
-vt 0.695033 0.759974
-vt 0.706733 0.631625
-vt 0.677548 0.626307
-vt 0.694762 0.657250
-vt 0.668741 0.652647
-vt 0.653686 0.620078
-vt 0.633735 0.614560
-vt 0.647389 0.640135
-vt 0.624345 0.635732
-vt 0.681669 0.687587
-vt 0.658326 0.677571
-vt 0.672806 0.718582
-vt 0.647909 0.699887
-vt 0.636424 0.667533
-vt 0.614650 0.658589
-vt 0.626540 0.689162
-vt 0.605866 0.679431
-vt 0.628729 0.517350
-vt 0.606260 0.513357
-vt 0.624487 0.540027
-vt 0.602102 0.535663
-vt 0.584015 0.509817
-vt 0.544441 0.494973
-vt 0.580320 0.531618
-vt 0.559674 0.527310
-vt 0.619233 0.562660
-vt 0.597307 0.557641
-vt 0.613999 0.584836
-vt 0.592094 0.579676
-vt 0.575655 0.552722
-vt 0.554373 0.547877
-vt 0.570675 0.574232
-vt 0.549491 0.569045
-vt 0.517987 0.485491
-vt 0.493205 0.474442
-vt 0.512353 0.497261
-vt 0.487259 0.481996
-vt 0.483545 0.474304
-vt 0.477591 0.479631
-vt 0.482221 0.484720
-vt 0.470705 0.484452
-vt 0.520450 0.524927
-vt 0.497352 0.509155
-vt 0.529129 0.564345
-vt 0.499478 0.537408
-vt 0.477650 0.488971
-vt 0.468244 0.491138
-vt 0.480488 0.517464
-vt 0.467171 0.517875
-vt 0.608431 0.607351
-vt 0.586519 0.601189
-vt 0.601355 0.629369
-vt 0.580225 0.622280
-vt 0.565409 0.595397
-vt 0.544311 0.589830
-vt 0.559396 0.616130
-vt 0.538790 0.610354
-vt 0.593752 0.650474
-vt 0.573389 0.643092
-vt 0.585973 0.670561
-vt 0.566306 0.662984
-vt 0.553103 0.636532
-vt 0.533128 0.630456
-vt 0.546719 0.656282
-vt 0.527456 0.650043
-vt 0.523673 0.584489
-vt 0.502615 0.578959
-vt 0.518483 0.604902
-vt 0.498268 0.599821
-vt 0.481038 0.575304
-vt 0.461607 0.573225
-vt 0.478160 0.596099
-vt 0.458539 0.592912
-vt 0.511796 0.625806
-vt 0.492804 0.623756
-vt 0.504354 0.643299
-vt 0.488966 0.639303
-vt 0.475242 0.617167
-vt 0.455170 0.612006
-vt 0.473783 0.635603
-vt 0.451344 0.630756
-vt 0.781894 0.751294
-vt 0.748154 0.768270
-vt 0.706202 0.791022
-vt 0.767345 0.781136
-vt 0.741683 0.788993
-vt 0.708524 0.799718
-vt 0.701025 0.790101
-vt 0.696660 0.788152
-vt 0.698890 0.796411
-vt 0.691706 0.792626
-vt 0.754676 0.806035
-vt 0.718626 0.816104
-vt 0.704870 0.812208
-vt 0.729861 0.835917
-vt 0.713693 0.832114
-vt 0.696669 0.826046
-vt 0.694152 0.805109
-vt 0.669249 0.794119
-vt 0.667265 0.813980
-vt 0.642675 0.799794
-vt 0.668292 0.751066
-vt 0.635777 0.720978
-vt 0.664117 0.769694
-vt 0.623430 0.739393
-vt 0.616110 0.709469
-vt 0.596483 0.699356
-vt 0.605383 0.728085
-vt 0.587352 0.718301
-vt 0.647411 0.777786
-vt 0.610599 0.755582
-vt 0.620401 0.784425
-vt 0.600828 0.771304
-vt 0.594789 0.745515
-vt 0.578120 0.736195
-vt 0.585231 0.761647
-vt 0.569236 0.752671
-vt 0.745399 0.872423
-vt 0.708757 0.849743
-vt 0.689380 0.844190
-vt 0.754665 0.900114
-vt 0.727403 0.886807
-vt 0.684582 0.865143
-vt 0.658926 0.825398
-vt 0.642759 0.819875
-vt 0.668939 0.862068
-vt 0.654242 0.858897
-vt 0.767603 0.928885
-vt 0.719026 0.900933
-vt 0.677036 0.879392
-vt 0.763076 0.945294
-vt 0.732120 0.930249
-vt 0.701267 0.919302
-vt 0.665190 0.876495
-vt 0.650876 0.871961
-vt 0.659985 0.892812
-vt 0.641974 0.885313
-vt 0.621898 0.810056
-vt 0.591143 0.786164
-vt 0.624892 0.835169
-vt 0.582691 0.802178
-vt 0.576105 0.777238
-vt 0.560567 0.768563
-vt 0.567365 0.792505
-vt 0.552116 0.783791
-vt 0.614825 0.848292
-vt 0.572969 0.816512
-vt 0.605529 0.861532
-vt 0.563608 0.830289
-vt 0.558370 0.807141
-vt 0.543969 0.798545
-vt 0.549592 0.821167
-vt 0.535840 0.812772
-vt 0.576638 0.691107
-vt 0.557433 0.686297
-vt 0.566278 0.708025
-vt 0.551153 0.701542
-vt 0.540630 0.677018
-vt 0.521196 0.668861
-vt 0.536230 0.695434
-vt 0.514782 0.686941
-vt 0.560536 0.725879
-vt 0.544950 0.716206
-vt 0.553006 0.744194
-vt 0.536499 0.736856
-vt 0.526754 0.711718
-vt 0.508421 0.703612
-vt 0.520409 0.730466
-vt 0.502975 0.722358
-vt 0.501797 0.661546
-vt 0.485126 0.654327
-vt 0.497063 0.681037
-vt 0.479275 0.676023
-vt 0.467310 0.652397
-vt 0.447703 0.649148
-vt 0.461539 0.671281
-vt 0.443786 0.667104
-vt 0.491763 0.698538
-vt 0.474489 0.693592
-vt 0.485626 0.719174
-vt 0.470331 0.712096
-vt 0.457124 0.688925
-vt 0.439768 0.684682
-vt 0.452690 0.706029
-vt 0.435754 0.701811
-vt 0.544912 0.760510
-vt 0.529244 0.752853
-vt 0.537118 0.775862
-vt 0.522073 0.768407
-vt 0.513570 0.745894
-vt 0.494417 0.737669
-vt 0.506560 0.761323
-vt 0.490525 0.753522
-vt 0.529531 0.790563
-vt 0.514835 0.783338
-vt 0.521941 0.805003
-vt 0.507771 0.797891
-vt 0.499909 0.776532
-vt 0.484914 0.770222
-vt 0.493380 0.791263
-vt 0.478897 0.785035
-vt 0.480991 0.732869
-vt 0.467737 0.728457
-vt 0.476443 0.745892
-vt 0.460808 0.742939
-vt 0.448045 0.722593
-vt 0.431762 0.718434
-vt 0.443547 0.738814
-vt 0.427566 0.734526
-vt 0.469740 0.764574
-vt 0.454505 0.759218
-vt 0.464360 0.779398
-vt 0.449632 0.774369
-vt 0.439081 0.754509
-vt 0.423539 0.750306
-vt 0.434641 0.769825
-vt 0.419553 0.765644
-vt 0.455353 0.476460
-vt 0.448803 0.471378
-vt 0.459464 0.483576
-vt 0.446759 0.481768
-vt 0.439341 0.472086
-vt 0.435932 0.467710
-vt 0.441719 0.477604
-vt 0.414907 0.488037
-vt 0.459202 0.490514
-vt 0.450385 0.486859
-vt 0.454064 0.516373
-vt 0.441192 0.513374
-vt 0.426802 0.501840
-vt 0.401696 0.511198
-vt 0.417931 0.527294
-vt 0.384015 0.543627
-vt 0.405347 0.472335
-vt 0.348951 0.480093
-vt 0.387953 0.492883
-vt 0.348578 0.501565
-vt 0.327812 0.480896
-vt 0.307522 0.481420
-vt 0.328022 0.501180
-vt 0.308054 0.501367
-vt 0.366411 0.523629
-vt 0.347317 0.521997
-vt 0.365212 0.542502
-vt 0.346263 0.541355
-vt 0.327693 0.521186
-vt 0.308262 0.521017
-vt 0.327147 0.540572
-vt 0.308056 0.540259
-vt 0.442940 0.570352
-vt 0.424218 0.566377
-vt 0.439478 0.589703
-vt 0.420522 0.586373
-vt 0.403309 0.563786
-vt 0.383284 0.562533
-vt 0.401164 0.583684
-vt 0.381820 0.581723
-vt 0.436266 0.608617
-vt 0.417528 0.605464
-vt 0.432961 0.627211
-vt 0.414575 0.624071
-vt 0.398706 0.602769
-vt 0.379969 0.600554
-vt 0.396205 0.621314
-vt 0.376665 0.619964
-vt 0.364196 0.561367
-vt 0.345344 0.560307
-vt 0.362973 0.580159
-vt 0.344363 0.578981
-vt 0.326559 0.559526
-vt 0.307893 0.559051
-vt 0.325877 0.578097
-vt 0.307559 0.577514
-vt 0.361492 0.598612
-vt 0.343198 0.597376
-vt 0.359446 0.620508
-vt 0.342862 0.616647
-vt 0.325070 0.596310
-vt 0.307057 0.595567
-vt 0.324046 0.614203
-vt 0.306376 0.613284
-vt 0.287274 0.482217
-vt 0.266831 0.483507
-vt 0.287018 0.502776
-vt 0.268266 0.505840
-vt 0.246507 0.485063
-vt 0.226820 0.487157
-vt 0.249513 0.505059
-vt 0.229486 0.506366
-vt 0.284864 0.521342
-vt 0.269141 0.522012
-vt 0.287870 0.539278
-vt 0.269937 0.537568
-vt 0.253527 0.522963
-vt 0.231512 0.524378
-vt 0.251998 0.541350
-vt 0.234222 0.543317
-vt 0.207664 0.490530
-vt 0.189154 0.494989
-vt 0.211211 0.509049
-vt 0.193475 0.512460
-vt 0.172038 0.500115
-vt 0.156248 0.505833
-vt 0.176687 0.516636
-vt 0.160815 0.520939
-vt 0.214089 0.526728
-vt 0.196964 0.529841
-vt 0.217235 0.547710
-vt 0.200808 0.547611
-vt 0.180310 0.533042
-vt 0.164393 0.536367
-vt 0.183149 0.549232
-vt 0.167342 0.551814
-vt 0.289425 0.559038
-vt 0.271306 0.559585
-vt 0.289457 0.577254
-vt 0.271644 0.577346
-vt 0.253826 0.560392
-vt 0.232815 0.560863
-vt 0.254199 0.577650
-vt 0.235802 0.577144
-vt 0.289269 0.595105
-vt 0.271736 0.594911
-vt 0.288883 0.612622
-vt 0.270519 0.613276
-vt 0.254465 0.594809
-vt 0.237418 0.595273
-vt 0.254510 0.615360
-vt 0.238730 0.613199
-vt 0.218564 0.561936
-vt 0.204874 0.563179
-vt 0.219600 0.575723
-vt 0.204061 0.578983
-vt 0.185173 0.565335
-vt 0.169549 0.567197
-vt 0.186875 0.581348
-vt 0.171083 0.582645
-vt 0.220609 0.595969
-vt 0.204091 0.596520
-vt 0.221107 0.612457
-vt 0.204703 0.612833
-vt 0.187941 0.597339
-vt 0.172132 0.598223
-vt 0.188610 0.613320
-vt 0.172808 0.613861
-vt 0.429593 0.645452
-vt 0.411597 0.642229
-vt 0.426061 0.663350
-vt 0.408487 0.659961
-vt 0.393768 0.639433
-vt 0.372283 0.636562
-vt 0.390915 0.657091
-vt 0.372464 0.653358
-vt 0.422482 0.680841
-vt 0.405306 0.677273
-vt 0.417597 0.698739
-vt 0.401401 0.697721
-vt 0.388108 0.674435
-vt 0.370972 0.671886
-vt 0.386113 0.692635
-vt 0.368553 0.688736
-vt 0.357934 0.634946
-vt 0.343721 0.633491
-vt 0.356383 0.649066
-vt 0.339891 0.649585
-vt 0.322710 0.631737
-vt 0.305522 0.630620
-vt 0.321537 0.648977
-vt 0.304478 0.647723
-vt 0.353945 0.669691
-vt 0.337044 0.667525
-vt 0.351841 0.686448
-vt 0.335187 0.684577
-vt 0.320133 0.665946
-vt 0.303312 0.664616
-vt 0.318619 0.682743
-vt 0.302067 0.681174
-vt 0.412031 0.713878
-vt 0.398749 0.711165
-vt 0.410798 0.729526
-vt 0.396146 0.724280
-vt 0.385471 0.708610
-vt 0.365964 0.705185
-vt 0.380561 0.723555
-vt 0.363805 0.721471
-vt 0.407985 0.746521
-vt 0.392391 0.743307
-vt 0.404411 0.761896
-vt 0.389270 0.758604
-vt 0.376871 0.740209
-vt 0.361066 0.737427
-vt 0.374038 0.755680
-vt 0.358663 0.752986
-vt 0.349631 0.702943
-vt 0.333325 0.700998
-vt 0.347557 0.719126
-vt 0.331473 0.717159
-vt 0.317029 0.699228
-vt 0.300802 0.697740
-vt 0.315412 0.715391
-vt 0.299327 0.713858
-vt 0.345358 0.735100
-vt 0.329608 0.733064
-vt 0.343222 0.750630
-vt 0.327716 0.748747
-vt 0.313758 0.731398
-vt 0.297980 0.729736
-vt 0.312091 0.747159
-vt 0.296560 0.745588
-vt 0.288448 0.629840
-vt 0.267982 0.629217
-vt 0.287532 0.646789
-vt 0.269722 0.645034
-vt 0.254366 0.628987
-vt 0.240926 0.628845
-vt 0.254142 0.642431
-vt 0.238630 0.644299
-vt 0.286629 0.663519
-vt 0.270056 0.662722
-vt 0.285649 0.680054
-vt 0.269278 0.679169
-vt 0.253600 0.662265
-vt 0.237284 0.661654
-vt 0.253014 0.678481
-vt 0.236780 0.677938
-vt 0.221146 0.628852
-vt 0.205002 0.628998
-vt 0.221296 0.645116
-vt 0.205111 0.645087
-vt 0.188987 0.629242
-vt 0.173199 0.629523
-vt 0.189135 0.645126
-vt 0.173365 0.645199
-vt 0.221080 0.661303
-vt 0.205012 0.661103
-vt 0.220723 0.677589
-vt 0.204802 0.677112
-vt 0.189111 0.660963
-vt 0.173350 0.660871
-vt 0.188908 0.676760
-vt 0.173200 0.676515
-vt 0.284645 0.696554
-vt 0.268487 0.695480
-vt 0.283592 0.712635
-vt 0.267670 0.711538
-vt 0.252335 0.694624
-vt 0.236102 0.693970
-vt 0.251534 0.710625
-vt 0.235599 0.709879
-vt 0.282288 0.728425
-vt 0.266524 0.727383
-vt 0.280992 0.744273
-vt 0.265419 0.743130
-vt 0.250697 0.726471
-vt 0.234737 0.725672
-vt 0.249818 0.742185
-vt 0.234127 0.741358
-vt 0.220252 0.693442
-vt 0.204510 0.692948
-vt 0.219709 0.709247
-vt 0.203876 0.708702
-vt 0.188557 0.692510
-vt 0.172893 0.692129
-vt 0.188101 0.708210
-vt 0.172453 0.707749
-vt 0.219089 0.725003
-vt 0.203475 0.724412
-vt 0.218447 0.740641
-vt 0.202763 0.740058
-vt 0.187611 0.723873
-vt 0.171973 0.723368
-vt 0.187071 0.739513
-vt 0.171449 0.738989
-usemtl None_moon-texture.png
-s 1
-f 331/1 4/2 351/3 834/4
-f 102/5 331/1 834/4 579/6
-f 834/4 351/3 112/7 578/8
-f 579/6 834/4 578/8 226/9
-f 330/10 102/5 579/6 835/11
-f 36/12 330/10 835/11 452/13
-f 835/11 579/6 226/9 580/14
-f 452/13 835/11 580/14 163/15
-f 578/8 112/7 350/16 836/17
-f 226/9 578/8 836/17 581/18
-f 836/17 350/16 41/19 450/20
-f 581/18 836/17 450/20 162/21
-f 580/14 226/9 581/18 837/22
-f 163/15 580/14 837/22 453/23
-f 837/22 581/18 162/21 451/24
-f 453/23 837/22 451/24 66/25
-f 332/26 36/12 452/13 838/27
-f 103/28 332/26 838/27 583/29
-f 838/27 452/13 163/15 582/30
-f 583/29 838/27 582/30 227/31
-f 333/32 103/28 583/29 839/33
-f 15/34 333/32 839/33 393/35
-f 839/33 583/29 227/31 584/36
-f 393/35 839/33 584/36 133/37
-f 582/30 163/15 453/23 840/38
-f 227/31 582/30 840/38 585/39
-f 840/38 453/23 66/25 455/40
-f 585/39 840/38 455/40 164/41
-f 584/36 227/31 585/39 841/42
-f 133/37 584/36 841/42 392/43
-f 841/42 585/39 164/41 454/44
-f 392/43 841/42 454/44 51/45
-f 450/20 41/19 352/46 842/47
-f 162/21 450/20 842/47 587/48
-f 842/47 352/46 113/49 586/50
-f 587/48 842/47 586/50 228/51
-f 451/24 162/21 587/48 843/52
-f 66/25 451/24 843/52 457/53
-f 843/52 587/48 228/51 588/54
-f 457/53 843/52 588/54 165/55
-f 586/50 113/49 353/56 844/57
-f 228/51 586/50 844/57 589/58
-f 844/57 353/56 17/59 389/60
-f 589/58 844/57 389/60 131/61
-f 588/54 228/51 589/58 845/62
-f 165/55 588/54 845/62 456/63
-f 845/62 589/58 131/61 388/64
-f 456/63 845/62 388/64 50/65
-f 455/40 66/25 457/53 846/66
-f 164/41 455/40 846/66 591/67
-f 846/66 457/53 165/55 590/68
-f 591/67 846/66 590/68 229/69
-f 454/44 164/41 591/67 847/70
-f 51/45 454/44 847/70 390/71
-f 847/70 591/67 229/69 592/72
-f 390/71 847/70 592/72 132/73
-f 590/68 165/55 456/63 848/74
-f 229/69 590/68 848/74 593/75
-f 848/74 456/63 50/65 386/76
-f 593/75 848/74 386/76 130/77
-f 592/72 229/69 593/75 849/78
-f 132/73 592/72 849/78 391/79
-f 849/78 593/75 130/77 387/80
-f 391/79 849/78 387/80 22/81
-f 335/82 15/34 393/35 850/83
-f 104/84 335/82 850/83 595/85
-f 850/83 393/35 133/37 594/86
-f 595/85 850/83 594/86 230/87
-f 334/88 104/84 595/85 851/89
-f 37/90 334/88 851/89 460/91
-f 851/89 595/85 230/87 596/92
-f 460/91 851/89 596/92 167/93
-f 594/86 133/37 392/43 852/94
-f 230/87 594/86 852/94 597/95
-f 852/94 392/43 51/45 458/96
-f 597/95 852/94 458/96 166/97
-f 596/92 230/87 597/95 853/98
-f 167/93 596/92 853/98 461/99
-f 853/98 597/95 166/97 459/100
-f 461/99 853/98 459/100 67/101
-f 336/102 37/90 460/91 854/103
-f 105/104 336/102 854/103 599/105
-f 854/103 460/91 167/93 598/106
-f 599/105 854/103 598/106 231/107
-f 337/108 105/104 599/105 855/109
-f 7/110 337/108 855/109 369/111
-f 855/109 599/105 231/107 600/112
-f 369/111 855/109 600/112 121/113
-f 598/106 167/93 461/99 856/114
-f 231/107 598/106 856/114 601/115
-f 856/114 461/99 67/101 463/116
-f 601/115 856/114 463/116 168/117
-f 600/112 231/107 601/115 857/118
-f 121/113 600/112 857/118 368/119
-f 857/118 601/115 168/117 462/120
-f 368/119 857/118 462/120 45/121
-f 458/96 51/45 390/71 858/122
-f 166/97 458/96 858/122 603/123
-f 858/122 390/71 132/73 602/124
-f 603/123 858/122 602/124 232/125
-f 459/100 166/97 603/123 859/126
-f 67/101 459/100 859/126 465/127
-f 859/126 603/123 232/125 604/128
-f 465/127 859/126 604/128 169/129
-f 602/124 132/73 391/79 860/130
-f 232/125 602/124 860/130 605/131
-f 860/130 391/79 22/81 395/132
-f 605/131 860/130 395/132 134/133
-f 604/128 232/125 605/131 861/134
-f 169/129 604/128 861/134 464/135
-f 861/134 605/131 134/133 394/136
-f 464/135 861/134 394/136 52/137
-f 463/116 67/101 465/127 862/138
-f 168/117 463/116 862/138 607/139
-f 862/138 465/127 169/129 606/140
-f 607/139 862/138 606/140 233/141
-f 462/120 168/117 607/139 863/142
-f 45/121 462/120 863/142 366/143
-f 863/142 607/139 233/141 608/144
-f 366/143 863/142 608/144 120/145
-f 606/140 169/129 464/135 864/146
-f 233/141 606/140 864/146 609/147
-f 864/146 464/135 52/137 396/148
-f 609/147 864/146 396/148 135/149
-f 608/144 233/141 609/147 865/150
-f 120/145 608/144 865/150 367/151
-f 865/150 609/147 135/149 397/152
-f 367/151 865/150 397/152 19/153
-f 389/60 17/59 349/154 866/155
-f 131/61 389/60 866/155 611/156
-f 866/155 349/154 111/157 610/158
-f 611/156 866/155 610/158 234/159
-f 388/64 131/61 611/156 867/160
-f 50/65 388/64 867/160 468/161
-f 867/160 611/156 234/159 612/162
-f 468/161 867/160 612/162 171/163
-f 610/158 111/157 348/164 868/165
-f 234/159 610/158 868/165 613/166
-f 868/165 348/164 40/167 466/168
-f 613/166 868/165 466/168 170/169
-f 612/162 234/159 613/166 869/170
-f 171/163 612/162 869/170 469/171
-f 869/170 613/166 170/169 467/172
-f 469/171 869/170 467/172 68/173
-f 386/76 50/65 468/161 870/174
-f 130/77 386/76 870/174 615/175
-f 870/174 468/161 171/163 614/176
-f 615/175 870/174 614/176 235/177
-f 387/80 130/77 615/175 871/178
-f 22/81 387/80 871/178 399/179
-f 871/178 615/175 235/177 616/180
-f 399/179 871/178 616/180 136/181
-f 614/176 171/163 469/171 872/182
-f 235/177 614/176 872/182 617/183
-f 872/182 469/171 68/173 471/184
-f 617/183 872/182 471/184 172/185
-f 616/180 235/177 617/183 873/186
-f 136/181 616/180 873/186 398/187
-f 873/186 617/183 172/185 470/188
-f 398/187 873/186 470/188 53/189
-f 466/168 40/167 346/190 874/191
-f 170/169 466/168 874/191 619/192
-f 874/191 346/190 110/193 618/194
-f 619/192 874/191 618/194 236/195
-f 467/172 170/169 619/192 875/196
-f 68/173 467/172 875/196 473/197
-f 875/196 619/192 236/195 620/198
-f 473/197 875/196 620/198 173/199
-f 618/194 110/193 347/200 876/201
-f 236/195 618/194 876/201 621/202
-f 876/201 347/200 8/203 359/204
-f 621/202 876/201 359/204 116/205
-f 620/198 236/195 621/202 877/206
-f 173/199 620/198 877/206 472/207
-f 877/206 621/202 116/205 358/208
-f 472/207 877/206 358/208 43/209
-f 471/184 68/173 473/197 878/210
-f 172/185 471/184 878/210 623/211
-f 878/210 473/197 173/199 622/212
-f 623/211 878/210 622/212 237/213
-f 470/188 172/185 623/211 879/214
-f 53/189 470/188 879/214 400/215
-f 879/214 623/211 237/213 624/216
-f 400/215 879/214 624/216 137/217
-f 622/212 173/199 472/207 880/218
-f 237/213 622/212 880/218 625/219
-f 880/218 472/207 43/209 360/220
-f 625/219 880/218 360/220 117/221
-f 624/216 237/213 625/219 881/222
-f 137/217 624/216 881/222 401/223
-f 881/222 625/219 117/221 361/224
-f 401/223 881/222 361/224 18/225
-f 395/132 22/81 399/179 882/226
-f 134/133 395/132 882/226 627/227
-f 882/226 399/179 136/181 626/228
-f 627/227 882/226 626/228 238/229
-f 394/136 134/133 627/227 883/230
-f 52/137 394/136 883/230 476/231
-f 883/230 627/227 238/229 628/232
-f 476/231 883/230 628/232 175/233
-f 626/228 136/181 398/187 884/234
-f 238/229 626/228 884/234 629/235
-f 884/234 398/187 53/189 474/236
-f 629/235 884/234 474/236 174/237
-f 628/232 238/229 629/235 885/238
-f 175/233 628/232 885/238 477/239
-f 885/238 629/235 174/237 475/240
-f 477/239 885/238 475/240 69/241
-f 396/148 52/137 476/231 886/242
-f 135/149 396/148 886/242 631/243
-f 886/242 476/231 175/233 630/244
-f 631/243 886/242 630/244 239/245
-f 397/152 135/149 631/243 887/246
-f 19/153 397/152 887/246 365/247
-f 887/246 631/243 239/245 632/248
-f 365/247 887/246 632/248 119/249
-f 630/244 175/233 477/239 888/250
-f 239/245 630/244 888/250 633/251
-f 888/250 477/239 69/241 479/252
-f 633/251 888/250 479/252 176/253
-f 632/248 239/245 633/251 889/254
-f 119/249 632/248 889/254 364/255
-f 889/254 633/251 176/253 478/256
-f 364/255 889/254 478/256 44/257
-f 474/236 53/189 400/215 890/258
-f 174/237 474/236 890/258 635/259
-f 890/258 400/215 137/217 634/260
-f 635/259 890/258 634/260 240/261
-f 475/240 174/237 635/259 891/262
-f 69/241 475/240 891/262 481/263
-f 891/262 635/259 240/261 636/264
-f 481/263 891/262 636/264 177/265
-f 634/260 137/217 401/223 892/266
-f 240/261 634/260 892/266 637/267
-f 892/266 401/223 18/225 357/268
-f 637/267 892/266 357/268 115/269
-f 636/264 240/261 637/267 893/270
-f 177/265 636/264 893/270 480/271
-f 893/270 637/267 115/269 356/272
-f 480/271 893/270 356/272 42/273
-f 479/252 69/241 481/263 894/274
-f 176/253 479/252 894/274 639/275
-f 894/274 481/263 177/265 638/276
-f 639/275 894/274 638/276 241/277
-f 478/256 176/253 639/275 895/278
-f 44/257 478/256 895/278 362/279
-f 895/278 639/275 241/277 640/280
-f 362/279 895/278 640/280 118/281
-f 638/276 177/265 480/271 896/282
-f 241/277 638/276 896/282 641/283
-f 896/282 480/271 42/273 354/284
-f 641/283 896/282 354/284 114/285
-f 640/280 241/277 641/283 897/286
-f 118/281 640/280 897/286 363/287
-f 897/286 641/283 114/285 355/288
-f 363/287 897/286 355/288 9/289
-f 327/290 7/110 369/111 898/291
-f 100/292 327/290 898/291 643/293
-f 898/291 369/111 121/113 642/294
-f 643/293 898/291 642/294 242/295
-f 326/296 100/292 643/293 899/297
-f 35/298 326/296 899/297 484/299
-f 899/297 643/293 242/295 644/300
-f 484/299 899/297 644/300 179/301
-f 642/294 121/113 368/119 900/302
-f 242/295 642/294 900/302 645/303
-f 900/302 368/119 45/121 482/304
-f 645/303 900/302 482/304 178/305
-f 644/300 242/295 645/303 901/306
-f 179/301 644/300 901/306 485/307
-f 901/306 645/303 178/305 483/308
-f 485/307 901/306 483/308 70/309
-f 328/310 35/298 484/299 902/311
-f 101/312 328/310 902/311 647/313
-f 902/311 484/299 179/301 646/314
-f 647/313 902/311 646/314 243/315
-f 329/316 101/312 647/313 903/317
-f 14/318 329/316 903/317 407/319
-f 903/317 647/313 243/315 648/320
-f 407/319 903/317 648/320 140/321
-f 646/314 179/301 485/307 904/322
-f 243/315 646/314 904/322 649/323
-f 904/322 485/307 70/309 487/324
-f 649/323 904/322 487/324 180/325
-f 648/320 243/315 649/323 905/326
-f 140/321 648/320 905/326 406/327
-f 905/326 649/323 180/325 486/328
-f 406/327 905/326 486/328 55/329
-f 482/304 45/121 366/143 906/330
-f 178/305 482/304 906/330 651/331
-f 906/330 366/143 120/145 650/332
-f 651/331 906/330 650/332 244/333
-f 483/308 178/305 651/331 907/334
-f 70/309 483/308 907/334 489/335
-f 907/334 651/331 244/333 652/336
-f 489/335 907/334 652/336 181/337
-f 650/332 120/145 367/151 908/338
-f 244/333 650/332 908/338 653/339
-f 908/338 367/151 19/153 403/340
-f 653/339 908/338 403/340 138/341
-f 652/336 244/333 653/339 909/342
-f 181/337 652/336 909/342 488/343
-f 909/342 653/339 138/341 402/344
-f 488/343 909/342 402/344 54/345
-f 487/324 70/309 489/335 910/346
-f 180/325 487/324 910/346 655/347
-f 910/346 489/335 181/337 654/348
-f 655/347 910/346 654/348 245/349
-f 486/328 180/325 655/347 911/350
-f 55/329 486/328 911/350 408/351
-f 911/350 655/347 245/349 656/352
-f 408/351 911/350 656/352 141/353
-f 654/348 181/337 488/343 912/354
-f 245/349 654/348 912/354 657/355
-f 912/354 488/343 54/345 404/356
-f 657/355 912/354 404/356 139/357
-f 656/352 245/349 657/355 913/358
-f 141/353 656/352 913/358 409/359
-f 913/358 657/355 139/357 405/360
-f 409/359 913/358 405/360 23/361
-f 325/362 14/318 407/319 914/363
-f 99/364 325/362 914/363 659/365
-f 914/363 407/319 140/321 658/366
-f 659/365 914/363 658/366 246/367
-f 324/368 99/364 659/365 915/369
-f 34/370 324/368 915/369 492/371
-f 915/369 659/365 246/367 660/372
-f 492/371 915/369 660/372 183/373
-f 658/366 140/321 406/327 916/374
-f 246/367 658/366 916/374 661/375
-f 916/374 406/327 55/329 490/376
-f 661/375 916/374 490/376 182/377
-f 660/372 246/367 661/375 917/378
-f 183/373 660/372 917/378 493/379
-f 917/378 661/375 182/377 491/380
-f 493/379 917/378 491/380 71/381
-f 322/382 34/370 492/371 918/383
-f 98/384 322/382 918/383 663/385
-f 918/383 492/371 183/373 662/386
-f 663/385 918/383 662/386 247/387
-f 323/388 98/384 663/385 919/389
-f 1/390 323/388 919/389 309/391
-f 919/389 663/385 247/387 664/392
-f 309/391 919/389 664/392 91/393
-f 662/386 183/373 493/379 920/394
-f 247/387 662/386 920/394 665/395
-f 920/394 493/379 71/381 495/396
-f 665/395 920/394 495/396 184/397
-f 664/392 247/387 665/395 921/398
-f 91/393 664/392 921/398 308/399
-f 921/398 665/395 184/397 494/400
-f 308/399 921/398 494/400 30/401
-f 490/376 55/329 408/351 922/402
-f 182/377 490/376 922/402 667/403
-f 922/402 408/351 141/353 666/404
-f 667/403 922/402 666/404 248/405
-f 491/380 182/377 667/403 923/406
-f 71/381 491/380 923/406 497/407
-f 923/406 667/403 248/405 668/408
-f 497/407 923/406 668/408 185/409
-f 666/404 141/353 409/359 924/410
-f 248/405 666/404 924/410 669/411
-f 924/410 409/359 23/361 413/412
-f 669/411 924/410 413/412 143/413
-f 668/408 248/405 669/411 925/414
-f 185/409 668/408 925/414 496/415
-f 925/414 669/411 143/413 412/416
-f 496/415 925/414 412/416 56/417
-f 495/396 71/381 497/407 926/418
-f 184/397 495/396 926/418 671/419
-f 926/418 497/407 185/409 670/420
-f 671/419 926/418 670/420 249/421
-f 494/400 184/397 671/419 927/422
-f 30/401 494/400 927/422 306/423
-f 927/422 671/419 249/421 672/424
-f 306/423 927/422 672/424 90/425
-f 670/420 185/409 496/415 928/426
-f 249/421 670/420 928/426 673/427
-f 928/426 496/415 56/417 410/428
-f 673/427 928/426 410/428 142/429
-f 672/424 249/421 673/427 929/430
-f 90/425 672/424 929/430 307/431
-f 929/430 673/427 142/429 411/432
-f 307/431 929/430 411/432 12/433
-f 403/340 19/153 365/247 930/434
-f 138/341 403/340 930/434 675/435
-f 930/434 365/247 119/249 674/436
-f 675/435 930/434 674/436 250/437
-f 402/344 138/341 675/435 931/438
-f 54/345 402/344 931/438 500/439
-f 931/438 675/435 250/437 676/440
-f 500/439 931/438 676/440 187/441
-f 674/436 119/249 364/255 932/442
-f 250/437 674/436 932/442 677/443
-f 932/442 364/255 44/257 498/444
-f 677/443 932/442 498/444 186/445
-f 676/440 250/437 677/443 933/446
-f 187/441 676/440 933/446 501/447
-f 933/446 677/443 186/445 499/448
-f 501/447 933/446 499/448 72/449
-f 404/356 54/345 500/439 934/450
-f 139/357 404/356 934/450 679/451
-f 934/450 500/439 187/441 678/452
-f 679/451 934/450 678/452 251/453
-f 405/360 139/357 679/451 935/454
-f 23/361 405/360 935/454 417/455
-f 935/454 679/451 251/453 680/456
-f 417/455 935/454 680/456 145/457
-f 678/452 187/441 501/447 936/458
-f 251/453 678/452 936/458 681/459
-f 936/458 501/447 72/449 503/460
-f 681/459 936/458 503/460 188/461
-f 680/456 251/453 681/459 937/462
-f 145/457 680/456 937/462 416/463
-f 937/462 681/459 188/461 502/464
-f 416/463 937/462 502/464 57/465
-f 498/444 44/257 362/279 938/466
-f 186/445 498/444 938/466 683/467
-f 938/466 362/279 118/281 682/468
-f 683/467 938/466 682/468 252/469
-f 499/448 186/445 683/467 939/470
-f 72/449 499/448 939/470 505/471
-f 939/470 683/467 252/469 684/472
-f 505/471 939/470 684/472 189/473
-f 682/468 118/281 363/287 940/474
-f 252/469 682/468 940/474 685/475
-f 940/474 363/287 9/289 371/476
-f 685/475 940/474 371/476 122/477
-f 684/472 252/469 685/475 941/478
-f 189/473 684/472 941/478 504/479
-f 941/478 685/475 122/477 370/480
-f 504/479 941/478 370/480 46/481
-f 503/460 72/449 505/471 942/482
-f 188/461 503/460 942/482 687/483
-f 942/482 505/471 189/473 686/484
-f 687/483 942/482 686/484 253/485
-f 502/464 188/461 687/483 943/486
-f 57/465 502/464 943/486 414/487
-f 943/486 687/483 253/485 688/488
-f 414/487 943/486 688/488 144/489
-f 686/484 189/473 504/479 944/490
-f 253/485 686/484 944/490 689/491
-f 944/490 504/479 46/481 372/492
-f 689/491 944/490 372/492 123/493
-f 688/488 253/485 689/491 945/494
-f 144/489 688/488 945/494 415/495
-f 945/494 689/491 123/493 373/496
-f 415/495 945/494 373/496 20/497
-f 413/412 23/361 417/455 946/498
-f 143/413 413/412 946/498 691/499
-f 946/498 417/455 145/457 690/500
-f 691/499 946/498 690/500 254/501
-f 412/416 143/413 691/499 947/502
-f 56/417 412/416 947/502 508/503
-f 947/502 691/499 254/501 692/504
-f 508/503 947/502 692/504 191/505
-f 690/500 145/457 416/463 948/506
-f 254/501 690/500 948/506 693/507
-f 948/506 416/463 57/465 506/508
-f 693/507 948/506 506/508 190/509
-f 692/504 254/501 693/507 949/510
-f 191/505 692/504 949/510 509/511
-f 949/510 693/507 190/509 507/512
-f 509/511 949/510 507/512 73/513
-f 410/428 56/417 508/503 950/514
-f 142/429 410/428 950/514 695/515
-f 950/514 508/503 191/505 694/516
-f 695/515 950/514 694/516 255/517
-f 411/432 142/429 695/515 951/518
-f 12/433 411/432 951/518 311/519
-f 951/518 695/515 255/517 696/520
-f 311/519 951/518 696/520 92/521
-f 694/516 191/505 509/511 952/522
-f 255/517 694/516 952/522 697/523
-f 952/522 509/511 73/513 511/524
-f 697/523 952/522 511/524 192/525
-f 696/520 255/517 697/523 953/526
-f 92/521 696/520 953/526 310/527
-f 953/526 697/523 192/525 510/528
-f 310/527 953/526 510/528 31/529
-f 506/508 57/465 414/487 954/530
-f 190/509 506/508 954/530 699/531
-f 954/530 414/487 144/489 698/532
-f 699/531 954/530 698/532 256/533
-f 507/512 190/509 699/531 955/534
-f 73/513 507/512 955/534 513/535
-f 955/534 699/531 256/533 700/536
-f 513/535 955/534 700/536 193/537
-f 698/532 144/489 415/495 956/538
-f 256/533 698/532 956/538 701/539
-f 956/538 415/495 20/497 375/540
-f 701/539 956/538 375/540 124/541
-f 700/536 256/533 701/539 957/542
-f 193/537 700/536 957/542 512/543
-f 957/542 701/539 124/541 374/544
-f 512/543 957/542 374/544 47/545
-f 511/524 73/513 513/535 958/546
-f 192/525 511/524 958/546 703/547
-f 958/546 513/535 193/537 702/548
-f 703/547 958/546 702/548 257/549
-f 510/528 192/525 703/547 959/550
-f 31/529 510/528 959/550 312/551
-f 959/550 703/547 257/549 704/552
-f 312/551 959/550 704/552 93/553
-f 702/548 193/537 512/543 960/554
-f 257/549 702/548 960/554 705/555
-f 960/554 512/543 47/545 376/556
-f 705/555 960/554 376/556 125/557
-f 704/552 257/549 705/555 961/558
-f 93/553 704/552 961/558 313/559
-f 961/558 705/555 125/557 377/560
-f 313/559 961/558 377/560 6/561
-f 359/204 8/203 339/562 962/563
-f 116/205 359/204 962/563 707/564
-f 962/563 339/562 106/565 706/566
-f 707/564 962/563 706/566 258/567
-f 358/208 116/205 707/564 963/568
-f 43/209 358/208 963/568 516/569
-f 963/568 707/564 258/567 708/570
-f 516/569 963/568 708/570 195/571
-f 706/566 106/565 338/572 964/573
-f 258/567 706/566 964/573 709/574
-f 964/573 338/572 38/575 514/576
-f 709/574 964/573 514/576 194/577
-f 708/570 258/567 709/574 965/578
-f 195/571 708/570 965/578 517/579
-f 965/578 709/574 194/577 515/580
-f 517/579 965/578 515/580 74/581
-f 360/220 43/209 516/569 966/582
-f 117/221 360/220 966/582 711/583
-f 966/582 516/569 195/571 710/584
-f 711/583 966/582 710/584 259/585
-f 361/224 117/221 711/583 967/586
-f 18/225 361/224 967/586 423/587
-f 967/586 711/583 259/585 712/588
-f 423/587 967/586 712/588 148/589
-f 710/584 195/571 517/579 968/590
-f 259/585 710/584 968/590 713/591
-f 968/590 517/579 74/581 519/592
-f 713/591 968/590 519/592 196/593
-f 712/588 259/585 713/591 969/594
-f 148/589 712/588 969/594 422/595
-f 969/594 713/591 196/593 518/596
-f 422/595 969/594 518/596 59/597
-f 514/576 38/575 340/598 970/599
-f 194/577 514/576 970/599 715/600
-f 970/599 340/598 107/601 714/602
-f 715/600 970/599 714/602 260/603
-f 515/580 194/577 715/600 971/604
-f 74/581 515/580 971/604 521/605
-f 971/604 715/600 260/603 716/606
-f 521/605 971/604 716/606 197/607
-f 714/602 107/601 341/608 972/609
-f 260/603 714/602 972/609 717/610
-f 972/609 341/608 16/611 419/612
-f 717/610 972/609 419/612 146/613
-f 716/606 260/603 717/610 973/614
-f 197/607 716/606 973/614 520/615
-f 973/614 717/610 146/613 418/616
-f 520/615 973/614 418/616 58/617
-f 519/592 74/581 521/605 974/618
-f 196/593 519/592 974/618 719/619
-f 974/618 521/605 197/607 718/620
-f 719/619 974/618 718/620 261/621
-f 518/596 196/593 719/619 975/622
-f 59/597 518/596 975/622 424/623
-f 975/622 719/619 261/621 720/624
-f 424/623 975/622 720/624 149/625
-f 718/620 197/607 520/615 976/626
-f 261/621 718/620 976/626 721/627
-f 976/626 520/615 58/617 420/628
-f 721/627 976/626 420/628 147/629
-f 720/624 261/621 721/627 977/630
-f 149/625 720/624 977/630 425/631
-f 977/630 721/627 147/629 421/632
-f 425/631 977/630 421/632 24/633
-f 357/268 18/225 423/587 978/634
-f 115/269 357/268 978/634 723/635
-f 978/634 423/587 148/589 722/636
-f 723/635 978/634 722/636 262/637
-f 356/272 115/269 723/635 979/638
-f 42/273 356/272 979/638 524/639
-f 979/638 723/635 262/637 724/640
-f 524/639 979/638 724/640 199/641
-f 722/636 148/589 422/595 980/642
-f 262/637 722/636 980/642 725/643
-f 980/642 422/595 59/597 522/644
-f 725/643 980/642 522/644 198/645
-f 724/640 262/637 725/643 981/646
-f 199/641 724/640 981/646 525/647
-f 981/646 725/643 198/645 523/648
-f 525/647 981/646 523/648 75/649
-f 354/284 42/273 524/639 982/650
-f 114/285 354/284 982/650 727/651
-f 982/650 524/639 199/641 726/652
-f 727/651 982/650 726/652 263/653
-f 355/288 114/285 727/651 983/654
-f 9/289 355/288 983/654 379/655
-f 983/654 727/651 263/653 728/656
-f 379/655 983/654 728/656 126/657
-f 726/652 199/641 525/647 984/658
-f 263/653 726/652 984/658 729/659
-f 984/658 525/647 75/649 527/660
-f 729/659 984/658 527/660 200/661
-f 728/656 263/653 729/659 985/662
-f 126/657 728/656 985/662 378/663
-f 985/662 729/659 200/661 526/664
-f 378/663 985/662 526/664 48/665
-f 522/644 59/597 424/623 986/666
-f 198/645 522/644 986/666 731/667
-f 986/666 424/623 149/625 730/668
-f 731/667 986/666 730/668 264/669
-f 523/648 198/645 731/667 987/670
-f 75/649 523/648 987/670 529/671
-f 987/670 731/667 264/669 732/672
-f 529/671 987/670 732/672 201/673
-f 730/668 149/625 425/631 988/674
-f 264/669 730/668 988/674 733/675
-f 988/674 425/631 24/633 429/676
-f 733/675 988/674 429/676 151/677
-f 732/672 264/669 733/675 989/678
-f 201/673 732/672 989/678 528/679
-f 989/678 733/675 151/677 428/680
-f 528/679 989/678 428/680 60/681
-f 527/660 75/649 529/671 990/682
-f 200/661 527/660 990/682 735/683
-f 990/682 529/671 201/673 734/684
-f 735/683 990/682 734/684 265/685
-f 526/664 200/661 735/683 991/686
-f 48/665 526/664 991/686 380/687
-f 991/686 735/683 265/685 736/688
-f 380/687 991/686 736/688 127/689
-f 734/684 201/673 528/679 992/690
-f 265/685 734/684 992/690 737/691
-f 992/690 528/679 60/681 426/692
-f 737/691 992/690 426/692 150/693
-f 736/688 265/685 737/691 993/694
-f 127/689 736/688 993/694 381/695
-f 993/694 737/691 150/693 427/696
-f 381/695 993/694 427/696 21/697
-f 419/612 16/611 345/698 994/699
-f 146/613 419/612 994/699 739/700
-f 994/699 345/698 109/701 738/702
-f 739/700 994/699 738/702 266/703
-f 418/616 146/613 739/700 995/704
-f 58/617 418/616 995/704 532/705
-f 995/704 739/700 266/703 740/706
-f 532/705 995/704 740/706 203/707
-f 738/702 109/701 344/708 996/709
-f 266/703 738/702 996/709 741/710
-f 996/709 344/708 39/711 530/712
-f 741/710 996/709 530/712 202/713
-f 740/706 266/703 741/710 997/714
-f 203/707 740/706 997/714 533/715
-f 997/714 741/710 202/713 531/716
-f 533/715 997/714 531/716 76/717
-f 420/628 58/617 532/705 998/718
-f 147/629 420/628 998/718 743/719
-f 998/718 532/705 203/707 742/720
-f 743/719 998/718 742/720 267/721
-f 421/632 147/629 743/719 999/722
-f 24/633 421/632 999/722 433/723
-f 999/722 743/719 267/721 744/724
-f 433/723 999/722 744/724 153/725
-f 742/720 203/707 533/715 1000/726
-f 267/721 742/720 1000/726 745/727
-f 1000/726 533/715 76/717 535/728
-f 745/727 1000/726 535/728 204/729
-f 744/724 267/721 745/727 1001/730
-f 153/725 744/724 1001/730 432/731
-f 1001/730 745/727 204/729 534/732
-f 432/731 1001/730 534/732 61/733
-f 530/712 39/711 342/734 1002/735
-f 202/713 530/712 1002/735 747/736
-f 1002/735 342/734 108/737 746/738
-f 747/736 1002/735 746/738 268/739
-f 531/716 202/713 747/736 1003/740
-f 76/717 531/716 1003/740 537/741
-f 1003/740 747/736 268/739 748/742
-f 537/741 1003/740 748/742 205/743
-f 746/738 108/737 343/744 1004/745
-f 268/739 746/738 1004/745 749/746
-f 1004/745 343/744 3/747 305/748
-f 749/746 1004/745 305/748 89/749
-f 748/742 268/739 749/746 1005/750
-f 205/743 748/742 1005/750 536/751
-f 1005/750 749/746 89/749 304/752
-f 536/751 1005/750 304/752 29/753
-f 535/728 76/717 537/741 1006/754
-f 204/729 535/728 1006/754 751/755
-f 1006/754 537/741 205/743 750/756
-f 751/755 1006/754 750/756 269/757
-f 534/732 204/729 751/755 1007/758
-f 61/733 534/732 1007/758 430/759
-f 1007/758 751/755 269/757 752/760
-f 430/759 1007/758 752/760 152/761
-f 750/756 205/743 536/751 1008/762
-f 269/757 750/756 1008/762 753/763
-f 1008/762 536/751 29/753 302/764
-f 753/763 1008/762 302/764 88/765
-f 752/760 269/757 753/763 1009/766
-f 152/761 752/760 1009/766 431/767
-f 1009/766 753/763 88/765 303/768
-f 431/767 1009/766 303/768 11/769
-f 429/676 24/633 433/723 1010/770
-f 151/677 429/676 1010/770 755/771
-f 1010/770 433/723 153/725 754/772
-f 755/771 1010/770 754/772 270/773
-f 428/680 151/677 755/771 1011/774
-f 60/681 428/680 1011/774 540/775
-f 1011/774 755/771 270/773 756/776
-f 540/775 1011/774 756/776 207/777
-f 754/772 153/725 432/731 1012/778
-f 270/773 754/772 1012/778 757/779
-f 1012/778 432/731 61/733 538/780
-f 757/779 1012/778 538/780 206/781
-f 756/776 270/773 757/779 1013/782
-f 207/777 756/776 1013/782 541/783
-f 1013/782 757/779 206/781 539/784
-f 541/783 1013/782 539/784 77/785
-f 426/692 60/681 540/775 1014/786
-f 150/693 426/692 1014/786 759/787
-f 1014/786 540/775 207/777 758/788
-f 759/787 1014/786 758/788 271/789
-f 427/696 150/693 759/787 1015/790
-f 21/697 427/696 1015/790 385/791
-f 1015/790 759/787 271/789 760/792
-f 385/791 1015/790 760/792 129/793
-f 758/788 207/777 541/783 1016/794
-f 271/789 758/788 1016/794 761/795
-f 1016/794 541/783 77/785 543/796
-f 761/795 1016/794 543/796 208/797
-f 760/792 271/789 761/795 1017/798
-f 129/793 760/792 1017/798 384/799
-f 1017/798 761/795 208/797 542/800
-f 384/799 1017/798 542/800 49/801
-f 538/780 61/733 430/759 1018/802
-f 206/781 538/780 1018/802 763/803
-f 1018/802 430/759 152/761 762/804
-f 763/803 1018/802 762/804 272/805
-f 539/784 206/781 763/803 1019/806
-f 77/785 539/784 1019/806 545/807
-f 1019/806 763/803 272/805 764/808
-f 545/807 1019/806 764/808 209/809
-f 762/804 152/761 431/767 1020/810
-f 272/805 762/804 1020/810 765/811
-f 1020/810 431/767 11/769 299/812
-f 765/811 1020/810 299/812 86/813
-f 764/808 272/805 765/811 1021/814
-f 209/809 764/808 1021/814 544/815
-f 1021/814 765/811 86/813 298/816
-f 544/815 1021/814 298/816 28/817
-f 543/796 77/785 545/807 1022/818
-f 208/797 543/796 1022/818 767/819
-f 1022/818 545/807 209/809 766/820
-f 767/819 1022/818 766/820 273/821
-f 542/800 208/797 767/819 1023/822
-f 49/801 542/800 1023/822 382/823
-f 1023/822 767/819 273/821 768/824
-f 382/823 1023/822 768/824 128/825
-f 766/820 209/809 544/815 1024/826
-f 273/821 766/820 1024/826 769/827
-f 1024/826 544/815 28/817 300/828
-f 769/827 1024/826 300/828 87/829
-f 768/824 273/821 769/827 1025/830
-f 128/825 768/824 1025/830 383/831
-f 1025/830 769/827 87/829 301/832
-f 383/831 1025/830 301/832 5/833
-f 371/476 9/289 379/655 1026/834
-f 122/477 371/476 1026/834 771/835
-f 1026/834 379/655 126/657 770/836
-f 771/835 1026/834 770/836 274/837
-f 370/480 122/477 771/835 1027/838
-f 46/481 370/480 1027/838 548/839
-f 1027/838 771/835 274/837 772/840
-f 548/839 1027/838 772/840 211/841
-f 770/836 126/657 378/663 1028/842
-f 274/837 770/836 1028/842 773/843
-f 1028/842 378/663 48/665 546/844
-f 773/843 1028/842 546/844 210/845
-f 772/840 274/837 773/843 1029/846
-f 211/841 772/840 1029/846 549/847
-f 1029/846 773/843 210/845 547/848
-f 549/847 1029/846 547/848 78/849
-f 372/492 46/481 548/839 1030/850
-f 123/493 372/492 1030/850 775/851
-f 1030/850 548/839 211/841 774/852
-f 775/851 1030/850 774/852 275/853
-f 373/496 123/493 775/851 1031/854
-f 20/497 373/496 1031/854 439/855
-f 1031/854 775/851 275/853 776/856
-f 439/855 1031/854 776/856 156/857
-f 774/852 211/841 549/847 1032/858
-f 275/853 774/852 1032/858 777/859
-f 1032/858 549/847 78/849 551/860
-f 777/859 1032/858 551/860 212/861
-f 776/856 275/853 777/859 1033/862
-f 156/857 776/856 1033/862 438/863
-f 1033/862 777/859 212/861 550/864
-f 438/863 1033/862 550/864 63/865
-f 546/844 48/665 380/687 1034/866
-f 210/845 546/844 1034/866 779/867
-f 1034/866 380/687 127/689 778/868
-f 779/867 1034/866 778/868 276/869
-f 547/848 210/845 779/867 1035/870
-f 78/849 547/848 1035/870 553/871
-f 1035/870 779/867 276/869 780/872
-f 553/871 1035/870 780/872 213/873
-f 778/868 127/689 381/695 1036/874
-f 276/869 778/868 1036/874 781/875
-f 1036/874 381/695 21/697 435/876
-f 781/875 1036/874 435/876 154/877
-f 780/872 276/869 781/875 1037/878
-f 213/873 780/872 1037/878 552/879
-f 1037/878 781/875 154/877 434/880
-f 552/879 1037/878 434/880 62/881
-f 551/860 78/849 553/871 1038/882
-f 212/861 551/860 1038/882 783/883
-f 1038/882 553/871 213/873 782/884
-f 783/883 1038/882 782/884 277/885
-f 550/864 212/861 783/883 1039/886
-f 63/865 550/864 1039/886 440/887
-f 1039/886 783/883 277/885 784/888
-f 440/887 1039/886 784/888 157/889
-f 782/884 213/873 552/879 1040/890
-f 277/885 782/884 1040/890 785/891
-f 1040/890 552/879 62/881 436/892
-f 785/891 1040/890 436/892 155/893
-f 784/888 277/885 785/891 1041/894
-f 157/889 784/888 1041/894 441/895
-f 1041/894 785/891 155/893 437/896
-f 441/895 1041/894 437/896 25/897
-f 375/540 20/497 439/855 1042/898
-f 124/541 375/540 1042/898 787/899
-f 1042/898 439/855 156/857 786/900
-f 787/899 1042/898 786/900 278/901
-f 374/544 124/541 787/899 1043/902
-f 47/545 374/544 1043/902 556/903
-f 1043/902 787/899 278/901 788/904
-f 556/903 1043/902 788/904 215/905
-f 786/900 156/857 438/863 1044/906
-f 278/901 786/900 1044/906 789/907
-f 1044/906 438/863 63/865 554/908
-f 789/907 1044/906 554/908 214/909
-f 788/904 278/901 789/907 1045/910
-f 215/905 788/904 1045/910 557/911
-f 1045/910 789/907 214/909 555/912
-f 557/911 1045/910 555/912 79/913
-f 376/556 47/545 556/903 1046/914
-f 125/557 376/556 1046/914 791/915
-f 1046/914 556/903 215/905 790/916
-f 791/915 1046/914 790/916 279/917
-f 377/560 125/557 791/915 1047/918
-f 6/561 377/560 1047/918 321/919
-f 1047/918 791/915 279/917 792/920
-f 321/919 1047/918 792/920 97/921
-f 790/916 215/905 557/911 1048/922
-f 279/917 790/916 1048/922 793/923
-f 1048/922 557/911 79/913 559/924
-f 793/923 1048/922 559/924 216/925
-f 792/920 279/917 793/923 1049/926
-f 97/921 792/920 1049/926 320/927
-f 1049/926 793/923 216/925 558/928
-f 320/927 1049/926 558/928 33/929
-f 554/908 63/865 440/887 1050/930
-f 214/909 554/908 1050/930 795/931
-f 1050/930 440/887 157/889 794/932
-f 795/931 1050/930 794/932 280/933
-f 555/912 214/909 795/931 1051/934
-f 79/913 555/912 1051/934 561/935
-f 1051/934 795/931 280/933 796/936
-f 561/935 1051/934 796/936 217/937
-f 794/932 157/889 441/895 1052/938
-f 280/933 794/932 1052/938 797/939
-f 1052/938 441/895 25/897 445/940
-f 797/939 1052/938 445/940 159/941
-f 796/936 280/933 797/939 1053/942
-f 217/937 796/936 1053/942 560/943
-f 1053/942 797/939 159/941 444/944
-f 560/943 1053/942 444/944 64/945
-f 559/924 79/913 561/935 1054/946
-f 216/925 559/924 1054/946 799/947
-f 1054/946 561/935 217/937 798/948
-f 799/947 1054/946 798/948 281/949
-f 558/928 216/925 799/947 1055/950
-f 33/929 558/928 1055/950 318/951
-f 1055/950 799/947 281/949 800/952
-f 318/951 1055/950 800/952 96/953
-f 798/948 217/937 560/943 1056/954
-f 281/949 798/948 1056/954 801/955
-f 1056/954 560/943 64/945 442/956
-f 801/955 1056/954 442/956 158/957
-f 800/952 281/949 801/955 1057/958
-f 96/953 800/952 1057/958 319/959
-f 1057/958 801/955 158/957 443/960
-f 319/959 1057/958 443/960 13/961
-f 435/876 21/697 385/791 1058/962
-f 154/877 435/876 1058/962 803/963
-f 1058/962 385/791 129/793 802/964
-f 803/963 1058/962 802/964 282/965
-f 434/880 154/877 803/963 1059/966
-f 62/881 434/880 1059/966 564/967
-f 1059/966 803/963 282/965 804/968
-f 564/967 1059/966 804/968 219/969
-f 802/964 129/793 384/799 1060/970
-f 282/965 802/964 1060/970 805/971
-f 1060/970 384/799 49/801 562/972
-f 805/971 1060/970 562/972 218/973
-f 804/968 282/965 805/971 1061/974
-f 219/969 804/968 1061/974 565/975
-f 1061/974 805/971 218/973 563/976
-f 565/975 1061/974 563/976 80/977
-f 436/892 62/881 564/967 1062/978
-f 155/893 436/892 1062/978 807/979
-f 1062/978 564/967 219/969 806/980
-f 807/979 1062/978 806/980 283/981
-f 437/896 155/893 807/979 1063/982
-f 25/897 437/896 1063/982 449/983
-f 1063/982 807/979 283/981 808/984
-f 449/983 1063/982 808/984 161/985
-f 806/980 219/969 565/975 1064/986
-f 283/981 806/980 1064/986 809/987
-f 1064/986 565/975 80/977 567/988
-f 809/987 1064/986 567/988 220/989
-f 808/984 283/981 809/987 1065/990
-f 161/985 808/984 1065/990 448/991
-f 1065/990 809/987 220/989 566/992
-f 448/991 1065/990 566/992 65/993
-f 562/972 49/801 382/823 1066/994
-f 218/973 562/972 1066/994 811/995
-f 1066/994 382/823 128/825 810/996
-f 811/995 1066/994 810/996 284/997
-f 563/976 218/973 811/995 1067/998
-f 80/977 563/976 1067/998 569/999
-f 1067/998 811/995 284/997 812/1000
-f 569/999 1067/998 812/1000 221/1001
-f 810/996 128/825 383/831 1068/1002
-f 284/997 810/996 1068/1002 813/1003
-f 1068/1002 383/831 5/833 293/1004
-f 813/1003 1068/1002 293/1004 83/1005
-f 812/1000 284/997 813/1003 1069/1006
-f 221/1001 812/1000 1069/1006 568/1007
-f 1069/1006 813/1003 83/1005 292/1008
-f 568/1007 1069/1006 292/1008 26/1009
-f 567/988 80/977 569/999 1070/1010
-f 220/989 567/988 1070/1010 815/1011
-f 1070/1010 569/999 221/1001 814/1012
-f 815/1011 1070/1010 814/1012 285/1013
-f 566/992 220/989 815/1011 1071/1014
-f 65/993 566/992 1071/1014 446/1015
-f 1071/1014 815/1011 285/1013 816/1016
-f 446/1015 1071/1014 816/1016 160/1017
-f 814/1012 221/1001 568/1007 1072/1018
-f 285/1013 814/1012 1072/1018 817/1019
-f 1072/1018 568/1007 26/1009 290/1020
-f 817/1019 1072/1018 290/1020 82/1021
-f 816/1016 285/1013 817/1019 1073/1022
-f 160/1017 816/1016 1073/1022 447/1023
-f 1073/1022 817/1019 82/1021 291/1024
-f 447/1023 1073/1022 291/1024 10/1025
-f 445/940 25/897 449/983 1074/1026
-f 159/941 445/940 1074/1026 819/1027
-f 1074/1026 449/983 161/985 818/1028
-f 819/1027 1074/1026 818/1028 286/1029
-f 444/944 159/941 819/1027 1075/1030
-f 64/945 444/944 1075/1030 572/1031
-f 1075/1030 819/1027 286/1029 820/1032
-f 572/1031 1075/1030 820/1032 223/1033
-f 818/1028 161/985 448/991 1076/1034
-f 286/1029 818/1028 1076/1034 821/1035
-f 1076/1034 448/991 65/993 570/1036
-f 821/1035 1076/1034 570/1036 222/1037
-f 820/1032 286/1029 821/1035 1077/1038
-f 223/1033 820/1032 1077/1038 573/1039
-f 1077/1038 821/1035 222/1037 571/1040
-f 573/1039 1077/1038 571/1040 81/1041
-f 442/956 64/945 572/1031 1078/1042
-f 158/957 442/956 1078/1042 823/1043
-f 1078/1042 572/1031 223/1033 822/1044
-f 823/1043 1078/1042 822/1044 287/1045
-f 443/960 158/957 823/1043 1079/1046
-f 13/961 443/960 1079/1046 317/1047
-f 1079/1046 823/1043 287/1045 824/1048
-f 317/1047 1079/1046 824/1048 95/1049
-f 822/1044 223/1033 573/1039 1080/1050
-f 287/1045 822/1044 1080/1050 825/1051
-f 1080/1050 573/1039 81/1041 575/1052
-f 825/1051 1080/1050 575/1052 224/1053
-f 824/1048 287/1045 825/1051 1081/1054
-f 95/1049 824/1048 1081/1054 316/1055
-f 1081/1054 825/1051 224/1053 574/1056
-f 316/1055 1081/1054 574/1056 32/1057
-f 570/1036 65/993 446/1015 1082/1058
-f 222/1037 570/1036 1082/1058 827/1059
-f 1082/1058 446/1015 160/1017 826/1060
-f 827/1059 1082/1058 826/1060 288/1061
-f 571/1040 222/1037 827/1059 1083/1062
-f 81/1041 571/1040 1083/1062 577/1063
-f 1083/1062 827/1059 288/1061 828/1064
-f 577/1063 1083/1062 828/1064 225/1065
-f 826/1060 160/1017 447/1023 1084/1066
-f 288/1061 826/1060 1084/1066 829/1067
-f 1084/1066 447/1023 10/1025 295/1068
-f 829/1067 1084/1066 295/1068 84/1069
-f 828/1064 288/1061 829/1067 1085/1070
-f 225/1065 828/1064 1085/1070 576/1071
-f 1085/1070 829/1067 84/1069 294/1072
-f 576/1071 1085/1070 294/1072 27/1073
-f 575/1052 81/1041 577/1063 1086/1074
-f 224/1053 575/1052 1086/1074 831/1075
-f 1086/1074 577/1063 225/1065 830/1076
-f 831/1075 1086/1074 830/1076 289/1077
-f 574/1056 224/1053 831/1075 1087/1078
-f 32/1057 574/1056 1087/1078 314/1079
-f 1087/1078 831/1075 289/1077 832/1080
-f 314/1079 1087/1078 832/1080 94/1081
-f 830/1076 225/1065 576/1071 1088/1082
-f 289/1077 830/1076 1088/1082 833/1083
-f 1088/1082 576/1071 27/1073 296/1084
-f 833/1083 1088/1082 296/1084 85/1085
-f 832/1080 289/1077 833/1083 1089/1086
-f 94/1081 832/1080 1089/1086 315/1087
-f 1089/1086 833/1083 85/1085 297/1088
-f 315/1087 1089/1086 297/1088 2/1089
diff --git a/examples/quick3d/lander/qml/nebula.jpg b/examples/quick3d/lander/qml/nebula.jpg Binary files differdeleted file mode 100644 index fb278cd7..00000000 --- a/examples/quick3d/lander/qml/nebula.jpg +++ /dev/null diff --git a/examples/quick3d/lander/qml/rusty.png b/examples/quick3d/lander/qml/rusty.png Binary files differdeleted file mode 100644 index b85ad7c9..00000000 --- a/examples/quick3d/lander/qml/rusty.png +++ /dev/null diff --git a/examples/quick3d/lander/qtquick3d.ico b/examples/quick3d/lander/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/lander/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/lander/qtquick3d.png b/examples/quick3d/lander/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/lander/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/matrix_animation/main.cpp b/examples/quick3d/matrix_animation/main.cpp deleted file mode 100644 index 6a667de6..00000000 --- a/examples/quick3d/matrix_animation/main.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" -#include "../qmlres.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QDeclarativeView3D view; - QString qml = q_get_qmldir(QLatin1String("qml/matrix-animation.qml")); - view.setSource(QUrl::fromLocalFile(qml)); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/matrix_animation/matrix_animation.desktop b/examples/quick3d/matrix_animation/matrix_animation.desktop deleted file mode 100644 index 9a940637..00000000 --- a/examples/quick3d/matrix_animation/matrix_animation.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Matrix -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/matrix_animation -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_matrix_animation diff --git a/examples/quick3d/matrix_animation/matrix_animation.pro b/examples/quick3d/matrix_animation/matrix_animation.pro deleted file mode 100644 index 48f21182..00000000 --- a/examples/quick3d/matrix_animation/matrix_animation.pro +++ /dev/null @@ -1,17 +0,0 @@ -TEMPLATE = app -TARGET = matrix_animation -CONFIG += qt warn_on - -INSTALL_DIRS = qml -CONFIG += qt3d_deploy_qml qt3dquick_deploy_pkg -include(../../../pkg.pri) -qtcAddDeployment() - -SOURCES += main.cpp - -OTHER_FILES += \ - matrix_animation.rc \ - matrix_animation.desktop - -RC_FILE = matrix_animation.rc - diff --git a/examples/quick3d/matrix_animation/matrix_animation.rc b/examples/quick3d/matrix_animation/matrix_animation.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/matrix_animation/matrix_animation.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/matrix_animation/qml/matrix-animation.qml b/examples/quick3d/matrix_animation/qml/matrix-animation.qml deleted file mode 100644 index eaade63a..00000000 --- a/examples/quick3d/matrix_animation/qml/matrix-animation.qml +++ /dev/null @@ -1,112 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 - -Viewport { - width: 640; height: 480 - id: viewPort - - MouseArea { - anchors.fill: parent - onClicked: program.scalex = 2.5 - program.scalex - } - - Item3D { - mesh: Mesh { source: "teapot.bez" } - effect: program - - - transform: Rotation3D { - NumberAnimation on angle{ - running: true - loops: Animation.Infinite - from: 0 - to: 360 - duration: 18000 - } - axis: Qt.vector3d(1, -0.3, 0) - } - - ShaderProgram { - id: program - property real qt_Custom : 1.0 - property int customInt : 1 - property color customColor : "#3333ff" - property real scalex : 1.0 - property real scaley : 1.0 - property real scalez : 1.0 - property real translationX : 0.0 - property real translationY : 0.0 - property real translationZ : 0.0 - - property variant matrix4x4 :[ - scalex , 0.0, 0.0, translationX, - 0.0, scaley, 0.0, translationY, - 0.0, 0.0, scalez, translationZ, - 0.0, 0.0, 0.0, 1.0 ] - - SequentialAnimation on translationY { - running: true - loops: Animation.Infinite - PauseAnimation { duration: 2000 } - NumberAnimation { from: 1.0; to: 0.001; duration: 1500; easing.type:"OutBounce" } - PauseAnimation { duration: 2000 } - NumberAnimation { from: 0.001; to: 1.0; duration: 1500; easing.type:"OutBounce" } - } - - SequentialAnimation on customInt { - running: true - loops: Animation.Infinite - PauseAnimation { duration: 2500 } - NumberAnimation { from: 1.0; to: 0.001; duration: 1500; easing.type:"OutBounce" } - PauseAnimation { duration: 2500 } - NumberAnimation { from: 0.001; to: 1.0; duration: 1500; easing.type:"OutBounce" } - } - - texture: "qtlogo.png" - - vertexShaderSource: "matrix_animation.vsh" - fragmentShaderSource: "matrix_animation.fsh" - } - } - -} diff --git a/examples/quick3d/matrix_animation/qml/matrix_animation.fsh b/examples/quick3d/matrix_animation/qml/matrix_animation.fsh deleted file mode 100644 index 84f279f9..00000000 --- a/examples/quick3d/matrix_animation/qml/matrix_animation.fsh +++ /dev/null @@ -1,13 +0,0 @@ -varying highp vec4 texCoord; -uniform sampler2D qt_Texture0; -uniform lowp vec4 customColor; -uniform bool customBoolean; - -void main(void) -{ - mediump vec4 textureColor = - texture2D(qt_Texture0, texCoord.st); - gl_FragColor = clamp(vec4( - customColor.rgb * (1.0 - textureColor.a) + - textureColor.rgb, 1.0), 0.0, 1.0); -} diff --git a/examples/quick3d/matrix_animation/qml/matrix_animation.vsh b/examples/quick3d/matrix_animation/qml/matrix_animation.vsh deleted file mode 100644 index dd5bf813..00000000 --- a/examples/quick3d/matrix_animation/qml/matrix_animation.vsh +++ /dev/null @@ -1,16 +0,0 @@ -attribute highp vec4 qt_Vertex; -attribute highp vec4 qt_MultiTexCoord0; -uniform mediump mat4 qt_ModelViewProjectionMatrix; -varying highp vec4 texCoord; -// uniform highp float qt_Custom; -uniform int customInt; -uniform vec2 vector; - -uniform mat3 matrix3x3; -uniform mat4 matrix4x4; - -void main(void) -{ - gl_Position = qt_ModelViewProjectionMatrix * (matrix4x4 * qt_Vertex); - texCoord = -qt_MultiTexCoord0; -} diff --git a/examples/quick3d/matrix_animation/qml/qtlogo.png b/examples/quick3d/matrix_animation/qml/qtlogo.png Binary files differdeleted file mode 100644 index 7d3e97eb..00000000 --- a/examples/quick3d/matrix_animation/qml/qtlogo.png +++ /dev/null diff --git a/examples/quick3d/matrix_animation/qml/teapot.bez b/examples/quick3d/matrix_animation/qml/teapot.bez deleted file mode 100644 index 02b2ac44..00000000 --- a/examples/quick3d/matrix_animation/qml/teapot.bez +++ /dev/null @@ -1,340 +0,0 @@ -32 -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 -121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136 -124,137,138,121,128,139,140,125,132,141,142,129,136,143,144,133 -133,134,135,136,145,146,147,148,149,150,151,152,69,153,154,155 -136,143,144,133,148,156,157,145,152,158,159,149,155,160,161,69 -162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177 -165,178,179,162,169,180,181,166,173,182,183,170,177,184,185,174 -174,175,176,177,186,187,188,189,190,191,192,193,194,195,196,197 -177,184,185,174,189,198,199,186,193,200,201,190,197,202,203,194 -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 -0.700000,0.450000,-0.000000 -0.700000,0.450000,0.392000 -0.392000,0.450000,0.700000 -0.000000,0.450000,0.700000 -0.668750,0.515625,-0.000000 -0.668750,0.515625,0.374500 -0.374500,0.515625,0.668750 -0.000000,0.515625,0.668750 -0.718750,0.515625,-0.000000 -0.718750,0.515625,0.402500 -0.402500,0.515625,0.718750 -0.000000,0.515625,0.718750 -0.750000,0.450000,-0.000000 -0.750000,0.450000,0.420000 -0.420000,0.450000,0.750000 -0.000000,0.450000,0.750000 --0.392000,0.450000,0.700000 --0.700000,0.450000,0.392000 --0.700000,0.450000,-0.000000 --0.374500,0.515625,0.668750 --0.668750,0.515625,0.374500 --0.668750,0.515625,-0.000000 --0.402500,0.515625,0.718750 --0.718750,0.515625,0.402500 --0.718750,0.515625,-0.000000 --0.420000,0.450000,0.750000 --0.750000,0.450000,0.420000 --0.750000,0.450000,-0.000000 --0.700000,0.450000,-0.392000 --0.392000,0.450000,-0.700000 -0.000000,0.450000,-0.700000 --0.668750,0.515625,-0.374500 --0.374500,0.515625,-0.668750 -0.000000,0.515625,-0.668750 --0.718750,0.515625,-0.402500 --0.402500,0.515625,-0.718750 -0.000000,0.515625,-0.718750 --0.750000,0.450000,-0.420000 --0.420000,0.450000,-0.750000 -0.000000,0.450000,-0.750000 -0.392000,0.450000,-0.700000 -0.700000,0.450000,-0.392000 -0.374500,0.515625,-0.668750 -0.668750,0.515625,-0.374500 -0.402500,0.515625,-0.718750 -0.718750,0.515625,-0.402500 -0.420000,0.450000,-0.750000 -0.750000,0.450000,-0.420000 -0.875000,0.187500,-0.000000 -0.875000,0.187500,0.490000 -0.490000,0.187500,0.875000 -0.000000,0.187500,0.875000 -1.000000,-0.075000,-0.000000 -1.000000,-0.075000,0.560000 -0.560000,-0.075000,1.000000 -0.000000,-0.075000,1.000000 -1.000000,-0.300000,-0.000000 -1.000000,-0.300000,0.560000 -0.560000,-0.300000,1.000000 -0.000000,-0.300000,1.000000 --0.490000,0.187500,0.875000 --0.875000,0.187500,0.490000 --0.875000,0.187500,-0.000000 --0.560000,-0.075000,1.000000 --1.000000,-0.075000,0.560000 --1.000000,-0.075000,-0.000000 --0.560000,-0.300000,1.000000 --1.000000,-0.300000,0.560000 --1.000000,-0.300000,-0.000000 --0.875000,0.187500,-0.490000 --0.490000,0.187500,-0.875000 -0.000000,0.187500,-0.875000 --1.000000,-0.075000,-0.560000 --0.560000,-0.075000,-1.000000 -0.000000,-0.075000,-1.000000 --1.000000,-0.300000,-0.560000 --0.560000,-0.300000,-1.000000 -0.000000,-0.300000,-1.000000 -0.490000,0.187500,-0.875000 -0.875000,0.187500,-0.490000 -0.560000,-0.075000,-1.000000 -1.000000,-0.075000,-0.560000 -0.560000,-0.300000,-1.000000 -1.000000,-0.300000,-0.560000 -1.000000,-0.525000,-0.000000 -1.000000,-0.525000,0.560000 -0.560000,-0.525000,1.000000 -0.000000,-0.525000,1.000000 -0.750000,-0.637500,-0.000000 -0.750000,-0.637500,0.420000 -0.420000,-0.637500,0.750000 -0.000000,-0.637500,0.750000 -0.750000,-0.675000,-0.000000 -0.750000,-0.675000,0.420000 -0.420000,-0.675000,0.750000 -0.000000,-0.675000,0.750000 --0.560000,-0.525000,1.000000 --1.000000,-0.525000,0.560000 --1.000000,-0.525000,-0.000000 --0.420000,-0.637500,0.750000 --0.750000,-0.637500,0.420000 --0.750000,-0.637500,-0.000000 --0.420000,-0.675000,0.750000 --0.750000,-0.675000,0.420000 --0.750000,-0.675000,-0.000000 --1.000000,-0.525000,-0.560000 --0.560000,-0.525000,-1.000000 -0.000000,-0.525000,-1.000000 --0.750000,-0.637500,-0.420000 --0.420000,-0.637500,-0.750000 -0.000000,-0.637500,-0.750000 --0.750000,-0.675000,-0.420000 --0.420000,-0.675000,-0.750000 -0.000000,-0.675000,-0.750000 -0.560000,-0.525000,-1.000000 -1.000000,-0.525000,-0.560000 -0.420000,-0.637500,-0.750000 -0.750000,-0.637500,-0.420000 -0.420000,-0.675000,-0.750000 -0.750000,-0.675000,-0.420000 --0.800000,0.262500,-0.000000 --0.800000,0.262500,0.150000 --0.750000,0.375000,0.150000 --0.750000,0.375000,-0.000000 --1.150000,0.262500,-0.000000 --1.150000,0.262500,0.150000 --1.250000,0.375000,0.150000 --1.250000,0.375000,-0.000000 --1.350000,0.262500,-0.000000 --1.350000,0.262500,0.150000 --1.500000,0.375000,0.150000 --1.500000,0.375000,-0.000000 --1.350000,0.150000,-0.000000 --1.350000,0.150000,0.150000 --1.500000,0.150000,0.150000 --1.500000,0.150000,-0.000000 --0.750000,0.375000,-0.150000 --0.800000,0.262500,-0.150000 --1.250000,0.375000,-0.150000 --1.150000,0.262500,-0.150000 --1.500000,0.375000,-0.150000 --1.350000,0.262500,-0.150000 --1.500000,0.150000,-0.150000 --1.350000,0.150000,-0.150000 --1.350000,0.037500,-0.000000 --1.350000,0.037500,0.150000 --1.500000,-0.075000,0.150000 --1.500000,-0.075000,-0.000000 --1.250000,-0.187500,-0.000000 --1.250000,-0.187500,0.150000 --1.325000,-0.281250,0.150000 --1.325000,-0.281250,-0.000000 --1.000000,-0.300000,0.150000 --0.950000,-0.450000,0.150000 --0.950000,-0.450000,-0.000000 --1.500000,-0.075000,-0.150000 --1.350000,0.037500,-0.150000 --1.325000,-0.281250,-0.150000 --1.250000,-0.187500,-0.150000 --0.950000,-0.450000,-0.150000 --1.000000,-0.300000,-0.150000 -0.850000,-0.037500,-0.000000 -0.850000,-0.037500,0.330000 -0.850000,-0.450000,0.330000 -0.850000,-0.450000,-0.000000 -1.300000,-0.037500,-0.000000 -1.300000,-0.037500,0.330000 -1.550000,-0.337500,0.330000 -1.550000,-0.337500,-0.000000 -1.150000,0.300000,-0.000000 -1.150000,0.300000,0.125000 -1.200000,0.262500,0.125000 -1.200000,0.262500,-0.000000 -1.350000,0.450000,-0.000000 -1.350000,0.450000,0.125000 -1.650000,0.450000,0.125000 -1.650000,0.450000,-0.000000 -0.850000,-0.450000,-0.330000 -0.850000,-0.037500,-0.330000 -1.550000,-0.337500,-0.330000 -1.300000,-0.037500,-0.330000 -1.200000,0.262500,-0.125000 -1.150000,0.300000,-0.125000 -1.650000,0.450000,-0.125000 -1.350000,0.450000,-0.125000 -1.400000,0.487500,-0.000000 -1.400000,0.487500,0.125000 -1.762500,0.496875,0.125000 -1.762500,0.496875,-0.000000 -1.450000,0.487500,-0.000000 -1.450000,0.487500,0.075000 -1.725000,0.506250,0.075000 -1.725000,0.506250,-0.000000 -1.400000,0.450000,-0.000000 -1.400000,0.450000,0.075000 -1.600000,0.450000,0.075000 -1.600000,0.450000,-0.000000 -1.762500,0.496875,-0.125000 -1.400000,0.487500,-0.125000 -1.725000,0.506250,-0.075000 -1.450000,0.487500,-0.075000 -1.600000,0.450000,-0.075000 -1.400000,0.450000,-0.075000 -0.000000,0.825000,-0.000000 -0.000000,0.825000,0.001000 -0.001000,0.825000,-0.000000 -0.400000,0.825000,-0.000000 -0.400000,0.825000,0.225000 -0.225000,0.825000,0.400000 -0.000000,0.825000,0.400000 -0.000000,0.675000,-0.000000 -0.100000,0.600000,-0.000000 -0.100000,0.600000,0.056000 -0.056000,0.600000,0.100000 -0.000000,0.600000,0.100000 --0.001000,0.825000,-0.000000 --0.225000,0.825000,0.400000 --0.400000,0.825000,0.225000 --0.400000,0.825000,-0.000000 --0.056000,0.600000,0.100000 --0.100000,0.600000,0.056000 --0.100000,0.600000,-0.000000 -0.000000,0.825000,-0.001000 --0.400000,0.825000,-0.225000 --0.225000,0.825000,-0.400000 -0.000000,0.825000,-0.400000 --0.100000,0.600000,-0.056000 --0.056000,0.600000,-0.100000 -0.000000,0.600000,-0.100000 -0.225000,0.825000,-0.400000 -0.400000,0.825000,-0.225000 -0.056000,0.600000,-0.100000 -0.100000,0.600000,-0.056000 -0.200000,0.525000,-0.000000 -0.200000,0.525000,0.112000 -0.112000,0.525000,0.200000 -0.000000,0.525000,0.200000 -0.650000,0.525000,-0.000000 -0.650000,0.525000,0.364000 -0.364000,0.525000,0.650000 -0.000000,0.525000,0.650000 -0.650000,0.450000,-0.000000 -0.650000,0.450000,0.364000 -0.364000,0.450000,0.650000 -0.000000,0.450000,0.650000 --0.112000,0.525000,0.200000 --0.200000,0.525000,0.112000 --0.200000,0.525000,-0.000000 --0.364000,0.525000,0.650000 --0.650000,0.525000,0.364000 --0.650000,0.525000,-0.000000 --0.364000,0.450000,0.650000 --0.650000,0.450000,0.364000 --0.650000,0.450000,-0.000000 --0.200000,0.525000,-0.112000 --0.112000,0.525000,-0.200000 -0.000000,0.525000,-0.200000 --0.650000,0.525000,-0.364000 --0.364000,0.525000,-0.650000 -0.000000,0.525000,-0.650000 --0.650000,0.450000,-0.364000 --0.364000,0.450000,-0.650000 -0.000000,0.450000,-0.650000 -0.112000,0.525000,-0.200000 -0.200000,0.525000,-0.112000 -0.364000,0.525000,-0.650000 -0.650000,0.525000,-0.364000 -0.364000,0.450000,-0.650000 -0.650000,0.450000,-0.364000 -0.000000,-0.750000,-0.000000 -0.750000,-0.675000,-0.000000 -0.750000,-0.675000,-0.420000 -0.420000,-0.675000,-0.750000 -0.000000,-0.675000,-0.750000 -0.750000,-0.712500,-0.000000 -0.750000,-0.712500,-0.420000 -0.420000,-0.712500,-0.750000 -0.000000,-0.712500,-0.750000 -0.712500,-0.750000,-0.000000 -0.712500,-0.750000,-0.399000 -0.399000,-0.750000,-0.712500 -0.000000,-0.750000,-0.712500 --0.420000,-0.675000,-0.750000 --0.750000,-0.675000,-0.420000 --0.750000,-0.675000,-0.000000 --0.420000,-0.712500,-0.750000 --0.750000,-0.712500,-0.420000 --0.750000,-0.712500,-0.000000 --0.399000,-0.750000,-0.712500 --0.712500,-0.750000,-0.399000 --0.712500,-0.750000,-0.000000 --0.750000,-0.675000,0.420000 --0.420000,-0.675000,0.750000 -0.000000,-0.675000,0.750000 --0.750000,-0.712500,0.420000 --0.420000,-0.712500,0.750000 -0.000000,-0.712500,0.750000 --0.712500,-0.750000,0.399000 --0.399000,-0.750000,0.712500 -0.000000,-0.750000,0.712500 -0.420000,-0.675000,0.750000 -0.750000,-0.675000,0.420000 -0.420000,-0.712500,0.750000 -0.750000,-0.712500,0.420000 -0.399000,-0.750000,0.712500 -0.712500,-0.750000,0.399000 diff --git a/examples/quick3d/matrix_animation/qtquick3d.ico b/examples/quick3d/matrix_animation/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/matrix_animation/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/matrix_animation/qtquick3d.png b/examples/quick3d/matrix_animation/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/matrix_animation/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/modelview3d/main.cpp b/examples/quick3d/modelview3d/main.cpp deleted file mode 100644 index c8bb3cca..00000000 --- a/examples/quick3d/modelview3d/main.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" - -#include "../qmlres.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QDeclarativeView3D view; - QString qml = q_get_qmldir(QLatin1String("qml/modelview3d.qml")); - - view.setSource(QUrl::fromLocalFile(qml)); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/modelview3d/modelview3d.pro b/examples/quick3d/modelview3d/modelview3d.pro deleted file mode 100644 index 578244df..00000000 --- a/examples/quick3d/modelview3d/modelview3d.pro +++ /dev/null @@ -1,16 +0,0 @@ -TEMPLATE = app -TARGET = modelview3d_qml -CONFIG += qt warn_on - -INSTALL_DIRS = qml -CONFIG += qt3d_deploy_qml qt3dquick_deploy_pkg -include(../../../pkg.pri) -qtcAddDeployment() - -SOURCES += main.cpp - -OTHER_FILES += \ - modelview3d_qml.rc \ - modelview3d_qml.desktop - -RC_FILE = modelview3d_qml.rc diff --git a/examples/quick3d/modelview3d/modelview3d_qml.desktop b/examples/quick3d/modelview3d/modelview3d_qml.desktop deleted file mode 100644 index 2a47edef..00000000 --- a/examples/quick3d/modelview3d/modelview3d_qml.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=ModelView3D -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/modelview3d_qml -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_modelview3d diff --git a/examples/quick3d/modelview3d/modelview3d_qml.rc b/examples/quick3d/modelview3d/modelview3d_qml.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/modelview3d/modelview3d_qml.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/modelview3d/qml/Button.qml b/examples/quick3d/modelview3d/qml/Button.qml deleted file mode 100644 index 7ed88d3c..00000000 --- a/examples/quick3d/modelview3d/qml/Button.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the 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$ -** -****************************************************************************/ - -import QtQuick 1.0 - -Rectangle { - id: button - color: mouseArea.pressed ? "#000000" : "#ffffff" - border.width: 1 - anchors.margins: 5 - radius: 5 - property alias text : text.text - signal clicked; - Text { - id: text - color: mouseArea.pressed ? "#ffffff" : "#000000"; - anchors.centerIn: parent - text: qsTr("A Button") - } - MouseArea { - id: mouseArea - anchors.fill: parent - onClicked: button.clicked() - - } -} diff --git a/examples/quick3d/modelview3d/qml/axes.png b/examples/quick3d/modelview3d/qml/axes.png Binary files differdeleted file mode 100644 index bc2272a5..00000000 --- a/examples/quick3d/modelview3d/qml/axes.png +++ /dev/null diff --git a/examples/quick3d/modelview3d/qml/modelview3d.qml b/examples/quick3d/modelview3d/qml/modelview3d.qml deleted file mode 100644 index 6eedcffb..00000000 --- a/examples/quick3d/modelview3d/qml/modelview3d.qml +++ /dev/null @@ -1,589 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 -import Qt3D.Shapes 1.0 - -Rectangle { - id: topLevel - width: 800; height: 480 - - // The ModelView architecture has 3 main parts. - // The Model (in this case "dynamicModel", a ListModel) contains the data - // (elements) used to construct items. - // The delegate ("cubeDelegate") describes how to use the data elements - // to construct items. - // The the view (in this case an anonymous Repeater) combines the Model - // and delegate and manages the resulting Items. - - // See the "QML Data Models" documentation for more details on Qt Quick's - // ModelView Architecture. - - - // This ListModel is the primary source of data used to construct the - // items. - // In this example, the initial ListElement specifies a white cube at - // the origin. You can add as many ListElements as you wish, or you can - // add more elements dynamically using ListModel.append(), as shown below. - - // ListModel is the simplest data model, but there are several others - // available. See the "QML Data Models" documentation for more details. - ListModel { - id: dynamicModel - ListElement { x:0; y:0; z:0; color:"#ffffff"} - } - - // This function shows how to build new elements and add them to the model. - // In this example, the data required is pulled directly from the gui - // items. - function addItem() { - // To add new elements, simply create a new object with the - // desired properties, and append() them to the model. - var newModelData = { - "x": navigator.currentX/5, - "y": navigator.currentY/5, - "z": navigator.currentZ/5, - "color": colorPicker.currentColor - } - dynamicModel.append( newModelData ); - // It is currently necessary to explicitly call update after changing - // models. - viewport.update3d(); - } - - // This component is the delegate (or blueprint) used to create actual - // items out of model elements. - Component { - id: cubeDelegate - Cube { - id: item - - // "model" is a special variable that contains the element data for - // each item drawn from your model. - x: model.x - y: model.y - z: model.z - effect: Effect { - id: itemEffect - // Note that model is still available inside child items, but - // you should consider using an alias if it makes your code - // more readable. - color: model.color - blending: true - } - - // Common properties across all items - scale: 1 / 5 - - // If you intend on removing elements from the model, - // make sure you include this logic. - // "index" is another special variable in the resulting item that - // indicates the source element's position in the data model. - // Note that index can change over the lifetime of the item. In - // particular, the -1 index implies that the data used to create - // this item has been removed from the model, and that this item - // should be disabled and will most likely be destroyed shortly. - enabled: index != -1 - - // You can have your own functions, signals, animations etc. - onClicked: { -// onClicked: console.log("Cube("+index+") color: " + itemEffect.color); - removeAnimation.start(); - } - - SequentialAnimation { - id: removeAnimation - ColorAnimation { target: itemEffect; property: "color" ;from: model.color; to: Qt.rgba(0,0,0,0); duration: 500 } - ScriptAction { script: { - dynamicModel.remove(index); - viewport.update3d(); - } - } - } - // Component.onCompleted can be a useful place to do - // initialization, like hooking up signals and slots. - Component.onCompleted: { - console.log("Cube Completed"); - } - } - } - - Viewport { - id: viewport - // Picking and/or blending will need to be enabled on the viewport - // if any of the generated items need it. - picking: true - blending: true - - // This repeater actually instantiates the items. The Repeater must - // be the child of an Item3D or a Viewport for the Item3Ds it creates - // to be visible in the scene. - Repeater { - delegate: cubeDelegate - model: dynamicModel - } - - anchors.left: controlPanel.right - anchors.right: parent.right - anchors.top: parent.top - anchors.bottom: parent.bottom - - camera: Camera { - id: main_camera - eye: Qt.vector3d(0, 4, 12) - } - } - - // This control panel contains all the gui elements to drive the example. - // The controls provide the data for constructing building new - // ListElements (position and color), but there is nothing below this - // comment that is directly related to the modelview behaviours. - Rectangle { - id: controlPanel - color: "#ffffff" - width: 210 - anchors.top: parent.top - anchors.bottom: parent.bottom - anchors.left: parent.left - - Rectangle { - id: colorPicker - color: "white" - height: sliderContainter.height + titleText.height + 5 - anchors.margins: 5 - anchors.left: parent.left - anchors.right: parent.right - anchors.top: parent.top - - Text { - id: titleText - text: qsTr("Color Picker") - font.bold: true - - anchors.top: parent.top - anchors.left:parent.left - anchors.margins: 5 - } - - property color currentColor: "white" - property real currentRed: 1.0 - property real currentGreen: 1.0 - property real currentBlue: 1.0 - property real currentAlpha: 1.0 - - // We use Qt.rgba() to build the colour, which breaks the bindings, - // so we update manually when the color components change. - onCurrentRedChanged: updateColor(); - onCurrentGreenChanged: updateColor(); - onCurrentBlueChanged: updateColor(); - onCurrentAlphaChanged: updateColor(); - - function updateColor() { - currentColor = Qt.rgba(colorPicker.currentRed, - colorPicker.currentGreen, - colorPicker.currentBlue, - colorPicker.currentAlpha); - redSlider.updateColors(); - greenSlider.updateColors(); - blueSlider.updateColors(); - swatch.color = currentColor; - } - - Rectangle { - id: swatch - anchors.margins: 5 - height: 90 - y: 5 - border.width: 2 - border.color: "black" - color: Qt.rgba(colorPicker.currentRed, - colorPicker.currentGreen, - colorPicker.currentBlue, - colorPicker.currentAlpha); - anchors.top: parent.top - anchors.bottom: parent.bottom - anchors.right: parent.right - anchors.left: sliderContainter.right - } - - Rectangle { - id: sliderContainter - anchors.bottom: parent.bottom - width: 125 - height: 110 - - Rectangle { - id: redSlider - property real currentValue: 1.0 - rotation: -90 - x: 30 - y: -20 - height: 80 - width: 30 - border.width: 2 - border.color: "black" - radius: 5 - - property color zeroColor: Qt.rgba(0, - colorPicker.currentGreen, - colorPicker.currentBlue, - colorPicker.currentAlpha) - property color fullColor: Qt.rgba(1.0, - colorPicker.currentGreen, - colorPicker.currentBlue, - colorPicker.currentAlpha) - - function updateColors() - { - zeroColor = Qt.rgba(0, - colorPicker.currentGreen, - colorPicker.currentBlue, - colorPicker.currentAlpha); - fullColor = Qt.rgba(1.0, - colorPicker.currentGreen, - colorPicker.currentBlue, - colorPicker.currentAlpha); - } - - gradient: Gradient { - GradientStop { - position: 0.0 - color: redSlider.zeroColor} - GradientStop { - position: 1.0 - color: redSlider.fullColor - } - } - MouseArea { - anchors.fill: parent - onMousePositionChanged: { - redSlider.currentValue = mouseY / redSlider.height; - colorPicker.currentRed = redSlider.currentValue; - } - } - } - - Rectangle { - id: redSwatch - width: redSlider.width - height: redSlider.width - color: Qt.rgba(1.0, 0, 0); - border.width: 2 - border.color: "black" - - x: redSlider.height + 10 - y: 5 - radius: 5 - MouseArea { - anchors.fill: parent - onClicked: {colorPicker.currentRed = 1.0; - colorPicker.currentGreen = 0; - colorPicker.currentBlue = 0} - } - } - - Rectangle { - id: greenSlider - rotation: -90 - x: 30 - y: 15 - height: 80 - width: 30 - - property color zeroColor: Qt.rgba(colorPicker.currentRed, - 0.0, - colorPicker.currentBlue, - colorPicker.currentAlpha) - property color fullColor: Qt.rgba(colorPicker.currentRed, - 1.0, - colorPicker.currentBlue, - colorPicker.currentAlpha) - - function updateColors() - { - zeroColor = Qt.rgba(colorPicker.currentRed, - 0.0, - colorPicker.currentBlue, - colorPicker.currentAlpha); - fullColor = Qt.rgba(colorPicker.currentRed, - 1.0, - colorPicker.currentBlue, - colorPicker.currentAlpha); - } - - gradient: Gradient { - GradientStop { - position: 0.0 - color: greenSlider.zeroColor - } - GradientStop { - position: 1.0 - color: greenSlider.fullColor - } - } - border.width: 2 - border.color: "black" - radius: 5 - MouseArea { - anchors.fill: parent - onMousePositionChanged: { - colorPicker.currentGreen = mouseY / greenSlider.height; - } - } - } - - Rectangle { - id: greenSwatch - width: greenSlider.width - height: greenSlider.width - color: Qt.rgba(0, 1, 0); - border.width: 2 - border.color: "black" - - x: greenSlider.height + 10 - y: 40 - radius: 5 - MouseArea { - anchors.fill: parent - onClicked: { - colorPicker.currentRed = 0; - colorPicker.currentGreen = 1; - colorPicker.currentBlue = 0 - } - } - } - - Rectangle { - id: blueSlider - rotation: -90 - x: 30 - y: 50 - height: 80 - width: 30 - property color zeroColor: Qt.rgba(colorPicker.currentRed, - colorPicker.currentGreen, - 0.0, - colorPicker.currentAlpha) - property color fullColor: Qt.rgba(colorPicker.currentRed, - colorPicker.currentGreen, - 1.0, - colorPicker.currentAlpha) - - function updateColors() - { - zeroColor = Qt.rgba(colorPicker.currentRed, - colorPicker.currentGreen, - 0.0, - colorPicker.currentAlpha); - fullColor = Qt.rgba(colorPicker.currentRed, - colorPicker.currentGreen, - 1.0, - colorPicker.currentAlpha); - } - - gradient: Gradient { - GradientStop { - position: 0.0 - color: blueSlider.zeroColor - } - GradientStop { - position: 1.0 - color: blueSlider.fullColor - } - } - border.width: 2 - border.color: "black" - radius: 5 - MouseArea { - anchors.fill: parent - onClicked: { - colorPicker.currentBlue = - mouseY / blueSlider.height; - } - onMousePositionChanged: { - colorPicker.currentBlue = - mouseY / blueSlider.height; - } - } - } - - Rectangle { - id: blueSwatch - width: blueSlider.width - height: blueSlider.width - color: Qt.rgba(0, 0, 1); - border.width: 2 - border.color: "black" - - x: blueSlider.height + 10 - y: 75 - radius: 5 - MouseArea { - anchors.fill: parent - onClicked: { - colorPicker.currentRed = 0; - colorPicker.currentGreen = 0; - colorPicker.currentBlue = 1 - } - } - } - } - } - - Rectangle { - id: navigator - height: 200 - anchors.margins: 5 - anchors.top: colorPicker.bottom - anchors.left: parent.left - anchors.right: parent.right - - // These properties contain are used by the modelview to populate - // new elements - property int currentX:0; - property int currentY:0; - property int currentZ:0; - - property int buttonWidth: 45 - property int buttonHeight: 30 - - Button { - width: navigator.buttonWidth - height: navigator.buttonHeight - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: parent.top - text: qsTr("Up") - onClicked: { - navigator.currentY += 1; - topLevel.addItem(); - } - } - - Button { - width: navigator.buttonWidth - height: navigator.buttonHeight - anchors.horizontalCenter: parent.horizontalCenter - anchors.bottom: parent.bottom - text: qsTr("Down") - onClicked: { - navigator.currentY -= 1; - topLevel.addItem(); - } - } - - Button { - width: navigator.buttonWidth - height: navigator.buttonHeight - anchors.left: parent.left - anchors.verticalCenter: parent.verticalCenter - text: qsTr("Left") - onClicked: { - navigator.currentX -= 1; - topLevel.addItem(); - } - } - - Button { - width: navigator.buttonWidth - height: navigator.buttonHeight - anchors.right: parent.right - anchors.verticalCenter: parent.verticalCenter - text: qsTr("Right") - onClicked: { - navigator.currentX += 1; - topLevel.addItem(); - } - } - - Button { - width: navigator.buttonWidth - height: navigator.buttonHeight - anchors.right: parent.right - anchors.top: parent.top - text: qsTr("In") - onClicked: { - navigator.currentZ -= 1; - topLevel.addItem(); - } - } - - Button { - width: navigator.buttonWidth - height: navigator.buttonHeight - anchors.left: parent.left - anchors.bottom: parent.bottom - text: qsTr("Out") - onClicked: { - navigator.currentZ += 1; - topLevel.addItem(); - } - } - - Image { - id: axesImage - anchors.centerIn: parent - source: "axes.png" - - property color buttonColor: "#448888" - } - } - - Rectangle { - id: instructions - anchors.margins: 5 - anchors.top: navigator.bottom - anchors.left: parent.left - anchors.bottom: parent.bottom - anchors.right: navigator.right - Text { - anchors.fill: parent - id: instructionsText - wrapMode: Text.WordWrap - text: qsTr("Use this navigator to create new boxes and move around" - + " 3d space.\n" - + "Use the color picker to change the color of " - + "generated cubes." - // + "\n Click on cubes to remove them from the scene." - ) - } - } - } -} diff --git a/examples/quick3d/modelview3d/qtquick3d.ico b/examples/quick3d/modelview3d/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/modelview3d/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/modelview3d/qtquick3d.png b/examples/quick3d/modelview3d/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/modelview3d/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/monkeygod/main.cpp b/examples/quick3d/monkeygod/main.cpp deleted file mode 100644 index cd303558..00000000 --- a/examples/quick3d/monkeygod/main.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" - -#include "../qmlres.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QDeclarativeView3D view; - QString qml = q_get_qmldir(QLatin1String("qml/monkeygod.qml")); - view.setSource(QUrl::fromLocalFile(qml)); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/monkeygod/monkeygod.desktop b/examples/quick3d/monkeygod/monkeygod.desktop deleted file mode 100644 index c5a8e49f..00000000 --- a/examples/quick3d/monkeygod/monkeygod.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=monkeygod -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/monkeygod -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_monkeygod diff --git a/examples/quick3d/monkeygod/monkeygod.pro b/examples/quick3d/monkeygod/monkeygod.pro deleted file mode 100644 index 8437ae93..00000000 --- a/examples/quick3d/monkeygod/monkeygod.pro +++ /dev/null @@ -1,22 +0,0 @@ -TEMPLATE = app -TARGET = monkeygod -CONFIG += qt warn_on - -INSTALL_DIRS = qml -CONFIG += qt3d_deploy_qml qt3dquick_deploy_pkg -include(../../../pkg.pri) -qtcAddDeployment() - -SOURCES += main.cpp - -symbian { - qmlDeployment2.sources = qml\meshes\* - qmlDeployment2.path = qml\meshes - DEPLOYMENT += qmlDeployment2 -} - -OTHER_FILES += \ - monkeygod.rc \ - monkeygod.desktop - -RC_FILE = monkeygod.rc diff --git a/examples/quick3d/monkeygod/monkeygod.rc b/examples/quick3d/monkeygod/monkeygod.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/monkeygod/monkeygod.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/monkeygod/qml/Penguin.qml b/examples/quick3d/monkeygod/qml/Penguin.qml deleted file mode 100644 index 78b6d5d1..00000000 --- a/examples/quick3d/monkeygod/qml/Penguin.qml +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 - -Item3D { - id: penguin - scale: 0.2 - transform: [ - Rotation3D { - id: penguinTilt - angle: 10 - axis: Qt.vector3d(1,0,0) - }, - Rotation3D { - id: penguinFacing - angle: 180 - axis: Qt.vector3d(0,1,0) - } - ] - - light: Light {} - - mesh: Mesh { source: "meshes/penguin.3ds" } - - SequentialAnimation { - running: true - loops: Animation.Infinite - NumberAnimation {target: penguinTilt; property: "angle"; to: -30; duration: 600; easing.type: "OutQuad"} - NumberAnimation {target: penguinTilt; property: "angle"; to: 10; duration: 600; easing.type: "OutQuad"} - } - - SequentialAnimation on y { - running: true - loops: Animation.Infinite - NumberAnimation {to: 0.5; duration: 200; easing.type: "OutQuad"} - NumberAnimation {to: 0.0; duration: 200; easing.type: "OutQuad"} - } -} diff --git a/examples/quick3d/monkeygod/qml/marble.png b/examples/quick3d/monkeygod/qml/marble.png Binary files differdeleted file mode 100644 index ed9ec689..00000000 --- a/examples/quick3d/monkeygod/qml/marble.png +++ /dev/null diff --git a/examples/quick3d/monkeygod/qml/meshes/monkey.3ds b/examples/quick3d/monkeygod/qml/meshes/monkey.3ds Binary files differdeleted file mode 100644 index e9a007b2..00000000 --- a/examples/quick3d/monkeygod/qml/meshes/monkey.3ds +++ /dev/null diff --git a/examples/quick3d/monkeygod/qml/meshes/penguin.3ds b/examples/quick3d/monkeygod/qml/meshes/penguin.3ds Binary files differdeleted file mode 100644 index 26c09ac0..00000000 --- a/examples/quick3d/monkeygod/qml/meshes/penguin.3ds +++ /dev/null diff --git a/examples/quick3d/monkeygod/qml/monkeygod.qml b/examples/quick3d/monkeygod/qml/monkeygod.qml deleted file mode 100644 index cecdea5e..00000000 --- a/examples/quick3d/monkeygod/qml/monkeygod.qml +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 -import Qt3D.Shapes 1.0 - - Viewport { - width: 1000 - height: 800 - - camera: Camera { eye: Qt.vector3d(21,7,19)} - - Item3D { - transform: LookAt { subject: focalPenguin} - position: Qt.vector3d(0, 1.7, -6) - - Item3D { - id: monkey - scale: 2 - mesh: Mesh { source: "meshes/monkey.3ds"; options: "ForceSmooth"} - effect: Effect { material: gold} - transform: Rotation3D {angle: 90; axis: Qt.vector3d(1,0,0);} - } - } - - Item3D - { - Penguin {position: Qt.vector3d(-1.5,0,1)} - Penguin {position: Qt.vector3d(1.5,0,1)} - Penguin {id: focalPenguin; position: Qt.vector3d(-0.5,0,2)} - Penguin {position: Qt.vector3d(0.5,0,2)} - - transform: [ - Rotation3D {id: swivel1; angle: -20; axis: Qt.vector3d(0,1,0)} - ] - - SequentialAnimation { - running: true - loops: Animation.Infinite - NumberAnimation {target: swivel1; property: "angle"; to: 20; duration: 1200; easing.type: "OutQuad"} - NumberAnimation {target: swivel1; property: "angle"; to: -20; duration: 1200; easing.type: "OutQuad"} - } - } - - Cube { - scale: 12.0 - y: -6.5 - z: -2 - - effect: Effect { - color: "#aaca00" - texture: "marble.png" - decal: true - } - } - - Item3D - { - Penguin {position: Qt.vector3d(-2.5,0,2)} - Penguin {position: Qt.vector3d(2.5,0,2)} - Penguin {position: Qt.vector3d(-1.5,0,3)} - Penguin {position: Qt.vector3d(1.5,0,3)} - Penguin {position: Qt.vector3d(-0.5,0,3.5)} - Penguin {position: Qt.vector3d(0.5,0,3.5)} - - transform: [ - Rotation3D {id: swivel2; angle: 20; axis: Qt.vector3d(0,1,0)} - ] - - SequentialAnimation { - running: true - loops: Animation.Infinite - NumberAnimation {target: swivel2; property: "angle"; to: -20; duration: 1200; easing.type: "OutQuad"} - NumberAnimation {target: swivel2; property: "angle"; to: 20; duration: 1200; easing.type: "OutQuad"} - } - } - - Material { - id: gold - ambientColor: "#EEDD00" - specularColor: "#FFFFFF" - shininess: 200 - } - } diff --git a/examples/quick3d/monkeygod/qtquick3d.ico b/examples/quick3d/monkeygod/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/monkeygod/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/monkeygod/qtquick3d.png b/examples/quick3d/monkeygod/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/monkeygod/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/moon/main.cpp b/examples/quick3d/moon/main.cpp deleted file mode 100644 index 18e0bf50..00000000 --- a/examples/quick3d/moon/main.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" -#include "qgltexture2d.h" -#include "../qmlres.h" - -int main(int argc, char *argv[]) -{ -#ifdef Q_OS_SYMBIAN - QGLTexture2D::setMaxImageSize(256,256); -#endif - QApplication app(argc, argv); - - QDeclarativeView3D view; - QString qml = q_get_qmldir(QLatin1String("qml/moon.qml")); - view.setSource(QUrl::fromLocalFile(qml)); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/moon/moon.desktop b/examples/quick3d/moon/moon.desktop deleted file mode 100644 index 6eae4393..00000000 --- a/examples/quick3d/moon/moon.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Moon -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/moon -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_moon -X-MeeGo-Translation-Catalog=essentials diff --git a/examples/quick3d/moon/moon.pro b/examples/quick3d/moon/moon.pro deleted file mode 100644 index 18ecaa4a..00000000 --- a/examples/quick3d/moon/moon.pro +++ /dev/null @@ -1,20 +0,0 @@ -TEMPLATE = app -TARGET = moon -CONFIG += qt warn_on - -INSTALL_DIRS = qml -CONFIG += qt3d_deploy_qml qt3dquick_deploy_pkg -include(../../../pkg.pri) -qtcAddDeployment() - -SOURCES += main.cpp - -OTHER_FILES += \ - moon.rc \ - moon.desktop - -RC_FILE = moon.rc - -symbian { - TARGET.EPOCHEAPSIZE = 40000 40000000 -} diff --git a/examples/quick3d/moon/moon.rc b/examples/quick3d/moon/moon.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/moon/moon.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/moon/qml/moon-texture.jpg b/examples/quick3d/moon/qml/moon-texture.jpg Binary files differdeleted file mode 100644 index b6955e38..00000000 --- a/examples/quick3d/moon/qml/moon-texture.jpg +++ /dev/null diff --git a/examples/quick3d/moon/qml/moon.qml b/examples/quick3d/moon/qml/moon.qml deleted file mode 100644 index 02a70979..00000000 --- a/examples/quick3d/moon/qml/moon.qml +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 -import Qt3D.Shapes 1.0 - -Viewport { - width: 640; height: 480 - - light: Light { - direction: Qt.vector3d(1, 0, 2) - } - - Sphere { - scale: 1.5 - levelOfDetail: 6 - axis: Qt.YAxis - - effect: Effect { - // Moon texture sourced from: - // http://www.lns.cornell.edu/~seb/celestia/moon-4k-18.jpg - // The source texture was scaled down to a more reasonable size, - // and the brightness and contrast were increased. - texture: "moon-texture.jpg" - } - } -} diff --git a/examples/quick3d/moon/qtquick3d.ico b/examples/quick3d/moon/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/moon/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/moon/qtquick3d.png b/examples/quick3d/moon/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/moon/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/photoroom/main.cpp b/examples/quick3d/photoroom/main.cpp deleted file mode 100644 index ff850faf..00000000 --- a/examples/quick3d/photoroom/main.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" -#include "qgltexture2d.h" -#include "../qmlres.h" - -int main(int argc, char *argv[]) -{ -#ifdef Q_OS_SYMBIAN - QGLTexture2D::setMaxImageSize(256,256); -#endif - - QApplication app(argc, argv); - QDeclarativeView3D view; - QString qml = q_get_qmldir(QLatin1String("qml/photoroom.qml")); - view.setSource(QUrl::fromLocalFile(qml)); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/photoroom/photoroom.desktop b/examples/quick3d/photoroom/photoroom.desktop deleted file mode 100644 index c3b8c11f..00000000 --- a/examples/quick3d/photoroom/photoroom.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=PhotoRoom -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/photoroom -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_photoroom diff --git a/examples/quick3d/photoroom/photoroom.pro b/examples/quick3d/photoroom/photoroom.pro deleted file mode 100644 index fc54f9a0..00000000 --- a/examples/quick3d/photoroom/photoroom.pro +++ /dev/null @@ -1,23 +0,0 @@ -TEMPLATE = app -TARGET = photoroom -CONFIG += qt warn_on - -INSTALL_DIRS = qml -CONFIG += qt3d_deploy_qml qt3dquick_deploy_pkg -include(../../../pkg.pri) -qtcAddDeployment() - -SOURCES += main.cpp - -symbian { - TARGET.EPOCHEAPSIZE = 40000 40000000 - qmlDeployment2.sources = qml\textures\* - qmlDeployment2.path = qml\textures - DEPLOYMENT += qmlDeployment2 -} - -OTHER_FILES += \ - photoroom.rc \ - photoroom.desktop - -RC_FILE = photoroom.rc diff --git a/examples/quick3d/photoroom/photoroom.rc b/examples/quick3d/photoroom/photoroom.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/photoroom/photoroom.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/photoroom/qml/PhotoPane.qml b/examples/quick3d/photoroom/qml/PhotoPane.qml deleted file mode 100644 index 1217727c..00000000 --- a/examples/quick3d/photoroom/qml/PhotoPane.qml +++ /dev/null @@ -1,128 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 - -Item3D { - id: photo - - property real layer - property variant image - property bool bounce: false - property string color: "#ffffff" - - mesh: Mesh { source: "photopane.obj" } - - position: Qt.vector3d(0, 0, -layer) - effect: Effect { decal: true; texture: image; color: photo.color } - - onClicked: { - if (photo.state == "pulled_out") - photo.state = "returned"; - else - photo.state = "pulled_out"; - } - - onHoverEnter: { photo.state = "pop_up" } - onHoverLeave: { photo.state = "returned" } - - states: [ - State { - name: "pop_up" - PropertyChanges { - target: photo - y: 1.0 - } - }, - State { - name: "pulled_out" - PropertyChanges { - target: photo - // Center item in the X axis - x: -parent.x - } - PropertyChanges { - target: photo - scale: 1.75 - } - PropertyChanges { - target: photo - z: 2 - } - PropertyChanges { - target: viewport - state: "show_photo" - } - }, - State { - name: "returned" - PropertyChanges { - target: photo - x: 0 - } - PropertyChanges { - target: photo - scale: 1 - } - PropertyChanges { - target: photo - z: -layer - } - PropertyChanges { - target: viewport - state: "show_group" - } - } - ] - - transitions: [ - Transition { - from: "*" - to: "*" - NumberAnimation { - targets: photo - properties: "x,scale,z,y" - easing.type: "OutBounce" - duration: 700 - } - } - ] -} diff --git a/examples/quick3d/photoroom/qml/photopane.obj b/examples/quick3d/photoroom/qml/photopane.obj deleted file mode 100644 index 1f5e91df..00000000 --- a/examples/quick3d/photoroom/qml/photopane.obj +++ /dev/null @@ -1,11 +0,0 @@ -s 0 -v -2 -1.5 0.0 -v 2 -1.5 0.0 -v 2 1.5 0.0 -v -2 1.5 0.0 -vt 0.0 0.0 -vt 1.0 0.0 -vt 1.0 1.0 -vt 0.0 1.0 -vn 0.0 0.0 1.0 -f 1/1/1 2/2/1 3/3/1 4/4/1 diff --git a/examples/quick3d/photoroom/qml/photoroom.qml b/examples/quick3d/photoroom/qml/photoroom.qml deleted file mode 100644 index 2489026c..00000000 --- a/examples/quick3d/photoroom/qml/photoroom.qml +++ /dev/null @@ -1,164 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 - -Viewport { - id: viewport - width: 800; height: 480 - picking: true - //navigation: false - //showPicking: true - - camera: Camera { - id: main_camera - eye: Qt.vector3d(0, 4, 12) - center: Qt.vector3d(0, 0, -2.5) - } - - ListModel { - id: imagesModelLeft - ListElement { image: "textures/woman.jpg"; } - ListElement { image: "textures/niagara_falls.jpg"; } - ListElement { image: "textures/place.jpg"; } - ListElement { image: "textures/basket.jpg"; } - ListElement { image: "textures/qtlogo.png"; color: "#006090" } - } - - Component { - id: paneComponent - PhotoPane { - layer: index - image: model.image - // Items end up with the default value defined in PhotoPane if you - // try and assign an undefined value, but this logic avoids a - // string of warnings - color: (model.color == undefined) ? "#ffffff" : model.color - } - } - - Item3D { - // Left stack of images - x: -2.1 - Repeater { - delegate: paneComponent - model: imagesModelLeft - } - } - - //! [0] - ListModel { - id: exampleModel - ListElement { image: "textures/niagara_falls.jpg" } - ListElement { image: "textures/place.jpg" } - ListElement { image: "textures/background.jpg" } - ListElement { image: "textures/basket.jpg" } - ListElement { image: "textures/woman.jpg" } - } - //! [0] - - //! [1] - Component { - id: exampleDelegate - PhotoPane { - layer: index - image: model.image - // If you intend on removing elements from the model, - // include this line: - enabled: index != -1 - } - } - //! [1] - - Item3D { - // Right stack of images - x: 2.1 - //! [2] - Repeater { - id: exampleRepeater - delegate: exampleDelegate - model: exampleModel - } - //! [2] - } - - states: [ - State { - name: "show_photo" - PropertyChanges { - target: main_camera - eye.y: 0 - } - PropertyChanges { - target: main_camera - eye.x: 0 - } - PropertyChanges { - target: main_camera - eye.z: 12 - } - PropertyChanges { - target: main_camera - upVector: Qt.vector3d(0, 1, 0) - } - }, - State { - name: "show_group" - PropertyChanges { - target: main_camera - eye.y: 4 - } - } - ] - - transitions: [ - Transition { - from: "*" - to: "*" - NumberAnimation { - targets: main_camera - properties: "eye.y" - easing.type: "OutBounce" - duration: 700 - } - } - ] -} diff --git a/examples/quick3d/photoroom/qml/textures/background.jpg b/examples/quick3d/photoroom/qml/textures/background.jpg Binary files differdeleted file mode 100644 index 2c1af3c6..00000000 --- a/examples/quick3d/photoroom/qml/textures/background.jpg +++ /dev/null diff --git a/examples/quick3d/photoroom/qml/textures/basket.jpg b/examples/quick3d/photoroom/qml/textures/basket.jpg Binary files differdeleted file mode 100644 index c292a83d..00000000 --- a/examples/quick3d/photoroom/qml/textures/basket.jpg +++ /dev/null diff --git a/examples/quick3d/photoroom/qml/textures/niagara_falls.jpg b/examples/quick3d/photoroom/qml/textures/niagara_falls.jpg Binary files differdeleted file mode 100644 index 69b51371..00000000 --- a/examples/quick3d/photoroom/qml/textures/niagara_falls.jpg +++ /dev/null diff --git a/examples/quick3d/photoroom/qml/textures/place.jpg b/examples/quick3d/photoroom/qml/textures/place.jpg Binary files differdeleted file mode 100644 index 03e53443..00000000 --- a/examples/quick3d/photoroom/qml/textures/place.jpg +++ /dev/null diff --git a/examples/quick3d/photoroom/qml/textures/qtlogo.png b/examples/quick3d/photoroom/qml/textures/qtlogo.png Binary files differdeleted file mode 100644 index 7d3e97eb..00000000 --- a/examples/quick3d/photoroom/qml/textures/qtlogo.png +++ /dev/null diff --git a/examples/quick3d/photoroom/qml/textures/woman-photo-credit.txt b/examples/quick3d/photoroom/qml/textures/woman-photo-credit.txt deleted file mode 100644 index c7f04c1c..00000000 --- a/examples/quick3d/photoroom/qml/textures/woman-photo-credit.txt +++ /dev/null @@ -1,5 +0,0 @@ -http://www.flickr.com/photos/fromthefrontend/ - -Attribution: - -<div xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/fromthefrontend/4527587863/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/fromthefrontend/">http://www.flickr.com/photos/fromthefrontend/</a> / <a rel="license" href="http://creativecommons.org/licenses/by/2.0/">CC BY 2.0</a></div> diff --git a/examples/quick3d/photoroom/qml/textures/woman.jpg b/examples/quick3d/photoroom/qml/textures/woman.jpg Binary files differdeleted file mode 100644 index f3a6abc2..00000000 --- a/examples/quick3d/photoroom/qml/textures/woman.jpg +++ /dev/null diff --git a/examples/quick3d/photoroom/qtquick3d.ico b/examples/quick3d/photoroom/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/photoroom/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/photoroom/qtquick3d.png b/examples/quick3d/photoroom/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/photoroom/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/qmlres.h b/examples/quick3d/qmlres.h deleted file mode 100644 index 186451c3..00000000 --- a/examples/quick3d/qmlres.h +++ /dev/null @@ -1,127 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 QMLRES_H -#define QMLRES_H - -#include <QtCore/qdir.h> -#include <QtCore/qcoreapplication.h> - -#include <QtCore/qdebug.h> - -#define internal_xstr(s) internal_str(s) -#define internal_str(s) #s - -/*! - \internal - Returns a string with the path to qml resources, including qml sources, - 3D assets and textures. The path depends on the platform, and (for - some platforms) whether it was installed from a package or is being run - in a development setting. -*/ -static QString q_get_qmldir(const QString &name) -{ - QString qml = name; - // try for a Linux package install first -#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) -#ifdef QT3D_USE_OPT - QDir pkgdir(QLatin1String("/opt/mt/applications/" internal_xstr(QT3D_USE_OPT))); -#else - QDir pkgdir(QLatin1String("/usr/share/qt5/quick3d/examples")); -#endif -#else - QDir pkgdir(QLatin1String("/usr/share/qt4/quick3d/examples")); -#endif - QString app = QCoreApplication::applicationFilePath(); - app = app.section(QDir::separator(), -1); - if (pkgdir.cd(app) && pkgdir.exists()) - { - qml = pkgdir.filePath(qml); - } - else - { - // failing that try Mac (pkg & dev) next - QDir dir(QCoreApplication::applicationDirPath()); - if (dir.path().endsWith(QLatin1String("MacOS"))) - { - if (dir.cdUp() && dir.cd(QLatin1String("Resources")) - && dir.exists()) - { - qml = dir.filePath(qml); - } - else - { - qWarning("Expected app bundle with QML resources!"); - } - } - else - { - // for Windows (pkg & dev), and for Linux dev expect to find it - // in a "resources" directory next to the binary - if (dir.cd(QLatin1String("resources")) && dir.exists()) - { - app = QDir::toNativeSeparators(app); - //For windows platforms the "app" filepath should have the .exe extension removed. - const QString winExtension = ".exe"; - if (app.right(winExtension.length()) == winExtension) { - app = app.left(app.length() - winExtension.length()); - } - - //Grab just the app name itself. - app = app.section(QDir::separator(), -1); - - if (dir.cd(QLatin1String("examples")) && dir.cd(app) && dir.exists()) - { - qml = dir.filePath(qml); - } - else - { - QString msg = QLatin1String("examples"); - msg += QDir::separator(); - msg += app; - qWarning("Expected %s directry with qml resources!", qPrintable(msg)); - } - } - } - } - return qml; -} - -#endif // QMLRES_H diff --git a/examples/quick3d/qtquick3d.svg b/examples/quick3d/qtquick3d.svg deleted file mode 100644 index 3b8a5c7a..00000000 --- a/examples/quick3d/qtquick3d.svg +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0"?> -<!-- Converted with SVG Converter - Version 0.9.5 (Compiled Mon May 30 09:08:51 2011) - Copyright (C) 2011 Nokia --> -<svg xmlns="http://www.w3.org/2000/svg" width="287" version="1.1" height="286" xmlns:xlink="http://www.w3.org/1999/xlink" baseProfile="tiny" id="svg2"> - <defs id="defs4"> - <linearGradient gradientTransform="matrix(1.0104795,0,0,1.004441,23.387309,76.758859)" id="linearGradient3730-2" y1="131.35715" y2="156.39526" x1="23.626827" gradientUnits="userSpaceOnUse" x2="303.57144"> - <stop offset="0" style="stop-color:#038d30;stop-opacity:1;" id="stop3726-7"/> - <stop offset="1" style="stop-color:#038d30;stop-opacity:0;" id="stop3728-1"/> - </linearGradient> - <linearGradient id="linearGradient3724-7"> - <stop offset="0" style="stop-color:#038d30;stop-opacity:1;" id="stop3726-7"/> - <stop offset="1" style="stop-color:#038d30;stop-opacity:0;" id="stop3728-1"/> - </linearGradient> - </defs> - <metadata id="metadata7"/> - <g id="layer1" transform="translate(-25.071424,-77.933617)"> - <path style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#00ffff;stroke-width:8.85648727000000060;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path3722" d="M 149.39285,339.37194 C 118.29002,338.06386 93.410274,329.21846 78.267585,314.08502 66.239667,302.06444 58.159936,285.11057 54.818135,264.88047 c -1.962614,-11.881 -2.442596,-20.11519 -2.455216,-42.1199 -0.01051,-18.36712 0.160997,-23.0644 1.239861,-33.95521 2.529982,-25.53941 11.482605,-46.43472 25.677112,-59.93007 16.042727,-15.25252 39.462148,-23.21337 72.203768,-24.54383 6.77105,-0.27512 31.97542,0.38686 41.46813,1.08915 17.85829,1.32123 29.86273,4.01251 41.92069,9.39824 16.71724,7.46685 28.60768,18.52238 36.44553,33.88638 5.7477,11.26691 9.34961,23.29707 11.69339,39.05536 2.22754,14.97664 2.81073,44.00559 1.22086,60.77114 -2.76934,29.20404 -10.704,50.36949 -24.19378,64.53629 -8.65346,9.08774 -21.29946,16.39504 -35.37578,20.44137 -13.11053,3.76868 -25.14568,5.0858 -52.44498,5.73944 -13.81368,0.33078 -17.4242,0.35023 -22.82487,0.12311 l 0,0 z"/> - <rect width="236.93414" x="49.282932" y="102.78797" rx="95.84404" ry="92.255867" height="239.43414" style="opacity:0;fill:none;stroke:#008000;stroke-width:3.29858350999999980;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="rect2852"/> - <rect width="175" x="28.571428" y="19.214285" rx="95.84404" ry="92.255867" height="206.07143" style="opacity:0;fill:#b94b4b;fill-opacity:1;stroke:#05d105;stroke-width:4.147;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="rect3704" transform="translate(25.071424,77.933617)"/> - <image width="191.18274" x="73.931854" y="148.93103" height="144.13199" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAACDCAYAAAD/CZsFAAAABHNCSVQICAgIfAhkiAAAIABJREFU
eJzsvXmUXdV5L/jb+0x3qltzqVSTZglJIECI0QYMjTEE45jwVszCcUgcp1fil3ZC2unl9PJb7tXL
dl4Sk7x46DhJ20mcvNjQL7Ed2wkewIARYIVJDJoQmkpIVarxzveeYe/+Yw9nn3NvSaUBnO7w2YXu
PfecPX77+37fsPchADjeprfp/0NEf9YNeJveprMl+2fdgNMRIUR/5vxthfA2Cfp3LWkVoxJCEgz8
Nv3Hpn93kra7uxvr1q3DwMAABgYGYFkWbNtGFEWYnZ1FqVRCqVTC3r17EUXRz7q5b9PPgP5dMO3Y
2BjGxsZwzTXXYGhoCFu3btVMSymFZVngnGNmZgblchmlUgkvvPAC9uzZg/3792Pfvn1vw4f/QETw
M/QeZLNZbNu2DR/4wAewefNmXH311chkMshkMvoexYyUUjDG9PVWq4V9+/Zhz5492LNnD772ta+h
XC6jXC6/5f14m9564j+rv76+Pv6xj32MT05OcsYYZ4zxKIp4FEVt3znnPAxD/ad+bzabvFwu86uv
vpqPjY39zPry9t9b+vfWV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1UKpVl9/+6667DddddhyuvvLKt
nemcCvW7GhMVYPnsZz+Lhx9+GP/6r/+67HovBD3wwAPwPE8HeS6//HJtLP57oTfVp/bVr36VP//8
823BAtPPqnyvnHO+a9cufscdd5yx3EcffbQt+GCWF4Yh932ff/rTn+bd3d1nLG/16tX8r//6rzsG
OGZnZ/l/+S//hReLxWX1ua+vj//Zn/2ZLssMipj97eSPNr8zxviXvvQlPjQ09Jb6QZvNJg+CgCta
v3497+vrO+fy8vk8Hx8f5+vXr+ee53Hbts+rfW8aPMjlcujv78d9992Hbdu2gTHWUYqZEvfHP/4x
vvSlL+F73/veGcu/55579GclqdIuMcuysGbNGlx//fVnLK+vrw99fX2Ja6q8crmMSqWCarV6xnIA
4IYbbsD111+fCDub7TLL7kSmOr7mmmtwzTXXLKve8yXHcZDNZuG6bgKWNBqN8/JmbNu2DX/+53+O
V155BaVSCZ/73OcwODh4zuW9aUzb29uLdevWnRUe+uY3v4l9+/Yt6/5arYannnoKk5OTpzXqBgYG
sHnz5jOWl81mkc1mE9dUeY1GA0EQLIvRuru7sWrVKqxYsaKjp8O8f3p6GtVqFUEQtPmd1eeenh70
9vaesf0XghzHQT6f199VW4IgOC9j0LIsjc8tywJj7LwWwZuGabdt24bbbrsNQLt7Kj35J0+exIkT
J/C3f/u3yzZ2arUaPv/5z+Puu+9OuKlMnAgAa9euxS233II//uM/TjyvjC5KKXzfR09PD7q7uzvW
deLECVQqlTY3XCcmvu222/COd7wDw8PDievqOd/38dxzz+G5557D3r17kc/ncfHFF+Piiy/G9u3b
2xh85cqV2LRpEyYmJnDs2LFljc25UldXF1asWNF2/XwlbSaTQS6X09K71Wqh0Wicc3lvCtO6rotL
L70Ud99995I+SXUtiiI8+uijeOihh846Q+uxxx7D9u3bEUURbLtzV3p7e7F27dq261dddRXWr1+P
9evXo1KpaGs5HewAgFKpBMdxsHLlSgRBgHq9jiAIEASBvkfdf99992H9+vVtMIBzDsYY/uiP/gg/
/elP8cwzz2B+fh6A8K5s3L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wbXz/OC1CYzNCexJgkGYE4iVEqwNFTlHWMTgZo46P10AJU
aWxQfQbYAmgNPGGPOTPFCvNs8oiLwQgesM1X+TwJEU/YJWFUGOMsOqZHhwELzDDHFAOGz7StAtxh
ixUWWGOBeab5Ce8WZ+tUOkpX3xIeVSosMssT9q1T5Bn9mkwDxmeZZJIGuyd0JfcW9y40TFM0maLJ
IjPcYYsBAf0LdBjgCrOsssA+x8+041myTzRvZpgzk8zQ4j/Ej+w8C40Rxm5Wp0Y1cJ00YBl3CELw
WfdT7DsdtuQTED6xHKS2YgeTZ0Vk90vrxRqDZwTKHBKZXYZ6F1c7VhbNtHSl821ITfrZ6CGuiagY
jVFDDCEY64AxmYKUx+QWbZ7QY8AaC6yxeKGxzMhnSJsuAsEMrWcu25lh/yG7tOnxJd7gI7a4w1YK
+PNphwMa1LjGEuss0qZ/IR3mNveZZ4pl5pljkne5Q4I6955terTpMSBgmibLzDNDKw+mcS/2XlvQ
brDMfiqjfBKaZZKXuMq3+N4najfPNAC7HBKZmBxleSypAWE1bluV3AGTYIRmWU1x6BwycDoIYVAy
HnHXonYOKdMzuMalQomBbhPRx+gApR1GlVksxxR5nK3NBEbHCDQyNdobrKs0f9b0Hhl3LZJC4+HR
pP6JxgYsVxoS0mTiwnMyICBgyHVWOaLLPR5dCLQJih0OCYlYYxHDzoVAC7DPMUvM8TJX+YgHDIku
dM8D2iQobrLGGgvcSV2/Z3rELumSflvp7BqPl3RJv6V0CdpLeu7oErSX9NzRJWgv6bmjS9Be0nNH
l6C9pOeOLkF7Sc8dXYL2kp47ugTtJT139P84WGaZUimIJgAAAABJRU5ErkJggg==
" id="image3163"/> - <rect width="282.94818" x="28.049149" y="81.03817" rx="0" height="279.91772" ry="0" style="fill:none;fill-opacity:1;stroke:none;stroke-width:5.44153594999999960;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="rect2995"/> - </g> - <g id="layer2"/> -</svg> diff --git a/examples/quick3d/quick3d.pro b/examples/quick3d/quick3d.pro deleted file mode 100644 index af523da8..00000000 --- a/examples/quick3d/quick3d.pro +++ /dev/null @@ -1,15 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS += \ - animations \ - basket \ - cube \ - forest \ - lander \ - matrix_animation \ - monkeygod \ - modelview3d \ - moon \ - photoroom \ - shaders \ - sphere \ - solarsystem_qml diff --git a/examples/quick3d/shaders/main.cpp b/examples/quick3d/shaders/main.cpp deleted file mode 100644 index ab63fff4..00000000 --- a/examples/quick3d/shaders/main.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" - -#include "../qmlres.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QDeclarativeView3D view; - QString qml = q_get_qmldir(QLatin1String("qml/shaders.qml")); - view.setSource(QUrl::fromLocalFile(qml)); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockPortraitOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/shaders/qml/Bouncing.qml b/examples/quick3d/shaders/qml/Bouncing.qml deleted file mode 100644 index 68c817f8..00000000 --- a/examples/quick3d/shaders/qml/Bouncing.qml +++ /dev/null @@ -1,124 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 - -Viewport { - width: 640; height: 480 - - property string name: "Animation Shader" - property string icon: "images/teapot-logo.png" - property bool run: true - - Item3D { - mesh: Mesh { source: "meshes/teapot.bez" } - effect: program - - transform: Rotation3D { - NumberAnimation on angle{ - running: run - loops: Animation.Infinite - from: 0 - to: 360 - duration: 18000 - } - axis: Qt.vector3d(1, -0.3, 0) - } - - ShaderProgram { - id: program - property real qt_Custom : 1.0 - SequentialAnimation on qt_Custom { - running: run - loops: Animation.Infinite - PauseAnimation { duration: 700 } - NumberAnimation { from: 1.0; to: 0.001; duration: 1500; easing.type:"OutBounce" } - PauseAnimation { duration: 700 } - NumberAnimation { from: 0.001; to: 1.0; duration: 1500; easing.type:"OutBounce" } - } - - texture: "images/qtlogo.png" - - SequentialAnimation on color { - running: run - loops: Animation.Infinite - ColorAnimation { - from: "#00008a" - to: "#003333" - duration: 5000 - } - ColorAnimation { - from: "#003333" - to: "#00008a" - duration: 5000 - } - } - - vertexShader: " - attribute highp vec4 qt_Vertex; - attribute highp vec4 qt_MultiTexCoord0; - uniform mediump mat4 qt_ModelViewProjectionMatrix; - varying highp vec4 texCoord; - uniform highp float qt_Custom; - - void main(void) - { - gl_Position = qt_ModelViewProjectionMatrix * (qt_Vertex * - vec4(1.0, qt_Custom, 1.0, 1.0)); - texCoord = -qt_MultiTexCoord0 + vec4(qt_Custom, 0.0, 0.0, 0.0); - - } - " - fragmentShader: " - varying highp vec4 texCoord; - uniform sampler2D qt_Texture0; - uniform mediump vec4 qt_Color; - - void main(void) - { - mediump vec4 col = texture2D(qt_Texture0, texCoord.st); - gl_FragColor = vec4(clamp(qt_Color.rgb * (1.0 - col.a) + - col.rgb, 0.0, 1.0), 1.0); - } - " - } - } -} diff --git a/examples/quick3d/shaders/qml/Collapsing.qml b/examples/quick3d/shaders/qml/Collapsing.qml deleted file mode 100644 index 63b1e0ef..00000000 --- a/examples/quick3d/shaders/qml/Collapsing.qml +++ /dev/null @@ -1,125 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 - -Viewport { - property string name: "Collapsing Shader" - property string icon: "images/teapot-logo.png" - - width: 640; height: 480 - - Item3D { - mesh: Mesh { source: "meshes/teapot.bez" } - effect: program - - transform: Rotation3D { - NumberAnimation on angle{ - running: true - loops: Animation.Infinite - from: 0 - to: 360 - duration: 8000 - } - axis: Qt.vector3d(1, -0.3, 0) - } - - ShaderProgram { - id: program - property real collapseFactor : 0.0 - - SequentialAnimation on collapseFactor { - running: true - loops: Animation.Infinite - PauseAnimation { duration: 700 } - NumberAnimation { from: 0.0; to: 1.0; duration: 1500; easing.type:"OutBounce" } - PauseAnimation { duration: 700 } - NumberAnimation { from: 1.0; to: 0.0; duration: 1500; easing.type:"OutBounce" } - } - texture: "images/qtlogo.png" - - SequentialAnimation on color{ - running: true - loops: Animation.Infinite - ColorAnimation { - from: "#00008a" - to: "#003333" - duration: 5000 - } - ColorAnimation { - from: "#003333" - to: "#00008a" - duration: 5000 - } - } - - vertexShader: " - attribute highp vec4 qt_Vertex; - attribute highp vec4 qt_MultiTexCoord0; - uniform mediump mat4 qt_ModelViewProjectionMatrix; - varying highp vec4 texCoord; - uniform highp float collapseFactor; - - void main(void) - { - // Interpolate between the actual position of the input vertex - // and treating the tex-coordinates as vertex positions to - // create a neat collapsing effect. - vec4 workingPosition = mix( qt_Vertex, vec4(-qt_MultiTexCoord0.xyz, 1.0) , collapseFactor); - gl_Position = qt_ModelViewProjectionMatrix * workingPosition; - texCoord = -qt_MultiTexCoord0; - } - " - fragmentShader: " - varying highp vec4 texCoord; - uniform sampler2D qt_Texture0; - uniform mediump vec4 qt_Color; - - void main(void) - { - mediump vec4 col = texture2D(qt_Texture0, texCoord.st); - gl_FragColor = vec4(clamp(qt_Color.rgb * (1.0 - col.a) + - col.rgb, 0.0, 1.0), 1.0); - } - " - } - } -} diff --git a/examples/quick3d/shaders/qml/Images.qml b/examples/quick3d/shaders/qml/Images.qml deleted file mode 100644 index 0cd157ce..00000000 --- a/examples/quick3d/shaders/qml/Images.qml +++ /dev/null @@ -1,144 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 - -Rectangle { - property string name: "Images Shader" - property string icon: "images/teapot-logo.png" - - width: 640; height: 480 - id: top - color: "black" - - property bool flag : true - - property string imageUrl: flag ? - "images/qtlogo.png" : - "images/basket.jpg" - - Image { - id: myChangingImage - source: imageUrl - } - - Viewport { - anchors.fill: parent - - MouseArea - { - anchors.fill: parent - onClicked: top.flag = !top.flag - } - - Item3D { - mesh: Mesh { source: "meshes/teapot.bez" } - effect: shaderEffect - - transform: Rotation3D { - NumberAnimation on angle{ - running: true - loops: Animation.Infinite - from: 0 - to: 360 - duration: 18000 - } - axis: Qt.vector3d(1, -0.3, 0) - } - } - - ShaderProgram { - id: shaderEffect - property alias myBoolean : top.flag - property variant textureOffset : Qt.size(textureOffsetX * 5, 0.0) - property real textureOffsetX : 0.0 - - - // Default texture that the shaderprogram will get until something else - // is bound: - texture: "images/qtlogo.png" - - // This property is automatically hooked up to the image uniform - // in the shader program below. - property string image : imageUrl - - SequentialAnimation on textureOffsetX { - running: true - loops: Animation.Infinite - PauseAnimation { duration: 2500 } - NumberAnimation { from: 0.0; to: 1.0; duration: 1500; easing.type:"OutBounce" } - PauseAnimation { duration: 2500 } - NumberAnimation { from: 1.0; to: 0.0; duration: 1500; easing.type:"OutBounce" } - } - - vertexShader: " - attribute highp vec4 qt_Vertex; - attribute highp vec4 qt_MultiTexCoord0; - uniform mediump mat4 qt_ModelViewProjectionMatrix; - varying highp vec4 texCoord; - - uniform mediump vec2 textureOffset; - - void main(void) - { - gl_Position = qt_ModelViewProjectionMatrix * qt_Vertex; - texCoord = -qt_MultiTexCoord0 + vec4(textureOffset.x, textureOffset.y, 0.0, 0.0); - } - " - - fragmentShader: " - varying highp vec4 texCoord; - uniform sampler2D qt_Texture0; - uniform bool myBoolean; - - // This image uniform is automatically associated with the image - // property of the shader program. - uniform sampler2D image; - - void main(void) - { - mediump vec4 imageColor = texture2D(image, texCoord.st); - gl_FragColor = imageColor; - } - " - } - } -} diff --git a/examples/quick3d/shaders/qml/Interpolate.qml b/examples/quick3d/shaders/qml/Interpolate.qml deleted file mode 100644 index 182a3bed..00000000 --- a/examples/quick3d/shaders/qml/Interpolate.qml +++ /dev/null @@ -1,124 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 - -Viewport { - property string name: "Interpolate Shader" - property string icon: "images/teapot-logo.png" - - width: 640; height: 480 - - Item3D { - mesh: Mesh { source: "meshes/teapot.bez" } - effect: program - - transform: Rotation3D { - NumberAnimation on angle{ - running: true - loops: Animation.Infinite - from: 0 - to: 360 - duration: 5000 - } - axis: Qt.vector3d(1, -0.3, 0) - } - - ShaderProgram { - id: program - texture: "images/basket.jpg" - property variant texture2 : "images/qtlogo.png" - property real interpolationFactor : 0.0 - - SequentialAnimation on interpolationFactor { - running: true - loops: Animation.Infinite - NumberAnimation { to : 1.0; duration: 750; } - PauseAnimation { duration: 550 } - NumberAnimation { to : 0.0; duration: 750; } - PauseAnimation { duration: 550 } - } - - SequentialAnimation on color{ - running: true - loops: Animation.Infinite - ColorAnimation { - from: "#aaca00" - to: "#0033ca" - duration: 500 - } - ColorAnimation { - from: "#0033ca" - to: "#aaca00" - duration: 500 - } - } - - vertexShader: " - attribute highp vec4 qt_Vertex; - attribute highp vec4 qt_MultiTexCoord0; - uniform mediump mat4 qt_ModelViewProjectionMatrix; - varying highp vec4 texCoord; - - void main(void) - { - gl_Position = qt_ModelViewProjectionMatrix * qt_Vertex; - texCoord = qt_MultiTexCoord0; - } - " - - fragmentShader: " - varying highp vec4 texCoord; - uniform sampler2D qt_Texture0; - uniform sampler2D texture2; - uniform mediump vec4 qt_Color; - uniform mediump float interpolationFactor; - - void main(void) - { - mediump vec4 col1 = texture2D(qt_Texture0, texCoord.st); - mediump vec4 col2 = texture2D(texture2, texCoord.st); - gl_FragColor = mix(col1, col2, interpolationFactor); - } - " - } - } -} diff --git a/examples/quick3d/shaders/qml/images/basket.jpg b/examples/quick3d/shaders/qml/images/basket.jpg Binary files differdeleted file mode 100644 index 438e7a0c..00000000 --- a/examples/quick3d/shaders/qml/images/basket.jpg +++ /dev/null diff --git a/examples/quick3d/shaders/qml/images/qtlogo.png b/examples/quick3d/shaders/qml/images/qtlogo.png Binary files differdeleted file mode 100644 index 7d3e97eb..00000000 --- a/examples/quick3d/shaders/qml/images/qtlogo.png +++ /dev/null diff --git a/examples/quick3d/shaders/qml/images/teapot-logo.png b/examples/quick3d/shaders/qml/images/teapot-logo.png Binary files differdeleted file mode 100644 index 39f02e51..00000000 --- a/examples/quick3d/shaders/qml/images/teapot-logo.png +++ /dev/null diff --git a/examples/quick3d/shaders/qml/meshes/teapot.bez b/examples/quick3d/shaders/qml/meshes/teapot.bez deleted file mode 100644 index 02b2ac44..00000000 --- a/examples/quick3d/shaders/qml/meshes/teapot.bez +++ /dev/null @@ -1,340 +0,0 @@ -32 -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 -121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136 -124,137,138,121,128,139,140,125,132,141,142,129,136,143,144,133 -133,134,135,136,145,146,147,148,149,150,151,152,69,153,154,155 -136,143,144,133,148,156,157,145,152,158,159,149,155,160,161,69 -162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177 -165,178,179,162,169,180,181,166,173,182,183,170,177,184,185,174 -174,175,176,177,186,187,188,189,190,191,192,193,194,195,196,197 -177,184,185,174,189,198,199,186,193,200,201,190,197,202,203,194 -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 -0.700000,0.450000,-0.000000 -0.700000,0.450000,0.392000 -0.392000,0.450000,0.700000 -0.000000,0.450000,0.700000 -0.668750,0.515625,-0.000000 -0.668750,0.515625,0.374500 -0.374500,0.515625,0.668750 -0.000000,0.515625,0.668750 -0.718750,0.515625,-0.000000 -0.718750,0.515625,0.402500 -0.402500,0.515625,0.718750 -0.000000,0.515625,0.718750 -0.750000,0.450000,-0.000000 -0.750000,0.450000,0.420000 -0.420000,0.450000,0.750000 -0.000000,0.450000,0.750000 --0.392000,0.450000,0.700000 --0.700000,0.450000,0.392000 --0.700000,0.450000,-0.000000 --0.374500,0.515625,0.668750 --0.668750,0.515625,0.374500 --0.668750,0.515625,-0.000000 --0.402500,0.515625,0.718750 --0.718750,0.515625,0.402500 --0.718750,0.515625,-0.000000 --0.420000,0.450000,0.750000 --0.750000,0.450000,0.420000 --0.750000,0.450000,-0.000000 --0.700000,0.450000,-0.392000 --0.392000,0.450000,-0.700000 -0.000000,0.450000,-0.700000 --0.668750,0.515625,-0.374500 --0.374500,0.515625,-0.668750 -0.000000,0.515625,-0.668750 --0.718750,0.515625,-0.402500 --0.402500,0.515625,-0.718750 -0.000000,0.515625,-0.718750 --0.750000,0.450000,-0.420000 --0.420000,0.450000,-0.750000 -0.000000,0.450000,-0.750000 -0.392000,0.450000,-0.700000 -0.700000,0.450000,-0.392000 -0.374500,0.515625,-0.668750 -0.668750,0.515625,-0.374500 -0.402500,0.515625,-0.718750 -0.718750,0.515625,-0.402500 -0.420000,0.450000,-0.750000 -0.750000,0.450000,-0.420000 -0.875000,0.187500,-0.000000 -0.875000,0.187500,0.490000 -0.490000,0.187500,0.875000 -0.000000,0.187500,0.875000 -1.000000,-0.075000,-0.000000 -1.000000,-0.075000,0.560000 -0.560000,-0.075000,1.000000 -0.000000,-0.075000,1.000000 -1.000000,-0.300000,-0.000000 -1.000000,-0.300000,0.560000 -0.560000,-0.300000,1.000000 -0.000000,-0.300000,1.000000 --0.490000,0.187500,0.875000 --0.875000,0.187500,0.490000 --0.875000,0.187500,-0.000000 --0.560000,-0.075000,1.000000 --1.000000,-0.075000,0.560000 --1.000000,-0.075000,-0.000000 --0.560000,-0.300000,1.000000 --1.000000,-0.300000,0.560000 --1.000000,-0.300000,-0.000000 --0.875000,0.187500,-0.490000 --0.490000,0.187500,-0.875000 -0.000000,0.187500,-0.875000 --1.000000,-0.075000,-0.560000 --0.560000,-0.075000,-1.000000 -0.000000,-0.075000,-1.000000 --1.000000,-0.300000,-0.560000 --0.560000,-0.300000,-1.000000 -0.000000,-0.300000,-1.000000 -0.490000,0.187500,-0.875000 -0.875000,0.187500,-0.490000 -0.560000,-0.075000,-1.000000 -1.000000,-0.075000,-0.560000 -0.560000,-0.300000,-1.000000 -1.000000,-0.300000,-0.560000 -1.000000,-0.525000,-0.000000 -1.000000,-0.525000,0.560000 -0.560000,-0.525000,1.000000 -0.000000,-0.525000,1.000000 -0.750000,-0.637500,-0.000000 -0.750000,-0.637500,0.420000 -0.420000,-0.637500,0.750000 -0.000000,-0.637500,0.750000 -0.750000,-0.675000,-0.000000 -0.750000,-0.675000,0.420000 -0.420000,-0.675000,0.750000 -0.000000,-0.675000,0.750000 --0.560000,-0.525000,1.000000 --1.000000,-0.525000,0.560000 --1.000000,-0.525000,-0.000000 --0.420000,-0.637500,0.750000 --0.750000,-0.637500,0.420000 --0.750000,-0.637500,-0.000000 --0.420000,-0.675000,0.750000 --0.750000,-0.675000,0.420000 --0.750000,-0.675000,-0.000000 --1.000000,-0.525000,-0.560000 --0.560000,-0.525000,-1.000000 -0.000000,-0.525000,-1.000000 --0.750000,-0.637500,-0.420000 --0.420000,-0.637500,-0.750000 -0.000000,-0.637500,-0.750000 --0.750000,-0.675000,-0.420000 --0.420000,-0.675000,-0.750000 -0.000000,-0.675000,-0.750000 -0.560000,-0.525000,-1.000000 -1.000000,-0.525000,-0.560000 -0.420000,-0.637500,-0.750000 -0.750000,-0.637500,-0.420000 -0.420000,-0.675000,-0.750000 -0.750000,-0.675000,-0.420000 --0.800000,0.262500,-0.000000 --0.800000,0.262500,0.150000 --0.750000,0.375000,0.150000 --0.750000,0.375000,-0.000000 --1.150000,0.262500,-0.000000 --1.150000,0.262500,0.150000 --1.250000,0.375000,0.150000 --1.250000,0.375000,-0.000000 --1.350000,0.262500,-0.000000 --1.350000,0.262500,0.150000 --1.500000,0.375000,0.150000 --1.500000,0.375000,-0.000000 --1.350000,0.150000,-0.000000 --1.350000,0.150000,0.150000 --1.500000,0.150000,0.150000 --1.500000,0.150000,-0.000000 --0.750000,0.375000,-0.150000 --0.800000,0.262500,-0.150000 --1.250000,0.375000,-0.150000 --1.150000,0.262500,-0.150000 --1.500000,0.375000,-0.150000 --1.350000,0.262500,-0.150000 --1.500000,0.150000,-0.150000 --1.350000,0.150000,-0.150000 --1.350000,0.037500,-0.000000 --1.350000,0.037500,0.150000 --1.500000,-0.075000,0.150000 --1.500000,-0.075000,-0.000000 --1.250000,-0.187500,-0.000000 --1.250000,-0.187500,0.150000 --1.325000,-0.281250,0.150000 --1.325000,-0.281250,-0.000000 --1.000000,-0.300000,0.150000 --0.950000,-0.450000,0.150000 --0.950000,-0.450000,-0.000000 --1.500000,-0.075000,-0.150000 --1.350000,0.037500,-0.150000 --1.325000,-0.281250,-0.150000 --1.250000,-0.187500,-0.150000 --0.950000,-0.450000,-0.150000 --1.000000,-0.300000,-0.150000 -0.850000,-0.037500,-0.000000 -0.850000,-0.037500,0.330000 -0.850000,-0.450000,0.330000 -0.850000,-0.450000,-0.000000 -1.300000,-0.037500,-0.000000 -1.300000,-0.037500,0.330000 -1.550000,-0.337500,0.330000 -1.550000,-0.337500,-0.000000 -1.150000,0.300000,-0.000000 -1.150000,0.300000,0.125000 -1.200000,0.262500,0.125000 -1.200000,0.262500,-0.000000 -1.350000,0.450000,-0.000000 -1.350000,0.450000,0.125000 -1.650000,0.450000,0.125000 -1.650000,0.450000,-0.000000 -0.850000,-0.450000,-0.330000 -0.850000,-0.037500,-0.330000 -1.550000,-0.337500,-0.330000 -1.300000,-0.037500,-0.330000 -1.200000,0.262500,-0.125000 -1.150000,0.300000,-0.125000 -1.650000,0.450000,-0.125000 -1.350000,0.450000,-0.125000 -1.400000,0.487500,-0.000000 -1.400000,0.487500,0.125000 -1.762500,0.496875,0.125000 -1.762500,0.496875,-0.000000 -1.450000,0.487500,-0.000000 -1.450000,0.487500,0.075000 -1.725000,0.506250,0.075000 -1.725000,0.506250,-0.000000 -1.400000,0.450000,-0.000000 -1.400000,0.450000,0.075000 -1.600000,0.450000,0.075000 -1.600000,0.450000,-0.000000 -1.762500,0.496875,-0.125000 -1.400000,0.487500,-0.125000 -1.725000,0.506250,-0.075000 -1.450000,0.487500,-0.075000 -1.600000,0.450000,-0.075000 -1.400000,0.450000,-0.075000 -0.000000,0.825000,-0.000000 -0.000000,0.825000,0.001000 -0.001000,0.825000,-0.000000 -0.400000,0.825000,-0.000000 -0.400000,0.825000,0.225000 -0.225000,0.825000,0.400000 -0.000000,0.825000,0.400000 -0.000000,0.675000,-0.000000 -0.100000,0.600000,-0.000000 -0.100000,0.600000,0.056000 -0.056000,0.600000,0.100000 -0.000000,0.600000,0.100000 --0.001000,0.825000,-0.000000 --0.225000,0.825000,0.400000 --0.400000,0.825000,0.225000 --0.400000,0.825000,-0.000000 --0.056000,0.600000,0.100000 --0.100000,0.600000,0.056000 --0.100000,0.600000,-0.000000 -0.000000,0.825000,-0.001000 --0.400000,0.825000,-0.225000 --0.225000,0.825000,-0.400000 -0.000000,0.825000,-0.400000 --0.100000,0.600000,-0.056000 --0.056000,0.600000,-0.100000 -0.000000,0.600000,-0.100000 -0.225000,0.825000,-0.400000 -0.400000,0.825000,-0.225000 -0.056000,0.600000,-0.100000 -0.100000,0.600000,-0.056000 -0.200000,0.525000,-0.000000 -0.200000,0.525000,0.112000 -0.112000,0.525000,0.200000 -0.000000,0.525000,0.200000 -0.650000,0.525000,-0.000000 -0.650000,0.525000,0.364000 -0.364000,0.525000,0.650000 -0.000000,0.525000,0.650000 -0.650000,0.450000,-0.000000 -0.650000,0.450000,0.364000 -0.364000,0.450000,0.650000 -0.000000,0.450000,0.650000 --0.112000,0.525000,0.200000 --0.200000,0.525000,0.112000 --0.200000,0.525000,-0.000000 --0.364000,0.525000,0.650000 --0.650000,0.525000,0.364000 --0.650000,0.525000,-0.000000 --0.364000,0.450000,0.650000 --0.650000,0.450000,0.364000 --0.650000,0.450000,-0.000000 --0.200000,0.525000,-0.112000 --0.112000,0.525000,-0.200000 -0.000000,0.525000,-0.200000 --0.650000,0.525000,-0.364000 --0.364000,0.525000,-0.650000 -0.000000,0.525000,-0.650000 --0.650000,0.450000,-0.364000 --0.364000,0.450000,-0.650000 -0.000000,0.450000,-0.650000 -0.112000,0.525000,-0.200000 -0.200000,0.525000,-0.112000 -0.364000,0.525000,-0.650000 -0.650000,0.525000,-0.364000 -0.364000,0.450000,-0.650000 -0.650000,0.450000,-0.364000 -0.000000,-0.750000,-0.000000 -0.750000,-0.675000,-0.000000 -0.750000,-0.675000,-0.420000 -0.420000,-0.675000,-0.750000 -0.000000,-0.675000,-0.750000 -0.750000,-0.712500,-0.000000 -0.750000,-0.712500,-0.420000 -0.420000,-0.712500,-0.750000 -0.000000,-0.712500,-0.750000 -0.712500,-0.750000,-0.000000 -0.712500,-0.750000,-0.399000 -0.399000,-0.750000,-0.712500 -0.000000,-0.750000,-0.712500 --0.420000,-0.675000,-0.750000 --0.750000,-0.675000,-0.420000 --0.750000,-0.675000,-0.000000 --0.420000,-0.712500,-0.750000 --0.750000,-0.712500,-0.420000 --0.750000,-0.712500,-0.000000 --0.399000,-0.750000,-0.712500 --0.712500,-0.750000,-0.399000 --0.712500,-0.750000,-0.000000 --0.750000,-0.675000,0.420000 --0.420000,-0.675000,0.750000 -0.000000,-0.675000,0.750000 --0.750000,-0.712500,0.420000 --0.420000,-0.712500,0.750000 -0.000000,-0.712500,0.750000 --0.712500,-0.750000,0.399000 --0.399000,-0.750000,0.712500 -0.000000,-0.750000,0.712500 -0.420000,-0.675000,0.750000 -0.750000,-0.675000,0.420000 -0.420000,-0.712500,0.750000 -0.750000,-0.712500,0.420000 -0.399000,-0.750000,0.712500 -0.712500,-0.750000,0.399000 diff --git a/examples/quick3d/shaders/qml/shaders.qml b/examples/quick3d/shaders/qml/shaders.qml deleted file mode 100644 index ebddd3de..00000000 --- a/examples/quick3d/shaders/qml/shaders.qml +++ /dev/null @@ -1,143 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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$ -** -****************************************************************************/ - -import QtQuick 1.0 - -Rectangle { - property int current : 0 - width: 640 - height: 480 - - Rectangle { - id: tabContentArea - width: parent.width - - anchors.top: parent.top - anchors.bottom: tabButtonArea.top - Repeater { - model: tabsModel - } - } - - VisualItemModel { - id: tabsModel - Collapsing { } - //Images { } - //Interpolate { } - Bouncing { } - } - - Rectangle { - id: tabButtonArea - height: 64 - width: parent.width - - anchors.left: parent.left - anchors.right: parent.right - anchors.bottom: parent.bottom - - gradient: Gradient { - GradientStop {position: 0.0; color: "#CCCCCC"} - GradientStop {position: 1.0; color: "#000000"} - } - - Component { - id: tabButton - - Rectangle { - height: tabButtonArea.height - width: tabs.width / tabsModel.count - - color: "transparent" - - Image { - source: tabsModel.children[index].icon - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: parent.top - anchors.topMargin: 4 - } - - Text { - anchors.horizontalCenter: parent.horizontalCenter - anchors.bottom: parent.bottom - anchors.bottomMargin: 4 - color: "white" - text: tabsModel.children[index].name - } - - MouseArea { - anchors.fill: parent - onClicked: { - tabClicked(index); - } - } - } - } - - Row { - id: tabs - anchors.fill: parent - Repeater { - model: tabsModel.count - delegate: tabButton - } - } - } - - function tabClicked(index) - { - tabs.children[current].color = "transparent"; - tabsModel.children[current].visible = false; - current = index; - tabs.children[current].color = "#30ffffff"; - tabsModel.children[current].visible = true; - } - - Component.onCompleted: - { - // hide all the tab views - for(var i = 0; i < tabsModel.children.length; i++) - { - tabsModel.children[i].visible = false; - } - // select the default tab index - tabClicked(current); - } -} diff --git a/examples/quick3d/shaders/qml/shaders.qmlproject b/examples/quick3d/shaders/qml/shaders.qmlproject deleted file mode 100644 index 2065b89e..00000000 --- a/examples/quick3d/shaders/qml/shaders.qmlproject +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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$ -** -****************************************************************************/ - -import QmlProject 1.0 - -Project { - /* Include .qml, .js, and image files from current directory and subdirectories */ - QmlFiles { - directory: "." - } - JavaScriptFiles { - directory: "." - } - ImageFiles { - directory: "." - } - /* List of plugin directories passed to QML runtime */ - // importPaths: [ "../exampleplugin" ] -} diff --git a/examples/quick3d/shaders/qtquick3d.ico b/examples/quick3d/shaders/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/shaders/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/shaders/qtquick3d.png b/examples/quick3d/shaders/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/shaders/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/shaders/shaders.desktop b/examples/quick3d/shaders/shaders.desktop deleted file mode 100644 index a9b22425..00000000 --- a/examples/quick3d/shaders/shaders.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Shaders -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/shaders -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_shaders diff --git a/examples/quick3d/shaders/shaders.pro b/examples/quick3d/shaders/shaders.pro deleted file mode 100644 index f3076572..00000000 --- a/examples/quick3d/shaders/shaders.pro +++ /dev/null @@ -1,25 +0,0 @@ -TEMPLATE = app -TARGET = shaders -CONFIG += qt warn_on - -INSTALL_DIRS = qml -CONFIG += qt3d_deploy_qml qt3dquick_deploy_pkg -include(../../../pkg.pri) -qtcAddDeployment() - -SOURCES += main.cpp - -symbian { - qmlDeployment2.sources = qml\images\* - qmlDeployment2.path = qml\images - DEPLOYMENT += qmlDeployment2 - qmlDeployment3.sources = qml\meshes\* - qmlDeployment3.path = qml\meshes - DEPLOYMENT += qmlDeployment3 -} - -OTHER_FILES += \ - shaders.rc \ - shaders.desktop - -RC_FILE = shaders.rc diff --git a/examples/quick3d/shaders/shaders.rc b/examples/quick3d/shaders/shaders.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/shaders/shaders.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/solarsystem_qml/main.cpp b/examples/quick3d/solarsystem_qml/main.cpp deleted file mode 100644 index 443ec11b..00000000 --- a/examples/quick3d/solarsystem_qml/main.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include <QtDeclarative/QDeclarativeEngine> - -#include "qdeclarativeview3d.h" - -#include "../qmlres.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QDeclarativeView3D view; - QString qml = q_get_qmldir(QLatin1String("qml/solarsystem_qml.qml")); - - view.setSource(QUrl::fromLocalFile(qml)); - - QObject::connect(view.engine(), SIGNAL(quit()), &app, SLOT(quit())); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/solarsystem_qml/qml/attribution.txt b/examples/quick3d/solarsystem_qml/qml/attribution.txt deleted file mode 100644 index 28fe61c3..00000000 --- a/examples/quick3d/solarsystem_qml/qml/attribution.txt +++ /dev/null @@ -1,4 +0,0 @@ -Image files based on textures courtesy of: -qzma.deviantart.com -sirius-sdz.deviantart.com - diff --git a/examples/quick3d/solarsystem_qml/qml/moon-texture.jpg b/examples/quick3d/solarsystem_qml/qml/moon-texture.jpg Binary files differdeleted file mode 100644 index b6955e38..00000000 --- a/examples/quick3d/solarsystem_qml/qml/moon-texture.jpg +++ /dev/null diff --git a/examples/quick3d/solarsystem_qml/qml/planet.jpg b/examples/quick3d/solarsystem_qml/qml/planet.jpg Binary files differdeleted file mode 100644 index aab7f7b1..00000000 --- a/examples/quick3d/solarsystem_qml/qml/planet.jpg +++ /dev/null diff --git a/examples/quick3d/solarsystem_qml/qml/solar.fsh b/examples/quick3d/solarsystem_qml/qml/solar.fsh deleted file mode 100644 index b85bd708..00000000 --- a/examples/quick3d/solarsystem_qml/qml/solar.fsh +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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$ -** -****************************************************************************/ - -uniform sampler2D qt_Texture0; -uniform sampler2D qt_Texture1; -varying mediump vec4 lightingColor; -varying highp vec4 texCoord0; -uniform mediump float glowFactor; - -void main(void) -{ - vec4 unlitColor0 = texture2D(qt_Texture0, texCoord0.st); - vec4 unlitColor1 = texture2D(qt_Texture1, texCoord0.st); - - // interpolate between the two textures - vec4 unlitColor = mix(unlitColor0, unlitColor1, glowFactor); - - // Apply lighting - vec4 litColor = lightingColor * unlitColor; - // Normally, we'd just paint this lit colour like so: -// gl_FragColor = litColor; - - // However, we want a cool glow effect, because the sun is generating - // it's own light. - - // Multiplying the color by itself will washing out the darker colours, - // leaving the brighter colours brighter by comparison - vec4 powerColor = unlitColor * unlitColor; - powerColor = powerColor * powerColor ; - - // Then combine the higher contrast color and the lit color - gl_FragColor= mix(litColor, powerColor, glowFactor); -} diff --git a/examples/quick3d/solarsystem_qml/qml/solar.jpg b/examples/quick3d/solarsystem_qml/qml/solar.jpg Binary files differdeleted file mode 100644 index 86f5921a..00000000 --- a/examples/quick3d/solarsystem_qml/qml/solar.jpg +++ /dev/null diff --git a/examples/quick3d/solarsystem_qml/qml/solar.vsh b/examples/quick3d/solarsystem_qml/qml/solar.vsh deleted file mode 100644 index 420bc701..00000000 --- a/examples/quick3d/solarsystem_qml/qml/solar.vsh +++ /dev/null @@ -1,175 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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$ -** -****************************************************************************/ - -attribute highp vec4 qt_Vertex; -attribute highp vec3 qt_Normal; -attribute highp vec4 qt_MultiTexCoord0; -uniform highp mat4 qt_ModelViewProjectionMatrix; -uniform highp mat4 qt_ModelViewMatrix; -uniform highp mat3 qt_NormalMatrix; -varying highp vec4 texCoord0; - -// varying values for per-pixel lighting -varying mediump vec4 lightingColor; -varying highp vec3 normal; -varying highp vec3 lightDirection; -varying highp vec3 halfVector; -varying highp vec3 vertexToLight; - -// Varying values for per-vertex lighting -varying mediump vec4 litCombinedColor; - -// These structs are copied from the QGLShaderProgramEffect documentation -struct qt_MaterialParameters { - mediump vec4 emission; - mediump vec4 ambient; - mediump vec4 diffuse; - mediump vec4 specular; - mediump float shininess; -}; -uniform qt_MaterialParameters qt_Material; - -struct qt_SingleLightParameters { - mediump vec4 position; - mediump vec3 spotDirection; - mediump float spotExponent; - mediump float spotCutoff; - mediump float spotCosCutoff; - mediump float constantAttenuation; - mediump float linearAttenuation; - mediump float quadraticAttenuation; -}; -uniform qt_SingleLightParameters qt_Light; - -// This is a pretty standard lighting function, adapted from QGLLitMaterial. -// The changes are mostly just renaming to improve readablity, but some -// unecessary features are removed too (e.g. support for two-sided materials) - -void qLightVertex(vec4 vertex, vec3 normal) -{ - // Start with the material's emissive color and the ambient scene color, - // which have been combined into the emission parameter. - vec4 color = qt_Material.emission; - vec4 scolor = qt_Material.specular; - - // Viewer is at infinity. - vec3 toEye = vec3(0, 0, 1); - - // Determine the angle between the normal and the light direction. - vec4 lightPosition = qt_Light.position; - vec3 lightDirection; - if (lightPosition.w == 0.0) - lightDirection = normalize(lightPosition.xyz); - else - lightDirection = normalize(lightPosition.xyz - vertex.xyz); - // Clean up negative values - float angle = max(dot(normal, lightDirection), 0.0); - - // Calculate the ambient and diffuse light components. - vec4 adcomponent = qt_Material.ambient + angle * qt_Material.diffuse; - - // Calculate the specular light components, in case they're needed for - // per-vertex lighting. - vec4 scomponent; - if (angle != 0.0) { - halfVector = normalize(lightDirection + toEye); - angle = max(dot(normal, halfVector), 0.0); - float srm = qt_Material.shininess; - vec4 scm = qt_Material.specular; - if (srm != 0.0) - scomponent = pow(angle, srm) * scm; - else - scomponent = scm; - } else { - scomponent = vec4(0, 0, 0, 0); - } - - // Apply the spotlight angle and exponent. - if (qt_Light.spotCutoff != 180.0) { - vertexToLight = vertex.xyz - lightPosition.xyz; - float spot = max(dot(normalize(vertexToLight), - qt_Light.spotDirection), 0.0); - if (spot < qt_Light.spotCosCutoff) { - adcomponent = vec4(0, 0, 0, 0); - scomponent = vec4(0, 0, 0, 0); - } else { - spot = pow(spot, qt_Light.spotExponent); - adcomponent *= spot; - scomponent *= spot; - } - } - - // Apply attenuation to the colors. - if (lightPosition.w != 0.0) { - float attenuation = qt_Light.constantAttenuation; - float k1 = qt_Light.linearAttenuation; - float k2 = qt_Light.quadraticAttenuation; - if (k1 != 0.0 || k2 != 0.0) { - float len = length(lightPosition.xyz - vertex.xyz); - attenuation += k1 * len + k2 * len * len; - } - color += adcomponent / attenuation; - scolor += scomponent / attenuation; - } else { - color += adcomponent; - scolor += scomponent; - } - - // Generate the final output colors to pass to the fragment shader. - float alpha = qt_Material.diffuse.a; - // This is the combined diffuse and ambient lighting color - lightingColor = vec4(clamp(color.rgb, 0.0, 1.0), alpha); - // Specular lighting and combined color is used for per vertex lighting if - // per-pixel is too expensive or not required. - vec4 specularLightingColor = vec4(clamp(scolor.rgb, 0.0, 1.0), 0.0); - litCombinedColor = clamp(lightingColor + vec4(specularLightingColor.xyz, 0.0), 0.0, 1.0); -} - - void main(void) - { - gl_Position = qt_ModelViewProjectionMatrix * qt_Vertex; - texCoord0 = qt_MultiTexCoord0; - - // Calculate the vertex and normal to use for lighting calculations. - highp vec4 vertex = qt_ModelViewMatrix * qt_Vertex; - normal = normalize(qt_NormalMatrix * qt_Normal); - qLightVertex(vertex,normal); -} - diff --git a/examples/quick3d/solarsystem_qml/qml/solar2.jpg b/examples/quick3d/solarsystem_qml/qml/solar2.jpg Binary files differdeleted file mode 100755 index 1aa0f02d..00000000 --- a/examples/quick3d/solarsystem_qml/qml/solar2.jpg +++ /dev/null diff --git a/examples/quick3d/solarsystem_qml/qml/solarsystem_qml.qml b/examples/quick3d/solarsystem_qml/qml/solarsystem_qml.qml deleted file mode 100644 index 1b98f89c..00000000 --- a/examples/quick3d/solarsystem_qml/qml/solarsystem_qml.qml +++ /dev/null @@ -1,130 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ -//! [1] -import QtQuick 1.0 -import Qt3D 1.0 -import Qt3D.Shapes 1.0 - -Viewport { - width: 800; height: 600 - showSceneGraph: true - - //! [0] - SphereMesh { - id: planetoid - levelOfDetail: 6 - axis: Qt.YAxis - } - //! [0] - - //! [1] - Item3D { - id: sun - Item3D { - transform: [ Scale3D { scale: "0.3, 0.3, 0.3" } ] - mesh: planetoid - } - effect: Effect { texture: "solar.jpg" } - transform: [ - Rotation3D { id: spin; axis: "0,1,0"; angle: 0 } - ] - NumberAnimation { target: spin; property: "angle"; to: 360; duration: 10000; running: true; loops: Animation.Infinite } - } - //! [1] - Item3D { - id: earth_system - transform: [ - Translation3D { id: earth_orbit_distance; translate: "2,0,0" }, - Rotation3D { id: earth_orbit; axis: "0,1,0"; angle: 0 }, - Rotation3D { id: orbit_tilt; axis: "0,0,1"; angle: 20 } - ] - NumberAnimation { target: earth_orbit; property: "angle"; to: 360; duration: 20000; - running: true; loops: Animation.Infinite } - Item3D { - Item3D { - id: earth - Item3D { - transform: [ Scale3D { scale: "0.15, 0.15, 0.15" } ] - mesh: planetoid - } - transform: [ - Rotation3D { id: earth_spin; axis: "0,1,0"; angle: 0 } - ] - NumberAnimation { target: earth_spin; property: "angle"; to: 360; duration: 2000; - running: true; loops: Animation.Infinite } - effect: Effect { texture: "planet.jpg" } - } - Item3D { - id: moon - Item3D { - transform: [ Scale3D { scale: "0.09, 0.09, 0.09" } ] - mesh: planetoid - } - transform: [ - Translation3D { id: moon_orbit_distance; translate: "0.5,0,0" }, - Rotation3D { id: moon_orbit; angle: 0; axis: "0,1,0" }, - Rotation3D { id: moon_orbit_tilt; angle: 90; axis: "1,0,0" } - ] - NumberAnimation { target: moon_orbit; property: "angle"; to: 360; duration: 8000; - running: true; loops: Animation.Infinite } - effect: Effect { texture: "moon-texture.jpg" } - } - } - } - Rectangle { - id: quit - width: parent.width - height: parent.height / 8 - color: "blue" - opacity: 0.5 - Text { - id: quit_button - anchors.centerIn: parent - text: qsTr("Quit") - font.bold: true - font.pointSize: 24 - color: "white" - } - MouseArea { - onClicked: Qt.quit() - anchors.fill: parent - } - } -} diff --git a/examples/quick3d/solarsystem_qml/qtquick3d.ico b/examples/quick3d/solarsystem_qml/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/solarsystem_qml/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/solarsystem_qml/qtquick3d.png b/examples/quick3d/solarsystem_qml/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/solarsystem_qml/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/solarsystem_qml/solarsystem_qml.desktop b/examples/quick3d/solarsystem_qml/solarsystem_qml.desktop deleted file mode 100644 index 8fecffe2..00000000 --- a/examples/quick3d/solarsystem_qml/solarsystem_qml.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Solar System -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/solarsystem_qml -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_solarsystem_qml diff --git a/examples/quick3d/solarsystem_qml/solarsystem_qml.pro b/examples/quick3d/solarsystem_qml/solarsystem_qml.pro deleted file mode 100644 index 0baedc0c..00000000 --- a/examples/quick3d/solarsystem_qml/solarsystem_qml.pro +++ /dev/null @@ -1,17 +0,0 @@ -TEMPLATE = app -TARGET = solarsystem_qml -CONFIG += qt warn_on - -INSTALL_DIRS = qml -CONFIG += qt3d_deploy_qml qt3dquick_deploy_pkg -include(../../../pkg.pri) -qtcAddDeployment() - -SOURCES += main.cpp - -OTHER_FILES += \ - solarsystem_qml.rc \ - solarsystem_qml.desktop - -RC_FILE = solarsystem_qml.rc - diff --git a/examples/quick3d/solarsystem_qml/solarsystem_qml.rc b/examples/quick3d/solarsystem_qml/solarsystem_qml.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/solarsystem_qml/solarsystem_qml.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" diff --git a/examples/quick3d/sphere/main.cpp b/examples/quick3d/sphere/main.cpp deleted file mode 100644 index 311aefbf..00000000 --- a/examples/quick3d/sphere/main.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtQuick3D module 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 <QtGui/QApplication> -#include "qdeclarativeview3d.h" - -#include "../qmlres.h" - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - - QDeclarativeView3D view; - QString qml = q_get_qmldir(QLatin1String("qml/sphere.qml")); - view.setSource(QUrl::fromLocalFile(qml)); - -#ifdef Q_OS_SYMBIAN - view.setAttribute(Qt::WA_LockLandscapeOrientation, true); - view.setResizeMode(QDeclarativeView::SizeRootObjectToView); - view.showFullScreen(); -#else - 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/quick3d/sphere/qml/sphere.qml b/examples/quick3d/sphere/qml/sphere.qml deleted file mode 100644 index 21056688..00000000 --- a/examples/quick3d/sphere/qml/sphere.qml +++ /dev/null @@ -1,171 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** 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$ -** -****************************************************************************/ - -import QtQuick 1.0 -import Qt3D 1.0 -import Qt3D.Shapes 1.0 - -Viewport { - width: 800; height: 480 - - Item3D { - effect: Effect { color: "#aaca00" } - - Sphere { - radius: 0.5 - x: -2.5 - y: 0.6 - levelOfDetail: 1 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, -1, 1) - } - } - - Sphere { - radius: 0.5 - x: -1.25 - y: 0.6 - levelOfDetail: 2 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, -1, 1) - } - } - - Sphere { - radius: 0.5 - x: 0 - y: 0.6 - levelOfDetail: 3 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, -1, 1) - } - } - - Sphere { - radius: 0.5 - x: 1.25 - y: 0.6 - levelOfDetail: 4 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, -1, 1) - } - } - - Sphere { - radius: 0.5 - x: 2.5 - y: 0.6 - levelOfDetail: 5 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, -1, 1) - } - } - - Sphere { - radius: 0.5 - x: -2.5 - y: -0.6 - levelOfDetail: 6 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, -1, 1) - } - } - - Sphere { - radius: 0.5 - x: -1.25 - y: -0.6 - levelOfDetail: 7 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, -1, 1) - } - } - - Sphere { - radius: 0.5 - x: 0 - y: -0.6 - levelOfDetail: 8 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, -1, 1) - } - } - - Sphere { - radius: 0.5 - x: 1.25 - y: -0.6 - levelOfDetail: 9 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, -1, 1) - } - } - - Sphere { - radius: 0.5 - x: 2.5 - y: -0.6 - levelOfDetail: 10 - - transform: Rotation3D { - angle: 45 - axis: Qt.vector3d(1, -1, 1) - } - } - } -} diff --git a/examples/quick3d/sphere/qtquick3d.ico b/examples/quick3d/sphere/qtquick3d.ico Binary files differdeleted file mode 100644 index c695ac72..00000000 --- a/examples/quick3d/sphere/qtquick3d.ico +++ /dev/null diff --git a/examples/quick3d/sphere/qtquick3d.png b/examples/quick3d/sphere/qtquick3d.png Binary files differdeleted file mode 100644 index 8351083e..00000000 --- a/examples/quick3d/sphere/qtquick3d.png +++ /dev/null diff --git a/examples/quick3d/sphere/sphere.desktop b/examples/quick3d/sphere/sphere.desktop deleted file mode 100644 index 030ee54e..00000000 --- a/examples/quick3d/sphere/sphere.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Sphere -Icon=/usr/share/icons/hicolor/80x80/apps/qtquick3d.png -Exec=/usr/bin/invoker --type=e -s /usr/bin/sphere -fullscreen -OnlyShowIn=X-MeeGo; -X-MeeGo-Logical-Id=qtn_comm_appname_sphere diff --git a/examples/quick3d/sphere/sphere.pro b/examples/quick3d/sphere/sphere.pro deleted file mode 100644 index 74604c30..00000000 --- a/examples/quick3d/sphere/sphere.pro +++ /dev/null @@ -1,16 +0,0 @@ -TEMPLATE = app -TARGET = sphere -CONFIG += qt warn_on - -INSTALL_DIRS = qml -CONFIG += qt3d_deploy_qml qt3dquick_deploy_pkg -include(../../../pkg.pri) -qtcAddDeployment() - -SOURCES += main.cpp - -OTHER_FILES += \ - sphere.rc \ - sphere.desktop - -RC_FILE = sphere.rc diff --git a/examples/quick3d/sphere/sphere.rc b/examples/quick3d/sphere/sphere.rc deleted file mode 100644 index 1b6228c9..00000000 --- a/examples/quick3d/sphere/sphere.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "qtquick3d.ico" |