2 registered members (AbrahamR, AndrewAMD),
1,278
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
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
OP
Warned
|
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: EdMercer]
#92867
10/04/06 18:37
10/04/06 18:37
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
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
[Re: Why_Do_I_Die]
#92869
10/04/06 21:37
10/04/06 21:37
|
Joined: Sep 2003
Posts: 4,959 US
Grimber
Expert
|
Expert
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]
#92874
10/16/06 20:01
10/16/06 20:01
|
Joined: May 2005
Posts: 819 U.S.
Why_Do_I_Die
OP
Warned
|
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.
|
|
|
|