CS
VB, VB.NET
ASP.NET,ASP
C, C++
ColdFusion
PHP
Javascript
Delphi
Flash
Java
Graphisme
Irc
Assembleur
C#
Mobilité
SQL
Foxpro
Python
Regex
Flex
Windev
Ce site au démarrage
Derniers codes
Outils
Divers
Connexion
Visual Basic
ASP
C++
ColdFusion
PHP
Javascript
Delphi
Flash
Java
Graphisme
Irc
Assembleur
C#
Mobilité
SQL
Foxpro
Python
Regex
Flex
Statistiques ;-)
Crédits
>>
Sites CodeS-SourceS
Visual basic
C++
C#
Java
PHP
ASP
ASP.NET
ColdFusion
Delphi
Javascript
Flash
Flex / AIR
Graphisme
Assembleur
IRC
Mobilité
SQL
FoxPro
Python
CodeS-SourceS ToolBox
Convertisseur C#<->VB
Colorisation de Code
Table ASCII
Trouver un fichier de code source :
Version Française -
English Version
Accueil
>
C++
>
BASE/MOTEUR 3D EN QT/OPENGL (COMPLET ET FONCTIONNEL!) POUR UN TRÈS PROCHAIN JEU 3D
>
Envi3D/Envi3D.user
BASE/MOTEUR 3D EN QT/OPENGL (COMPLET ET FONCTIONNEL!) POUR UN TRÈS PROCHAIN JEU 3D
Envi3D/Envi3D.user
Informations sur ce code source
Code Source
BASE/MOTEUR 3D EN QT/OPENGL (COMPLET ET FONCTIONNEL!) POUR UN TRÈS PROCHAIN JEU 3D
Auteur
envi33
Fichier
Envi3D/Envi3D.user en
C / C++ / C++.NET
Publié le
25/07/2011
Mis à jour le
25/07/2011
Bonjour à tous, Voici un moteur 3D gérant les textures tous formats (supporté par QT) et contient un loader de fichier .obj que j'ai écrit personnellement. Il permet d'illustrer l'utilisation de deux QGLWidget en même temps et comment se servir de
Fichier :
Envi3D/Envi3D.user
Nombre de lignes :
185 lignes
Afficher ce fichier en plein écran
<
!DOCTYPE QtCreatorProject
>
<
qtcreator
>
<
data
>
<
variable
>
ProjectExplorer.Project.ActiveTarget
</
variable
>
<
value
type
=
"int"
>
0
</
value
>
</
data
>
<
data
>
<
variable
>
ProjectExplorer.Project.EditorSettings
</
variable
>
<
valuemap
type
=
"QVariantMap"
>
<
value
key
=
"EditorConfiguration.AutoIndent"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"EditorConfiguration.AutoSpacesForTabs"
type
=
"bool"
>
false
</
value
>
<
value
key
=
"EditorConfiguration.Codec"
type
=
"QByteArray"
>
System
</
value
>
<
value
key
=
"EditorConfiguration.DoubleIndentBlocks"
type
=
"bool"
>
false
</
value
>
<
value
key
=
"EditorConfiguration.IndentBraces"
type
=
"bool"
>
false
</
value
>
<
value
key
=
"EditorConfiguration.IndentSize"
type
=
"int"
>
4
</
value
>
<
value
key
=
"EditorConfiguration.MouseNavigation"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"EditorConfiguration.PaddingMode"
type
=
"int"
>
1
</
value
>
<
value
key
=
"EditorConfiguration.ScrollWheelZooming"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"EditorConfiguration.SmartBackspace"
type
=
"bool"
>
false
</
value
>
<
value
key
=
"EditorConfiguration.SpacesForTabs"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"EditorConfiguration.TabKeyBehavior"
type
=
"int"
>
0
</
value
>
<
value
key
=
"EditorConfiguration.TabSize"
type
=
"int"
>
8
</
value
>
<
value
key
=
"EditorConfiguration.UseGlobal"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"EditorConfiguration.Utf8BomBehavior"
type
=
"int"
>
1
</
value
>
<
value
key
=
"EditorConfiguration.addFinalNewLine"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"EditorConfiguration.cleanIndentation"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"EditorConfiguration.cleanWhitespace"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"EditorConfiguration.inEntireDocument"
type
=
"bool"
>
false
</
value
>
</
valuemap
>
</
data
>
<
data
>
<
variable
>
ProjectExplorer.Project.Target.0
</
variable
>
<
valuemap
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Desktop
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
Desktop
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
Qt4ProjectManager.Target.DesktopTarget
</
value
>
<
value
key
=
"ProjectExplorer.Target.ActiveBuildConfiguration"
type
=
"int"
>
0
</
value
>
<
value
key
=
"ProjectExplorer.Target.ActiveDeployConfiguration"
type
=
"int"
>
0
</
value
>
<
value
key
=
"ProjectExplorer.Target.ActiveRunConfiguration"
type
=
"int"
>
0
</
value
>
<
valuemap
key
=
"ProjectExplorer.Target.BuildConfiguration.0"
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.BuildCOnfiguration.ToolChain"
type
=
"QString"
>
ProjectExplorer.ToolChain.Mingw:C:/QtSDK/mingw/bin/g++.exe.x86-windows-msys-pe-32bit.C:/QtSDK/pythongdb/python_2.7based/gdb-i686-pc-mingw32.exe
</
value
>
<
valuemap
key
=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
type
=
"QVariantMap"
>
<
valuemap
key
=
"ProjectExplorer.BuildStepList.Step.0"
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
qmake
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
QtProjectManager.QMakeBuildStep
</
value
>
<
value
key
=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary"
type
=
"bool"
>
false
</
value
>
<
value
key
=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
type
=
"QString"
>
</
value
>
<
value
key
=
"QtProjectManager.QMakeBuildStep.QMakeForced"
type
=
"bool"
>
false
</
value
>
</
valuemap
>
<
valuemap
key
=
"ProjectExplorer.BuildStepList.Step.1"
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Make
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
Qt4ProjectManager.MakeStep
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.Clean"
type
=
"bool"
>
false
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.MakeArguments"
type
=
"QString"
>
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.MakeCommand"
type
=
"QString"
>
</
value
>
</
valuemap
>
<
value
key
=
"ProjectExplorer.BuildStepList.StepsCount"
type
=
"int"
>
2
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Compiler
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
ProjectExplorer.BuildSteps.Build
</
value
>
</
valuemap
>
<
valuemap
key
=
"ProjectExplorer.BuildConfiguration.BuildStepList.1"
type
=
"QVariantMap"
>
<
valuemap
key
=
"ProjectExplorer.BuildStepList.Step.0"
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Make
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
Qt4ProjectManager.MakeStep
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.Clean"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.MakeArguments"
type
=
"QString"
>
clean
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.MakeCommand"
type
=
"QString"
>
</
value
>
</
valuemap
>
<
value
key
=
"ProjectExplorer.BuildStepList.StepsCount"
type
=
"int"
>
1
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Nettoyer
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
ProjectExplorer.BuildSteps.Clean
</
value
>
</
valuemap
>
<
value
key
=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
type
=
"int"
>
2
</
value
>
<
value
key
=
"ProjectExplorer.BuildConfiguration.ClearSystemEnvironment"
type
=
"bool"
>
false
</
value
>
<
valuelist
key
=
"ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"
type
=
"QVariantList"
/>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Qt 4.7.3 for Desktop - MinGW 4.4 (Qt SDK) Debug
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
Qt4ProjectManager.Qt4BuildConfiguration
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration"
type
=
"int"
>
2
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory"
type
=
"QString"
>
C:/Users/Sebastien/Desktop/Snake3D
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId"
type
=
"int"
>
3
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4BuildConfiguration.ToolChain"
type
=
"QString"
>
ProjectExplorer.ToolChain.Mingw:C:/QtSDK/mingw/bin/g++.exe.x86-windows-msys-pe-32bit.C:/QtSDK/pythongdb/python_2.7based/gdb-i686-pc-mingw32.exe
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
type
=
"bool"
>
false
</
value
>
</
valuemap
>
<
valuemap
key
=
"ProjectExplorer.Target.BuildConfiguration.1"
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.BuildCOnfiguration.ToolChain"
type
=
"QString"
>
ProjectExplorer.ToolChain.Mingw:C:/QtSDK/mingw/bin/g++.exe.x86-windows-msys-pe-32bit.C:/QtSDK/pythongdb/python_2.7based/gdb-i686-pc-mingw32.exe
</
value
>
<
valuemap
key
=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
type
=
"QVariantMap"
>
<
valuemap
key
=
"ProjectExplorer.BuildStepList.Step.0"
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
qmake
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
QtProjectManager.QMakeBuildStep
</
value
>
<
value
key
=
"QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary"
type
=
"bool"
>
false
</
value
>
<
value
key
=
"QtProjectManager.QMakeBuildStep.QMakeArguments"
type
=
"QString"
>
</
value
>
<
value
key
=
"QtProjectManager.QMakeBuildStep.QMakeForced"
type
=
"bool"
>
false
</
value
>
</
valuemap
>
<
valuemap
key
=
"ProjectExplorer.BuildStepList.Step.1"
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Make
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
Qt4ProjectManager.MakeStep
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.Clean"
type
=
"bool"
>
false
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.MakeArguments"
type
=
"QString"
>
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.MakeCommand"
type
=
"QString"
>
</
value
>
</
valuemap
>
<
value
key
=
"ProjectExplorer.BuildStepList.StepsCount"
type
=
"int"
>
2
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Compiler
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
ProjectExplorer.BuildSteps.Build
</
value
>
</
valuemap
>
<
valuemap
key
=
"ProjectExplorer.BuildConfiguration.BuildStepList.1"
type
=
"QVariantMap"
>
<
valuemap
key
=
"ProjectExplorer.BuildStepList.Step.0"
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Make
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
Qt4ProjectManager.MakeStep
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.Clean"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.MakeArguments"
type
=
"QString"
>
clean
</
value
>
<
value
key
=
"Qt4ProjectManager.MakeStep.MakeCommand"
type
=
"QString"
>
</
value
>
</
valuemap
>
<
value
key
=
"ProjectExplorer.BuildStepList.StepsCount"
type
=
"int"
>
1
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Nettoyer
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
ProjectExplorer.BuildSteps.Clean
</
value
>
</
valuemap
>
<
value
key
=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
type
=
"int"
>
2
</
value
>
<
value
key
=
"ProjectExplorer.BuildConfiguration.ClearSystemEnvironment"
type
=
"bool"
>
false
</
value
>
<
valuelist
key
=
"ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"
type
=
"QVariantList"
/>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Qt 4.7.3 for Desktop - MinGW 4.4 (Qt SDK) Release
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
Qt4ProjectManager.Qt4BuildConfiguration
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration"
type
=
"int"
>
0
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory"
type
=
"QString"
>
C:/Users/Sebastien/Desktop/Snake3D
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId"
type
=
"int"
>
3
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4BuildConfiguration.ToolChain"
type
=
"QString"
>
ProjectExplorer.ToolChain.Mingw:C:/QtSDK/mingw/bin/g++.exe.x86-windows-msys-pe-32bit.C:/QtSDK/pythongdb/python_2.7based/gdb-i686-pc-mingw32.exe
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild"
type
=
"bool"
>
false
</
value
>
</
valuemap
>
<
value
key
=
"ProjectExplorer.Target.BuildConfigurationCount"
type
=
"int"
>
2
</
value
>
<
valuemap
key
=
"ProjectExplorer.Target.DeployConfiguration.0"
type
=
"QVariantMap"
>
<
valuemap
key
=
"ProjectExplorer.BuildConfiguration.BuildStepList.0"
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.BuildStepList.StepsCount"
type
=
"int"
>
0
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Déploiement
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
ProjectExplorer.BuildSteps.Deploy
</
value
>
</
valuemap
>
<
value
key
=
"ProjectExplorer.BuildConfiguration.BuildStepListCount"
type
=
"int"
>
1
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Pas de déploiement
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
ProjectExplorer.DefaultDeployConfiguration
</
value
>
</
valuemap
>
<
value
key
=
"ProjectExplorer.Target.DeployConfigurationCount"
type
=
"int"
>
1
</
value
>
<
valuemap
key
=
"ProjectExplorer.Target.RunConfiguration.0"
type
=
"QVariantMap"
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DefaultDisplayName"
type
=
"QString"
>
Snake3D_qt_creator
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.DisplayName"
type
=
"QString"
>
</
value
>
<
value
key
=
"ProjectExplorer.ProjectConfiguration.Id"
type
=
"QString"
>
Qt4ProjectManager.Qt4RunConfiguration
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase"
type
=
"int"
>
2
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"
type
=
"QString"
>
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4RunConfiguration.ProFile"
type
=
"QString"
>
Snake3D_qt_creator.pro
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix"
type
=
"bool"
>
false
</
value
>
<
value
key
=
"Qt4ProjectManager.Qt4RunConfiguration.UseTerminal"
type
=
"bool"
>
false
</
value
>
<
valuelist
key
=
"Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"
type
=
"QVariantList"
/>
<
value
key
=
"Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"
type
=
"QString"
>
</
value
>
<
value
key
=
"RunConfiguration.QmlDebugServerPort"
type
=
"uint"
>
3768
</
value
>
<
value
key
=
"RunConfiguration.UseCppDebugger"
type
=
"bool"
>
true
</
value
>
<
value
key
=
"RunConfiguration.UseQmlDebugger"
type
=
"bool"
>
false
</
value
>
</
valuemap
>
<
value
key
=
"ProjectExplorer.Target.RunConfigurationCount"
type
=
"int"
>
1
</
value
>
</
valuemap
>
</
data
>
<
data
>
<
variable
>
ProjectExplorer.Project.TargetCount
</
variable
>
<
value
type
=
"int"
>
1
</
value
>
</
data
>
<
data
>
<
variable
>
ProjectExplorer.Project.Updater.EnvironmentId
</
variable
>
<
value
type
=
"QString"
>
{09a8e26d-8852-4171-b395-da0fac1fb00b}
</
value
>
</
data
>
<
data
>
<
variable
>
ProjectExplorer.Project.Updater.FileVersion
</
variable
>
<
value
type
=
"int"
>
9
</
value
>
</
data
>
</
qtcreator
>