Jump to content
Sign in to follow this  
Guest luissa

Blinking photoreal textures

Recommended Posts

Hello, I'm trying to go beyond 4.8 m/pix photorealistic texture resolution. I use textures with 1m/pix resolution. I created in gmax 16 512x512m polygons which are covered with 512x512 textures. All 16 polygons are located 5 cm ( 0.05 m ) over the default terrain. Terrain is flattened and scenery exluded ( bgl's were created in FSSC )Everything is ok on ground and altidues around 2000 ft but with icreasing altitude photoreal textures are starting to blink and default terrain is showing up creating big mess. Blinking is very fast :-( When plane is not moving ( when on pause ) blinking stops but every slight movement brings mess up.I had tried various texture formats such as dxt3 with/without mip maps and pure 32 bit - but with no results.I testes scenery on 2 computers - one with redeon 9600xt card and socond with tnt2 ultra card - on both bliking occured.please help - is there maybe better way to cover ground with high-resulution photos ( resolution around 1m/pix ) here is screen on ground and low altitude ( approach ) - everything okenter.net.pl/www/ericson/Clipboard02.jpgenter.net.pl/www/ericson/Clipboard03.jpghere is mess seen from 7500 ft msl enter.net.pl/www/ericson/Clipboard01.jpgregardsEricson

Share this post


Link to post
Share on other sites
Guest luissa

Hi,There are programs that can do that. Search this forum with the word TexPoly or LaboMesh.I do not know the reason for your problem (sorry). I am adding this function to Sbuilder. I can generate tilted polygons and now I am looking to the texturing. If I find something I will share it here.Regards, Luis

Share this post


Link to post
Share on other sites

Howdy,I've never experimented with this myself but wonder whether it has to do with the "jittery" terrain display of FS. I often notice this when working on AI ships: all my water surfaces are LWM polys with fixed elevations yet, when approaching rapidly from a distance, those surfaces change elevations several times before settling to their defined value. These changes are small but more than the 5cm your textures hover above the flattens, which might cause the default land class to show instead. Just a theory, though, and no solution that I know of. But TexPoly and LaboMesh indeed seem to be the tools to explore for this: http://perso.wanadoo.fr/p.dumat/htm/fs2004.htm and http://perso.wanadoo.fr/p.dumat/htm/tutos.htmCheers, Holger

Share this post


Link to post
Share on other sites
Guest luissa

Hi,We are placing runways on flatten zones without problems. May be the difference is in the calling order for the textured polygon and the terrain. In FS2000 I used LayerCall() to do this as in:http://forums.avsim.net/dcboard.php?az=sho...g_id=6620&page=I am trying to use this technique associated to normal photo scenery. By this I mean to generate both 4.8m res photo tiles and high res photo tiles from the same Bitmap. This will probably reduce the flicker effect if we do not discover a workaround.One of my concerns will be the matching of the terrain with the surroundings. Say that I want to generate a single LOD13 square. Say that my mesh is LOD10. If I am using tilted triangles (using LWM Poly3) and I want a perfect mesh match I would need to texture 2048 triangles and to generate 2048 LWM tilted triangles. I am thinking in using LOD8 resolution which will bring down the number of triangles to 128. Therefore I must restrict the technique to regions with small mountains.Luis

Share this post


Link to post
Share on other sites

I am not familiar with Gmax, but I see this as a layering problem in the graphics card.Why not put the textures (Standard DXT1:s) on scasm polygones, then you can use the scasm z-buffer command to tell the graphics card that there is a layer difference.This is the standard way of using ground polygones that will not give flicker.I.m.h.o. G-max does not give you an edge over scasm when it comes to textured ground polys over flattened ground. Now it seems the graphic card does not understand what should be shown on top of what and then the flickering occurs.

Share this post


Link to post
Share on other sites

I would say it looks like a flatten problem, but you say that you have it flattened already. Could it be that the flatten area is too small and one you get high enough that the lower LOD altitude data creates this effect?Btw, if you want to create ground polygons like this, it is better to use the Fs2002 gamepack of GMax and then tweak it to use the LayerCall command. In that case you don't have to place it 5 cm from the ground, as it will be seen as ground polygons.


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest TMW

I've written Ericson in separate form. Any how, Arno it seems to me that the clue looks follows:"ADDCAT OBJECT_0_SCALE, X" (asm)It's yours ;)

Share this post


Link to post
Share on other sites

>Any how, Arno it seems to me that the clue looks follows:>"ADDCAT OBJECT_0_SCALE, X" (asm)>It's yours Yes, but that command only works with the Fs2002 gamepack of GMax, you can't use it with the new gamepack. So for ground polygons I think it is better to still use the old one.


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

Hello ,I would like to say "thank you" :-) to everyone participating in this topic , specially TMW & Arno. Thanks to your hints problem is gone and I can contiune with further design :D Method "ADDCAT OBJECT_0_SCALE, X" combined with fs2002 gamepack is the solution.regardsEricson

Share this post


Link to post
Share on other sites
Guest luissa

>Method "ADDCAT OBJECT_0_SCALE, X" combined with fs2002Hi,Where could I get a description of what this command does? Using SCASM words I tried PerspectiveCall() and LayerCall(). I would like to place a phototile, then a flatten, then a runway. The best that I can get is with a negative layer number. Then the runway does not blink!Regards, LuisHeader( 1 40 38 -8 -10 )LatRange( 38 40 ); High Resolution Photo # 1Area( B 38.79821777 -9.14794922 50 )LayerCall( :lcall -4 )Jump( : ):lcallRefPoint( 2 :return 1 38.79821777 -9.14794922 E= 0 v1= 25000 v2= 1200 )BGLVersion( 0800 )TextureList( 0 6 FF 255 255 255 0 50.000000 012112110221311_1024_Sp.bmp 256 FF 255 255 255 0 50.000000 012112110221311_1024_Lm.bmp 6 FF 255 255 255 0 50.000000 012112110221311_1024_Fa.bmp 256 FF 255 255 255 0 50.000000 012112110221311_1024_Lm.bmp 6 FF 255 255 255 0 50.000000 012112110221311_1024_Hw.bmp 256 FF 255 255 255 0 50.000000 012112110221311_1024_Lm.bmp 6 FF 255 255 255 0 50.000000 012112110221311_1024_Su.bmp 256 FF 255 255 255 0 50.000000 012112110221311_1024_Lm.bmp )MaterialList( 0 0.10 0.80 0.20 1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 0.00 )VertexList( 0 -635.5412 0110.00000 -611.5540 0.0 1.0 0.0 0.000 0.000 ; vertex #000 -476.6559 0121.00000 -611.5540 0.0 1.0 0.0 0.125 0.000 ; vertex #001 -317.7706 0130.00000 -611.5540 0.0 1.0 0.0 0.250 0.000 ; vertex #002 -158.8853 0130.00000 -611.5540 0.0 1.0 0.0 0.375 0.000 ; vertex #003 000.0000 0140.00000 -611.5540 0.0 1.0 0.0 0.500 0.000 ; vertex #004 158.8853 0137.00000 -611.5540 0.0 1.0 0.0 0.625 0.000 ; vertex #005 317.7706 0143.00000 -611.5540 0.0 1.0 0.0 0.750 0.000 ; vertex #006 476.6559 0134.00000 -611.5540 0.0 1.0 0.0 0.875 0.000 ; vertex #007 635.5412 0128.00000 -611.5540 0.0 1.0 0.0 1.000 0.000 ; vertex #008 -635.5289 0088.00000 -458.6655 0.0 1.0 0.0 0.000 0.125 ; vertex #009 -476.6467 0116.00000 -458.6655 0.0 1.0 0.0 0.125 0.125 ; vertex #010 -317.7645 0122.00000 -458.6655 0.0 1.0 0.0 0.250 0.125 ; vertex #011 -158.8822 0129.00000 -458.6655 0.0 1.0 0.0 0.375 0.125 ; vertex #012 000.0000 0150.00000 -458.6655 0.0 1.0 0.0 0.500 0.125 ; vertex #013 158.8822 0150.00000 -458.6655 0.0 1.0 0.0 0.625 0.125 ; vertex #014 317.7645 0147.00000 -458.6655 0.0 1.0 0.0 0.750 0.125 ; vertex #015 476.6467 0135.00000 -458.6655 0.0 1.0 0.0 0.875 0.125 ; vertex #016 635.5289 0129.00000 -458.6655 0.0 1.0 0.0 1.000 0.125 ; vertex #017 -635.5167 0045.00000 -305.7770 0.0 1.0 0.0 0.000 0.250 ; vertex #018 -476.6375 0085.00000 -305.7770 0.0 1.0 0.0 0.125 0.250 ; vertex #019 -317.7583 0120.00000 -305.7770 0.0 1.0 0.0 0.250 0.250 ; vertex #020 -158.8792 0134.00000 -305.7770 0.0 1.0 0.0 0.375 0.250 ; vertex #021 000.0000 0163.00000 -305.7770 0.0 1.0 0.0 0.500 0.250 ; vertex #022 158.8792 0150.00000 -305.7770 0.0 1.0 0.0 0.625 0.250 ; vertex #023 317.7583 0143.00000 -305.7770 0.0 1.0 0.0 0.750 0.250 ; vertex #024 476.6375 0137.00000 -305.7770 0.0 1.0 0.0 0.875 0.250 ; vertex #025 635.5167 0130.00000 -305.7770 0.0 1.0 0.0 1.000 0.250 ; vertex #026 -635.5044 0041.00000 -152.8885 0.0 1.0 0.0 0.000 0.375 ; vertex #027 -476.6283 0100.00000 -152.8885 0.0 1.0 0.0 0.125 0.375 ; vertex #028 -317.7522 0130.00000 -152.8885 0.0 1.0 0.0 0.250 0.375 ; vertex #029 -158.8761 0134.00000 -152.8885 0.0 1.0 0.0 0.375 0.375 ; vertex #030 000.0000 0138.00000 -152.8885 0.0 1.0 0.0 0.500 0.375 ; vertex #031 158.8761 0142.00000 -152.8885 0.0 1.0 0.0 0.625 0.375 ; vertex #032 317.7522 0150.00000 -152.8885 0.0 1.0 0.0 0.750 0.375 ; vertex #033 476.6283 0140.00000 -152.8885 0.0 1.0 0.0 0.875 0.375 ; vertex #034 635.5044 0131.00000 -152.8885 0.0 1.0 0.0 1.000 0.375 ; vertex #035 -635.4922 0028.00000 000.0000 0.0 1.0 0.0 0.000 0.500 ; vertex #036 -476.6191 0074.00000 000.0000 0.0 1.0 0.0 0.125 0.500 ; vertex #037 -317.7461 0109.00000 000.0000 0.0 1.0 0.0 0.250 0.500 ; vertex #038 -158.8730 0130.00000 000.0000 0.0 1.0 0.0 0.375 0.500 ; vertex #039 000.0000 0130.00000 000.0000 0.0 1.0 0.0 0.500 0.500 ; vertex #040 158.8730 0137.00000 000.0000 0.0 1.0 0.0 0.625 0.500 ; vertex #041 317.7461 0152.00000 000.0000 0.0 1.0 0.0 0.750 0.500 ; vertex #042 476.6191 0146.00000 000.0000 0.0 1.0 0.0 0.875 0.500 ; vertex #043 635.4922 0140.00000 000.0000 0.0 1.0 0.0 1.000 0.500 ; vertex #044 -635.4799 0024.00000 152.8885 0.0 1.0 0.0 0.000 0.625 ; vertex #045 -476.6099 0038.00000 152.8885 0.0 1.0 0.0 0.125 0.625 ; vertex #046 -317.7400 0085.00000 152.8885 0.0 1.0 0.0 0.250 0.625 ; vertex #047 -158.8700 0120.00000 152.8885 0.0 1.0 0.0 0.375 0.625 ; vertex #048 000.0000 0130.00000 152.8885 0.0 1.0 0.0 0.500 0.625 ; vertex #049 158.8700 0130.00000 152.8885 0.0 1.0 0.0 0.625 0.625 ; vertex #050 317.7400 0150.00000 152.8885 0.0 1.0 0.0 0.750 0.625 ; vertex #051 476.6099 0144.00000 152.8885 0.0 1.0 0.0 0.875 0.625 ; vertex #052 635.4799 0140.00000 152.8885 0.0 1.0 0.0 1.000 0.625 ; vertex #053 -635.4677 0020.00000 305.7770 0.0 1.0 0.0 0.000 0.750 ; vertex #054 -476.6008 0023.00000 305.7770 0.0 1.0 0.0 0.125 0.750 ; vertex #055 -317.7338 0055.00000 305.7770 0.0 1.0 0.0 0.250 0.750 ; vertex #056 -158.8669 0109.00000 305.7770 0.0 1.0 0.0 0.375 0.750 ; vertex #057 000.0000 0121.00000 305.7770 0.0 1.0 0.0 0.500 0.750 ; vertex #058 158.8669 0135.00000 305.7770 0.0 1.0 0.0 0.625 0.750 ; vertex #059 317.7338 0137.00000 305.7770 0.0 1.0 0.0 0.750 0.750 ; vertex #060 476.6008 0143.00000 305.7770 0.0 1.0 0.0 0.875 0.750 ; vertex #061 635.4677 0136.00000 305.7770 0.0 1.0 0.0 1.000 0.750 ; vertex #062 -635.4554 0019.00000 458.6655 0.0 1.0 0.0 0.000 0.875 ; vertex #063 -476.5916 0022.00000 458.6655 0.0 1.0 0.0 0.125 0.875 ; vertex #064 -317.7277 0035.00000 458.6655 0.0 1.0 0.0 0.250 0.875 ; vertex #065 -158.8639 0053.00000 458.6655 0.0 1.0 0.0 0.375 0.875 ; vertex #066 000.0000 0096.00000 458.6655 0.0 1.0 0.0 0.500 0.875 ; vertex #067 158.8639 0121.00000 458.6655 0.0 1.0 0.0 0.625 0.875 ; vertex #068 317.7277 0127.00000 458.6655 0.0 1.0 0.0 0.750 0.875 ; vertex #069 476.5916 0140.00000 458.6655 0.0 1.0 0.0 0.875 0.875 ; vertex #070 635.4554 0140.00000 458.6655 0.0 1.0 0.0 1.000 0.875 ; vertex #071 -635.4432 0010.00000 611.5540 0.0 1.0 0.0 0.000 1.000 ; vertex #072 -476.5824 0023.00000 611.5540 0.0 1.0 0.0 0.125 1.000 ; vertex #073 -317.7216 0034.00000 611.5540 0.0 1.0 0.0 0.250 1.000 ; vertex #074 -158.8608 0047.00000 611.5540 0.0 1.0 0.0 0.375 1.000 ; vertex #075 000.0000 0102.00000 611.5540 0.0 1.0 0.0 0.500 1.000 ; vertex #076 158.8608 0130.00000 611.5540 0.0 1.0 0.0 0.625 1.000 ; vertex #077 317.7216 0135.00000 611.5540 0.0 1.0 0.0 0.750 1.000 ; vertex #078 476.5824 0146.00000 611.5540 0.0 1.0 0.0 0.875 1.000 ; vertex #079 635.4432 0142.00000 611.5540 0.0 1.0 0.0 1.000 1.000 ; vertex #080 )IfVarRange( :not_spring 38A 77 169 ) SetMaterial( 0 0 ) Jump( :draw ):not_springIfVarRange( :not_fall 38A 263 355 ) SetMaterial( 0 2 ) Jump( :draw ):not_fall SetMaterial( 0 6 ):drawDrawTriList( 0 000 010 009 000 001 010 001 002 010 002 011 010 009 010 018 010 019 018 010 020 019 010 011 020 018 028 027 018 019 028 019 020 028 020 029 028 027 028 036 028 037 036 028 038 037 028 029 038 036 046 045 036 037 046 037 038 046 038 047 046 045 046 054 046 055 054 046 056 055 046 047 056 054 064 063 054 055 064 055 056 064 056 065 064 063 064 072 064 073 072 064 074 073 064 065 074 002 012 011 002 003 012 003 004 012 004 013 012 011 012 020 012 021 020 012 022 021 012 013 022 020 030 029 020 021 030 021 022 030 022 031 030 029 030 038 030 039 038 030 040 039 030 031 040 038 048 047 038 039 048 039 040 048 040 049 048 047 048 056 048 057 056 048 058 057 048 049 058 056 066 065 056 057 066 057 058 066 058 067 066 065 066 074 066 075 074 066 076 075 066 067 076 004 014 013 004 005 014 005 006 014 006 015 014 013 014 022 014 023 022 014 024 023 014 015 024 022 032 031 022 023 032 023 024 032 024 033 032 031 032 040 032 041 040 032 042 041 032 033 042 040 050 049 040 041 050 041 042 050 042 051 050 049 050 058 050 059 058 050 060 059 050 051 060 058 068 067 058 059 068 059 060 068 060 069 068 067 068 076 068 077 076 068 078 077 068 069 078 006 016 015 006 007 016 007 008 016 008 017 016 015 016 024 016 025 024 016 026 025 016 017 026 024 034 033 024 025 034 025 026 034 026 035 034 033 034 042 034 043 042 034 044 043 034 035 044 042 052 051 042 043 052 043 044 052 044 053 052 051 052 060 052 061 060 052 062 061 052 053 062 060 070 069 060 061 070 061 062 070 062 071 070 069 070 078 070 079 078 070 080 079 070 071 080 )EndVersion:returnReturnEndA

Share this post


Link to post
Share on other sites

Hi Luis,ADDCAT is just the BGLC name for the LayerCall command. So it is the same command you are using here.Using the negative layer is interesting, I have never seen that before :). How did you place your runway? As I have never had trouble with a polygon at layer 4 or 8 and a runway.


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest luissa

>Using the negative layer is interesting, I have never seen>that before :). How did you place your runway? As I have never>had trouble with a polygon at layer 4 or 8 and a runway.Hi Arno,Sorry. I was wrong! With the negative number, only the VTP photos show. I thought I was seeing the high resolution ones.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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...