robertso 0 Posted March 24, 2007 So i want to make textures for my addon. I have them in .jpg format and i want to put them into O2. For that purpouse i downloaded Texview 1.1. Its readme says that it supports several formats like .tga .jpg and other. But when i ran the program and opened my .jpg files nothing showed up, it worked fine with .tga files, so i decided to download some kind of converter to convert .jpg to .tga files. I got one freeware converter, it worked well, except when i realised that the program makes those .tga files way too heavy, it made 17 mb .tga file out of 2 mb .jpg file. So my question is is it possible to get Texview working with .jpg files, or somebody could suggest me some normal freeware converter. Share this post Link to post Share on other sites
robertso 0 Posted March 24, 2007 As nobody is answering, i figured it out myself. You have to create images in .gif format (for unknown reason it doesnt work with .jpg files) i guess all the problem is in the fact that Czech people have made it as all other buggy programs. Share this post Link to post Share on other sites
POPKA 0 Posted March 24, 2007 it only opens Gif's and TGA files, TGA files are much better. You can find a program to convert JPG to TGA or just use Photoshop, paintshop pro, gimp etc.. to convert them into TGA. GIF files always seem to come out in poor quality so I dont recommend you use them. Share this post Link to post Share on other sites
robertso 0 Posted March 24, 2007 Now I can surely say this is one of the worst editing progs i have worked with, i created .tga files with corel draw, but still this crap didnt like them, after hours of unsuccessful work converting files from one format to another I decided to quit working with that useless prog. So maybe anyone knows some kind of alternative for creating textures? Share this post Link to post Share on other sites
hawkins308 0 Posted March 24, 2007 It will open jpegs like a champ, they just have to be sized in an integer of 8. So for example, image size of 8x8, 16x16, 512x512, 1024x1024, etc.... What program are you using robertso? If you dont have photoshop a great free drawing program is Gimp. http://www.gimp.org/ So if you download gimp, or use photoshop you can open your jpegs, then resize them to a size that is divisable by 8, and your good to go. You can load em up in texview, then save them as .paa or .pac. Share this post Link to post Share on other sites
robertso 0 Posted March 24, 2007 It will open jpegs like a champ, they just have to be sized in an integer of 8.So for example, image size of 8x8, 16x16, 512x512, 1024x1024, etc.... What program are you using robertso? If you dont have photoshop a great free drawing program is Gimp. http://www.gimp.org/ So if you download gimp, or use photoshop you can open your jpegs, then resize them to a size that is divisable by 8, and your good to go. You can load em up in texview, then save them as .paa or .pac. Im using Corel Draw 9 it is not a very new program, but does its job well. About resizing, if i do so then my textures will look streched, because the hight of the picture is half of the width. EDIT: I just tried, and created .jpg picture 160x160 pixels and it still didnt work. Share this post Link to post Share on other sites
hawkins308 0 Posted March 24, 2007 alright i think i lied to you, im not sure what the interger is it as to be however i know that 256x256 will work. What is this image are you working with here? What are these pictures of? Your right 160x160 doesnt work i tried it. 256x256 will work. 128x128 will work, i just tried it. If I had some idea of what your trying to make though maybe I could help. tree, or tire or what? Share this post Link to post Share on other sites
robertso 0 Posted March 24, 2007 alright i think i lied to you, im not sure what the interger is it as to be however i know that 256x256 will work. What is this image are you working with here? What are these pictures of? Your right 160x160 doesnt work i tried it. 256x256 will work. 128x128 will work, i just tried it. If I had some idea of what your trying to make though maybe I could help. tree, or tire or what? Im trying to make a car, and my jpg files are made with digital camera, they are fairly large (about 2000x2000) and i want to make a texture for both sides of my car in good quality, so if i change to 256x256 the quality will be very poor. I could probably split that large file to several smaller ones, but that would complicate texturing model a lot. Share this post Link to post Share on other sites
Macser_old 0 Posted March 24, 2007 You don't have to stick to 256 by 256. Many recent addons have used 1024x1024 textures.In fact you could go up to 2048x2048, depending on how many textures you were using. And how many instances of your model would be ingame at any one time. But 1024 should be fine.And if you convert to 32bit TGA,you can create a pac/paa using PaaTool.Which gives a much better result than Texview. I assume you use those images as a building reference? So that's why you're worried about stretching? Try resizing the canvas,rather than the entire image.There's usually some area around your object that you can trim off.And there'll be no need to worry about distorting your texture. Share this post Link to post Share on other sites
robertso 0 Posted March 25, 2007 It doesnt matter how large i create them, if i create both sides with equal count of pixels my picture will still be streched, because orginal file size is about 2000x2800. I downloaded that PAATool and saw that it again supports only .tga files. And as you said the .tga files must be 32bit which makes them extremely heavy. What is it with those programmers with using such stupid formats. Those .tga files are almost as heavy as .bmp ones. Share this post Link to post Share on other sites
POPKA 0 Posted March 25, 2007 you can unstretch it when you apply it to the model in o2. TGA files are quite good to use as you can add alpha channels and other kinds of image bling while keeping them at a fairly high quality. They dont need to be equal pixel sizes either. 128x256 will work if that is any better or 512x2048... etc. If you still have problems with it I recomend you atleast download the trial version of Photoshop as im not sure about the program your using but the TGA files given out by PS always import into TexView for me. Share this post Link to post Share on other sites
Macser_old 0 Posted March 26, 2007 Eh,Robertso,I'm not sure how you're going about your conversion. I can get a 9MB+ PSD down to a 2MB TGA,then down to a 340Kb pac. That's at a resolution of 1024x512. And that's with minimal loss of quality. What exactly is your process for creating,then converting? Share this post Link to post Share on other sites
robertso 0 Posted March 26, 2007 Eh,Robertso,I'm not sure how you're going about your conversion. I can get a 9MB+ PSD down to a 2MB TGA,then down to a 340Kb pac. That's at a resolution of 1024x512. And that's with minimal loss of quality. What exactly is your process for creating,then converting? What program are you using for creating .tga files? I have .jpg file for about 3 mb, when i convert it to tga it weights about 6 mb and when i convert that .tga to .paa or .pac it gets a little more heavier. Share this post Link to post Share on other sites
Macser_old 0 Posted March 26, 2007 That sounds very strange. They should be getting smaller. Are you saving them with any extra data? I'm using an old(very old)version of photoshop. Version 5. What are you using? Share this post Link to post Share on other sites
robertso 0 Posted March 26, 2007 That sounds very strange.They should be getting smaller. Are you saving them with any extra data? I'm using an old(very old)version of photoshop. Version 5. What are you using? Ok I think my friend has photoshop, ill try to convert those files with that prog and see what happens then. But i dont think it will solve the problem, because i think the problem is in unequal width and hight. Share this post Link to post Share on other sites
Macser_old 0 Posted March 26, 2007 What height and width are you goin for? You can do unequal sizes,in a manner of speaking. As in 1024x512. Share this post Link to post Share on other sites
Ian Malcolm 0 Posted March 26, 2007 It will open jpegs like a champ, they just have to be sized in an integer of 8.So for example, image size of 8x8, 16x16, 512x512, 1024x1024, etc.... EDIT: I just tried, and created .jpg picture 160x160 pixels and it still didnt work. Which part of the quoted reply you didn't understand? You can't use texture 160x160. It has to be 8, 16, 32, 128, 256, 512, 1024 or 2048. So you can use for example 128x1024 but 160 really isn't the proper texture size :P Share this post Link to post Share on other sites
robertso 0 Posted March 27, 2007 It will open jpegs like a champ, they just have to be sized in an integer of 8.So for example, image size of 8x8, 16x16, 512x512, 1024x1024, etc.... EDIT: I just tried, and created .jpg picture 160x160 pixels and it still didnt work. Which part of the quoted reply you didn't understand? You can't use texture 160x160. It has to be 8, 16, 32, 128, 256, 512, 1024 or 2048. So you can use for example 128x1024 but 160 really isn't the proper texture size :P Who says i dont understand anything from that post? Share this post Link to post Share on other sites
Macser_old 0 Posted March 27, 2007 Hey,Robertso. Have you had any success? It's quite possible the convertor you mentioned in an earlier post, is adding non esssential data to the image.And ramping up the size in the process. Share this post Link to post Share on other sites
robertso 0 Posted March 27, 2007 Ill go to my friend who has photoshop on his computer and convert them to .tga or ill maybe choose the easy way and take new photos now from further distance and then crop them to needed size. EDIT: After finishing that i soon encountered with another problem, this time in o2, i want to put that texture in background for creating vertices, so i select left view, then press A then left click and select load texture, then draw a box but nothing shows up? Whats wrong again? Share this post Link to post Share on other sites
Macser_old 0 Posted March 27, 2007 Ok,I've come across this myself. Are you by any chance using the subst:\ command in a bat file to set up O2? look at the dialog box when you're selecting your file,and make sure it's being retrieved from the right place. In otherwords the same place O2 and Buldozer are located. Btw,It'd be a good idea to get this topic moved to O2 modelling.It's more suited to the questions you're asking. Macser Share this post Link to post Share on other sites
robertso 0 Posted March 27, 2007 Thanks Macser for your helpful support, you were right, when i put them to that fake hard drive everything worked. I guess i would never figure out it myself. Now finally i can start modeling. Share this post Link to post Share on other sites
Macser_old 0 Posted March 27, 2007 No problem. I've always hated havin to use that Bat file.But I'd gotten used to it. Until recently that is. After someone suggested it wasn't neccessary,I tried it out. They were right.I now don't bother with the bat file or the subst command anymore.It's far neater without it. Try it and see. Just give O2 the precise location of Buldozer.exe and the Dll folder,in options. Here's my setup: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> External Viewer C:\O2\buldozer.exe -dx -noland -window Dll Folder C:\O2 Works just fine. No need for an artificial drive. Share this post Link to post Share on other sites
robertso 0 Posted March 27, 2007 I dont know it didnt work for me. EDIT: Are there any list for key commands in O2 because i find difficult to find out how to move camera in 3d view. Share this post Link to post Share on other sites
Macser_old 0 Posted March 27, 2007 Well,don't use my settings exactly. Replace em with your drive letter. And your location for O2 and Buldozer On the other hand,If you had it workin, leave it alone. Have a look here for shortcut keys. But off the top of my head,hold down ALT+Right mouse button,to rotate your 3D view. ALT+Left mouse button will give you panning. Share this post Link to post Share on other sites