Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
dds sky cubes #130829
05/20/07 17:56
05/20/07 17:56
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
please support dds sky cubes (there is a cube map option for dds files).

and it would be nice if skies could be displayed without preparing the level with sky surfaces in WED. i would like to have an option to just display the sky in the background (drawn before everything else). wouldn't this also make sense for lite-c where WED isn't available?

Re: dds sky cubes [Re: ventilator] #130830
05/21/07 06:55
05/21/07 06:55
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
There are several examples in the lite-C tutorial for a level without anything but the sky -

level_load("");
ent_create("mysky+6.tga",....);


DDS sky cubes will be supported.

Re: dds sky cubes [Re: jcl] #130831
05/27/07 23:44
05/27/07 23:44
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
I noticed the new variable d3d_skydepth on the beta page. Please explain it a little more how to use this. E.g., if I would set d3d_skydepth = 4;, will then a 6144 x 1024 DDS be accepted as skycube or not (this was originally ventilators and my intention)?

Re: dds sky cubes [Re: HeelX] #130832
05/28/07 06:21
05/28/07 06:21
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
No, it still needs to be a TGA sky cube; it's internally compressed. This solution replaces my promised support of DDS sky cubes, which turned out to be difficult because DDS files can't be loaded before DirectX is initialized.

Re: dds sky cubes [Re: jcl] #130833
05/28/07 08:49
05/28/07 08:49
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Would it be then possible to load a DDS skycube during runtime (after DirectX initialization)? I load all my ressources dynamically and a DDS skycube solutionduring runtime would be great! Can't you print a compiler error when a user tries to define a DDS file in a static sky definition but allow to load the DDS during runtime?

As it has been accepted by you, the promised material functions (to load a texture surface from file or from bitmap to individual instances of one entity (-model), see here) could serve for the DDS skycube feature. What do you think?


Moderated by  aztec, 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