Difference between revisions of "Diffusely convolved cube map"

From polycount
Jump to: navigation, search
(Talk)
 
(WikiName)
Line 1: Line 1:
__NOTOC__
+
<!-- ## page was renamed from Diffusely Convolved Cube Map -->
* Return to [[Polycount|Main Page]]<br> Return to [[Category:Texturing]]
+
* [[Polycount|Main Page]] > [[Category:Texturing]] > [[Diffusely Convolved Cube Map]]
  
A ''diffusely convolved cube map'' is simply a blurred-down version of a regular cubemap. When applied as lighting to the model, it appears similar to global-illumination, except it is extremely efficient performance-wise.
+
= Diffusely Convolved Cube Map =
  
[[TableOfContents]]
 
  
[[Anchor(AMDCubemapgen)]]
+
 
 +
<span id="I"></span><span id="Introduction"></span>
 +
== Introduction ==
 +
A ''diffusely convolved cube map'' is simply a blurred-down version of a regular cube map. When a shader adds the cube map to the model's diffuse map the result is similar to global-illumination, except it is extremely efficient performance-wise.
 +
 
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
[[Image:DiffuselyConvolvedCubeMap$tmp.320.whatif_nmech_env-alone.jpg]]  
 +
|  [[Image:DiffuselyConvolvedCubeMap$tmp.320.whatif_nmech_env+lgt.jpg]]
 +
|-
 +
|  The convolved cube map on a normalmapped model. [[attachment:whatif_nmech_env-alone.jpg|Actual size]]<<BR>><span style="font-size: smaller">image by[http://www.linkedin.com/in/ericchadwick Eric Chadwick],[http://www.whatif-productions.com/ Whatif Productions LLC]</span>
 +
|  Convolved cube map plus lighting. [[attachment:whatif_nmech_env+lgt.jpg|Actual size]]<<BR>><span style="font-size: smaller">image by[http://www.linkedin.com/in/ericchadwick Eric Chadwick],[http://www.whatif-productions.com/ Whatif Productions LLC]</span>
 +
|}
 +
 
 +
<span id="AMDCubemapgen"></span><span id="AC"></span>
 
== AMD Cubemapgen ==
 
== AMD Cubemapgen ==
  
[http://ati.amd.com/developer/cubemapgen/index.html Cubemapgen] is great for filtering down cubemaps.
+
[http://developer.amd.com/gpu/cubemapgen/Pages/default.aspx Cubemapgen] is great for filtering down cube maps.
 +
 
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
|-
 +
|}
 +
 
 +
You can load your own geometry in Cubemapgen using the ''Load Object'' button, really helps to see what settings are working well.
 +
 
 +
You can also load a bitmap for the model using the ''Load Basemap'' button. There's a bug right now that causes your Basemap to be mirrored vertically... to fix it pre-flip the bitmap yourself before loading it in Cubemapgen. An [[Ambient Occlusion Map]] map makes a great Basemap, or you can use your [[DiffuseMap]].
  
 
{| border="1" cellpadding="2" cellspacing="0"
 
{| border="1" cellpadding="2" cellspacing="0"
 +
|  [[Image:DiffuselyConvolvedCubeMap$tmp.320.cubemapgen_nmech_cube.jpg]]
 +
|  [[Image:DiffuselyConvolvedCubeMap$tmp.320.cubemapgen_nmech_basemap+cube.jpg]]
 
|-
 
|-
 +
|  Custom geometry in Cubemapgen. [[attachment:cubemapgen_nmech_cube.jpg|Actual size]]<<BR>><span style="font-size: smaller">image by[http://www.linkedin.com/in/ericchadwick Eric Chadwick]</span>
 +
|  Basemap is modulated (multiplied) with the cube map. [[attachment:cubemapgen_nmech_basemap+cube.jpg|Actual size]]<<BR>><span style="font-size: smaller">image by[http://www.linkedin.com/in/ericchadwick Eric Chadwick]</span>
 
|}
 
|}
  
 +
<span id="ECIP"></span>
 
== Editing Cubemaps in Photoshop ==
 
== Editing Cubemaps in Photoshop ==
If your cubemap is in DDS cube format, you'll need the NVIDIA DDS plugin to load and save in Photoshop.
+
If your cube map is in DDS cube format, you'll need the NVIDIA DDS plugin to load and save in Photoshop.
 
* [http://developer.nvidia.com/object/photoshop_dds_plugins.html NVIDIA Photoshop Plugins]
 
* [http://developer.nvidia.com/object/photoshop_dds_plugins.html NVIDIA Photoshop Plugins]
  
Unfortunately NVIDIA introduced some bugs when they updated the plugin, so now DDS cubes don't load mips properly. If you need to load cubemaps with mips, here's an old version that does it correctly.
+
Unfortunately NVIDIA introduced some bugs when they updated the plugin, so now DDS cubes don't load mips properly. If you need to load cube maps with mips, here's an old version that does it right.
 
* [http://www.ericchadwick.com/examples/files/2005.10.14_DDSformat_and_NormalMapFilter.zip NVIDIA Photoshop Plugins 8.21 beta]
 
* [http://www.ericchadwick.com/examples/files/2005.10.14_DDSformat_and_NormalMapFilter.zip NVIDIA Photoshop Plugins 8.21 beta]
  
<br>
+
<<BR>>
* Return to [[Polycount|Main Page]]<br> Return to [[Category:Texturing]]
+
* [[Polycount|Main Page]] > [[Category:Texturing]] > [[Diffusely Convolved Cube Map]]

Revision as of 14:04, 6 July 2010

Diffusely Convolved Cube Map

Introduction

A diffusely convolved cube map is simply a blurred-down version of a regular cube map. When a shader adds the cube map to the model's diffuse map the result is similar to global-illumination, except it is extremely efficient performance-wise.

File:DiffuselyConvolvedCubeMap$tmp.320.whatif nmech env-alone.jpg File:DiffuselyConvolvedCubeMap$tmp.320.whatif nmech env+lgt.jpg
The convolved cube map on a normalmapped model. Actual size<
>image byEric Chadwick,Whatif Productions LLC
Convolved cube map plus lighting. Actual size<
>image byEric Chadwick,Whatif Productions LLC

AMD Cubemapgen

Cubemapgen is great for filtering down cube maps.

You can load your own geometry in Cubemapgen using the Load Object button, really helps to see what settings are working well.

You can also load a bitmap for the model using the Load Basemap button. There's a bug right now that causes your Basemap to be mirrored vertically... to fix it pre-flip the bitmap yourself before loading it in Cubemapgen. An Ambient Occlusion Map map makes a great Basemap, or you can use your DiffuseMap.

File:DiffuselyConvolvedCubeMap$tmp.320.cubemapgen nmech cube.jpg File:DiffuselyConvolvedCubeMap$tmp.320.cubemapgen nmech basemap+cube.jpg
Custom geometry in Cubemapgen. Actual size<
>image byEric Chadwick
Basemap is modulated (multiplied) with the cube map. Actual size<
>image byEric Chadwick

Editing Cubemaps in Photoshop

If your cube map is in DDS cube format, you'll need the NVIDIA DDS plugin to load and save in Photoshop.

Unfortunately NVIDIA introduced some bugs when they updated the plugin, so now DDS cubes don't load mips properly. If you need to load cube maps with mips, here's an old version that does it right.

<
>

Personal tools
Namespaces

Variants
Actions
Navigation
Tools