Search found 9671 matches

by CuteAlien
Tue May 21, 2024 3:14 pm
Forum: Beginners Help
Topic: Other shadows engines
Replies: 30
Views: 204

Re: Other shadows engines

Intel GPU on your notebook?
by CuteAlien
Tue May 21, 2024 9:34 am
Forum: Beginners Help
Topic: Other shadows engines
Replies: 30
Views: 204

Re: Other shadows engines

Many work in both. HLSL didn't change that much itself, more like the stuff you can do with it and how data is send to the gpu. But for example cubemap smoothing over borders with d3d9 won't work (you can see it in the examples when you increase the smoothing - in d3d9 you see the borders then, in o...
by CuteAlien
Mon May 20, 2024 9:53 pm
Forum: Beginners Help
Topic: Other shadows engines
Replies: 30
Views: 204

Re: Other shadows engines

Yeah, don't do assembly shaders in this decade. Irrlicht still has a few of those internally, but just for historical reasons (were written once by people who knew that stuff and as long as they kinda work no one replaces them). I started with HLSL, but currently using GLSL for everything. GLSL just...
by CuteAlien
Mon May 20, 2024 8:13 pm
Forum: Beginners Help
Topic: Other shadows engines
Replies: 30
Views: 204

Re: Other shadows engines

Depends on what you really do. Playing with cubemaps is somewhat advanced stuff. You can't really use them without shaders. So likely next step you want to do stuff like for example mixing environment maps with your texture models. Then add lighting again - and so on. And that has all to be done in ...
by CuteAlien
Mon May 20, 2024 5:34 pm
Forum: Beginners Help
Topic: Other shadows engines
Replies: 30
Views: 204

Re: Other shadows engines

New version has the warnings removed. Sadly no speed-up, would have to rewrite XEffects quite a bit for that and I'm not familiar enough with the code to do that.
by CuteAlien
Mon May 20, 2024 4:36 pm
Forum: Beginners Help
Topic: Other shadows engines
Replies: 30
Views: 204

Re: Other shadows engines

My guess is you replaced the createSphereMesh by a getMesh() call but still drop() that mesh. Guessing that because that's what regularly happens to me when I switch from createMesh functions to getMesh functions and you'll get exactly that crash then ;-)
by CuteAlien
Mon May 20, 2024 10:40 am
Forum: Beginners Help
Topic: How to avoid clipping the view port rect?
Replies: 3
Views: 55

Re: How to avoid clipping the view port rect?

Sorry, either I don't get what you do or what you expect. If you move an object left-right in 3D space with perspective camera then objects do change (if you are in a tunnel you can see both side-walls at once because of that). That's what perspective does. You can't move things to the side and have...
by CuteAlien
Mon May 20, 2024 10:21 am
Forum: Advanced Help
Topic: How to use S3DVertex2TCoords?
Replies: 3
Views: 32

Re: How to use S3DVertex2TCoords?

COBJMeshFileLoader seems to be in /irr/src/COBJMeshFileLoader.cpp in Minetest (at least in master branch). If you search for S3DVertex there is only once place. And what I mean with - "need corresponding meshbuffer" is that SMeshBuffer _only_ takes S3DVertex, it can't take S3DVertex2TCoord...
by CuteAlien
Sun May 19, 2024 9:12 pm
Forum: Advanced Help
Topic: How to use S3DVertex2TCoords?
Replies: 3
Views: 32

Re: How to use S3DVertex2TCoords?

In general it's the loader which creates the vertices. Not sure right now if any actually does that. Or yourself if you have your own functions to create meshes. Make sure to use the correct vertex type in the corresponding meshbuffer class. In newer Irrlicht you can use CDynamicMeshBuffer(EVT_2TCOO...
by CuteAlien
Sun May 19, 2024 10:41 am
Forum: Beginners Help
Topic: How to avoid clipping the view port rect?
Replies: 3
Views: 55

Re: How to avoid clipping the view port rect?

Maybe you are missing some aspect ratio changes? Your first image has 15/8 your second has something like 2 times 7.5/8 (with the images you posted here, I guess real ones are likely not exactly the same). The camera always renders the full height of your given field of view (ICameraSceneNode::setFO...
by CuteAlien
Sat May 18, 2024 10:51 pm
Forum: Beginners Help
Topic: Other shadows engines
Replies: 30
Views: 204

Re: Other shadows engines

Nice.I'll get rid of the other warnings on Monday probably (got some public holiday here).
by CuteAlien
Sat May 18, 2024 8:25 pm
Forum: Beginners Help
Topic: Other shadows engines
Replies: 30
Views: 204

Re: Other shadows engines

Hunting it was a bit fun ;-)
by CuteAlien
Sat May 18, 2024 8:02 pm
Forum: Beginners Help
Topic: Other shadows engines
Replies: 30
Views: 204

Re: Other shadows engines

Found the reason now btw, in r3652 (before 1.8.0 release) there was a change which added calls to glDisable(GL_BLEND) and glEnable(GL_BLEND) which started conflicting with the materials settings for disabling/enabling blending. Then later in trunk - it just got set once more afterwards, which on fir...
by CuteAlien
Sat May 18, 2024 5:56 pm
Forum: Beginners Help
Topic: Other shadows engines
Replies: 30
Views: 204

Re: Other shadows engines

If you have no reason to stay with Irrlicht 1.8 (and only one I can think of is that you want to use official Irrlicht in Linux distributions like Debian) then I can definitely recommend moving to svn trunk. I've been working with that now for the last decade or so. As for how it works - just update...
by CuteAlien
Sat May 18, 2024 5:18 pm
Forum: Beginners Help
Topic: GLES2 Color Format Error
Replies: 1
Views: 17

Re: GLES2 Color Format Error

CNullDriver::setRenderTarget automatically uses ECF_D24S8 for depth-texture
Actually one of the blocking todo's for Irrlicht 1.9 release.
It might be possible to avoid the error by manually setting another depth-texture.