Search found 17 matches

by h.a.n.d
Mon Jul 20, 2009 9:25 pm
Forum: Advanced Help
Topic: Setting the application icons ...
Replies: 1
Views: 412

Setting the application icons ...

Hi, I'm back again with a rather advanced question. How do you set the application icons? I've read about resources and the .rc compiler and that you can compile the icons into your exe. That works so far for me, but Windows doesn't use the icon resources correctly! Here is what I've done: I have an...
by h.a.n.d
Mon Jun 22, 2009 2:06 pm
Forum: Advanced Help
Topic: Alpha Blending or get the Color from the Background?
Replies: 1
Views: 616

Alpha Blending or get the Color from the Background?

Hi, I have a shader question and I hope that somebody has an answer to it. My scene consists of an plane background object with a texture and a moving object with a texture (plane/or 3D). http://62.75.187.72/pics/slides_1a.png What I want to achieve is that the moving object gets coloured like the b...
by h.a.n.d
Tue Apr 14, 2009 12:38 pm
Forum: Project Announcements
Topic: irrCg v0.8 (Initial) - CgFX (Texture States, MultiPass etc.)
Replies: 227
Views: 112980

Your first problem: If you include ..\NVidia Corporation\Cg\include\Cg you have to write: #include <cg.h> in your program code. If you include ..\NVidia Corporation\Cg\include you have to write: #include <Cg/cg.h> in your program code. Thats the difference ... Your second problem sounds a little bi...
by h.a.n.d
Mon Apr 13, 2009 5:12 pm
Forum: Project Announcements
Topic: irrCg v0.8 (Initial) - CgFX (Texture States, MultiPass etc.)
Replies: 227
Views: 112980

I went through the last postings and decided to setup an example project with my working IrrCg (Win32 shared library). It's an Eclipse project but you should be able to adapt it to VS2008 as well. http://www.sendspace.com/file/l13d7h Note: This is how to setup a project with an already compiled IrrC...
by h.a.n.d
Tue Mar 17, 2009 3:39 pm
Forum: Project Announcements
Topic: irrCg v0.8 (Initial) - CgFX (Texture States, MultiPass etc.)
Replies: 227
Views: 112980

Hi @ all,

1. Is it possible to change some shader input parameters at runtime, after the new shader material has already been set?
2. If so, how do I do that with IrrCg?

i.e.: I want to rotate a light and every frame the shader should get the new position of this light.
by h.a.n.d
Mon Mar 16, 2009 7:16 pm
Forum: Project Announcements
Topic: irrCg v0.8 (Initial) - CgFX (Texture States, MultiPass etc.)
Replies: 227
Views: 112980

I had some difficulties myself getting IrrCg running with Irrlicht-1.5 - So I'll post a little checklist of things you will need: Prework 1. Download IrrCg 0.7 2. Download Nvidia Cg 2.1 -> install it 3. Download DirectX SDK -> install it IDE Settings 1. Open an already running irrlicht-1.5 project i...
by h.a.n.d
Fri Feb 20, 2009 5:38 pm
Forum: Beginners Help
Topic: How do I compile Irrlicht lib with code::blocks?
Replies: 10
Views: 982

Thanks for this hint! Reading the $%§& comments in the source code would do the trick ;-) Here is what I've done so far: IrrCompileConfig.h: #define IRR_COMPILE_WITH_DX9_DEV_PACK #if defined(_IRR_WINDOWS_API_) && (!defined(__GNUC__) || defined(IRR_COMPILE_WITH_DX9_DEV_PACK)) //#define _...
by h.a.n.d
Fri Feb 20, 2009 5:27 pm
Forum: Beginners Help
Topic: How do I compile Irrlicht lib with code::blocks?
Replies: 10
Views: 982

(double post)
by h.a.n.d
Fri Feb 20, 2009 5:25 pm
Forum: Beginners Help
Topic: How do I compile Irrlicht lib with code::blocks?
Replies: 10
Views: 982

(double post)
by h.a.n.d
Tue Feb 17, 2009 8:14 pm
Forum: Beginners Help
Topic: How do I compile Irrlicht lib with code::blocks?
Replies: 10
Views: 982

Okay I've tested it with a fresh Irrlicht copy (release version 1.5.0)... This is the compiler dump: -------------- Build: Win32 - Release - accurate math - dll in Irrlicht --------------- Compiling: C3DSMeshFileLoader.cpp Compiling: CAnimatedMeshMD2.cpp Compiling: CAnimatedMeshMD3.cpp Compiling: CA...
by h.a.n.d
Tue Feb 17, 2009 1:34 pm
Forum: Beginners Help
Topic: How do I compile Irrlicht lib with code::blocks?
Replies: 10
Views: 982

How do I compile Irrlicht lib with code::blocks?

Hi, As the topic says: I would like to know how do I compile Irrlicht for Win32 with code::blocks. I already know, that you need to have: 1. MinGW gcc compiler for windows 2. DirectX SDK 3. code::blocks 4. The Irrlicht sources (i.e. from the svn trunk) Step 1 Open the Irrlicht project file for code:...
by h.a.n.d
Mon Feb 16, 2009 10:22 pm
Forum: Bug reports
Topic: [Fixed] removeAnimator in animateNode()
Replies: 2
Views: 1066

Hi guys, Is there a way you can send me the w32-gcc compiled dll with your fix. I would really appreciate this cause I'm unable to compile the trunk or the branch version with code::blocks or VS C++ 2008. (I can compile them but the throw diffrent errors.) Compiled with code::blocks I get an crash a...
by h.a.n.d
Sat Feb 14, 2009 7:54 pm
Forum: Advanced Help
Topic: Parsing complex XML files
Replies: 10
Views: 1247

Thank you for all your help! After studying the loadScene() function for a little bit longer and knowing that irrXML parses the XML file sequentially, I finally got it to work! @bitplane Your suggestion was the tipping point ... Thanks guys!!! Here is my example code (only the important stuff): <?xm...
by h.a.n.d
Sat Feb 14, 2009 5:03 pm
Forum: Advanced Help
Topic: Parsing complex XML files
Replies: 10
Views: 1247

I toke a look to the loadScene() function and it really helps to understand how the irrXML lib works. So one questions has been solved and one new is arising ;-) In all read...() functions: // read materials from attribute list io::IAttributes* attr = FileSystem->createEmptyAttributes(Driver); attr-...
by h.a.n.d
Fri Feb 13, 2009 3:57 pm
Forum: Advanced Help
Topic: Parsing complex XML files
Replies: 10
Views: 1247

Okay I've checked the MeshViewer example, unfortunately this example only uses the easy case of reading XML files with only one element per tag like in the example of the irrXML tutorial.

So my question remains ...