Search found 27 matches
- Sun Jul 25, 2010 10:28 pm
- Forum: Beginners Help
- Topic: How can resize screenshot?
- Replies: 4
- Views: 381
- Sun Jul 25, 2010 7:39 pm
- Forum: Beginners Help
- Topic: How can resize screenshot?
- Replies: 4
- Views: 381
I need create a mini screenshot. For example my screen 1024*768 and i am getting screenshot 1024*768, but i need 100*80. I am add in Irrlicht source: COpenGLDriver.cpp: IImage* COpenGLDriver::createScreenShot(int width,int height) { IImage* newImage = new CImage(ECF_R8G8B8, core::dimension2d<u32>(wi...
- Sun Jul 25, 2010 6:36 pm
- Forum: Beginners Help
- Topic: How can resize screenshot?
- Replies: 4
- Views: 381
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()->w...
- Thu Jul 15, 2010 5:02 pm
- Forum: Beginners Help
- Topic: cannot allocate an object of type
- Replies: 1
- Views: 401
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 fol...
- Thu Jul 15, 2010 1:18 pm
- Forum: Code Snippets
- Topic: (C++) icon/slot drag/drop rpg style gui
- Replies: 21
- Views: 17084
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 virtual functions are abstract: IGUIButton.h:128: error: virtual void irr::gui::IGUIButton::setScaleImage(bo...
- Mon Jun 21, 2010 9:54 pm
- Forum: Project Announcements
- Topic: irrCg v0.8 (Initial) - CgFX (Texture States, MultiPass etc.)
- Replies: 227
- Views: 112962
- Sun Jun 20, 2010 8:09 pm
- Forum: Beginners Help
- Topic: How can use shaders in my project
- Replies: 1
- Views: 353
- Sat Jun 19, 2010 2:52 am
- Forum: Beginners Help
- Topic: How can use shaders in my project
- Replies: 1
- Views: 353
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 Colo...
- Sun Jun 06, 2010 11:03 am
- Forum: Beginners Help
- Topic: Need help (camera)
- Replies: 2
- Views: 360
- Sun Jun 06, 2010 8:14 am
- Forum: Beginners Help
- Topic: Need help (camera)
- Replies: 2
- Views: 360
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 ...
- Sat Jun 05, 2010 1:04 pm
- Forum: Beginners Help
- Topic: Incorect work ShTlTerrainSceneNode+camera in IrrAI
- Replies: 1
- Views: 205
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 vid...
- Thu Jun 03, 2010 7:57 am
- Forum: Beginners Help
- Topic: problem gui and wchar_t*
- Replies: 16
- Views: 3537
- Wed Jun 02, 2010 4:18 pm
- Forum: Beginners Help
- Topic: problem gui and wchar_t*
- Replies: 16
- Views: 3537
This full code: #include <irrlicht.h> #include <iostream> #include <fstream> #include <locale> #include <string> #include <stdio.h> typedef int errno_t; using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; using namespace s...
- Wed Jun 02, 2010 8:58 am
- Forum: Advanced Help
- Topic: problem gui and wchar_t* (copy)
- Replies: 1
- Views: 373
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: 3537
I am not stupid. I see text in other encode, no utf-8. File: utf-8 If i use QT library and this code - all fine work . If i use this code in console - all fine work . If i use OGRE and this code - all fine work If i use Irrlicht and this code - all incorect work . I see: http://best-scripts.uz/probl...