Results 1 to 2 of 2

Thread: Q about TV8(Truevision8)

  1. #1

    Thread Starter
    Fanatic Member prog_tom's Avatar
    Join Date
    May 2001
    Location
    Los Angeles and Little Rock
    Posts
    810

    Post Q about TV8(Truevision8)

    VB Code:
    1. Option Explicit
    2. Private TZ As TrueVision8
    3. Private SS As Scene8, ii As Scene8
    4. Private TT As Mesh8, pp As Mesh8
    5. Private OY As Boolean, ll As Single
    6. Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
    7. If KeyCode = vbKeyEscape Then
    8. Unload Me
    9. Else
    10. End If
    11. End Sub
    12. Private Sub Form_Load()
    13. Me.Move (-Me.Width + Screen.Width) / 2, (-Me.Height + Screen.Height) / 2
    14. Set TZ = New TrueVision8
    15. TZ.Init3DWindowedMode Me.hWnd
    16. TZ.DisplayFPS = True
    17. Set SS = New Scene8
    18. Set TT = New Mesh8
    19. Set TT = SS.CreateMeshBuilder
    20.  
    21. TT.Create3DText "Prog_Tom", "Arial", "100", 0
    22. TT.EnableSphereMapping True
    23. TT.SetPosition 0, 0, 7
    24. Form1.Show
    25. OY = True
    26. oop
    27. End Sub
    28. Sub oop()
    29. Do
    30. DoEvents
    31. ll = ll + (TZ.TimeElapsed / 40)
    32. TT.SetRotation ll, ll, -ll
    33. TZ.Clear
    34. SS.RenderAllMeshes
    35. TZ.RenderToScreen
    36. Loop Until OY = False
    37. Set TZ = Nothing
    38. Set SS = Nothing
    39. Set TT = Nothing
    40. End
    41. End Sub
    42. Private Sub Form_Unload(Cancel As Integer)
    43. OY = False
    44. Set TZ = Nothing
    45. Set SS = Nothing
    46. Set TT = Nothing
    47. End
    48. End Sub
    Is there any way to change the color of the 3d text?

    prog_tom
    JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
    http://physics.sviesoft.com/forum

  2. #2

    Wink Answer

    Hello,

    I readed also your post at http://www.TrueVision3DSDK.com what is about the same problem, we'll test your problem and see if it's a bug in the engine, or a mistake on the users side.

    Please be patient while we're testing.

    Best Regards,
    Sigurd De Keyser
    TrueVision3D Developer
    Http://www.TrueVision3DSDK.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width