- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.5
>>
Bugs
(Moderators:
Waterman
,
Mithrandir_
,
beyonder
,
ZaPPZion
) >>
Memory leak in create3dText?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Memory leak in create3dText? (Read 767 times)
xx396
Customers
Community Member
Posts: 12
Memory leak in create3dText?
«
on:
September 07, 2009, 05:05:53 AM »
Just to simplify what I'm seeing, all I'm doing is a thousand calls to scene CreateMeshBuilder, Create3dText on that mesh and then mesh destroy and the memory usage is going up and up. If I replace the Create3dText with, say CreateSphere, the memory is rock solid. FYI I've noticed this because I'm using an on screen clock/timer which gets updated every frame and I have to delete and recreate the mesh each time. Is there a better way?
Logged
SylvainTV
Administrator
Community Member
Posts: 4946
Re: Memory leak in create3dText?
«
Reply #1 on:
October 10, 2009, 11:48:59 AM »
Well it's slow indeed.
What you could do is precreate a lot of small meshes.
One mesh for each digit. Duplicate the meshes if needed and display only the good ones.
You don't have to call Create3Dtext each time this way, just some times in the init.
Btw I have fixed the memory leak. Thanks!
Logged
Regards
Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com
TV3D IRC at
http://chat.truevision3d.com
or on server irc.truevision3d.com #Truevision3D. Come talk with us !
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
-----------------------------
Game Development
-----------------------------
=> Game Development
-----------------------------
Projects
-----------------------------
=> In-Development
=> Showcase
=> Recruitment
=> Announcements
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.5
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
-----------------------------
TV3D SDK
-----------------------------
===> Shader Development
===> Content Pipeline
===> Bugs
-----------------------------
Game Development
-----------------------------
=> Companion Tools
=> Design and Theory
Powered by SMF 1.1.3
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks