+ | Lambo scene

This commit is contained in:
TheRedShip
2025-01-30 23:17:07 +01:00
parent 28ba1a1dd0
commit d94de1954f
14 changed files with 948368 additions and 2261140 deletions

View File

@ -7,7 +7,7 @@ Pos=1645,8
Size=259,200 Size=259,200
[Window][Material] [Window][Material]
Pos=1648,210 Pos=1633,205
Size=262,299 Size=262,299
[Window][Fog settings] [Window][Fog settings]

View File

@ -1,61 +0,0 @@
# Blender MTL File: 'Alien Animal Actions_Baked_Only_Mesh_and_Bones2.blend'
# Material Count: 5
newmtl Material
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.175206 0.175206 0.175206
Ks 0.743243 0.743243 0.743243
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
map_Kd textures\AA_eye Kopie.png
map_Ks textures\\AA_eye Kopie.png
newmtl Material.001
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.000000 0.000000 0.000000
Ks 0.662162 0.662162 0.662162
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.194267
illum 2
map_Kd textures\AA_eye Kopie.png
newmtl Material.003
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.000000 0.000000 0.000000
Ks 0.400000 0.400000 0.400000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.050000
illum 2
map_Kd textures\id.png
newmtl Material.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.000000 0.008495 0.640000
Ks 0.400000 0.400000 0.400000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 0.300000
illum 2
map_Kd textures\id.png
newmtl Material.005
Ns 86.274510
Ka 1.000000 1.000000 1.000000
Kd 0.308108 0.308108 0.308108
Ks 0.290541 0.290541 0.290541
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
map_Kd textures\id.png
map_Bump textures\\Nor OpenGL.jpg
map_Ke textures\\id.png
map_Ks textures\\Unity_Gloss.jpg

File diff suppressed because it is too large Load Diff

View File

@ -1,400 +0,0 @@
# Blender MTL File: 'bugatti.blend'
# Material Count: 40
newmtl BLUE.002
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.000000 0.000000 0.800000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl ENGINE
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl GRILL.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.026482 0.026482 0.026482
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl Mirrors
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl NAVY
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.000000 0.017778 0.047407
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl None
Ns 0
Ka 0.000000 0.000000 0.000000
Kd 0.8 0.8 0.8
Ks 0.8 0.8 0.8
d 1
illum 2
newmtl Nut.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl Studio_Lights.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl Studio_Lights.005
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl Trim.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl WHEEL_CURB.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl WHITE.002
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl aluminiumm
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl back_drop.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl black
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.102592 0.102592 0.102592
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl black_cable
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl black_fuel_tank.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl black_side_vent
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.001651 0.001651 0.001651
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl black_strip.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.009774 0.009774 0.009774
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl black_vent.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl brake_disk.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl breaks_
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl cALLIPERS.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.014633 0.586055 0.640002
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl exhaust
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.204648 0.451652 0.640001
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl front_window.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl glass_front.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.054000 0.640003 0.568643
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl glossy
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.000000 0.568960 0.640002
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl headlight_glass.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl headlight_square.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl red.002
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl red_glass
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640002 0.047774 0.026908
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl reflective_coat.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.026482 0.026482 0.026482
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl rim_blue.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.026033 0.152250 0.640001
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl rim_silver.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl silver_door_strip.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.601480 0.265530
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl silver_trim
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.043975 0.043975 0.043975
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl sun
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl tyre.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.011736 0.011736 0.011736
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl wheel_joint.004
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
newmtl white_holders
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2

File diff suppressed because it is too large Load Diff

873
scenes/obj/lambo.mtl Normal file
View File

@ -0,0 +1,873 @@
# Aspose.3D Wavefront OBJ Exporter
# Copyright 2004-2024 Aspose Pty Ltd.
# File created: 01/30/2025 21:13:10
newmtl Material.009
illum 2
Kd 0.071498476 0.071498476 0.071498476
Ke 0 0 0
Pr 0.
Pm 0.5
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.032829706 0.032829706 0.032829706
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl Material.006
illum 2
Kd 0.187314 0.187314 0.187314
Ke 0 0 0
Pr 0.092912644
Pm 0.6766093
d 1
Tr 0
newmtl Material.007
illum 2
Kd 0.5122416 0.4812513 0.4077952
Ke 0 0 0
Pr 0.28139803
Pm 0.9015757
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl Material.011
illum 2
Kd 0.0817625 0.0817625 0.0817625
Ke 0 0 0
Pr 0.5
Pm 0
d 1
Tr 0
newmtl Spot
illum 2
Kd 0 0 0
Ke 1 1 1
Pr 0
Pm 0
d 1
Tr 0
newmtl Material.001
illum 2
Kd 0.10048 0.10048 0.10048
Ke 0 0 0
Pr 0.20235576
Pm 0.51816
d 1
Tr 0
newmtl Material.001
illum 2
Kd 0.10048 0.10048 0.10048
Ke 0 0 0
Pr 0.20235576
Pm 0.51816
d 1
Tr 0
newmtl Material.002
illum 2
Kd 0.00853981 0.00853981 0.00853981
Ke 0 0 0
Pr 0.5
Pm 0.49420407
d 1
Tr 0
newmtl Material.003
illum 2
Kd 0.8 0.39626 0
Ke 2 2 2
Pr 0.5
Pm 0.6218877
d 1
Tr 0
newmtl Jantes_I
illum 2
Kd 0.14758262 0.14758262 0.14758262
Ke 0 0 0
Pr 0.26923767
Pm 0.70092994
d 1
Tr 0
newmtl Lumire_Orange
illum 2
Kd 1 0.64356357 0
Ke 1 0.21807635 0
Pr 1
Pm 1
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl material
illum 2
Kd 0.030152377 0.029904576 0.029904576
Ke 0 0 0
Pr 0.10507299
Pm 0.8833352
d 1
Tr 0
newmtl Pneux
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 1
Pm 0
d 1
Tr 0
map_Kd textures/Pneux_baseColor.jpeg
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl Lumire_Orange
illum 2
Kd 1 0.64356357 0
Ke 1 0.21807635 0
Pr 1
Pm 1
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl material
illum 2
Kd 0.030152377 0.029904576 0.029904576
Ke 0 0 0
Pr 0.10507299
Pm 0.8833352
d 1
Tr 0
newmtl Pneux
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 1
Pm 0
d 1
Tr 0
map_Kd textures/Pneux_baseColor.jpeg
newmtl material
illum 2
Kd 0.030152377 0.029904576 0.029904576
Ke 0 0 0
Pr 0.10507299
Pm 0.8833352
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl Volant
illum 2
Kd 0.128241 0.128241 0.128241
Ke 0 0 0
Pr 0.5
Pm 0.416465
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.032829706 0.032829706 0.032829706
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl CARBONE
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.13547386
Pm 1
d 1
Tr 0
map_Kd textures/CARBONE_baseColor.jpeg
map_Pr CARBONE_metallicRoughness.png
map_Pm CARBONE_metallicRoughness.png
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Rouge
illum 2
Kd 0.8 0.00214631 0
Ke 0 0 0
Pr 0.36044025
Pm 0.63404804
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.032829706 0.032829706 0.032829706
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl material
illum 2
Kd 0.030152377 0.029904576 0.029904576
Ke 0 0 0
Pr 0.10507299
Pm 0.8833352
d 1
Tr 0
newmtl Orange
illum 2
Kd 1 1 1
Ke 1 1 1
Pr 0.5
Pm 0.615012
d 1
Tr 0
newmtl Sige
illum 2
Kd 0.0173883 0.0173883 0.0173883
Ke 0 0 0
Pr 0.746973
Pm 0
d 1
Tr 0
newmtl Vert
illum 2
Kd 0.00694344 0.8 0
Ke 0 0 0
Pr 0.5
Pm 0.600484
d 1
Tr 0
newmtl Blanc
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.301453
Pm 0.31477
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.032829706 0.032829706 0.032829706
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl Material
illum 2
Kd 0.8 0.8 0.8
Ke 0.4427126 0.4427126 0.4427126
Pr 0.5
Pm 0.164251
d 1
Tr 0
newmtl Material.004
illum 2
Kd 1 0 0
Ke 1 0.20700414 0.20700414
Pr 1
Pm 1
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl Lumire_rouge
illum 2
Kd 1 0 0
Ke 1 0.016764818 0
Pr 1
Pm 1
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl CARBONE
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.13547386
Pm 1
d 1
Tr 0
map_Kd textures/CARBONE_baseColor.jpeg
map_Pr CARBONE_metallicRoughness.png
map_Pm CARBONE_metallicRoughness.png
newmtl material
illum 2
Kd 0.030152377 0.029904576 0.029904576
Ke 0 0 0
Pr 0.10507299
Pm 0.8833352
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.032829706 0.032829706 0.032829706
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.032829706 0.032829706 0.032829706
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Orange
illum 2
Kd 1 1 1
Ke 1 1 1
Pr 0.5
Pm 0.615012
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Orange
illum 2
Kd 1 1 1
Ke 1 1 1
Pr 0.5
Pm 0.615012
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl material_0
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl CARBONE
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.13547386
Pm 1
d 1
Tr 0
map_Kd textures/CARBONE_baseColor.jpeg
map_Pr CARBONE_metallicRoughness.png
map_Pm CARBONE_metallicRoughness.png
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl material
illum 2
Kd 0.030152377 0.029904576 0.029904576
Ke 0 0 0
Pr 0.10507299
Pm 0.8833352
d 1
Tr 0
newmtl material_0
illum 2
Kd 0.75 1 1
Ke 1 1 1
Pr 0.4030015
Pm 0.5732463
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.17901507 0.17901507 0.17901507
Ke 0 0 0
Pr 0.38477966
Pm 1
d 1
Tr 0
newmtl Vitres
illum 2
Kd 0 0 0
Ke 0 0 0
Pr 0.0807523
Pm 0
d 0.40910155
Tr 0.59089845
newmtl Lumire_blanche
illum 2
Kd 1 1 1
Ke 1 1 1
Pr 0
Pm 0
d 1
Tr 0
newmtl Lumire_rouge
illum 2
Kd 1 0 0
Ke 2 2 2
Pr 1
Pm 1
d 1
Tr 0
newmtl Vitres
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 0.0807523
Pm 0
d 0.05
newmtl Jantes_I
illum 2
Kd 0.14758262 0.14758262 0.14758262
Ke 0 0 0
Pr 0.26923767
Pm 0.70092994
d 1
Tr 0
newmtl Lumire_Orange
illum 2
Kd 1 0.64356357 0
Ke 1 0.21807635 0
Pr 1
Pm 1
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl material
illum 2
Kd 0.030152377 0.029904576 0.029904576
Ke 0 0 0
Pr 0.10507299
Pm 0.8833352
d 1
Tr 0
newmtl Pneux
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 1
Pm 0
d 1
Tr 0
map_Kd textures/Pneux_baseColor.jpeg
newmtl Jantes_I
illum 2
Kd 0.14758262 0.14758262 0.14758262
Ke 0 0 0
Pr 0.26923767
Pm 0.70092994
d 1
Tr 0
newmtl Lumire_Orange
illum 2
Kd 1 0.34356357 0
Ke 1 1 1
Pr 1
Pm 1
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl Jantes
illum 2
Kd 0.0469627 0.0469627 0.0469627
Ke 0 0 0
Pr 0.664649
Pm 0.687651
d 1
Tr 0
newmtl material
illum 2
Kd 0.030152377 0.029904576 0.029904576
Ke 0 0 0
Pr 0.10507299
Pm 0.8833352
d 1
Tr 0
newmtl Pneux
illum 2
Kd 1 1 1
Ke 0 0 0
Pr 1
Pm 0
d 1
Tr 0
map_Kd textures/Pneux_baseColor.jpeg
newmtl Orange
illum 2
Kd 1 1 1
Ke 1 1 1
Pr 0.5
Pm 0.615012
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.032829706 0.032829706 0.032829706
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl Orange
illum 2
Kd 1 1 1
Ke 1 1 1
Pr 0.5
Pm 0.615012
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.032829706 0.032829706 0.032829706
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.032829706 0.032829706 0.032829706
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl Carosserie
illum 2
Kd 0.05 0.05 0.05
Ke 0 0 0
Pr 0.35
Pm 0.75
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.032829706 0.032829706 0.032829706
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl Material.008
illum 2
Kd 0.8 0.159026 0
Ke 0 0 0
Pr 1
Pm 0
d 1
Tr 0
newmtl material
illum 2
Kd 0.030152377 0.029904576 0.029904576
Ke 0 0 0
Pr 0.10507299
Pm 0.8833352
d 1
Tr 0
newmtl material
illum 2
Kd 0.030152377 0.029904576 0.029904576
Ke 0 0 0
Pr 0.10507299
Pm 0.8833352
d 1
Tr 0
newmtl Blanck
illum 2
Kd 0.1 0.1 0.1
Ke 0 0 0
Pr 0.33611956
Pm 0.65228856
d 1
Tr 0
newmtl Spot
illum 2
Kd 1 1 1
Ke 1 1 1
Pr 0
Pm 0
d 1
Tr 0

947472
scenes/obj/lambo.obj Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 KiB

View File

@ -1,4 +1,4 @@
CAM 18.9143 20.24843 -5.48951 8.60003 -200.801 0 2 45 5 CAM 18.9143 1.24843 -5.48951 8.60003 -200.801 0 2 45 5
MAT 255 255 255 0.0 1.0 0.5 // dragon 0 MAT 255 255 255 0.0 1.0 0.5 // dragon 0
MAT 255 220 50 0.0 1.0 0.5 // dragon 1 MAT 255 220 50 0.0 1.0 0.5 // dragon 1
@ -7,8 +7,8 @@ MAT 255 220 50 0.0 1.0 0.5 // dragon 1
MAT 255 255 255 5.0 0.0 0.0 // light 2 MAT 255 255 255 5.0 0.0 0.0 // light 2
sp 0 50 0 25 2 sp 0 50 0 25 2
OBJ obj/sponza.obj 0 0 0 0.025 OBJ scenes/obj/sponza.obj 0 0 0 0.025
OBJ obj/Dragon_80K.obj 7 2.5 0 9 0 140 0 0 OBJ scenes/obj/Dragon_80K.obj 7 2.5 0 9 0 140 0 0
OBJ obj/Dragon_80K.obj 9 1.35 -3.5 5 0 40 0 1 OBJ scenes/obj/Dragon_80K.obj 9 1.35 -3.5 5 0 40 0 1

View File

@ -1,7 +1,7 @@
CAM 15.6252 30.089 20.0977 -46.6002 -103.601 0 1 90 5 CAM -2.41462 2.57199 4.09049 -1.80012 -50.2012 0.02 2.973 45.75 5
MAT 50 50 50 0. 0. 0. // 0 gray MAT 20 20 20 0. 0. 0. // 0 gray
pl 0 0 0 0 1 0 0 // floor pl 0 5.2 0 0 -1 0 0 // floor
OBJ obj/jinx.obj 0 1.5 0 OBJ scenes/obj/lambo.obj 0 1.5 0 1 0 0 0
# OBJ obj/sponza.obj 0 5 0 0.01 # OBJ obj/sponza.obj 0 5 0 0.01

View File

@ -176,7 +176,7 @@ vec3 pathtrace(Ray ray, inout uint rng_state)
{ {
hitInfo hit = traceRay(ray); hitInfo hit = traceRay(ray);
#if 0 #if 1
float t_scatter = 0.0; float t_scatter = 0.0;
bool scatter_valid = bool(volume.enabled != 0 && atmosScatter(hit, t_scatter, rng_state)); bool scatter_valid = bool(volume.enabled != 0 && atmosScatter(hit, t_scatter, rng_state));
if (scatter_valid) if (scatter_valid)
@ -240,11 +240,6 @@ void main()
if (pixel_coords.x >= int(u_resolution.x) || pixel_coords.y >= int(u_resolution.y)) if (pixel_coords.x >= int(u_resolution.x) || pixel_coords.y >= int(u_resolution.y))
return; return;
// vec2 uv = ((vec2(pixel_coords)) / u_resolution);
// uv.x *= u_resolution.x / u_resolution.y;
// imageStore(output_image, pixel_coords, vec4(vec3(uv, 0.), 1.));
// return ;
if (u_pixelisation != 1 && (uint(pixel_coords.x) % u_pixelisation != 0 || uint(pixel_coords.y) % u_pixelisation != 0)) if (u_pixelisation != 1 && (uint(pixel_coords.x) % u_pixelisation != 0 || uint(pixel_coords.y) % u_pixelisation != 0))
return; return;

View File

@ -251,6 +251,7 @@ void ObjParser::parseMtl(std::stringstream &input_line, Scene &scene)
mat->texture_index = -1; mat->texture_index = -1;
mat->refraction = 1.0f; mat->refraction = 1.0f;
mat->roughness = 1.0f; mat->roughness = 1.0f;
mat->metallic = 1.0f;
continue; continue;
} }
if(!mat) if(!mat)
@ -266,6 +267,18 @@ void ObjParser::parseMtl(std::stringstream &input_line, Scene &scene)
throw std::runtime_error("OBJ: syntax error while getting material softness"); throw std::runtime_error("OBJ: syntax error while getting material softness");
mat->roughness /= 1000; mat->roughness /= 1000;
} }
else if (identifier == "Pr")
{
if (!(lineStream >> mat->roughness) || mat->roughness > 1 || mat->roughness < 0)
throw std::runtime_error("OBJ: syntax error while getting material softness");
mat->roughness = 1 - mat->roughness;
}
else if (identifier == "Pm")
{
if (!(lineStream >> mat->metallic) || mat->metallic > 1 || mat->metallic < 0)
throw std::runtime_error("OBJ: syntax error while getting material metallic");
}
else if(identifier == "Ke") else if(identifier == "Ke")
{ {
float x, y, z; float x, y, z;