Hi,
I'm running into my first problems right at the beginning of using Irrlicht.
I'm trying to prt a game to C# and I'm right now testing out Irrlicht as the 3d engine.
Well, I'm so far just trying to display the background image of the game's main menu by using Draw2DImage. But it looks worse than the original simply because Anisotrophic Filturing isn't used and the image has to be scaled up to my widescreen resolution, so artifacts show.
Is there any way to activate the filturing for this or is this only possible for materials used by meshes?
How to use texture filturing combined with Draw2DImage
-
- Posts: 6
- Joined: Sun Feb 25, 2007 7:30 pm
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Yes, the GUI methods (including the basic draw2D* methods) currently ignore smaterial stuff. This might change in Irrlicht 1.7 (at least that's the version I'd expect it to be in ATM). However, you can simply render a 3d quad at some distance (and with zbuffer disabled) to render a fullscreen background with filtering etc.
-
- Posts: 6
- Joined: Sun Feb 25, 2007 7:30 pm
-
- Posts: 6
- Joined: Sun Feb 25, 2007 7:30 pm
Eh? You mean it is impossible to create a 3d quad with already transformed vertices?
I'm sure as hell not going to put something 2d in a real 3d world and go on trying to position the camera right so it looks 2d.. gee.. ok.. dying .NET support, no .DDS file support and now no ability to draw filtured textures on a transformed 2d shape for a simple background...
well... that's been Irrlicht for me I guess.. those are all things I desperately need for my project. COuld live without one of them I guess but certainly not all...
I'm sure as hell not going to put something 2d in a real 3d world and go on trying to position the camera right so it looks 2d.. gee.. ok.. dying .NET support, no .DDS file support and now no ability to draw filtured textures on a transformed 2d shape for a simple background...
well... that's been Irrlicht for me I guess.. those are all things I desperately need for my project. COuld live without one of them I guess but certainly not all...
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
If you'd search a little more, or would bring some more enthusiasm, you could easily find several solutions which work without necessary calculations etc, just think of proper ortho projections...
However, I guess you understand that I'm not willing to help some unmotivated come-along just for fun. There's no such thing as a free lunch, so you cannot expect to get all things without any work on your side. E.g. try a search for "fullscreen AND quad" or something related. The postproc addons all use this thing. The stencil shadow does as well, so the code is already on your system.
However, I guess you understand that I'm not willing to help some unmotivated come-along just for fun. There's no such thing as a free lunch, so you cannot expect to get all things without any work on your side. E.g. try a search for "fullscreen AND quad" or something related. The postproc addons all use this thing. The stencil shadow does as well, so the code is already on your system.
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
^^^
Funny, I don't remember posting that, but it looks like me.
Funny, I don't remember posting that, but it looks like me.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way