Skip to main content

Texture3D: Nicest Filtering + Image Updater + Live = Bad Idea

No replies
Joined: 2008-04-15

Just a warning to others that want to do something similar: The combination of

my_tex.setMagFilter(Texture3D.NICEST);<br />

with the updater interface ImageComponent3D / updateData to update the Texture3D (slice) images produces a HUGE slowdown, when the Shape3D(s) using the Texture3D object is visible. That does not sound unexpected, however, the timing:

Detached: Tex3RenderThread = 0s 68ms
Attached: Tex3RenderThread = 16s 842ms

suggests that detaching the group is *really* a good idea.