Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: SkySphere Issue: Missing texture in the poly's  (Read 386 times)
rocky
Customers
Community Member
*****
Posts: 955


« on: March 10, 2005, 06:25:39 AM »

Hey all,

Seeing something that has been discussed previously but note sure how to correct. Was wondering if someone else has found the method.

My VB Form_load code:

TextureId1 = TexFactory.LoadTexture("sky.dds", "sky", , , TV_COLORKEY_BLACK, True)
         
        .SkySphere_SetRadius 1200        
        .SkySphere_SetPolyCount 16  
        .SkySphere_SetTexture TextureId1 'GetTex("Sky")
        .SkySphere_SetParameters False
        .SkySphere_IsHemiSphere
        .SkySphere_Enable True

NOTE:
Have tried .SkySphere_SetParameters as true but screws up with black boxes = missing texture in the poly's!

Rendering Loop:
Atmos.Atmosphere_Render
Atmos.Clouds_Render

Have tried all variation including Atmos.SkySphere_Render, same results so fairly confident it's something in the Skysphere initalization function.


As always, thanks.

Rocky

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks