unused file cleanup
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 641 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 449 KiB |
|
Before Width: | Height: | Size: 226 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 981 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 265 KiB |
|
Before Width: | Height: | Size: 2.6 MiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 366 KiB |
|
Before Width: | Height: | Size: 380 KiB |
|
Before Width: | Height: | Size: 146 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 382 KiB |
|
Before Width: | Height: | Size: 336 KiB |
|
Before Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 320 KiB |
|
|
@ -1,251 +0,0 @@
|
||||||
<meta charset="utf-8" lang="en">
|
|
||||||
|
|
||||||
**Converting VK_NV_ray_tracing to VK_KHR_ray_tracing**
|
|
||||||
|
|
||||||
This document is a quick guide on what need to be changed to convert an existing application
|
|
||||||
using NV ray tracing extension to KHR.
|
|
||||||
|
|
||||||
# The Obvious
|
|
||||||
|
|
||||||
For most structures and enum, the ending with NV can be replaced with KHR.
|
|
||||||
|
|
||||||
This is true for example for:
|
|
||||||
|
|
||||||
Some examples:
|
|
||||||
|
|
||||||
NVIDIA | KHRONOS
|
|
||||||
-------------------------------|-----------------------------
|
|
||||||
VK_SHADER_STAGE_RAYGEN_BIT_NV | VK_SHADER_STAGE_RAYGEN_BIT_KHR
|
|
||||||
VK_SHADER_STAGE_CLOSEST_HIT_BIT_NV | VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR
|
|
||||||
VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_NV | VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_KHR
|
|
||||||
VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_NV | VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR
|
|
||||||
[Types and Flags]
|
|
||||||
|
|
||||||
NVIDIA | KHRONOS
|
|
||||||
-------------------------------|-----------------------------
|
|
||||||
VkWriteDescriptorSetAccelerationStructureNV | VkWriteDescriptorSetAccelerationStructureKHR
|
|
||||||
VkRayTracingShaderGroupCreateInfoNV | VkRayTracingShaderGroupCreateInfoKHR
|
|
||||||
VkRayTracingPipelineCreateInfoNV | VkRayTracingPipelineCreateInfoKHR
|
|
||||||
[Structures]
|
|
||||||
|
|
||||||
|
|
||||||
# Handles version Device Addresses -> memory allocations
|
|
||||||
|
|
||||||
With KHR, we no longer pass the buffer or an handle, but the `vk::DeviceAddress`.
|
|
||||||
First, when allocating a buffer, it has to have the `VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT` flag.
|
|
||||||
Similarly, the memory associated with this buffer, needs also the `VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT` flag.
|
|
||||||
|
|
||||||
For the memory allocation, this could be done like this:
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
vk::MemoryAllocateFlagsInfo memFlagInfo;
|
|
||||||
memFlagInfo.setFlags(vk::MemoryAllocateFlagBits::eDeviceAddress);
|
|
||||||
|
|
||||||
vk::MemoryAllocateInfo memAlloc;
|
|
||||||
memAlloc.setPNext(&memFlagInfo);
|
|
||||||
// Allocate memory
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
The buffer address could then be retrieved like this:
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
vk::DeviceAddress vertexAddress = m_device.getBufferAddress({model.vertexBuffer.buffer});
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
# Where is GeometryNV?
|
|
||||||
|
|
||||||
The structure to create BLAS was replaced by different structures.
|
|
||||||
|
|
||||||
* `vk::AccelerationStructureCreateGeometryTypeInfoKHR` : describe how the acceleration structure is created. It is an indication how large it could be.
|
|
||||||
* `vk::AccelerationStructureGeometryKHR` : the geometry to build, addresses of vertices and indices
|
|
||||||
* `vk::AccelerationStructureBuildOffsetInfoKHR` : the number of elements to build and offsets
|
|
||||||
|
|
||||||
Those three structures can be an array of each, meaning that a BLAS can be a combination fo multiple geometries.
|
|
||||||
|
|
||||||
|
|
||||||
As an example on how those are filed. It returns `nvvkpp::RaytracingBuilderKHR::Blas` which has vectors
|
|
||||||
of the above structures.
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
// Converting a OBJ primitive to the ray tracing geometry used for the BLAS
|
|
||||||
//
|
|
||||||
auto HelloVulkan::objectToVkGeometryKHR(const ObjModel& model)
|
|
||||||
{
|
|
||||||
// Setting up the creation info of acceleration structure
|
|
||||||
vk::AccelerationStructureCreateGeometryTypeInfoKHR asCreate;
|
|
||||||
asCreate.setGeometryType(vk::GeometryTypeKHR::eTriangles);
|
|
||||||
asCreate.setIndexType(vk::IndexType::eUint32);
|
|
||||||
asCreate.setVertexFormat(vk::Format::eR32G32B32Sfloat);
|
|
||||||
asCreate.setMaxPrimitiveCount(model.nbIndices / 3); // Nb triangles
|
|
||||||
asCreate.setMaxVertexCount(model.nbVertices);
|
|
||||||
asCreate.setAllowsTransforms(VK_FALSE); // No adding transformation matrices
|
|
||||||
|
|
||||||
// Building part
|
|
||||||
vk::DeviceAddress vertexAddress = m_device.getBufferAddress({model.vertexBuffer.buffer});
|
|
||||||
vk::DeviceAddress indexAddress = m_device.getBufferAddress({model.indexBuffer.buffer});
|
|
||||||
|
|
||||||
vk::AccelerationStructureGeometryTrianglesDataKHR triangles;
|
|
||||||
triangles.setVertexFormat(asCreate.vertexFormat);
|
|
||||||
triangles.setVertexData(vertexAddress);
|
|
||||||
triangles.setVertexStride(sizeof(VertexObj));
|
|
||||||
triangles.setIndexType(asCreate.indexType);
|
|
||||||
triangles.setIndexData(indexAddress);
|
|
||||||
triangles.setTransformData({});
|
|
||||||
|
|
||||||
// Setting up the build info of the acceleration
|
|
||||||
vk::AccelerationStructureGeometryKHR asGeom;
|
|
||||||
asGeom.setGeometryType(asCreate.geometryType);
|
|
||||||
asGeom.setFlags(vk::GeometryFlagBitsKHR::eOpaque);
|
|
||||||
asGeom.geometry.setTriangles(triangles);
|
|
||||||
|
|
||||||
// The primitive itself
|
|
||||||
vk::AccelerationStructureBuildOffsetInfoKHR offset;
|
|
||||||
offset.setFirstVertex(0);
|
|
||||||
offset.setPrimitiveCount(asCreate.maxPrimitiveCount);
|
|
||||||
offset.setPrimitiveOffset(0);
|
|
||||||
offset.setTransformOffset(0);
|
|
||||||
|
|
||||||
// Our blas is only one geometry, but could be made of many geometries
|
|
||||||
nvvkpp::RaytracingBuilderKHR::Blas blas;
|
|
||||||
blas.asGeometry.emplace_back(asGeom);
|
|
||||||
blas.asCreateGeometryInfo.emplace_back(asCreate);
|
|
||||||
blas.asBuildOffsetInfo.emplace_back(offset);
|
|
||||||
|
|
||||||
return blas;
|
|
||||||
}
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
|
|
||||||
# Creating and building BLAS/TLAS
|
|
||||||
|
|
||||||
With the structures filled in, there are some similarities with the NVIDIA extension.
|
|
||||||
|
|
||||||
## BLAS
|
|
||||||
|
|
||||||
The construction of a BLAS AS will look like this:
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
vk::AccelerationStructureCreateInfoKHR asCreateInfo{{}, vk::AccelerationStructureTypeKHR::eBottomLevel};
|
|
||||||
asCreateInfo.setFlags(vk::BuildAccelerationStructureFlagBitsKHR::ePreferFastTrace);
|
|
||||||
asCreateInfo.setMaxGeometryCount((uint32_t)blas.asCreateGeometryInfo.size());
|
|
||||||
asCreateInfo.setPGeometryInfos(blas.asCreateGeometryInfo.data());
|
|
||||||
|
|
||||||
// Create an acceleration structure identifier and allocate memory to
|
|
||||||
// store the resulting structure data
|
|
||||||
blas.as = m_alloc.createAcceleration(asCreateInfo);
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
To retrieve the memory requirements, there is a new flag, to be build on the host or the device.
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
vk::AccelerationStructureMemoryRequirementsInfoKHR memoryRequirementsInfo{
|
|
||||||
vk::AccelerationStructureMemoryRequirementsTypeKHR::eBuildScratch,
|
|
||||||
vk::AccelerationStructureBuildTypeKHR::eDevice, blas.as.accel};
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
Building the acceleration structure requires to pass a pointer to the array of vk::AccelerationStructureGeometryKHR.
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
const vk::AccelerationStructureGeometryKHR* pGeometry = blas.asGeometry.data();
|
|
||||||
vk::AccelerationStructureBuildGeometryInfoKHR bottomASInfo{vk::AccelerationStructureTypeKHR::eBottomLevel};
|
|
||||||
bottomASInfo.setFlags(flags);
|
|
||||||
bottomASInfo.setUpdate(VK_FALSE);
|
|
||||||
bottomASInfo.setSrcAccelerationStructure({});
|
|
||||||
bottomASInfo.setDstAccelerationStructure(blas.as.accel);
|
|
||||||
bottomASInfo.setGeometryArrayOfPointers(VK_FALSE);
|
|
||||||
bottomASInfo.setGeometryCount((uint32_t)blas.asGeometry.size());
|
|
||||||
bottomASInfo.setPpGeometries(&pGeometry);
|
|
||||||
bottomASInfo.setScratchData(scratchAddress);
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
|
|
||||||
It will be also necessary to create an array of pointers to the vk::AccelerationStructureBuildOffsetInfoKHR of each BLAS.
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
// Pointers of offset
|
|
||||||
std::vector<const vk::AccelerationStructureBuildOffsetInfoKHR*> pBuildOffset(blas.asBuildOffsetInfo.size());
|
|
||||||
for(size_t i = 0; i < blas.asBuildOffsetInfo.size(); i++)
|
|
||||||
pBuildOffset[i] = &blas.asBuildOffsetInfo[i];
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
## TLAS
|
|
||||||
|
|
||||||
The same structures are now used to build the top-level, using instances as the type of geometry.
|
|
||||||
|
|
||||||
FOr example, here how can be created the AS for an array of instances
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
vk::AccelerationStructureCreateGeometryTypeInfoKHR geometryCreate{vk::GeometryTypeKHR::eInstances};
|
|
||||||
geometryCreate.setMaxPrimitiveCount(static_cast<uint32_t>(instances.size()));
|
|
||||||
geometryCreate.setAllowsTransforms(VK_TRUE);
|
|
||||||
|
|
||||||
vk::AccelerationStructureCreateInfoKHR asCreateInfo{{}, vk::AccelerationStructureTypeKHR::eTopLevel};
|
|
||||||
asCreateInfo.setFlags(flags);
|
|
||||||
asCreateInfo.setMaxGeometryCount(1);
|
|
||||||
asCreateInfo.setPGeometryInfos(&geometryCreate);
|
|
||||||
|
|
||||||
// Create the acceleration structure object and allocate the memory
|
|
||||||
// required to hold the TLAS data
|
|
||||||
m_tlas.as = m_alloc.createAcceleration(asCreateInfo);
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Also, there are now a structure to hold the instances `vk::AccelerationStructureInstanceKHR`
|
|
||||||
You will need to fill an array with all the information, create a buffer and use
|
|
||||||
the address to set the geometry
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
// Allocate the instance buffer and copy its contents from host to device
|
|
||||||
// memory
|
|
||||||
m_instBuffer = m_alloc.createBuffer(cmdBuf, geometryInstances,
|
|
||||||
vk::BufferUsageFlagBits::eRayTracingKHR | vk::BufferUsageFlagBits::eShaderDeviceAddress);
|
|
||||||
m_debug.setObjectName(m_instBuffer.buffer, "TLASInstances");
|
|
||||||
vk::DeviceAddress instanceAddress = m_device.getBufferAddress(m_instBuffer.buffer);
|
|
||||||
|
|
||||||
vk::AccelerationStructureGeometryKHR topASGeometry{vk::GeometryTypeKHR::eInstances};
|
|
||||||
topASGeometry.geometry.instances.setArrayOfPointers(VK_FALSE);
|
|
||||||
topASGeometry.geometry.instances.setData(instanceAddress);
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Calling TraceRaysKHR
|
|
||||||
|
|
||||||
This is very close to the NVIDIA version, the difference is instead of passing buffer addresses, offsets, strides,
|
|
||||||
for each stages, we have to fill vk::StridedBufferRegionKHR structure of each stages, which have
|
|
||||||
the same parameters: buffer, offset, stride and SBT size
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
~~~~ C++
|
|
||||||
vk::DeviceSize sbtSize = progSize * (vk::DeviceSize)m_rtShaderGroups.size();
|
|
||||||
|
|
||||||
const vk::StridedBufferRegionKHR raygenShaderBindingTable = {m_rtSBTBuffer.buffer, rayGenOffset,
|
|
||||||
progSize, sbtSize};
|
|
||||||
const vk::StridedBufferRegionKHR missShaderBindingTable = {m_rtSBTBuffer.buffer, missOffset,
|
|
||||||
progSize, sbtSize};
|
|
||||||
const vk::StridedBufferRegionKHR hitShaderBindingTable = {m_rtSBTBuffer.buffer, hitGroupOffset,
|
|
||||||
progSize, sbtSize};
|
|
||||||
const vk::StridedBufferRegionKHR callableShaderBindingTable;
|
|
||||||
|
|
||||||
cmdBuf.traceRaysKHR(&raygenShaderBindingTable, &missShaderBindingTable, &hitShaderBindingTable,
|
|
||||||
&callableShaderBindingTable, //
|
|
||||||
m_size.width, m_size.height, 1); //
|
|
||||||
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Markdeep: -->
|
|
||||||
<link rel="stylesheet" href="vkrt_tutorial.css?">
|
|
||||||
<script> window.markdeepOptions = { tocStyle: "medium" };</script>
|
|
||||||
<script src="markdeep.min.js" charset="utf-8"></script>
|
|
||||||
<script src="https://developer.download.nvidia.com/ProGraphics/nvpro-samples/scripts/markdeep.min.js" charset="utf-8"></script>
|
|
||||||
<script>
|
|
||||||
window.alreadyProcessedMarkdeep || (document.body.style.visibility = "visible")
|
|
||||||
</script>
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
|
|
||||||
# Start [Ray Tracing Tutorial](https://nvpro-samples.github.io/vk_raytracing_tutorial_KHR/vkrt_tutorial.md.html)
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
<meta charset="utf-8">
|
|
||||||
(insert vkrt_tutorial.md.html here)
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Markdeep: -->
|
|
||||||
<link rel="stylesheet" href="vkrt_tutorial.css?">
|
|
||||||
<script> window.markdeepOptions = { tocStyle: "medium" };</script>
|
|
||||||
<script src="markdeep.min.js" charset="utf-8"></script>
|
|
||||||
<script src="https://developer.download.nvidia.com/ProGraphics/nvpro-samples/scripts/markdeep.min.js" charset="utf-8"></script>
|
|
||||||
<script>
|
|
||||||
window.alreadyProcessedMarkdeep || (document.body.style.visibility = "visible")
|
|
||||||
</script>
|
|
||||||
|
|
@ -1,65 +0,0 @@
|
||||||
|
|
||||||
# Environment Setup
|
|
||||||
|
|
||||||
|
|
||||||
## Repositories
|
|
||||||
|
|
||||||
Besides the current repository, you will also need to clone or download the following repositories:
|
|
||||||
|
|
||||||
* [nvpro_core](https://github.com/nvpro-samples/nvpro_core): The primary framework that all samples depend on.
|
|
||||||
|
|
||||||
Cloning all repositories
|
|
||||||
|
|
||||||
~~~~~
|
|
||||||
git clone --recursive --shallow-submodules https://github.com/nvpro-samples/nvpro_core.git
|
|
||||||
git clone https://github.com/nvpro-samples/vk_raytracing_tutorial_KHR.git
|
|
||||||
~~~~~
|
|
||||||
|
|
||||||
The directory structure should be looking like this:
|
|
||||||
|
|
||||||
~~~~
|
|
||||||
C:\Vulkan\nvpro-samples
|
|
||||||
|
|
|
||||||
+---nvpro_core
|
|
||||||
+---vk_raytracing_tutorial_KHR
|
|
||||||
| +---ray_tracing__simple
|
|
||||||
| +---ray_tracing_...
|
|
||||||
| \---...
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
See also [build_all](https://github.com/nvpro-samples/build_all) from nvpro-samples.
|
|
||||||
|
|
||||||
## Latest Vulkan SDK
|
|
||||||
|
|
||||||
This repository tries to always be up to date with the latest Vulkan SDK, therefore we suggest to download and install it.
|
|
||||||
Version 1.2.162.0 and up has ray tracing extensions support.
|
|
||||||
|
|
||||||
**Vulkan SDK**: https://vulkan.lunarg.com/sdk/home
|
|
||||||
|
|
||||||
|
|
||||||
## Driver
|
|
||||||
|
|
||||||
NVIDIA driver 450.0 and up support Vulkan ray tracing.
|
|
||||||
|
|
||||||
* Standard driver: https://www.nvidia.com/Download/index.aspx
|
|
||||||
* Vulkan beta driver: https://developer.nvidia.com/vulkan-driver
|
|
||||||
|
|
||||||
|
|
||||||
## CMake
|
|
||||||
|
|
||||||
The CMakefile will use other makefiles from `nvpro_core` and look for Vulkan environment variables for the installation of the SDK. Therefore, it is important to have all the above installed before running Cmake in the
|
|
||||||
`vk_raytracing_tutorial_KHR` directory.
|
|
||||||
|
|
||||||
**Note:** Ray tracing only works with 64 bit environment. Therefore, make sure to choose the right build environment.
|
|
||||||
|
|
||||||
**Note:** If you are using your own Vulkan header files, it is possible to overide the default search path.
|
|
||||||
Modify `VULKAN > VULKAN_HEADERS_OVERRIDE_INCLUDE_DIR` to the path to beta vulkan headers.
|
|
||||||
|
|
||||||
## Starting From Extra Tutorial
|
|
||||||
|
|
||||||
All _extra_ tutorials are starting from the end result of the _first tutorial_. The directory of the _extra_ tutorials is the end result of doing it.
|
|
||||||
|
|
||||||
To start the tutorial from the begining.
|
|
||||||
|
|
||||||
* Make a copy of the ray_tutorial__simple (backup)
|
|
||||||
* Follow the tutorial by modifying ray_tutorial__simple
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
# Environment Setup
|
|
||||||
|
|
||||||
## Beta Installation
|
|
||||||
|
|
||||||
If you are in the Beta period, install and compile all of the following
|
|
||||||
|
|
||||||
* Latest driver: https://developer.nvidia.com/vulkan-driver
|
|
||||||
* Latest Vulkan headers: https://github.com/KhronosGroup/Vulkan-Headers
|
|
||||||
* Latest glslangValidator: https://github.com/KhronosGroup/glslang
|
|
||||||
|
|
||||||
!!! Warning Beta
|
|
||||||
Copy/replace `glslangValidator.exe` in the VulkanSDK bin directory.<br>
|
|
||||||
Ex: `C:\VulkanSDK\1.2.131.1\Bin`
|
|
||||||
|
|
||||||
|
|
||||||
## Structure
|
|
||||||
|
|
||||||
This tutorial is a modification of [`ray_tracing__simple`](https://github.com/nvpro-samples/vk_raytracing_tutorial_KHR/tree/master/ray_tracing__simple), which is the result of the ray tracing tutorial.
|
|
||||||
All following instructions are based on the modification of this project.
|
|
||||||
|
|
||||||
Besides the current repository, you will also need to clone or download the following repositories:
|
|
||||||
|
|
||||||
* [nvpro_core](https://github.com/nvpro-samples/nvpro_core): The primary framework that all samples depend on.
|
|
||||||
|
|
||||||
The directory structure should be looking like:
|
|
||||||
|
|
||||||
**********************************************************
|
|
||||||
* \
|
|
||||||
* |
|
|
||||||
* +-- 📂 nvpro_core
|
|
||||||
* |
|
|
||||||
* +-- 📂 vk_raytracing_tutorial_KHR
|
|
||||||
* | |
|
|
||||||
* | +-- 📂 ray_tracing__simple (<-- Start here)
|
|
||||||
* | |
|
|
||||||
* | +-- 📂 ray_tracing_...
|
|
||||||
* | |
|
|
||||||
* | ⋮
|
|
||||||
* |
|
|
||||||
* ⋮
|
|
||||||
**********************************************************
|
|
||||||
|
|
||||||
|
|
||||||
!!! Warning CMake
|
|
||||||
**Run CMake** in vk_raytracing_tutorial_KHR.
|
|
||||||
|
|
||||||
!!! Warning Beta Vulkan SDK
|
|
||||||
Modify `VULKAN > VULKAN_HEADERS_OVERRIDE_INCLUDE_DIR` to the path to beta vulkan headers.
|
|
||||||
|
|
||||||
!!! Error
|
|
||||||
**32 bit is not supported**
|
|
||||||
|
|
||||||
<!-- Markdeep: -->
|
|
||||||
<link rel="stylesheet" href="vkrt_tutorial.css?">
|
|
||||||
<script> window.markdeepOptions = { tocStyle: "medium" };</script>
|
|
||||||
<script src="https://developer.download.nvidia.com/ProGraphics/nvpro-samples/scripts/markdeep.min.js" charset="utf-8"></script>
|
|
||||||
<script>
|
|
||||||
window.alreadyProcessedMarkdeep || (document.body.style.visibility = "visible")
|
|
||||||
</script>
|
|
||||||
|
|
@ -1,175 +0,0 @@
|
||||||
/* Custom stylesheet for API documentation by Aras Pranckevičius, http://aras-p.info/
|
|
||||||
and tweaked by Morgan McGuire.
|
|
||||||
Licensed as public domain or BSD 2-clause, whichever is more convenient for you.
|
|
||||||
Originally from https://github.com/aras-p/markdeep-docs-style */
|
|
||||||
body {
|
|
||||||
max-width: 80em;
|
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
||||||
text-align: left;
|
|
||||||
/*margin: 1.5em;*/
|
|
||||||
padding: 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* if screen is wide enough, put table of contents on the right side */
|
|
||||||
@media screen and (min-width: 64em) {
|
|
||||||
.md .longTOC, .md .mediumTOC, .md .shortTOC {
|
|
||||||
max-width: 20em;
|
|
||||||
left: 0em;
|
|
||||||
display:block;
|
|
||||||
position: fixed;
|
|
||||||
top:0;
|
|
||||||
bottom:0;
|
|
||||||
overflow-y:scroll;
|
|
||||||
margin-top:0;
|
|
||||||
margin-bottom:0;
|
|
||||||
padding-top:1em;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
margin-left: 25em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* for narrow screens or print, hide table of contents */
|
|
||||||
@media screen and (max-width: 64em) {
|
|
||||||
.md .longTOC, .md .mediumTOC, .md .shortTOC { display: none; }
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.md .longTOC, .md .mediumTOC, .md .shortTOC { display: none; }
|
|
||||||
body { max-width: 100%; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/* reset heading/link fonts to that of body */
|
|
||||||
.md a,
|
|
||||||
.md div.title, contents, .md .tocHeader,
|
|
||||||
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6,
|
|
||||||
.md .nonumberh1, .md .nonumberh2, .md .nonumberh3, .md .nonumberh4, .md .nonumberh5, .md .nonumberh6,
|
|
||||||
.md .shortTOC, .md .mediumTOC, .md .longTOC {
|
|
||||||
font-family: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md div.title {
|
|
||||||
margin: 0.4em 0 0 0;
|
|
||||||
padding: 0;
|
|
||||||
text-align: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md div.subtitle {
|
|
||||||
text-align: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* faint border below headings */
|
|
||||||
.md h1, .md h2, .md h3, .md h4,
|
|
||||||
.md .nonumberh1, .md .nonumberh2, .md .nonumberh3, .md .nonumberh4 {
|
|
||||||
border-bottom: 1px solid rgba(0,0,0,.1);
|
|
||||||
}
|
|
||||||
/* heading font styles */
|
|
||||||
.md h1, .md .nonumberh1, .md div.title {
|
|
||||||
font-size: 150%;
|
|
||||||
font-weight: 600;
|
|
||||||
color: rgba(0,0,0,.7);
|
|
||||||
}
|
|
||||||
.md h2, .md .nonumberh2 {
|
|
||||||
font-size: 120%;
|
|
||||||
font-weight: 400;
|
|
||||||
color: rgba(0,0,0,.9);
|
|
||||||
}
|
|
||||||
.md h3, .md .nonumberh3 {
|
|
||||||
font-size: 110%;
|
|
||||||
font-weight: 400;
|
|
||||||
color: rgba(0,0,0,.7);
|
|
||||||
}
|
|
||||||
/* no numbering of headings */
|
|
||||||
/* .md h1:before, .md h2:before, .md h3:before, .md h4:before { content: none; } */
|
|
||||||
|
|
||||||
/* link styling */
|
|
||||||
.md a:link, .md a:visited {
|
|
||||||
color: #3f51b5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* inline and block code */
|
|
||||||
.md code, .md pre.listing {
|
|
||||||
background-color: rgba(0,0,0,.05);
|
|
||||||
padding: 0.1em 0.2em;
|
|
||||||
border-radius: 0.15em;
|
|
||||||
}
|
|
||||||
.md pre.listing code {
|
|
||||||
background-color: transparent;
|
|
||||||
padding: 0;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* table of contents styling; make all 3 forms of it look the same */
|
|
||||||
.md .longTOC, .md .mediumTOC, .md .shortTOC {
|
|
||||||
font-size: inherit;
|
|
||||||
line-height: 120%;
|
|
||||||
margin: 1em 0;
|
|
||||||
padding: .4rem;
|
|
||||||
border-left: .1rem solid #3f51b5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md .tocHeader {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
border: none;
|
|
||||||
font-size: inherit;
|
|
||||||
}
|
|
||||||
/*
|
|
||||||
.md .tocNumber {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
.md .longTOC .level1, .md .mediumTOC .level1, .md .shortTOC .level1 {
|
|
||||||
font-weight: inherit;
|
|
||||||
/* padding: 0; */
|
|
||||||
/* margin: 0; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.md .longTOC p, .md .mediumTOC p, .md .shortTOC p {
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md .longTOC center, .md .mediumTOC center, .md .shortTOC center, .md .tocHeader {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md .longTOC b, .md .mediumTOC b, .md .shortTOC b {
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md .longTOC center b, .md .mediumTOC center b, .md .shortTOC center b {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .md .longTOC a, .md .mediumTOC a, .md .shortTOC a { */
|
|
||||||
/* color: black; */
|
|
||||||
/* } */
|
|
||||||
|
|
||||||
.md .longTOC .level1, .md .mediumTOC .level1, .md .shortTOC .level1,
|
|
||||||
.md .longTOC .level2, .md .mediumTOC .level2, .md .shortTOC .level2,
|
|
||||||
.md .longTOC .level3, .md .mediumTOC .level3, .md .shortTOC .level3 {
|
|
||||||
white-space: nowrap;
|
|
||||||
/* margin: 0; */
|
|
||||||
/* padding: 0; */
|
|
||||||
font-size: 90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* tables; use fainter colors than regular markdeep style */
|
|
||||||
.md table.table {
|
|
||||||
font-size: 90%;
|
|
||||||
}
|
|
||||||
.md table.table th {
|
|
||||||
border: none;
|
|
||||||
background-color: #ccc;
|
|
||||||
color: rgba(0,0,0,.6);
|
|
||||||
}
|
|
||||||
.md table.table tr, .md table.table td {
|
|
||||||
border-color: #eee;
|
|
||||||
}
|
|
||||||
.md table.table tr:nth-child(even) {
|
|
||||||
background-color: #f4f4f4;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,689 +0,0 @@
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
newmtl _Material #25
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_559-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd RooftilesWood0005_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _material_535-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd out_0_6E339CC8.png
|
|
||||||
|
|
||||||
newmtl _material_529-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodRough0106_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _material_583-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd black.jpg
|
|
||||||
|
|
||||||
newmtl _material_553-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodRough0106_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _material_547-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodPlanksBare0002_1_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #45
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #55
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #65
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #75
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #85
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #95
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #105
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #115
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #125
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #135
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #145
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #155
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #165
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #175
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #185
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #195
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #205
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #215
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns649_Material_003_60-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd panneau_col.jpg
|
|
||||||
|
|
||||||
newmtl _Material #225
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_379-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodPlanksBare0002_1_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #235
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_565-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd out_0_6E339CC8.png
|
|
||||||
|
|
||||||
newmtl _Material #245
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_324-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodRough0106_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #255
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_559-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd RooftilesWood0005_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #265
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_318-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd RooftilesWood0005_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #275
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_571-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodRough0106_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #285
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_306-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodPlanksBare0002_1_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #295
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_547-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodPlanksBare0002_1_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #305
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_577-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodRough0106_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #315
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_553-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodRough0106_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #325
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_373-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd RooftilesWood0005_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #335
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_367-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodRough0106_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #345
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_336-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd RooftilesWood0005_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #355
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_583-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd black.jpg
|
|
||||||
|
|
||||||
newmtl _Material #365
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_385-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd out_0_6E339CC8.png
|
|
||||||
|
|
||||||
newmtl _Material #375
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_529-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd WoodRough0106_2_S.jpg
|
|
||||||
|
|
||||||
newmtl _Material #385
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_583-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd black.jpg
|
|
||||||
|
|
||||||
newmtl _Material #395
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_312-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd out_0_6E339CC8.png
|
|
||||||
|
|
||||||
newmtl _Material #405
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_535-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd out_0_6E339CC8.png
|
|
||||||
|
|
||||||
newmtl _Material #415
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_583-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd black.jpg
|
|
||||||
|
|
||||||
newmtl _Material #435
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #435
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns651_Material_002_52-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd yellow.jpg
|
|
||||||
|
|
||||||
newmtl _Material #455
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _ns649_Material_003_60-effect
|
|
||||||
illum 0
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd panneau_col.jpg
|
|
||||||
|
|
||||||
newmtl _Material #475
|
|
||||||
illum 0
|
|
||||||
Ka 0.588000 0.588000 0.588000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.000000 0.000000 0.000000
|
|
||||||
Ns 2.000000
|
|
||||||
|
|
||||||
newmtl _material_583-effect
|
|
||||||
illum 2
|
|
||||||
Ka 0.000000 0.000000 0.000000
|
|
||||||
Kd 0.588000 0.588000 0.588000
|
|
||||||
Ks 0.450000 0.450000 0.450000
|
|
||||||
Ns 32.000000
|
|
||||||
map_Kd black.jpg
|
|
||||||
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
newmtl cube_instance_material
|
|
||||||
illum 3
|
|
||||||
d 1
|
|
||||||
Ns 32
|
|
||||||
Ni 0
|
|
||||||
Ka 0 0 0
|
|
||||||
Kd .1 .8 .3
|
|
||||||
Ks 0.95 0.95 0.95
|
|
||||||
|
|
||||||
|
|
@ -1,45 +0,0 @@
|
||||||
# NVIDIA Iray Viewer OBJ exporter
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
mtllib cube.mtl
|
|
||||||
|
|
||||||
o cube
|
|
||||||
v -0.5 -0.5 -0.5
|
|
||||||
v -0.5 -0.5 0.5
|
|
||||||
v -0.5 0.5 -0.5
|
|
||||||
v -0.5 0.5 0.5
|
|
||||||
v 0.5 -0.5 -0.5
|
|
||||||
v 0.5 -0.5 0.5
|
|
||||||
v 0.5 0.5 -0.5
|
|
||||||
v 0.5 0.5 0.5
|
|
||||||
|
|
||||||
|
|
||||||
vn -1 0 0
|
|
||||||
vn 0 0 1
|
|
||||||
vn 1 0 0
|
|
||||||
vn 0 0 -1
|
|
||||||
vn 0 -1 0
|
|
||||||
vn 0 1 0
|
|
||||||
|
|
||||||
|
|
||||||
vt 0 0 0
|
|
||||||
vt 1 0 0
|
|
||||||
vt 1 1 0
|
|
||||||
vt 0 1 0
|
|
||||||
|
|
||||||
|
|
||||||
f 1/1/1 2/2/1 4/3/1
|
|
||||||
f 1/1/1 4/3/1 3/4/1
|
|
||||||
f 2/1/2 6/2/2 8/3/2
|
|
||||||
f 2/1/2 8/3/2 4/4/2
|
|
||||||
f 6/1/3 5/2/3 7/3/3
|
|
||||||
f 6/1/3 7/3/3 8/4/3
|
|
||||||
f 5/1/4 1/2/4 3/3/4
|
|
||||||
f 5/1/4 3/3/4 7/4/4
|
|
||||||
f 5/1/5 6/2/5 2/3/5
|
|
||||||
f 5/1/5 2/3/5 1/4/5
|
|
||||||
f 3/1/6 4/2/6 8/3/6
|
|
||||||
f 3/1/6 8/3/6 7/4/6
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
mtllib cube.mtl
|
|
||||||
|
|
||||||
o cube
|
|
||||||
v -0.5 -0.5 -0.5
|
|
||||||
v -0.5 -0.5 0.5
|
|
||||||
v -0.5 0.5 -0.5
|
|
||||||
v -0.5 0.5 0.5
|
|
||||||
v 0.5 -0.5 -0.5
|
|
||||||
v 0.5 -0.5 0.5
|
|
||||||
v 1.0 1.0 -1.0
|
|
||||||
v 1.0 1.0 1.0
|
|
||||||
|
|
||||||
|
|
||||||
vn -1 0 0
|
|
||||||
vn 0 0 1
|
|
||||||
vn 1 0 0
|
|
||||||
vn 0 0 -1
|
|
||||||
vn 0 -1 0
|
|
||||||
vn 0 1 0
|
|
||||||
|
|
||||||
|
|
||||||
vt 0 0 0
|
|
||||||
vt 1 0 0
|
|
||||||
vt 1 1 0
|
|
||||||
vt 0 1 0
|
|
||||||
|
|
||||||
|
|
||||||
f 1/1/1 2/2/1 4/3/1
|
|
||||||
f 1/1/1 4/3/1 3/4/1
|
|
||||||
f 2/1/2 6/2/2 8/3/2
|
|
||||||
f 2/1/2 8/3/2 4/4/2
|
|
||||||
f 6/1/3 5/2/3 7/3/3
|
|
||||||
f 6/1/3 7/3/3 8/4/3
|
|
||||||
f 5/1/4 1/2/4 3/3/4
|
|
||||||
f 5/1/4 3/3/4 7/4/4
|
|
||||||
f 5/1/5 6/2/5 2/3/5
|
|
||||||
f 5/1/5 2/3/5 1/4/5
|
|
||||||
f 3/1/6 4/2/6 8/3/6
|
|
||||||
f 3/1/6 8/3/6 7/4/6
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,53 +0,0 @@
|
||||||
newmtl grey
|
|
||||||
illum 1
|
|
||||||
d 1
|
|
||||||
Ns 0.975
|
|
||||||
Ni 0
|
|
||||||
Ka 0 0 0
|
|
||||||
Kd 0.7 0.7 0.7
|
|
||||||
Ks 0 0 0
|
|
||||||
|
|
||||||
newmtl yellow
|
|
||||||
illum 1
|
|
||||||
d 1
|
|
||||||
Ns 0.975
|
|
||||||
Ni 0
|
|
||||||
Ka 0 0 0
|
|
||||||
Kd 0.982062 0.857638 0.400811
|
|
||||||
Ks 0 0 0
|
|
||||||
|
|
||||||
newmtl red
|
|
||||||
illum 1
|
|
||||||
d 1
|
|
||||||
Ns 0.975
|
|
||||||
Ni 0
|
|
||||||
Ka 0 0 0
|
|
||||||
Kd 0.982062 0.1 0.1
|
|
||||||
Ks 0 0 0
|
|
||||||
|
|
||||||
newmtl blue
|
|
||||||
illum 1
|
|
||||||
d 1
|
|
||||||
Ns 0.975
|
|
||||||
Ni 0
|
|
||||||
Ka 0 0 0
|
|
||||||
Kd 0.1 0.9 0.1
|
|
||||||
Ks 0 0 0
|
|
||||||
|
|
||||||
newmtl green
|
|
||||||
illum 1
|
|
||||||
d 1
|
|
||||||
Ns 0.975
|
|
||||||
Ni 0
|
|
||||||
Ka 0 0 0
|
|
||||||
Kd 0.1 0.1 0.982062
|
|
||||||
Ks 0 0 0
|
|
||||||
|
|
||||||
newmtl magenta
|
|
||||||
illum 1
|
|
||||||
d 1
|
|
||||||
Ns 0.975
|
|
||||||
Ni 0
|
|
||||||
Ka 0 0 0
|
|
||||||
Kd 0.982062 0.1 0.982062
|
|
||||||
Ks 0 0 0
|
|
||||||
|
|
@ -1,50 +0,0 @@
|
||||||
# NVIDIA Iray Viewer OBJ exporter
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
mtllib cube_multi.mtl
|
|
||||||
|
|
||||||
o cube
|
|
||||||
v -0.5 -0.5 -0.5
|
|
||||||
v -0.5 -0.5 0.5
|
|
||||||
v -0.5 0.5 -0.5
|
|
||||||
v -0.5 0.5 0.5
|
|
||||||
v 0.5 -0.5 -0.5
|
|
||||||
v 0.5 -0.5 0.5
|
|
||||||
v 0.5 0.5 -0.5
|
|
||||||
v 0.5 0.5 0.5
|
|
||||||
|
|
||||||
|
|
||||||
vn -1 0 0
|
|
||||||
vn 0 0 1
|
|
||||||
vn 1 0 0
|
|
||||||
vn 0 0 -1
|
|
||||||
vn 0 -1 0
|
|
||||||
vn 0 1 0
|
|
||||||
|
|
||||||
|
|
||||||
vt 0 0 0
|
|
||||||
vt 1 0 0
|
|
||||||
vt 1 1 0
|
|
||||||
vt 0 1 0
|
|
||||||
|
|
||||||
|
|
||||||
f 1/1/1 2/2/1 4/3/1
|
|
||||||
f 1/1/1 4/3/1 3/4/1
|
|
||||||
usemtl yellow
|
|
||||||
f 2/1/2 6/2/2 8/3/2
|
|
||||||
f 2/1/2 8/3/2 4/4/2
|
|
||||||
usemtl blue
|
|
||||||
f 6/1/3 5/2/3 7/3/3
|
|
||||||
f 6/1/3 7/3/3 8/4/3
|
|
||||||
usemtl red
|
|
||||||
f 5/1/4 1/2/4 3/3/4
|
|
||||||
f 5/1/4 3/3/4 7/4/4
|
|
||||||
usemtl green
|
|
||||||
f 5/1/5 6/2/5 2/3/5
|
|
||||||
f 5/1/5 2/3/5 1/4/5
|
|
||||||
usemtl magenta
|
|
||||||
f 3/1/6 4/2/6 8/3/6
|
|
||||||
f 3/1/6 8/3/6 7/4/6
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
newmtl cube_instance_material
|
|
||||||
illum 2
|
|
||||||
d 1
|
|
||||||
Ns 8.0
|
|
||||||
Ni 0
|
|
||||||
Ka 0 0 0
|
|
||||||
Kd 0.8 0.8 0.8
|
|
||||||
Ks 1 1 1
|
|
||||||
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
mtllib plane.mtl
|
|
||||||
|
|
||||||
o cube
|
|
||||||
v -20.0 0.0 -20.0
|
|
||||||
v -20.0 0.0 20.0
|
|
||||||
v 20.0 0.0 -20.0
|
|
||||||
v 20.0 0.0 20.0
|
|
||||||
|
|
||||||
vn 0 1 0
|
|
||||||
|
|
||||||
vt 0 0 0
|
|
||||||
vt 1 0 0
|
|
||||||
vt 1 1 0
|
|
||||||
vt 0 1 0
|
|
||||||
|
|
||||||
|
|
||||||
f 1/1/1 2/2/1 3/3/1
|
|
||||||
f 2/2/1 4/4/1 3/3/1
|
|
||||||
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
newmtl default
|
|
||||||
illum 4
|
|
||||||
d 0.5
|
|
||||||
Ns 16
|
|
||||||
Ni 0
|
|
||||||
Ka 0 0 0
|
|
||||||
Kd 0.982062 0.857638 0.400811
|
|
||||||
Ks 1 1 1
|
|
||||||
33293
media/scenes/sphere.obj
|
|
@ -1,8 +0,0 @@
|
||||||
newmtl default
|
|
||||||
illum 2
|
|
||||||
d 1
|
|
||||||
Ns 32.0
|
|
||||||
Ni 0
|
|
||||||
Ka 0 0 0
|
|
||||||
Kd 0.56 0.49 0.25
|
|
||||||
Ks 1 1 1
|
|
||||||
|
Before Width: | Height: | Size: 348 KiB |
|
Before Width: | Height: | Size: 297 KiB |
|
Before Width: | Height: | Size: 362 KiB |
|
Before Width: | Height: | Size: 251 KiB |
|
Before Width: | Height: | Size: 146 KiB |
|
Before Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 441 B |
|
Before Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 612 KiB |
|
Before Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 441 B |
|
Before Width: | Height: | Size: 444 B |