Gamestudio Links
Zorro Links
Newest Posts
Fun Arcade Car Physics (nfs style)
by rayp. 07/25/26 00:35
What are you working on?
by rayp. 07/24/26 22:58
Z9 getting Error 058
by madpower2000. 07/22/26 14:01
ZorroGPT
by TipmyPip. 07/21/26 17:54
New Zorro version 3.11
by jcl. 07/21/26 13:42
Lapsa's very own thread
by Lapsa. 07/18/26 13:40
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, 2 invisible), 7,785 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: mem error using custom shadow [Re: Emre] #442952
07/06/14 19:27
07/06/14 19:27
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Have you tried your original code with tga?


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: mem error using custom shadow [Re: DLively] #442962
07/06/14 21:59
07/06/14 21:59
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
@Emre, for commercial projects I completely agree for not taking the risks. I did some searching by the way and found some ways how you can show tga files as a icon (/thumbnail) in windows folders. I have not tried it myself yet so scan it before trying it ofcourse but it looks legit:

seems totally free http://www.zbrushcentral.com/showthread....-thumbnails!!!!

only free trial -> http://mysticcoder.net/mysticthumbs.html

@DLively, not yet. But it is worth checking it out, since I still seem to get the error cause of the shadow/png file or code.

Re: mem error using custom shadow [Re: Reconnoiter] #442976
07/07/14 08:28
07/07/14 08:28
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
png can cause troubles, simply don't use it. tga or dds DXT5 are fine. I had problems with shadow_stencil = 2 (bad shadows if camera goes into shadow volume), so I used only with 1.

Last edited by sivan; 07/07/14 08:30.

Free world editor for 3D Gamestudio: MapBuilder Editor
Re: mem error using custom shadow [Re: sivan] #442978
07/07/14 10:07
07/07/14 10:07
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Oh I will use tga than. But how can one save tga will alpha channels? I am trying it both in photoshop as tga 32 (I cannot mark the alpha channel in Photoshop on), and in paint shop pro (9) as tga 24, both give pic without alpha channel. I am trying with both new transparant images aswell as the png ones.

Re: mem error using custom shadow [Re: Reconnoiter] #442980
07/07/14 10:51
07/07/14 10:51
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
in photoshop there is a checkbox in the save dialog for saving with alpha as 32b, but if you open a 32b png it definitely will save as 32b tga, and you can add an alpha channel too if it does not exists. but I use a very old version...


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: mem error using custom shadow [Re: sivan] #442981
07/07/14 10:53
07/07/14 10:53
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
you can do it with Gimp too, but Gimp does not load/save colour data for fully transparent pixels in case of png files...


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: mem error using custom shadow [Re: sivan] #442982
07/07/14 11:15
07/07/14 11:15
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline OP
Serious User
Reconnoiter  Offline OP
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Ah I got it working in photoshop. Apperently, you have to manually add a alpha layer even when you started with an transparent image or a transparant png file.

http://www.youtube.com/watch?v=LebQpPAxfQ0

Page 2 of 2 1 2

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