blob: 7bc7bae2b7bd4bfa270aebd034a342f4dda085d9 (
plain)
| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 2d 00 00 00 2d 08 06 00 00 00 3a 1a e2 | .PNG........IHDR...-...-.....:.. |
| 0020 | 9a 00 00 00 06 62 4b 47 44 00 ff 00 ff 00 ff a0 bd a7 93 00 00 00 09 70 48 59 73 00 00 0b 13 00 | .....bKGD..............pHYs..... |
| 0040 | 00 0b 13 01 00 9a 9c 18 00 00 00 07 74 49 4d 45 07 e0 05 0b 14 04 20 81 5c 57 33 00 00 07 69 49 | ............tIME........\W3...iI |
| 0060 | 44 41 54 58 c3 ed 98 3d 6c 1b 87 19 86 9f e3 dd f1 ee 78 c7 1f 8b 12 45 52 b2 68 59 92 a5 ba 70 | DATX...=l.........x....ER.hY...p |
| 0080 | 92 26 4d 8c 0a 86 0b 23 c9 92 b4 e8 58 74 2a 3a 17 9d bb 66 29 3a 04 48 5b a3 5d bc 14 6d 97 0e | .&M....#....Xt*:...f):.H[.]..m.. |
| 00a0 | 5d 0a d8 8b 03 04 45 50 b4 80 91 ba 4d e0 e8 27 95 2d 53 14 ff c4 df e3 f1 c8 3b de f1 d8 81 92 | ].....EP....M..'.-S.......;..... |
| 00c0 | 10 b7 80 1b 91 83 17 71 22 08 3c 7c 41 e2 c5 c7 87 af f0 fe fb bf 1a 39 4e 07 00 55 55 d1 75 1d | .......q".<|A./*
Minetest
Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
Copyright (C) 2017 numzero, Lobachevskiy Vitaliy <numzer0@yandex.ru>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#pragma once
#include "stereo.h"
class RenderingCoreInterlaced : public RenderingCoreStereo
{
protected:
video::ITexture *left = nullptr;
video::ITexture *right = nullptr;
video::ITexture *mask = nullptr;
video::SMaterial mat;
void initMaterial();
void initTextures() override;
void clearTextures() override;
void initMask();
void useEye(bool right) override;
void resetEye() override;
void merge();
public:
RenderingCoreInterlaced(IrrlichtDevice *_device, Client *_client, Hud *_hud);
void drawAll() override;
};
|