Duo/double engine (2d, 3d)

Posted By: beegee

Duo/double engine (2d, 3d) - 10/21/06 08:54

Yeah, just an idea. For example programming the GUI(2d) is displayed with 1024x768(predefined), while the 3d part is in 1600x1200/800x600,...(changeable at runtime)
Perhaps, this is much too difficult to code this feature, but anyway it would help many users.

Edit: Well, physically the monitor can't display different resolutions at the same time. But perhaps, the engine can simulate the 2d and 3d part.(3d the same,2d scaled)
Posted By: Excessus

Re: Duo/double engine (2d, 3d) - 10/21/06 09:19

yes, GREAT idea! I support this.
Posted By: xoNoid

Re: Duo/double engine (2d, 3d) - 10/21/06 10:46

What? Why would someone honestly want to do this
Posted By: Excessus

Re: Duo/double engine (2d, 3d) - 10/21/06 11:07

That way you can create your GUI once and it will look the same in every resolution.

You can do this now by script but it is ALOT of work. For every resoltion, every panel has to be placed and scaled, every panel element has to be placed and scaled. Texts have to be placed differently, using a different font for every resolution, the line breaks have to be changed, etc. It's possible but really bothersome.

This could be achieved by rendering all panels into a seperate bitmap and then scaling that bitmap to the screen resolution before overlaying it on the camera.
Posted By: PHeMoX

Re: Duo/double engine (2d, 3d) - 10/21/06 14:42

You can scale panels now, it just takes some extra coding in c-script, but you can even get away with just making panels for 1 resolution and scale them appropriately. Positioning is a matter of coding too. The only thing that harder, are text fonts ... They don't resize that well, but the filter flag should make them better when resized bigger.

Cheers
© 2024 lite-C Forums