Sign in to follow this  
Guest luissa

VTP texture flipping and the new Image Tool

Recommended Posts

Hi,An user of SBuilder just referred to me that after installing the new Image Tool (from the terrain FS2004 SDK) the photo scenery appears vertically flipped. SB makes the bitmaps from a backround map and uses ImageTool to add mips and to convert the bitmaps to DXT. I did not tested this but I admit that with the new Image Tool it is not necessary to pre-invert the custom textures. Can anyone confirm this?Regards, Luis

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

>Hi,>>An user of SBuilder just referred to me that after installing>the new Image Tool (from the terrain FS2004 SDK) the photo>scenery appears vertically flipped. SB makes the bitmaps from>a backround map and uses ImageTool to add mips and to convert>the bitmaps to DXT. I did not tested this but I admit that>with the new Image Tool it is not necessary to pre-invert the>custom textures. Can anyone confirm this?>>Regards, LuisHi Luis,I have never Had to pre-invert for any versions of imagetool. What am I missing?

Share this post


Link to post
Share on other sites

Howdy,Paul, it's been awhile since I worked with photoreal textures but I seem to remember that there are two different methods of placing them: (1) in a local scenery/texture folder or (2) via a VTP2 polygon in the main texture folder. It's the VTP2 method that requires inverting as all textures placed by VTP2 polys (landclass or custom) are vertically flipped. Here's an excerpt from an elderly post of mine:"Here's how I do it in FS9: placed custom slices on the ground via SDK resample (with alpha-masked water; all files in local scenery/texture folder); VTP2 polys (layer 20, texture #253) in several areas where I wanted to have autogen (no custom texture slices, just the custom-tile named .agn files made with Annotator, placed in FS9SceneryWorldtexture); also LWM polys with fixed elevation that roughly trace shorelines to flatten the lakes where needed.I use this particular setup as it keeps the big .bmp files out of the FS9SceneryWorldtexture folder, doesn't require flipping the custom slices, avoids the 'bleeding of tile seams' I described in my previous post, and keeps me from having to redraw many lakes with convoluted shorelines. The tradeoffs are lack of beaches/surf and inability to place VTP polys or lines on top of the photoreal.Works beautifully in FS9 (see below) but I can't get the autogen to show in FS2002. I tried placing the .agn files and VTP2 .bgl in different places (local, Scenedb, etc) but none of them seems to work. "Cheers, Holger

Share this post


Link to post
Share on other sites

Hello Dick, Paul and Holger,Thank you for answering and sorry for the confusion :-shy . I have just played with Image Tool on a MSDOS window and I noticed NO difference between the 2 versions of Image Tool.Paul: the reason I use photo tiles placed as VTP squared polygons with the size of a LOD13 area is that (1) alpha channel is not water and I can have grades of transparency (2) I can add autogen to the photo tiles. As Holger explained, this method requires the vertically flipping of the photo bitmpas. Otherwise they show incorrectly in the sim.Regards, Luis

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this