Jump to content
Sign in to follow this  
Guest gorchi

FSDS V2 object without textures

Recommended Posts

Guest gorchi

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

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]

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 gorchi

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]

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 gorchi

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
Guest gorchi

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  

  • 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...