Product Chat / Game-Guru change textures

Author
Message
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 19th May 2018 19:39 Edited at: 17th Jul 2018 12:29


in the engine when i want to change one of the texture for the ground/floor nothing happens, i pushright mouse i select in a folder a png image but image is not imported, i make a 24bits RGB png+alpha in photoshop and then export that to the default folder of GG texture.

NOTHING WORKS !!!!
IMPOSSIBLE TO LOAD TEXTURES AND APPLY TO THE GROUND !!!
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 19th May 2018 20:42
that's because they need to be 32 bit png it has been discussed on the forums a few times now SEARCH IS YOUR FRIEND I can shout too
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
imothep85
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Belgium
Posted: 19th May 2018 21:09
i CANT DO a 32bits PNG in photoshop !!!
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 19th May 2018 22:22
Quote: "i CANT DO a 32bits PNG in photoshop !!!"


Oh come on …
Just google …. photoshop 32 bit png
Even I found it in seconds and I don't use it … A little effort wouldn't go amiss you know .
Otherwise users will just stop responding .
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 19th May 2018 23:21 Edited at: 19th May 2018 23:31
Simply save/export a PNG24 image using Adobe Photoshop which contains transparency. Transparency is the remaining 8 bits.

24Bit PNG = 8 bits red, 8 bits blue, 8 bits green

32bit PNG = 8 bits red, 8 bits blue, 8 bits green, 8 bits alpha

Photoshop automatically creates a 32bit PNG image if you save a 24Bit PNG that contains transparent areas.

PNG is an RGB-only format.
Eight bits per RGB channel (24 bits).
When you save it with "transparency", you are actually saving a fourth eight-bit grayscale channel used to define the transparency mask (therefore, 32 bits).
terrain and EBE textures need the Alpha to work.

Another quick and easy option is to install Paint.net and save as PNG you will then have an option of PNG type just choose 32Bit
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64

Attachments

Login to view attachments
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 20th May 2018 07:20
@GraPhix- you are a credit
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT, DBO2X
Learnability
6
Years of Service
User Offline
Joined: 11th Jul 2018
Location: The Land Down Under
Posted: 17th Jul 2018 11:41
>imothtp85

I came across a similar sounding problem earlier today when attempting to import some free GG textures into my GG environment.

I think the problem you were having has to do with the fact that the Background Layer in Photoshop does not behave like other layers. If your image is sitting in the Background Layer and you export a PNG you get a 24 bit PNG file (RGB). However, if your image is sitting in another layer (not the Background Layer) this forces Photoshop to export a 32 bit PNG file (RGB + Alpha Channel).

Try this ...

If the Layers Window is not already visible, make it so by selecting the Layers menu option from the Window Menu, or by pressing the F7 function key on your keyboard.

Select All (CTRL-A)
Copy (CRTL-C)
Paste (CRTL-V)

This will move your image from the Background Layer to it's own layer.

Now, delete the Background Layer by dragging it onto the Trash Icon in the bottom right corner of the Layers Window.

Save your Photoshop file to save the changes.

Now use Save As ... to export a PNG file. This will produce a 32 bit PNG file.

n.b. it is not necessary for your layer to have any transparent areas - either by the use of a channel mask or by using a layer opacity setting other than 100%.

BTW - I have been teaching Photoshop since Version 2.0 was released, and I have seen this particular quirk confound both newbies and professionals alike. In general, I recommend that whenever you open a new file in Photoshop, the first thing you should do is delete the background layer!
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 17th Jul 2018 20:55
That’s realy interesting Learnability,thank you

Dave
Windows 10 Pro 64 bit
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM

Login to post a reply

Server time is: 2024-11-24 06:43:02
Your offset time is: 2024-11-24 06:43:02