Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt3dstudio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public-demos
qt3dstudio
Commits
c8208c3e
Commit
c8208c3e
authored
Apr 26, 2018
by
Tomi Korpipää
Browse files
Options
Downloads
Patches
Plain Diff
Updated lighting for the car model in kria cluster
parent
c480b638
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
kria-cluster-3d-demo/main.cpp
+1
-0
1 addition, 0 deletions
kria-cluster-3d-demo/main.cpp
kria-cluster-3d-demo/presentation/contentPresentation.uip
+5
-5
5 additions, 5 deletions
kria-cluster-3d-demo/presentation/contentPresentation.uip
with
6 additions
and
5 deletions
kria-cluster-3d-demo/main.cpp
+
1
−
0
View file @
c8208c3e
...
@@ -66,6 +66,7 @@ int main(int argc, char *argv[])
...
@@ -66,6 +66,7 @@ int main(int argc, char *argv[])
QSurfaceFormat
::
setDefaultFormat
(
openGLFormat
);
QSurfaceFormat
::
setDefaultFormat
(
openGLFormat
);
#endif
#endif
QCoreApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QGuiApplication
app
(
argc
,
argv
);
QGuiApplication
app
(
argc
,
argv
);
QQuickView
viewer
;
QQuickView
viewer
;
...
...
This diff is collapsed.
Click to expand it.
kria-cluster-3d-demo/presentation/contentPresentation.uip
+
5
−
5
View file @
c8208c3e
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<State
name=
"Master Slide"
component=
"#Scene"
>
<State
name=
"Master Slide"
component=
"#Scene"
>
<Add
ref=
"#Layer"
multisampleaa=
"4x"
/>
<Add
ref=
"#Layer"
multisampleaa=
"4x"
/>
<Add
ref=
"#Camera"
fov=
"13.2"
position=
"0 242 -600"
rotation=
"17 0 0"
/>
<Add
ref=
"#Camera"
fov=
"13.2"
position=
"0 242 -600"
rotation=
"17 0 0"
/>
<Add
ref=
"#Light"
rotation=
"39
0 0"
/>
<Add
ref=
"#Light"
brightness=
"100"
castshadow=
"False"
expfade=
"500"
lightambient=
"0 0 0"
lighttype=
"Point"
linearfade=
"0"
position=
"0 31.4202 97.0824"
rotation=
"0
0 0"
/>
<Add
ref=
"#Car"
name=
"Car"
importfile=
".\Car\Car.import"
position=
"0 -24.7187 194"
rotation=
"0 40 0"
sourcepath=
".\Car\Car.import"
/>
<Add
ref=
"#Car"
name=
"Car"
importfile=
".\Car\Car.import"
position=
"0 -24.7187 194"
rotation=
"0 40 0"
sourcepath=
".\Car\Car.import"
/>
<Add
ref=
"#Car_001"
importfile=
".\Car\Car.import"
>
<Add
ref=
"#Car_001"
importfile=
".\Car\Car.import"
>
<AnimationTrack
property=
"position.x"
type=
"EaseInOut"
>
0 0 100 100 2.971 -0.586441 100 100 8 0 100 100
</AnimationTrack>
<AnimationTrack
property=
"position.x"
type=
"EaseInOut"
>
0 0 100 100 2.971 -0.586441 100 100 8 0 100 100
</AnimationTrack>
...
@@ -66,17 +66,17 @@
...
@@ -66,17 +66,17 @@
<AnimationTrack
property=
"rotation.z"
type=
"EaseInOut"
>
0 0 0 0 8 0 0 0
</AnimationTrack>
<AnimationTrack
property=
"rotation.z"
type=
"EaseInOut"
>
0 0 0 0 8 0 0 0
</AnimationTrack>
</Add>
</Add>
<Add
ref=
"#Brakes"
importfile=
".\Car\Car.import"
/>
<Add
ref=
"#Brakes"
importfile=
".\Car\Car.import"
/>
<Add
ref=
"#SmallDetails"
importfile=
".\Car\Car.import"
/>
<Add
ref=
"#SmallDetails"
diffuse=
"0 0 0"
importfile=
".\Car\Car.import"
/>
<Add
ref=
"#Seats"
diffuse=
"1 1 1"
diffusemap=
"#Seats_diffusemap"
importfile=
".\Car\Car.import"
normalmap=
"#Seats_normalmap"
/>
<Add
ref=
"#Seats"
diffuse=
"1 1 1"
diffusemap=
"#Seats_diffusemap"
importfile=
".\Car\Car.import"
normalmap=
"#Seats_normalmap"
/>
<Add
ref=
"#Seats_diffusemap"
sourcepath=
".\Car\maps\Seats_diffuse.jpg"
/>
<Add
ref=
"#Seats_diffusemap"
sourcepath=
".\Car\maps\Seats_diffuse.jpg"
/>
<Add
ref=
"#Seats_normalmap"
sourcepath=
".\Car\maps\Seats_normal.jpg"
/>
<Add
ref=
"#Seats_normalmap"
sourcepath=
".\Car\maps\Seats_normal.jpg"
/>
<Add
ref=
"#Glass"
fresnelPower=
"10"
importfile=
".\Car\Car.import"
opacity=
"59.2593"
specularamount=
"3"
specularreflection=
"#Glass_specularreflection"
specularroughness=
"0.06094"
speculartint=
"0.388235 0.388235 0.388235"
/>
<Add
ref=
"#Glass"
diffuse=
"0.42417 0.530648 0.639994"
fresnelPower=
"10"
importfile=
".\Car\Car.import"
opacity=
"59.2593"
specularamount=
"3"
specularreflection=
"#Glass_specularreflection"
specularroughness=
"0.06094"
speculartint=
"0.388235 0.388235 0.388235"
/>
<Add
ref=
"#Glass_specularreflection"
mappingmode=
"Environmental Mapping"
sourcepath=
"Gauges/maps/environment.jpg"
/>
<Add
ref=
"#Glass_specularreflection"
mappingmode=
"Environmental Mapping"
sourcepath=
"Gauges/maps/environment.jpg"
/>
<Add
ref=
"#CarBottom"
diffuse=
"0.101961 0.101961 0.101961"
importfile=
".\Car\Car.import"
shaderlighting=
"None"
/>
<Add
ref=
"#CarBottom"
diffuse=
"0.101961 0.101961 0.101961"
importfile=
".\Car\Car.import"
shaderlighting=
"None"
/>
<Add
ref=
"#Interior"
diffuse=
"0.0901961 0.0901961 0.0901961"
importfile=
".\Car\Car.import"
/>
<Add
ref=
"#Interior"
diffuse=
"0.0901961 0.0901961 0.0901961"
importfile=
".\Car\Car.import"
/>
<Add
ref=
"#body"
importfile=
".\Car\Car.import"
/>
<Add
ref=
"#body"
importfile=
".\Car\Car.import"
/>
<Add
ref=
"#lambert2"
bumpamount=
"1"
controlledproperty=
"$displayColor diffuse"
diffuse=
"0.870588 0 0"
fresnelPower=
"5"
importfile=
".\Car\Car.import"
normalmap=
"#lambert2_normalmap"
opacity=
"100"
specularamount=
"
2
"
specularmodel=
"
Default
"
specularroughness=
"0.0
01
"
speculartint=
"
0.298039 0.298039 0.298039
"
/>
<Add
ref=
"#lambert2"
bumpamount=
"1"
controlledproperty=
"$displayColor diffuse"
diffuse=
"0.870588 0 0"
fresnelPower=
"5"
importfile=
".\Car\Car.import"
ior=
"0.3"
normalmap=
"#lambert2_normalmap"
opacity=
"100"
specularamount=
"
30
"
specularmodel=
"
KWard
"
specularroughness=
"0.0
5
"
speculartint=
"
1 1 1
"
/>
<Add
ref=
"#lambert2_normalmap"
sourcepath=
"
.\
Car
\
maps
\
outUV_normals.png"
/>
<Add
ref=
"#lambert2_normalmap"
sourcepath=
"Car
/
maps
/
outUV_normals.png"
/>
<Add
ref=
"#Wheel_Back_Left"
importfile=
".\Car\Car.import"
scale=
"90 38.141 38.141"
>
<Add
ref=
"#Wheel_Back_Left"
importfile=
".\Car\Car.import"
scale=
"90 38.141 38.141"
>
<AnimationTrack
property=
"rotation.x"
type=
"EaseInOut"
>
0 720 0 0 8 0 0 0
</AnimationTrack>
<AnimationTrack
property=
"rotation.x"
type=
"EaseInOut"
>
0 720 0 0 8 0 0 0
</AnimationTrack>
<AnimationTrack
property=
"rotation.y"
type=
"EaseInOut"
>
0 0 0 0 8 -0 0 0
</AnimationTrack>
<AnimationTrack
property=
"rotation.y"
type=
"EaseInOut"
>
0 0 0 0 8 -0 0 0
</AnimationTrack>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment