Search found 27 matches
- Sun Jul 25, 2010 10:28 pm
- Forum: Beginners Help
- Topic: How can resize screenshot?
- Replies: 4
- Views: 550
- Sun Jul 25, 2010 7:39 pm
- Forum: Beginners Help
- Topic: How can resize screenshot?
- Replies: 4
- Views: 550
- Sun Jul 25, 2010 6:36 pm
- Forum: Beginners Help
- Topic: How can resize screenshot?
- Replies: 4
- Views: 550
How can resize screenshot?
This code for create screenshot:
video::IImage* image = device->getVideoDriver()->createScreenShot();
if (image)
{
device->getVideoDriver()->writeImageToFile(image, "screenshot.bmp");
device->getVideoDriver()->writeImageToFile(image, "screenshot.png");
device->getVideoDriver ...
video::IImage* image = device->getVideoDriver()->createScreenShot();
if (image)
{
device->getVideoDriver()->writeImageToFile(image, "screenshot.bmp");
device->getVideoDriver()->writeImageToFile(image, "screenshot.png");
device->getVideoDriver ...
- Thu Jul 15, 2010 5:02 pm
- Forum: Beginners Help
- Topic: cannot allocate an object of type
- Replies: 1
- Views: 500
cannot allocate an object of type
I am use http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=22812&postdays=0&postorder=asc&start=0
Please help! I am getting errors:
CGUISlotWindow.cpp:233: error: cannot allocate an object of type `irr::gui::CGUIBringUpSlotWindowButton'
CGUISlotWindow.cpp:233: error: because the following ...
Please help! I am getting errors:
CGUISlotWindow.cpp:233: error: cannot allocate an object of type `irr::gui::CGUIBringUpSlotWindowButton'
CGUISlotWindow.cpp:233: error: because the following ...
- Thu Jul 15, 2010 1:18 pm
- Forum: Code Snippets
- Topic: (C++) icon/slot drag/drop rpg style gui
- Replies: 21
- Views: 18220
- Mon Jun 21, 2010 9:54 pm
- Forum: Project Announcements
- Topic: irrCg v0.8 (Initial) - CgFX (Texture States, MultiPass etc.)
- Replies: 227
- Views: 126122
Hello Nadro . Please help. If I am compile IrrCG, I am getting error:
IrrCg.cpp(239) : error C2039: TextureWrap: Ґ пў«пҐвбп з«Ґ®¬ "irr::video::SMaterialLayer"
c:\irrlicht-1.7.1\include\SMaterialLayer.h(49): б¬. ®Ўкпў«ҐЁҐ 'irr::video::SMaterialLayer'
IrrCg.cpp(534) : error C2039: TextureWrap: Ґ ...
IrrCg.cpp(239) : error C2039: TextureWrap: Ґ пў«пҐвбп з«Ґ®¬ "irr::video::SMaterialLayer"
c:\irrlicht-1.7.1\include\SMaterialLayer.h(49): б¬. ®Ўкпў«ҐЁҐ 'irr::video::SMaterialLayer'
IrrCg.cpp(534) : error C2039: TextureWrap: Ґ ...
- Sun Jun 20, 2010 8:09 pm
- Forum: Beginners Help
- Topic: How can use shaders in my project
- Replies: 1
- Views: 472
- Sat Jun 19, 2010 2:52 am
- Forum: Beginners Help
- Topic: How can use shaders in my project
- Replies: 1
- Views: 472
How can use shaders in my project
Hello everyone. I don't understand how use shaders.
For example:
This simple shader "water effect":
water.cg:
/**Vertex shader**/
struct app2vert
{
float4 Position:POSITION;
};
struct vert2frag
{
float4 HPosition:POSITION;
float4 TexCoord0:TEXCOORD0;
float4 TexCoord1:TEXCOORD1;
float4 Color0 ...
For example:
This simple shader "water effect":
water.cg:
/**Vertex shader**/
struct app2vert
{
float4 Position:POSITION;
};
struct vert2frag
{
float4 HPosition:POSITION;
float4 TexCoord0:TEXCOORD0;
float4 TexCoord1:TEXCOORD1;
float4 Color0 ...
- Sun Jun 06, 2010 11:03 am
- Forum: Beginners Help
- Topic: Need help (camera)
- Replies: 2
- Views: 510
- Sun Jun 06, 2010 8:14 am
- Forum: Beginners Help
- Topic: Need help (camera)
- Replies: 2
- Views: 510
Need help (camera)
Hello my camera incorect work, please help me.
This code:
main.cpp:
#include <irrlicht.h>
#include "cam/3DP.h"
//#include "terrain/ShTlTerrainSceneNode.h"
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
enum {UP ...
This code:
main.cpp:
#include <irrlicht.h>
#include "cam/3DP.h"
//#include "terrain/ShTlTerrainSceneNode.h"
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
enum {UP ...
- Sat Jun 05, 2010 1:04 pm
- Forum: Beginners Help
- Topic: Incorect work ShTlTerrainSceneNode+camera in IrrAI
- Replies: 1
- Views: 292
Incorect work ShTlTerrainSceneNode+camera in IrrAI
hello everyone . Please help me.
If i use camera in IrrAI and ShTlTerrainSceneNode begin incorect work ShTlTerrainSceneNode.
This full code:
#include <irrlicht.h>
#include "terrain/ShTlTerrainSceneNode.h"
using namespace irr;
using namespace core;
using namespace scene;
using namespace video ...
If i use camera in IrrAI and ShTlTerrainSceneNode begin incorect work ShTlTerrainSceneNode.
This full code:
#include <irrlicht.h>
#include "terrain/ShTlTerrainSceneNode.h"
using namespace irr;
using namespace core;
using namespace scene;
using namespace video ...
- Thu Jun 03, 2010 7:57 am
- Forum: Beginners Help
- Topic: problem gui and wchar_t*
- Replies: 16
- Views: 3952
- Wed Jun 02, 2010 4:18 pm
- Forum: Beginners Help
- Topic: problem gui and wchar_t*
- Replies: 16
- Views: 3952
- Wed Jun 02, 2010 8:58 am
- Forum: Advanced Help
- Topic: problem gui and wchar_t* (copy)
- Replies: 1
- Views: 423
problem gui and wchar_t* (copy)
I copy this theme: http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=38682
Please help me. I am not understand. Why don't work?
Please help me. I am not understand. Why don't work?
- Wed Jun 02, 2010 8:52 am
- Forum: Beginners Help
- Topic: problem gui and wchar_t*
- Replies: 16
- Views: 3952