How to Use PVR in 1.2...
by Dan Pereira · in iTorque 2D · 06/25/2009 (1:57 pm) · 12 replies
Can anyone explain in simple steps how to use the PVR features of version 1.2? Also, can anyone explain how to load content as it is needed during run-time with 1.2?
#2
Sorry to ask so many questions but I'm not having much luck with the documentation provided.
Best Regards,
Dan
06/25/2009 (6:21 pm)
Thanks for the reply Marc. How did you use the converter? What options? What starting format, and what was the final format, and how did you verify iTGB was actually using compressed images?Sorry to ask so many questions but I'm not having much luck with the documentation provided.
Best Regards,
Dan
#3
06/25/2009 (6:27 pm)
Can I simply load a new level to solve the problem of loading content at run-time? For example, put all my ui, instructions, game setup stuff in one level, them load the game board in another level? Will the ui and setup content be unloaded automatically when I load a new level. Will the memory be given back? I'm sorry to ask here because I know I could test this myself, but I don't really have time for a lot of trial and error at the moment.
#4
As for the converter: used the windows one just as I was on the windows machine and worked on the textures anywith with Photoshop & Texture Maker
06/25/2009 (6:39 pm)
Yes the memory should be freed again.As for the converter: used the windows one just as I was on the windows machine and worked on the textures anywith with Photoshop & Texture Maker
#5
???
What is the "windows one"? What do I feed it? Are any options required? A while back I tried using some PC PVR tool and it spit out images bigger than the uncompressed ones I put in.
Please bestow your knowledge upon me oh great PVR master!
06/25/2009 (6:48 pm)
As for the converter: used the windows one just as I was on the windows machine and worked on the textures anywith with Photoshop & Texture Maker???
What is the "windows one"? What do I feed it? Are any options required? A while back I tried using some PC PVR tool and it spit out images bigger than the uncompressed ones I put in.
Please bestow your knowledge upon me oh great PVR master!
#6
06/27/2009 (11:59 am)
I'm bumping this up because I still don't have a clear idea how to use PVR, a feature advertised as part of the product when I bought it. Does the feature even work? If so how? If not, how do I get a full refund?
#7
06/27/2009 (11:47 pm)
PVR works fine. You just run the windows tool (or pull the mac tool out of the windows zip, oddly enough) and convert the images. If you want to run on both computer / iDevice then keep both the PNG and PVR versions in your images directory. If just iDevice, go ahead and only use PVRs.
#8
you don't need the windows tool
they just have to be stored correctly.
also you can't use PVR for cell images
06/28/2009 (6:50 am)
PVRs work, you can compress them on mac or windows.you don't need the windows tool
they just have to be stored correctly.
also you can't use PVR for cell images
#9
How do I know they are stored correctly?
What are the steps to use PVR in a way where memory is conserved? For example:
Step 1. Save your image as a 24 bit png.
Step 2. Run the PVR tool (name, location, version) using these options.
Step 3. Take the output and do something with it...
...
Thanks for the responses and the help, but I'm looking for baby steps, total PVR noob, hand-holding here.
06/28/2009 (10:28 am)
lolHow do I know they are stored correctly?
What are the steps to use PVR in a way where memory is conserved? For example:
Step 1. Save your image as a 24 bit png.
Step 2. Run the PVR tool (name, location, version) using these options.
Step 3. Take the output and do something with it...
...
Thanks for the responses and the help, but I'm looking for baby steps, total PVR noob, hand-holding here.
#10
Step 3: put it side a side to the corresponding regular image in your project (the regular one is required for anything else than the iphone as pvr can't be used outside the iphone)
06/28/2009 (11:30 am)
Step 1/2: Please read the apple documentations on using the pvr tool in combination with the command line arguments required mentioned on the board here.Step 3: put it side a side to the corresponding regular image in your project (the regular one is required for anything else than the iphone as pvr can't be used outside the iphone)
#11
Hey Marc,
Thanks for the response. I'll give it a try and see if I can get it to work.
-Dan
06/28/2009 (11:38 am)
Hey Marc,
Thanks for the response. I'll give it a try and see if I can get it to work.
-Dan
#12
06/28/2009 (1:50 pm)
also be sure to remove the image extension from the datablock that loads it (ie change myimage.png to just myimage )
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft