Search found 14 matches

by Vir
Thu Apr 25, 2013 3:25 pm
Forum: Beginners Help
Topic: Running an OpenGL window in front of the Windows 7 taskbar
Replies: 3
Views: 717

Re: Running an OpenGL window in front of the Windows 7 taskb

Solved!

I just used this line after the Irrlicht window was initialized:

Code: Select all

SetWindowPos(reinterpret_cast<HWND>(videoDriver->getExposedVideoData().OpenGLWin32.HWnd), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE & SWP_NOSIZE);
I also had to include Windows.h.
by Vir
Thu Apr 25, 2013 2:19 pm
Forum: Beginners Help
Topic: Running an OpenGL window in front of the Windows 7 taskbar
Replies: 3
Views: 717

Re: Running an OpenGL window in front of the Windows 7 taskb

It has to be possible. Applications like Photoshop and Powerpoint can go into full screen mode such that they occlude the taskbar. Kiosk programs running on Windows also occlude the taskbar. I suppose it probably requires some Windows API knowledge, which I admittedly don't have much knowledge of.
by Vir
Tue Apr 16, 2013 2:30 pm
Forum: Beginners Help
Topic: Running an OpenGL window in front of the Windows 7 taskbar
Replies: 3
Views: 717

Running an OpenGL window in front of the Windows 7 taskbar

I need a full-screen window that will span two displays, which means I can't use DirectX in full-screen mode. I've had some success with using an OpenGL window, but it's always behind the taskbar in Windows 7. This means that I need to set the taskbar to auto-hide, which isn't a great solution. I re...
by Vir
Wed Apr 03, 2013 4:50 am
Forum: Advanced Help
Topic: GLSL reflective floor shader
Replies: 3
Views: 1350

Re: GLSL reflective floor shader

Thanks. I've been looking into noise algorithms, and so far that seems to be the best way to go, as long as I can get the normal map to match the detail map. Or maybe I'll just compute them separately, at different detail levels, that seems a lot easier, and probably would look okay. I mean, it's ju...
by Vir
Mon Apr 01, 2013 1:35 pm
Forum: Advanced Help
Topic: GLSL reflective floor shader
Replies: 3
Views: 1350

GLSL reflective floor shader

I'm going to have a shiny, stainless steel floor at the y=0 plane, in world coordinates. Anyway, I was thinking that with a GLSL shader, it wouldn't be too hard to have a multi-layered floor with the following layers: A reflective layer, which would reflect any objects in the scene that are above th...
by Vir
Tue Mar 19, 2013 2:31 pm
Forum: Beginners Help
Topic: Can Irrlicht use COLLADA shader materials?
Replies: 2
Views: 277

Re: Can Irrlicht use COLLADA shader materials?

Thanks. Reading through the API, I've noticed Irrlicht has a lot of features that aren't used in the examples or mentioned in the "features" page, and I was just making sure this wasn't one of them.
by Vir
Tue Mar 19, 2013 1:34 pm
Forum: Beginners Help
Topic: Can Irrlicht use COLLADA shader materials?
Replies: 2
Views: 277

Can Irrlicht use COLLADA shader materials?

It would make it very easy if it could, but I'd imagine a lot more people would use shaders in Irrlicht if that was possible.
by Vir
Wed Mar 06, 2013 6:15 pm
Forum: Beginners Help
Topic: Parallax mapping seems to be inverted somehow
Replies: 3
Views: 1155

Re: Parallax mapping seems to be inverted somehow

What about example 11, can you reproduce what you described here with the example? Actually, we made some developments on this issue. First, the problem was apparently with a directional light that was set to move with the camera. (Not my code.) It lit ordinary materials properly, but seemed to lig...
by Vir
Tue Mar 05, 2013 7:52 pm
Forum: Beginners Help
Topic: Creating a cable/rope mesh on the fly, every frame
Replies: 5
Views: 800

Re: Creating a cable/rope mesh on the fly, every frame

Since you already seem to have the algorithm for the cable movement, you probably only need an animated mesh which you can position on your own. At least if the joints stay in the same place, you could do so with a skinned mesh based on a simple skeleton positioned at the rotation points of the rop...
by Vir
Sat Mar 02, 2013 5:23 pm
Forum: Beginners Help
Topic: Per pixel lighting in custom scene node
Replies: 4
Views: 501

Re: Per pixel lighting in custom scene node

You need lights in order to get the parallax-mapped textures looking how you want them to. If you have no lights in 3DS Max, the renderer will assume a default light that's positioned near where the camera is. In your program, you've apparently just turned lighting off completely for your material, ...
by Vir
Fri Mar 01, 2013 4:32 am
Forum: Beginners Help
Topic: [SOLVED] VS2010 project from scratch
Replies: 3
Views: 631

Re: VS2010 project from scratch

You're best off modifying an existing Irrlicht demo. It'll have all the include files and lib files already linked to it, and all the solution and project properties will be set up properly. You're not really gaining anything by creating a project from scratch, especially if you don't know your way ...
by Vir
Thu Feb 28, 2013 10:25 pm
Forum: Beginners Help
Topic: Creating a cable/rope mesh on the fly, every frame
Replies: 5
Views: 800

Re: Creating a cable/rope mesh on the fly, every frame

Consider using IVideoDriver::draw3DLine() I thought of that, but my program is way too realistic-looking for that to look right. I've actually got another way of doing it that I'm looking into, where I can texture the cable and animate it. It uses an algorithm that someone I work with developed for...
by Vir
Thu Feb 28, 2013 1:46 am
Forum: Beginners Help
Topic: Creating a cable/rope mesh on the fly, every frame
Replies: 5
Views: 800

Creating a cable/rope mesh on the fly, every frame

I'm animating a model of a robotic manipulator in Irrlicht based on a real-world machine that's actuated by a cable-pulley system. I have the pulleys modeled, but wanted to also model the cables. The only issue is, the cable mesh would change shape a lot, based on the joint angles. It would always b...
by Vir
Wed Feb 27, 2013 10:30 pm
Forum: Beginners Help
Topic: Parallax mapping seems to be inverted somehow
Replies: 3
Views: 1155

Parallax mapping seems to be inverted somehow

I wish I could post a screenshot, but I'm working on a commercial product, and the higher-ups have expressly forbid making anything public until it's ready for release. I hope you can follow my description of what's going on. Anyway, when I turn on parallax mapping and apply my own color and normal ...