Skip to content

Commit

Permalink
renderer efficiency improvements (#48)
Browse files Browse the repository at this point in the history
* renderer efficiency improvements

* restore mipmaps
  • Loading branch information
gmriggs committed Jan 28, 2022
1 parent bd9a0f9 commit a63ca24
Show file tree
Hide file tree
Showing 34 changed files with 1,633 additions and 1,226 deletions.
12 changes: 10 additions & 2 deletions ACViewer/ACViewer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@
<Compile Include="ModelViewer.cs" />
<Compile Include="Model\BoundingBox.cs" />
<Compile Include="Model\Face.cs" />
<Compile Include="Model\InstanceBufferStats.cs" />
<Compile Include="Model\LandVertex.cs" />
<Compile Include="Model\Mesh.cs" />
<Compile Include="Model\ParticleDeclaration.cs" />
Expand Down Expand Up @@ -275,21 +276,24 @@
<Compile Include="Physics\Managers\ServerObjectManager.cs" />
<Compile Include="Picker.cs" />
<Compile Include="Render\Buffer.cs" />
<Compile Include="Render\GfxObjInstance_Shared.cs" />
<Compile Include="Render\GfxObjinstance_TextureFormat.cs" />
<Compile Include="Render\ParticleBatch.cs" />
<Compile Include="Render\ParticleBatchDraw.cs" />
<Compile Include="Render\ParticleTextureFormat.cs" />
<Compile Include="Render\PerfTimer.cs" />
<Compile Include="Render\EffectParameters.cs" />
<Compile Include="Render\TerrainBatch.cs" />
<Compile Include="Render\TerrainBatchDraw.cs" />
<Compile Include="Render\TextureAtlas.cs" />
<Compile Include="Render\TextureSet.cs" />
<Compile Include="Render\InstanceBatch.cs" />
<Compile Include="Render\InstanceBatchDraw.cs" />
<Compile Include="Render\RenderBatch.cs" />
<Compile Include="Render\R_CellStruct.cs" />
<Compile Include="Render\R_EnvCell.cs" />
<Compile Include="Render\R_Environment.cs" />
<Compile Include="Render\R_EnvironmentCache.cs" />
<Compile Include="Render\R_Landblock.cs" />
<Compile Include="Render\TerrainBatch.cs" />
<Compile Include="Model\VertexInstance.cs" />
<Compile Include="Render\TextureFormat.cs" />
<Compile Include="TextureViewer.cs" />
Expand Down Expand Up @@ -574,6 +578,9 @@
<None Include="Content\Fonts\Consolas.xnb">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Content\texture_clamp.mgfxo">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
Expand All @@ -587,6 +594,7 @@
<Resource Include="Icons\Search_16x.png" />
</ItemGroup>
<ItemGroup>
<Content Include="Content\texture_clamp.fx" />
<Content Include="Data\Locations.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Expand Down
2 changes: 2 additions & 0 deletions ACViewer/Content/build_debug.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
2mgfx %1.fx %1.mgfxo /Debug /Profile:DirectX_11
copy %1.fx %1.fx.28_1.hlsl
Loading

0 comments on commit a63ca24

Please sign in to comment.