Search found 14 matches

by FLUF
Sat May 10, 2008 7:20 pm
Forum: Advanced Help
Topic: Render GUI in texture
Replies: 0
Views: 487

Render GUI in texture

I render gui in texture such as:


driver->beginScene(true, true, 0);

driver->setRenderTarget(rt);
env->drawAll();
driver->setRenderTarget(0);

smgr->drawAll();
driver->endScene();


But I have trouble. Position all widgest stay old.
For example, I have button on top left corner. Whan gui ...
by FLUF
Thu May 01, 2008 11:21 am
Forum: Beginners Help
Topic: ERROR on LINUX: Could not find win32 key for x11 key
Replies: 4
Views: 527

I lose many time for resolve this problem, and failure. I want Cyrillic symbols in my irr-project. I use CGUITTFFont for display it. But also I want write cyr in edit box. Do you give my *.patch for it for 1.4 irr? Or tell my, plz, how it made?
by FLUF
Thu Jan 18, 2007 2:08 pm
Forum: Beginners Help
Topic: HELP!! Problim with transporent!!
Replies: 17
Views: 2152

Sux =(((((((
It work only on Directx3d9 =((
On Directx3d8 and OpenGL(!) it not work! =((
And I can't run my app, making on mingw. Only MSVC++7.0... =(((
by FLUF
Thu Jan 18, 2007 12:58 am
Forum: Beginners Help
Topic: HELP!! Problim with transporent!!
Replies: 17
Views: 2152

No, not work.

And I update my irrlicht (1.1 version to 1.2), and all ok, all work, all buterful and super =)

Big Big thanks at you attention and endurance =)
by FLUF
Wed Jan 17, 2007 7:57 pm
Forum: Beginners Help
Topic: HELP!! Problim with transporent!!
Replies: 17
Views: 2152

V_V'
offcouse I try it! - don't work!

"You don't want the texture alpha channel."
>_<' ??!! no, I want use alpha channel!

fucked! I post question in Jan 15, 5:09 am. todey is 17, 22:50. Question is ease, but you can't give my answer! =(

PLEASE, if alpha blending work on you computer, PLEASE ...
by FLUF
Wed Jan 17, 2007 4:29 pm
Forum: Beginners Help
Topic: HELP!! Problim with transporent!!
Replies: 17
Views: 2152

So, I creat new Irrlicht project (on DevCpp) and write this code (it's copypast from 'harukiblue'):



#include <irrlicht.h>

using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;

IrrlichtDevice *device;
IVideoDriver ...
by FLUF
Wed Jan 17, 2007 11:41 am
Forum: Beginners Help
Topic: HELP!! Problim with transporent!!
Replies: 17
Views: 2152

=\

I try mingw32 and MSVC++7.0 - not work. I try difirent formats of images - nothing =\ I see in irrlicht source (COpenGLDriver) - hm, transparent MAST work... =\ but did't work =(((
Please, if on you computer not full transparent is work (for exemple, transparent image on 23%...), PLEASE, write ...
by FLUF
Tue Jan 16, 2007 8:54 pm
Forum: Beginners Help
Topic: HELP!! Problim with transporent!!
Replies: 17
Views: 2152

No, no. I don't need full transparent. I need alpha blending.
For example, my image has to be transparent on 80% or 23% or 34.5%... u know what i mean?
What I can do it?
by FLUF
Tue Jan 16, 2007 5:34 pm
Forum: Beginners Help
Topic: HELP!! Problim with transporent!!
Replies: 17
Views: 2152

cry

I'm cry, but it's not work to v.v


ITexture *teh0=driver->getTexture("f:/1.png");
ITexture *teh1=driver->getTexture("f:/2.png");

const core::rect< s32 > destRect0 (40,40,500,500);
const core::rect< s32 > destRect1 (90,90,500,500);
const core::rect< s32 > sourceRect (0,0,100,100);
const ...
by FLUF
Tue Jan 16, 2007 12:19 pm
Forum: Beginners Help
Topic: HELP!! Problim with transporent!!
Replies: 17
Views: 2152

Mrf.... V_V' I see this simple.

// draw transparent rect under cursor
core::position2d<s32> m = device->getCursorControl()->getPosition();
driver->draw2DRectangle(video::SColor(100,255,255,255),
core::rect<s32>(m.X-20, m.Y-20, m.X+20, m.Y+20));

It's RECTANGLE! But I want 2DImage!

driver ...
by FLUF
Mon Jan 15, 2007 5:37 pm
Forum: Beginners Help
Topic: HELP!! Problim with transporent!!
Replies: 17
Views: 2152

Please, HELP!! I see API reference and tutoriol. In tutorial, in "10.Shaders", you make "alpha blending" whis help Shaders function.
But I want jast 2d "alpha blending" (not full transparent). What I can do it?? Please, help.
by FLUF
Mon Jan 15, 2007 5:09 am
Forum: Beginners Help
Topic: HELP!! Problim with transporent!!
Replies: 17
Views: 2152

HELP!! Problim with transporent!!

I write this:


int main( )
{
config=new Config( );

device=createDevice(video::EDT_DIRECT3D8, // ^_^'
dimension2d<s32>(config->screen_w, config->screen_h),
config->screen_bpp,
config->screen_full,
config->screen_stencil,
config->screen_vsync);

device->setWindowCaption(L"Cruel Track ...
by FLUF
Sat Jan 13, 2007 11:50 am
Forum: Advanced Help
Topic: Advansed GUI on Irrlicht
Replies: 4
Views: 1174

Yes, I try use CEGUI, and what I undestend: CEGUI - sux!!! V_V'
No, it not difficult. I creat simple gui on CEGUI+irrlicht and add it on my game. But!!:
If use it's sux on irrlicht, then you have many problem:
1. alpha blending all cegui widgets is not work!
2. all pictures and even font are cutted ...
by FLUF
Fri Jan 12, 2007 11:38 pm
Forum: Advanced Help
Topic: Advansed GUI on Irrlicht
Replies: 4
Views: 1174

Advansed GUI on Irrlicht

I need translate this gui http://flufx.narod.ru/archives/CruelTruck0.04alpha.rar (it's creat on guichan) on irrlicht.
But I find big problem.
I need overload Button class. I need add irrlicht button some new functions... How I can do it??