Hi all!
I'm back! This is the number 1 and only problem in making my models, and thus, it makes my 3D buildings black in some parts of the day, because of a faulty lightmap, could anyone teach me how to do this? and also how to add night textures.
I am building my models via Sketch up 2015, exporting it as .3ds, then converting it to .ac in ac3d
Thanks!
PLEASE TEACH ME! Converting .jpg into .png textures
- TheFilipinoFGPilot
- Posts: 59
- Joined: Sun Sep 18, 2016 1:31 am
- Location: Cebu City, Philippines
Re: PLEASE TEACH ME! Converting .jpg into .png textures
If on windows just open in paint and save as .png
If you want to convert a set of images use this
https://sourceforge.net/projects/bulkimageconver/
If you want to convert a set of images use this
https://sourceforge.net/projects/bulkimageconver/
FG Pilot (2011-2018)
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
- Catalanoic
- Posts: 251
- Joined: Sat Dec 12, 2015 11:33 am
Re: PLEASE TEACH ME! Converting .jpg into .png textures
Why convert to .3ds? you can save the skecthup model directly to .ac using this plugin (double sided version) and here the same plugin for single faced objects
"about the app of SHM" no need to install anything, if you are using Windows, open the jpg image with Paint and save it again but under PNG format, you will save some disk space. Under Linux, Mac you have a similar method Just like SHM says
"About black faces": you can directly edit with Notepad (or similar) the .ac file (no need to regenerate the file again) all the material lines with black faces (something like "rgb 0 0 0") replace with this:
"about the app of SHM" no need to install anything, if you are using Windows, open the jpg image with Paint and save it again but under PNG format, you will save some disk space. Under Linux, Mac you have a similar method Just like SHM says
"About black faces": you can directly edit with Notepad (or similar) the .ac file (no need to regenerate the file again) all the material lines with black faces (something like "rgb 0 0 0") replace with this:
Code: Select all
MATERIAL "MATERIAL_NAME" rgb 0.72 0.72 0.72 amb 0.8 0.8 0.8 emis 0.08 0.08 0.08 spec 0.2 0.2 0.2 shi 128 trans 0
Last edited by Catalanoic on Mon Nov 14, 2016 3:12 pm, edited 1 time in total.
Re: PLEASE TEACH ME! Converting .jpg into .png textures
with linux I use imagemagick
can be batch processed, or scripted
Code: Select all
convert file.jpg file.png
can be batch processed, or scripted
Code: Select all
for image in ./*jpg
do
convert $image $(basename $image .jpg).png
done
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc
R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?
R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?
- Catalanoic
- Posts: 251
- Joined: Sat Dec 12, 2015 11:33 am
Re: PLEASE TEACH ME! Converting .jpg into .png textures
Thanks IAHM-COL for the linux script, may be usefull in some circumstances
Re: PLEASE TEACH ME! Converting .jpg into .png textures
Catalanoic wrote:"about the app of SHM" no need to install anything, if you are using Windows, open the jpg image with Paint and save it again but under PNG format, you will save some disk space. Under Linux, Mac you have a similar method.
Care to read what I wrote?
FG Pilot (2011-2018)
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
- Catalanoic
- Posts: 251
- Joined: Sat Dec 12, 2015 11:33 am
Re: PLEASE TEACH ME! Converting .jpg into .png textures
No problem
FG Pilot (2011-2018)
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
- TheFilipinoFGPilot
- Posts: 59
- Joined: Sun Sep 18, 2016 1:31 am
- Location: Cebu City, Philippines
Re: PLEASE TEACH ME! Converting .jpg into .png textures
For the first reply,
SHM, I have tried that already, but with no luck, after I converted it, there is no texture shown, it becomes white.
I'll try to do it again within the week since I have a new hectic schedule at college.
SHM, I have tried that already, but with no luck, after I converted it, there is no texture shown, it becomes white.
I'll try to do it again within the week since I have a new hectic schedule at college.
Re: PLEASE TEACH ME! Converting .jpg into .png textures
Are you able to see the .png properly?
Then try this:
Then try this:
Catalanoic wrote:"About black faces": you can directly edit with Notepad (or similar) the .ac file (no need to regenerate the file again) all the material lines with black faces (something like "rgb 0 0 0") replace with this:Code: Select all
MATERIAL "MATERIAL_NAME" rgb 0.72 0.72 0.72 amb 0.8 0.8 0.8 emis 0.08 0.08 0.08 spec 0.2 0.2 0.2 shi 128 trans 0
FG Pilot (2011-2018)
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
Return to “Scenery Development”
Who is online
Users browsing this forum: No registered users and 12 guests