Jpeg to DDS

Tips for creating and manipulating planet textures for Celestia.
Topic author
xyz
Posts: 43
Joined: 25.05.2002
With us: 22 years 5 months
Location: Montreal, Canada, Earth

Jpeg to DDS

Post #1by xyz » 24.12.2002, 10:41

How can i convert jpeg, png to dds and "viceversa"?
Interesting Projects:
Celestia an open source space simulator.
EventGhost an open source PC remote control.
TA Spring
OpenTTD

Don. Edwards
Posts: 1510
Joined: 07.09.2002
Age: 59
With us: 22 years 2 months
Location: Albany, Oregon

Post #2by Don. Edwards » 24.12.2002, 13:04

First you need to convert the .jpg or .png to a .tga using a good image editor. Than you need to download nvdxt.exe from NVidia. Its a command line program, meaning of course there is no user interface. After you have it downloaded check through the forum here under nvdxt.exe for further instructions. Here is the line that you will need to enter into the RUN application under your Star Menu. x:\nvdxt.exe -file x:\myimage.tga -dxt5 where the x is the drive where you have nvdxt.exe located and the the other x is the drive where the image you want to convert is located. You will need to keep the size of your images (.tga) files below the 8192x4096 size if you don't at have at least 768megs of ram. If you have a 1gig of ram than you can go ahead and try 16384x8192. But be warned the large the file the longer it will take to convert into a .dds. And don't bother making a .dds file with a size over 16384x8192 because Celestia can't use it and it would be to big for even the fastest video cards even with 128megs of ram. Good Luck.
I am officially a retired member.
I might answer a PM or a post if its relevant to something.

Ah, never say never!!
Past texture releases, Hmm let me think about it

Thanks for your understanding.

alegator
Posts: 51
Joined: 29.12.2002
With us: 21 years 10 months

Post #3by alegator » 08.01.2003, 00:51

Don, can you provide the link to download the file "nvdxt.exe"?. I went to the Nvidia site but can't find it. Thanks.
I have Celestia v1.2.5 running on the following machine:
Dell Dimension8200
WinXP Pro/SP1
P4 2.53Ghz 533MhzFSB
2Gb RDRAM PC800
ATI RADEON8500 PRO 128MB videocard
Viewsonic VP230mb 23.1" LCD 1600x1200 native
2 HD 120Gb each

Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 9 months
Location: Altair

Post #4by Rassilon » 08.01.2003, 01:16

Go to Celestial Visions and click the link that says User Downloads...In the folder marked DXT_TOOLS you will find all the tools and documentation you need in the dxt_tools.zip or you can grab what you need in the folder marked command line...in there is nvdxt.exe
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #5by selden » 08.01.2003, 01:59

nvdxt is also available from Nvidia's Developers Web site.
The link to it is about halfway down the page
http://developer.nvidia.com/view.asp?IO=ps_texture_compression_plugin
in the section titled "Attachments".

It's slightly annoying: the links to their downloads look like they're just plain black text, unlike other links on that page which are blue. The link to nvdxt is the line that says
v5.19 DXT Compression Tools (1433 KB)
Selden

Guest

Post #6by Guest » 08.01.2003, 03:43

thanks!

alegator
Posts: 51
Joined: 29.12.2002
With us: 21 years 10 months

Post #7by alegator » 08.01.2003, 09:47

Don: I'm getting confused here. You described the command line to convert a tga file to dds using nvdxt.exe, but I don't seem to translate it.
Specifically, lets say that I have the file "EAST.TGA" and "NVDXT.EXE" in the "c:\images" directory and I want to call the converted file "EAST.DDS" located in the same directory, then what would be exactly the command?
Thanks.
I have Celestia v1.2.5 running on the following machine:

Dell Dimension8200

WinXP Pro/SP1

P4 2.53Ghz 533MhzFSB

2Gb RDRAM PC800

ATI RADEON8500 PRO 128MB videocard

Viewsonic VP230mb 23.1" LCD 1600x1200 native

2 HD 120Gb each


Return to “Textures”