Search found 18 matches

by vroad
Sat Sep 07, 2013 1:01 pm
Forum: Advanced Help
Topic: draw2dImage Alpha
Replies: 5
Views: 945

Re: draw2dImage Alpha

Have you look at the documentation?
Just pass true to 'useAlphaChannelOfTexture' parameter.
http://irrlicht.sourceforge.net/docu/cl ... e526bbcdb3
by vroad
Thu Aug 29, 2013 3:13 pm
Forum: Open Discussion and Dev Announcements
Topic: A patch to draw 2d vertices with materials enabled
Replies: 3
Views: 1454

Re: A patch to draw 2d vertices with materials enabled

http://i.imgur.com/seBB4ML.png?1 This is the screen shot... Currently OverrideMaterial2D only allows programmers to change basic render states only such as filtering mode. It doesn't allow you to use different material like EMT_ONETEXTURE_BLEND, or EMT_TRANSPARENT_ADD_COLOR. You can do it with 3d d...
by vroad
Wed Aug 28, 2013 3:38 pm
Forum: Open Discussion and Dev Announcements
Topic: A patch to draw 2d vertices with materials enabled
Replies: 3
Views: 1454

A patch to draw 2d vertices with materials enabled

I've made a patch to draw 2d images with materials enabled. It seems working in my test code, but there may be some cases that drawing doesn't work correctly.
This test code uses setMaterial to do alpha blending with EMT_ONETEXTURE_BLEND.
https://gist.github.com/vroad/d1a2e2cfe57ed7c9f5d7
by vroad
Wed Feb 20, 2013 1:59 pm
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 176
Views: 110141

Re: Irrlicht i18n (Unicode, FreeType, etc.)

Unfortunately, typing with unicode characters is only supported on Windows/Linux.
This is OS-Specific part. Other futures should work on every platforms.
by vroad
Tue Feb 19, 2013 1:27 pm
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 176
Views: 110141

Re: Irrlicht i18n (Unicode, FreeType, etc.)

http://irrlicht.svn.sourceforge.net/viewvc/irrlicht/branches/ogl-es/ There is OpenGL-ES version of Irrlicht. If you don't have svn client, you can download as tarball from sourceforge's browser. It also contains project for Android and iOS. This addon should works well on those platforms as it works...
by vroad
Sun Jun 19, 2011 3:36 pm
Forum: Beginners Help
Topic: property system for editor
Replies: 2
Views: 373

Yes, all attribute values are saved in IAttributes, so other properties are not changed.
In the case of modifying single attribute, other class properties should be reset by "IAttributeExchangingObject::deserializeAttributes" call.

I might be worrying too much about it.
by vroad
Fri Jun 17, 2011 3:21 pm
Forum: Beginners Help
Topic: property system for editor
Replies: 2
Views: 373

property system for editor

Irrlicht has "IAttributeExchangingObject" interface. Document says that it can be used in editor. But it serializes/deserializes ALL attributes of object. Editor can't modify only single property by this interface. Another way to achieve this is storing name of properties and values in obj...
by vroad
Wed Oct 13, 2010 1:43 pm
Forum: Code Snippets
Topic: IrrlichtML CGUITTFont addition..
Replies: 19
Views: 9019

git-svn command

At least on my environment, git svn clone worked correctly with this command:

git svn clone --trunk trunk --branches branches/releases --tags tags https://irrlicht.svn.sourceforge.net/svnroot/irrlicht -r 3218:HEAD
by vroad
Sat Oct 09, 2010 2:33 pm
Forum: Code Snippets
Topic: IrrlichtML CGUITTFont addition..
Replies: 19
Views: 9019

git svn

Do you know git-svn?
You can get latest changes from svn repo.
by vroad
Sun Sep 26, 2010 12:09 pm
Forum: Code Snippets
Topic: IrrlichtML CGUITTFont addition..
Replies: 19
Views: 9019

Memory leak in CGUITTFont

Hi
I'm using CGUITTFont from your git repository.
I founded a memory leak and tried to fix it.

http://pastebin.com/dHupSHAc

I think Direct3D9 supports 8bit alpha-only or luminance-only formats. (D3DFMT_A8, D3DFMT_L8)
by vroad
Sat Jun 26, 2010 3:22 pm
Forum: Beginners Help
Topic: rendering cube lighter than original texture color
Replies: 6
Views: 509

Thank you for reply.
However, Pixel Shader only works on Direct3D/OpenGL and modern graphics card.
I will implement by it if there are no other methods.
by vroad
Wed Jun 23, 2010 3:37 pm
Forum: Beginners Help
Topic: rendering cube lighter than original texture color
Replies: 6
Views: 509

rendering cube lighter than original texture color

I would like to rendering a cube with a texture that is brighter than original texture color. I disabled lighting, but There is no method to render polygons brighter without lighting. I have considered copy the texture and make it brighter, but it's not useful. Is there a solution??? ISceneNode* nod...
by vroad
Thu Mar 25, 2010 5:47 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: TrueType font Support by FreeType Library
Replies: 183
Views: 99129

I'm sorry for late reply.
I have just tested new CGUITTFont class. It seems that it works no problem, thank you.
by vroad
Sun Mar 07, 2010 1:46 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: TrueType font Support by FreeType Library
Replies: 183
Views: 99129

I'm sorry, try opening this url in a new web browser window(tab). My homepage space doesn't allow to link from other sites except html file. http://vroadhp.web.fc2.com/images/testttfont.png I could not found setFontHinting in CGUITTFont.cpp, so I added this code before font->attach in CGUIEnvironmen...
by vroad
Wed Mar 03, 2010 3:04 pm
Forum: Beginners Help
Topic: Load Texture and sound files in background thread
Replies: 1
Views: 363

Load Texture and sound files in background thread

I have been creating game which uses a lot of textures(and sounds) using Irrlicht and Irrklang.
So frequently loaded and removed textures.
To avoid stopping main game loop, I want to load textures and sounds in background.
But Irrlicht doesn't have thread function...
How to solve this problem?