Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 05:41
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AbrahamR, AndrewAMD), 1,278 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
SkyCube automatically being scaled 2x by engine ? #92865
10/03/06 13:39
10/03/06 13:39
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline OP
Warned
Why_Do_I_Die  Offline OP
Warned

Joined: May 2005
Posts: 819
U.S.
In my game I have a skycube that looks very nice at 100% on my image viewer , its a 24bit tga , theres no noticible artifacts or anything , however , when in-game it looks kind of pixalated , so I went back and opened my image viewer and resized the image to 200% , and it looked exactly like it looked in gamestudio. I had never noticed before , since most sky cubes I use are VERY high quality , so Im thinking I just hadnt noticed , this sku cube is still very good quality , and like I said before in 100% size in the image viewer there is no pixelation at all , but maybe its a but of a lower quality than the other ones or something , because its barely noticible with my other ones. Does anyone know if there is something that can be changed or something so It will render it to its original size ? I tried messing aroudn with the sky clip near and far but got nothing , any info appreciated.

Edit: By the way , the sky_cube is made up of six 512x512 24 bit tga images.

Last edited by Why_Do_I_Die; 10/03/06 13:56.
Re: SkyCube automatically being scaled 2x by engine ? [Re: Why_Do_I_Die] #92866
10/03/06 18:59
10/03/06 18:59
Joined: Mar 2006
Posts: 35
Sao Paulo, Brazil
EdMercer Offline
Newbie
EdMercer  Offline
Newbie

Joined: Mar 2006
Posts: 35
Sao Paulo, Brazil
The ammount of screen real-estate the sky cube will occupy is a inverse factor of your camera.arc. If you widen the viewing angle, more sky fits into your view. Lowering your camera.arc "zooms in" on the sky cube, exploding its pixels. As far as I know there's no way to override that behavior, and it's expected from a strict "real world" point of view.

Re: SkyCube automatically being scaled 2x by engine ? [Re: EdMercer] #92867
10/04/06 18:37
10/04/06 18:37

A
Anonymous
Unregistered
Anonymous
Unregistered
A



You could setup a material effect and setup the filters in the texture to be linear in FX. Or if you know C++/native DirectX, you can setup your own vertices and polygons and render six 1024x1024 textures seperatly, making sure you turn off the Z-Buffer for rendering your skycube and turn it back on to render the rest of the scene.

Sorry I can't help you out on code but I hope I can explain it well to you.

Re: SkyCube automatically being scaled 2x by engin #92868
10/04/06 18:51
10/04/06 18:51
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline OP
Warned
Why_Do_I_Die  Offline OP
Warned

Joined: May 2005
Posts: 819
U.S.
Well this is for a casual game , and Im using Extra , so Im not using materials. I was just wondering if there was a reason gamestudio was doing that , or if there was dependant on something , i.e. level size or something. Gone try the camera arc thing right now see if that works.

Re: SkyCube automatically being scaled 2x by engin [Re: Why_Do_I_Die] #92869
10/04/06 21:37
10/04/06 21:37
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
try resaving it as a 32 bit tga ( with no alpha channel added) then try it

edited:

what are your engine settings btw? they can have a big impact on how it renders

Last edited by Grimber; 10/04/06 21:38.
Re: SkyCube automatically being scaled 2x by engin [Re: Grimber] #92870
10/05/06 05:47
10/05/06 05:47
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline OP
Warned
Why_Do_I_Die  Offline OP
Warned

Joined: May 2005
Posts: 819
U.S.
Engine settings ?

If your refering to the resolution and stuff its 1024x768 16 bit full screen.

Re: SkyCube automatically being scaled 2x by engin [Re: Why_Do_I_Die] #92871
10/05/06 09:01
10/05/06 09:01
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
converting your skycube image to 32 bit and set your depth to 32 usualy fixs such things for me

if your d3d_mode is less than 3 and if your setting these variables:
d3d_anisotropy
mip_shaded
d3d_triplebuffer

could be making problems too

Re: SkyCube automatically being scaled 2x by engin [Re: Grimber] #92872
10/05/06 11:40
10/05/06 11:40
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline OP
Warned
Why_Do_I_Die  Offline OP
Warned

Joined: May 2005
Posts: 819
U.S.
actually not setting any of those , going to try changing the images to 32 bit and the depth and see what happens , btw , would this affect computer requirements for the game user ? Or pretty much the same thing.

Re: SkyCube automatically being scaled 2x by engin [Re: Why_Do_I_Die] #92873
10/05/06 11:51
10/05/06 11:51
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
not for video_depth, just reserve more vid ram space

but those other 3 instructions ( that you said your not setting) can if you did change them from defualt.

Re: SkyCube automatically being scaled 2x by engin [Re: Grimber] #92874
10/16/06 20:01
10/16/06 20:01
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline OP
Warned
Why_Do_I_Die  Offline OP
Warned

Joined: May 2005
Posts: 819
U.S.
well I tried doing everything advised here , from saving to 32 bit tga , to making the clip_far extremely high and low , to changing the camera arc , the camera arc does help some , but then the viwe is all distordded , so thats useless . I tried changing those 3 instructions grimber to the settings gamestudio listed as defaults , and still didnt work , I hadnt changed them in any way to begin with , but went ahead and put the vars to the defaulsts gamestudio listed on the manual. I also went ahead and made the level a lot smaller , thought maybe a big level could be causing it , but that had no effect , I dont know how to get aroudn this, and see no reason for it. Ingame the skycube looks like its Zoomed in to 200% , thats insane , it looks horrible when compared to the actual skycube. Im using Gamestudio 6.22 , for DX8 purposes , could it be that ? I really hope it isnt , Im very unhappy with this , as there is no reason for it.

Edit: Well it cant be the version , just ran it in 6.31 , and got the same results , this is so irritating , its making some beautifull skies look all shitty.

Last edited by Why_Do_I_Die; 10/16/06 20:11.
Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | 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