Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
1 registered members (1 invisible), 857 guests, and 10 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
View entity not displaying in level (C-Script) #226835
09/11/08 16:37
09/11/08 16:37
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Hello everyone,

I contacted support regarding this issue yesterday, but didn't think to include a test level to show what is wrong. So, I've attached a test level here and am checking with the rest of you to confirm that I'm not doing something wrong.

I have defined a simple view entity, and set it to a very high layer. The problem is, the view entity no longer displays over the level itself.

Download this test file and unzip keeping the folder structure to see what I mean: www.upforums.com/testlevel.rar .

The level displays a lantern model for 3 seconds (with no level loaded), then loads a simple one-room level. When the level loads, the model disappears. But this shouldn't be the case, as, in previous versions of GameStudio, the model would remain visible over the level.

Any ideas what is wrong? I realize that most people have switched over to Lite-C, but my project has been in development for a number of years, and I have tens of thousands of lines of code, so switching over isn't going to be an option for me...especially since the project is nearing completion.

Thank in advance for your time and help, everyone! smile

Re: View entity not displaying in level (C-Script) [Re: CBSection31] #226980
09/12/08 09:26
09/12/08 09:26
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
This should not be dependent on lite-C or C-Script. We'll look into that.

Re: View entity not displaying in level (C-Script) [Re: jcl] #227102
09/12/08 16:45
09/12/08 16:45
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Thanks, jcl! smile

Re: View entity not displaying in level (C-Script) [Re: CBSection31] #227792
09/16/08 06:47
09/16/08 06:47
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Ok, the reason was that your model had transparent normalmaps. Normalmaps are not supposed to be transparent. For fixing this, please open the skin settings and change the normal maps from 32 bit to 24 bit.

This will also be fixed in the engine in a future version - we'll allow transparent normal maps then. Sometimes the height info is put into the alpha channel, so it could make sense.

Re: View entity not displaying in level (C-Script) [Re: jcl] #227882
09/16/08 16:47
09/16/08 16:47
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
They are transparent because I'm using the alpha map as a spec map for the shader.

Thanks for pinpointing the bug, jcl. smile

Is there any possible way of coming up with a quick fix for this before the next engine version? A publishing company is interested in testing a beta of my game, but they need the demo by the end of the week, and the game won't work properly without this feature, and I'd rather not send them a version without specularity. smile

Re: View entity not displaying in level (C-Script) [Re: CBSection31] #227888
09/16/08 17:34
09/16/08 17:34
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
There are shaders around here, which support specularity. These shaders don't use the alpha channel of the normalmap for the specularity but a third skin.

To find such a shader use the forum search or maybe look into the AUM's.

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version

Moderated by  jcl, Nems, Spirit, Tobias 

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