Search found 40 matches

by Destructavator
Fri Jun 27, 2014 2:56 am
Forum: Advanced Help
Topic: This is getting annoying
Replies: 23
Views: 2449

Re: This is getting annoying

Hey, nice!

Just one minor issue: If the forum software allows it, I'd suggest you change the title of the thread, to something such as, gosh, perhaps "This is getting real cool-looking" or something? :D
by Destructavator
Wed Jun 25, 2014 6:39 pm
Forum: Open Discussion and Dev Announcements
Topic: Improved font rendering system.
Replies: 33
Views: 9394

Re: Improved font rendering system.

If you could extract the font rendering system so we could use it with a "vanilla" Irrlicht it would be really nice. Since you create meshbuffers it could work in a new scene node. OK, sure, I can certainly do that. I'd also like to mention, although it isn't shown in the example pics, th...
by Destructavator
Wed Jun 25, 2014 4:06 pm
Forum: Beginners Help
Topic: SOLVED-Help in CodeBlocks 13.12 and Irrlicht 1.8.1 Setup
Replies: 10
Views: 1555

Re: SOLVED-Help in CodeBlocks 13.12 and Irrlicht 1.8.1 Setup

I don't want to hijack this thread, but ... With MinGW-TDM example 16 Quake 3 Map Shader would not link ( problem with snprintf ). On the other side example 21 Quake 3 Explorer ( which also uses snprintf ) compiles and links fine. I found if i put #include "driverChoice.h" ABOVE !!! #incl...
by Destructavator
Wed Jun 25, 2014 2:53 pm
Forum: Beginners Help
Topic: Help on how to enable triple buffering in an Example App
Replies: 2
Views: 528

Re: Help on how to enable triple buffering in an Example App

Triple buffering is really something that should be left up to an end-user's driver settings, either per-application or on a global level. If you (or any end-user running a program you wrote) want it, as hybrid said, the graphics card settings / driver control panel are where it is best done. This i...
by Destructavator
Wed Jun 25, 2014 2:21 pm
Forum: Beginners Help
Topic: SOLVED-Help in CodeBlocks 13.12 and Irrlicht 1.8.1 Setup
Replies: 10
Views: 1555

Re: Help in CodeBlocks 13.12 and Irrlicht 1.8.1 Setup

hmmm - with MinGW-TDM i cannot compile some examples from Irrlicht. I tried a lot of MinGW "distributions", but the most feature complete and problem free (for me) is: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/ Best use ...
by Destructavator
Tue Jun 24, 2014 5:00 pm
Forum: Beginners Help
Topic: SOLVED-Help in CodeBlocks 13.12 and Irrlicht 1.8.1 Setup
Replies: 10
Views: 1555

Re: Help in CodeBlocks 13.12 and Irrlicht 1.8.1 Setup

Hi, a C::B (Codeblocks) IDE + MinGW + Irrlicht setup is *exactly* what I work with, so I might be of some assistance here. I also work with multiple versions and variants of MinGW, so I'm familiar with the differences between some of the versions (but not absolutely all of them, lots of variants are...
by Destructavator
Tue Jun 24, 2014 4:12 pm
Forum: Advanced Help
Topic: This is getting annoying
Replies: 23
Views: 2449

Re: This is getting annoying

It does look good now, yes. If I may ask, what was the issue with the matrix math? I'm asking because I'd think the rules I explained in this thread for working with a matrix should have applied to *both* the inverted world matrix *and* the WorldViewProjection matrices you were passing to the shader...
by Destructavator
Tue Jun 24, 2014 4:27 am
Forum: Advanced Help
Topic: This is getting annoying
Replies: 23
Views: 2449

Re: This is getting annoying

Hmmm.... I see another issue: float time = (float)device->getTimer()->getTime() / 100.0f;             f32 Animation = time;         services->setVertexShaderConstant(TIME, reinterpret_cast<f32*>(&Animation), 1);             f32 WS = time;         services->setVertexShaderConstant(wave_speed, rei...
by Destructavator
Tue Jun 24, 2014 2:13 am
Forum: Advanced Help
Topic: This is getting annoying
Replies: 23
Views: 2449

Re: This is getting annoying

I notice you are initializing a float variable in your CPP code, "T", to 0.0f, which you are then sending to "Tile" - Is this desired, or a mistake? I normally do GLSL, but the line in your shader: OUT.alphaMapTC = IN.texCoord * Tile; ...So you are multiplying a texture coordinat...
by Destructavator
Mon Jun 23, 2014 5:46 pm
Forum: Advanced Help
Topic: This is getting annoying
Replies: 23
Views: 2449

Re: This is getting annoying

at this point i would say release the code so we can help Agreed. It was mentioned in the first post that this is intended to be given to the community, possibly added on to Irrlicht, perhaps you could post the whole thing as a draft proposal of some kind, making it clear it isn't the final version...
by Destructavator
Sun Jun 22, 2014 11:13 pm
Forum: Advanced Help
Topic: How can I set more than one material type for the node
Replies: 4
Views: 909

Re: How can I set more than one material type for the node

Hi! I have create a IAnimatedMeshSceneNode to load a animatedMesh, and wrote a lighting shader and a shadow shader with GLSL. Now I need to add both lighting effect and shadow effect to the same animatedMeshSceneNode using setMaterialType(). I tried to call setMaterialType() twice. But the second w...
by Destructavator
Sun Jun 22, 2014 10:59 pm
Forum: Advanced Help
Topic: new camera
Replies: 2
Views: 492

Re: new camera

One way you could do it is create your own camera scene node class, containing appropriate transformation matrices as needed, with get***() and set***() functions that you would want, and then when you want to actually render / draw something "seen" by that camera, send each matrix to the ...
by Destructavator
Sun Jun 22, 2014 10:36 pm
Forum: Beginners Help
Topic: SDL2 + Irrlicht
Replies: 3
Views: 1995

Re: SDL2 + Irrlicht

Not sure how helpful this is, but as I understand it a desktop window (that one might want to create an OpenGL context within, and from glancing at your code it looks like you are going for OpenGL) is very different between Linux and Microsoft Windows OS. The methods for creating an OpenGL context a...
by Destructavator
Sun Jun 22, 2014 10:13 pm
Forum: Advanced Help
Topic: Custom scene node class?
Replies: 9
Views: 1379

Re: Custom scene node class?

Perhaps I can help, as for my own project I extend scene nodes of different types and create my own all the time. Can you please: - Copy and paste the exact error(s) from your compiler / linker here (If there are many, most likely only the first few lines would probably be relevant, the ones where i...
by Destructavator
Sun Jun 22, 2014 9:56 pm
Forum: Advanced Help
Topic: This is getting annoying
Replies: 23
Views: 2449

Re: This is getting annoying

Typically I'm an OpenGL / GLSL guy, so I could be off here, but I noticed you are sending the matrix "WorldViewProj" to a name in quotes (which I'm guessing is the name in the shader) called "matworldviewprojection" but in your shader code you have the name as "matWorldViewP...