Sign in to follow this  
Guest gorchi

FSDS V2 object without textures

Recommended Posts

Hi!I have imported a really simple object (a house, made of 3 objects) from FSDS V16 to FSDS V2 and made some minor corrections for the new txtures and when I put it into FS, the object has no textures on it. Just some dark textures even though I assigned to parts light colors. When I look into code, I see that my texture appeares in Texture list but hey, texture is there, 512x512, DXT1 with mipmaps! If I try it with my old object from FSDS V16, no problem, objects have textures. Did anybody also experienced this? I have attached the API.Thanks in advance!Goran BrumenFS Slovenija 2002 teamhttp://slovenia.avsim.net

Share this post


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

When I look at the API I see not only the texture is there, but it is also called when the triangles are drawn. So strange it does not show.When I converted some of my FSDS1.6 objects to FSDS2 they all showed fine (except from a part which had transparant textures, there the drawing order was meshed up).Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Share this post


Link to post
Share on other sites

Arno!Thank You for Your reply, I have managed to make textures visible. It was my stupid mistake...But anyway, I would like to ask You if You know how to make multi resolution models in FSDS V2. Yesterday I imported also a localizer antenna where some parts are visible at different points. After FSDS made API, the API was 150kB long :-eek(from FSDS V16 only 35!!! :-kewl) and of course SCASM has protested with linebuffer overflow during points initialization...:-rollThanks in advance! Regards,Goran BrumenFS Slovenija 2002 teamhttp://slovenia.avsim.net

Share this post


Link to post
Share on other sites

OK, nice to know it nows works :).I never tried making a multi resolution model in FSDS2 (I haven't used it that much, only to convert some of my older models, I use GMax for all my new models). So I am afraid I can't help you much there.And to solve that SCASM error, just increase the linebuffer. Although FSDS2 (and also GMax code) is longer then the old code we are used to (more kB), it is faster, because more efficient code is used.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Share this post


Link to post
Share on other sites

Arno!FSDS by default has these 3 instructions but SCASM still protests:

Set( BUF 1024 )Set( areamx 1024 )Set( LINBUF 2048 )

I am kinda out of imagination here...Regards,Goran BrumenFS Slovenija 2002 teamhttp://slovenia.avsim.net

Share this post


Link to post
Share on other sites

Okay, I have solved it. SCASM does not like underscores (_) in labels so this was the biggest pain in the #####. I had to rewrite labes to Part0, Part1, etc to make it work and it works great.Regards,Goran BrumenFS Slovenija 2002 teamhttp://slovenia.avsim.net

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