<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C++ on Max Kruf</title><link>https://maxkruf.com/tag/c/</link><description>Recent content in C++ on Max Kruf</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 05 Apr 2021 23:49:46 +0000</lastBuildDate><atom:link href="https://maxkruf.com/tag/c/index.xml" rel="self" type="application/rss+xml"/><item><title>Crime Engine</title><link>https://maxkruf.com/crime-engine/</link><pubDate>Sat, 11 Apr 2020 16:33:00 +0000</pubDate><guid>https://maxkruf.com/crime-engine/</guid><description>&lt;p&gt;Custom game engine made in C++ for the game Streamlined Mastermind.&lt;/p&gt;
&lt;div class="video"&gt;&lt;iframe src="https://www.youtube-nocookie.com/embed/QzIu9UONqP8" title="YouTube video" loading="lazy" allow="encrypted-media; picture-in-picture; fullscreen" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;

&lt;h2 id="project-details"&gt;Project Details&lt;/h2&gt;
&lt;p&gt;The concept for Streamlined Mastermind was made earlier, the idea was that we would create an engine where Streamlined Mastermind would be made in. Unfortunately we didn&amp;rsquo;t have enough time to build the engine into a production ready tool, the final game was made using an existing engine.&lt;/p&gt;</description></item><item><title>Ray Tracer</title><link>https://maxkruf.com/ray-tracer/</link><pubDate>Fri, 25 Jan 2019 17:38:00 +0000</pubDate><guid>https://maxkruf.com/ray-tracer/</guid><description>&lt;p&gt;A ray tracer made in C++ to learn about math, data structures, algorithms and of course ray tracing.&lt;/p&gt;
&lt;p&gt;It uses SFML to display the output. The math library is made by hand.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://maxkruf.com/wp-content/uploads/2020/12/RayTracingStats_01.png" alt="" loading="lazy"&gt;&lt;/p&gt;
&lt;h2 id="features"&gt;Features&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Primitive shapes.&lt;/li&gt;
&lt;li&gt;Hard/soft shadows.&lt;/li&gt;
&lt;li&gt;Roughness.&lt;/li&gt;
&lt;li&gt;Phong shading.&lt;/li&gt;
&lt;li&gt;Reflection and refraction.&lt;/li&gt;
&lt;li&gt;(Prototype) sphere based acceleration structure.&lt;/li&gt;
&lt;li&gt;Directional and point lights.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="project-details"&gt;Project Details&lt;/h2&gt;
&lt;p&gt;For this assignment we had to create our own math library and then build a ray tracer using it. The base course was focused on getting a basic understanding about ray tracing, light, math and optimizations. The extra course I followed was about path tracing, low level optimizations and building towards a real-time ray/path tracer.&lt;/p&gt;</description></item></channel></rss>