Remember me

Lost Password?

Register now!


Who's Online
103 user(s) are online (76 user(s) are browsing Forums)

Members: 0
Guests: 103


Support us!

Recent OS4 Files

Report message:*

Re: SDL1 open issues

Subject: Re: SDL1 open issues
by Capehill on 2019/8/24 19:02:50


Ideally, Irrlicht should be configured to render to an ARGB "surface" (I mean video::IImage, not SDL_Surface) which could be then uploaded to the texture. SDL_Surface would be only an extra step and hopefully unnecessary.

Do you know how to configure Irrlicht renderer?

Texture is created here: https://github.com/okuoku/irrlicht-gen ... /CIrrDeviceSDL2.cpp#L1219

When surface is matching, then it should be alright.

We try to do this: https://wiki.libsdl.org/MigrationGuide ... ered_frames_to_the_screen

1) Let Irrlicht render its SW surface
2) Update texture (pixels travel to VRAM if accelerated renderer used)
3) Render texture
4) Profit?

So this is SW renderering, how about HW? I suppose Irrlicht speaks also OpenGL?

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project