Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
What happen if using >1024 pixel image #215002
07/08/08 18:35
07/08/08 18:35
Joined: Jun 2008
Posts: 91
C
Coisox Offline OP
Junior Member
Coisox  Offline OP
Junior Member
C

Joined: Jun 2008
Posts: 91
This question is about image for panel. If I use >1024 pixel image on machine that doesn’t support >1024 image, what will happen?

1. The game crash
2. The game can still run but the image will be automatically resized to 1024.

If the answer is no. 2, if we:

PANEL *abc = { bmap = thatbigimage.tga; }

What will be returned if we call abc.size_x? 1024 or the original big size?

And what if we run on window mode on the same machine? Does window mode has anything to do with 3D card limitation? Or it's fully emulator which can render all features?

Re: What happen if using >1024 pixel image [Re: Coisox] #215004
07/08/08 18:49
07/08/08 18:49
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
PANEL *abc = { bmap = "thatbigimage.tga"; }

bmap_height (bmap);
bmap_width (bmap);


"empty"
Re: What happen if using >1024 pixel image [Re: flits] #215005
07/08/08 18:53
07/08/08 18:53
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
window mode has nothing to do with the 3d card, the engine just renders to a window's device context instead of the whole screen.

Re: What happen if using >1024 pixel image [Re: Joey] #215060
07/09/08 01:11
07/09/08 01:11
Joined: Jun 2008
Posts: 91
C
Coisox Offline OP
Junior Member
Coisox  Offline OP
Junior Member
C

Joined: Jun 2008
Posts: 91
Originally Posted By: flits
PANEL *abc = { bmap = "thatbigimage.tga"; }

bmap_height (bmap);
bmap_width (bmap);

Sorry, I don't understand what you are trying to say. What I need to know is the panel size on machine that doesn't support big texture (1024). Incase the result may be vary among different version of Lite-C, I'm using A7 and the panel size will be resized according to bmap size. So the question is, will the panel size remain the same after the "Auto" resizing?

Originally Posted By: Joey
window mode has nothing to do with the 3d card, the engine just renders to a window's device context instead of the whole screen.

So this means, any graphic features (bump, shader 3.0, big texture) can be rendered perfectly in window mode? But at the cost of slower FPS and windowed right?

So do you know the answers for the rest of my question? I got 3 main question:
1. Will the gamae crash
2. The current panel size
3. Window mode can render all graphic effects/features

Re: What happen if using >1024 pixel image [Re: Coisox] #215104
07/09/08 09:50
07/09/08 09:50
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
1. will the game crash? try it. i doubt it. even with something like 16kx16k textures the engine would probably just rely on the paging algorithm of the driver.
3. window mode can render all effects. of course there might exist problems but there are also problems for full screen rendering (e.g. not being able to overlay other windows controls).

Re: What happen if using >1024 pixel image [Re: Joey] #215110
07/09/08 10:25
07/09/08 10:25
Joined: Jun 2008
Posts: 91
C
Coisox Offline OP
Junior Member
Coisox  Offline OP
Junior Member
C

Joined: Jun 2008
Posts: 91
Thank you for the answer. Very clear. smile

BTW, Is there any way to disable/limits certain 3D card features? I want to set my 3D card texture limits to 1024 to see the effects since my 3D card supports large texture. Or can we limits the window mode capabilities?

I'm not very good at programming, so I'm not sure whether this is a difficult task or not.

Re: What happen if using >1024 pixel image [Re: Coisox] #215169
07/09/08 15:49
07/09/08 15:49
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
it is a difficult task. try to start the engine in weak 3d mode, i think this disables certain effects. look for w3d in the manual.

Re: What happen if using >1024 pixel image [Re: Joey] #215249
07/10/08 01:14
07/10/08 01:14
Joined: Jun 2008
Posts: 91
C
Coisox Offline OP
Junior Member
Coisox  Offline OP
Junior Member
C

Joined: Jun 2008
Posts: 91
Thank you.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1