Texture mapping


RE: Texture mapping
#52
(2017-07-01, 2:45)Travis Cobbs Wrote:
(2017-06-30, 6:40)Merlijn Wissink Wrote: batman-crop.ldr uses more memory than batman.ldr in my LDview (~100MB vs ~85MB). How's that possible then? Or did you mean the vram?

I meant system memory. It's very odd for the cropped one to use more memory. Just to verify, each LDView run was separate, right? In other words, the only file you opened in LDView was the file in question (batman.ldr or batman-crop.ldr), and exited LDView between files? I would hope that LDView isn't be leaking that much memory, but memory does become fragmented, which causes it to use more and more as time goes by.

I can't think of any reason why the cropped version would use more memory than the non-cropped version. The GLU (OpenGL Utility Library) code I use to convert the image data into OpenGL MIP-Mapping format will resize images so their dimensions are powers of 2. (It resizes to the closest power of 2.) So while the cropped one might be scaled up by 50% in a given dimension, it still shouldn't use more memory than the uncropped one.

Yes, I had just 1 LDview open at a time. No 2 LDviews at the same time. The memory usage. Every single time it's ~85MB vs ~100MB (non-cropped vs cropped). I just tried it again on my freshly started machine. Same thing.

my batmanlogo.png is 2000x600 130kB
my batmanlogo-crop.png is 1768x879 54.2 kB

Maybe there's a difference. It looks like Jaco changed the size of batmanlogo.png between your message and me trying it out?
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Texture mapping - by Jaco van der Molen - 2017-06-28, 11:05
RE: Texture mapping - by Philippe Hurbain - 2017-06-28, 11:10
RE: Texture mapping - by Jaco van der Molen - 2017-06-28, 12:04
RE: Texture mapping - by Jaco van der Molen - 2017-06-28, 12:22
RE: Texture mapping - by Jaco van der Molen - 2017-06-28, 12:29
RE: Texture mapping - by Travis Cobbs - 2017-06-29, 3:33
RE: Texture mapping - by amanda feuk - 2018-01-31, 4:31
RE: Texture mapping - by Jaco van der Molen - 2018-01-31, 9:31
RE: Texture mapping - by Philippe Hurbain - 2017-06-28, 12:32
RE: Texture mapping - by Philippe Hurbain - 2017-06-28, 12:34
RE: Texture mapping - by Jaco van der Molen - 2017-06-28, 12:55
RE: Texture mapping - by Merlijn Wissink - 2017-06-28, 20:16
RE: Texture mapping - by Jaco van der Molen - 2017-06-28, 21:17
RE: Texture mapping - by Damien Roux - 2017-06-28, 22:28
RE: Texture mapping - by Travis Cobbs - 2017-06-29, 3:35
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 6:02
RE: Texture mapping - by Merlijn Wissink - 2017-06-29, 7:11
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 7:26
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 7:59
RE: Texture mapping - by Merlijn Wissink - 2017-06-29, 8:24
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 8:26
RE: Texture mapping - by Merlijn Wissink - 2017-06-29, 8:42
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 21:00
RE: Texture mapping - by Travis Cobbs - 2017-06-29, 17:41
RE: Texture mapping - by Travis Cobbs - 2017-06-29, 17:47
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 20:47
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 20:40
RE: Texture mapping - by Travis Cobbs - 2017-06-29, 20:56
RE: Texture mapping - by Travis Cobbs - 2017-06-29, 21:14
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 21:18
RE: Texture mapping - by Merlijn Wissink - 2017-06-30, 6:40
RE: Texture mapping - by Travis Cobbs - 2017-07-01, 2:45
RE: Texture mapping - by Merlijn Wissink - 2017-07-01, 6:56
RE: Texture mapping - by Travis Cobbs - 2017-07-01, 18:04
RE: Texture mapping - by Roland Melkert - 2017-07-01, 18:32
RE: Texture mapping - by Travis Cobbs - 2017-07-01, 22:31
RE: Texture mapping - by Roland Melkert - 2017-07-02, 17:56
RE: Texture mapping - by Jaco van der Molen - 2017-07-03, 18:10
RE: Texture mapping - by Damien Roux - 2017-07-03, 20:09
RE: Texture mapping - by Roland Melkert - 2017-07-03, 20:21
RE: Texture mapping - by Travis Cobbs - 2017-07-04, 6:23
RE: Texture mapping - by Philippe Hurbain - 2017-07-04, 6:53
RE: Texture mapping - by Jaco van der Molen - 2017-07-04, 6:54
RE: Texture mapping - by Jaco van der Molen - 2017-07-04, 7:03
RE: Texture mapping - by Philippe Hurbain - 2017-07-04, 8:54
RE: Texture mapping - by Travis Cobbs - 2017-07-05, 5:37
RE: Texture mapping - by Jaco van der Molen - 2017-07-05, 6:30
RE: Texture mapping - by Philippe Hurbain - 2017-07-04, 8:49
RE: Texture mapping - by Jaco van der Molen - 2017-07-04, 14:24
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 21:15
RE: Texture mapping - by Travis Cobbs - 2017-06-29, 21:26
RE: Texture mapping - by Philippe Hurbain - 2017-06-30, 8:09
RE: Texture mapping - by Damien Roux - 2017-06-30, 8:54
RE: Texture mapping - by Jaco van der Molen - 2017-06-30, 9:11
RE: Texture mapping - by Merlijn Wissink - 2017-06-30, 12:50
RE: Texture mapping - by Jaco van der Molen - 2017-06-30, 14:09
RE: Texture mapping - by Merlijn Wissink - 2017-06-29, 7:59
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 8:27
RE: Texture mapping - by Merlijn Wissink - 2017-06-29, 8:43
RE: Texture mapping - by Jaco van der Molen - 2017-06-29, 8:54
RE: Texture mapping - by Jaco van der Molen - 2017-06-30, 11:44
RE: Texture mapping - by Philippe Hurbain - 2017-06-30, 12:12
RE: Texture mapping - by Jaco van der Molen - 2017-06-30, 12:51
RE: Texture mapping - by Philippe Hurbain - 2017-06-30, 13:49
RE: Texture mapping - by Jaco van der Molen - 2017-06-30, 14:07
RE: Texture mapping - by Philippe Hurbain - 2017-06-30, 14:48
RE: Texture mapping - by Jaco van der Molen - 2017-06-30, 15:03
RE: Texture mapping - by Damien Roux - 2017-06-30, 17:47
RE: Texture mapping - by Chris Dee - 2017-06-30, 18:26
RE: Texture mapping - by Jaco van der Molen - 2017-06-30, 14:12
RE: Texture mapping - by Alexander Etges - 2019-03-12, 19:05
RE: Texture mapping - by Jaco van der Molen - 2019-03-12, 22:07
RE: Texture mapping - by Alexander Etges - 2019-03-14, 20:56
RE: Texture mapping - by Jaco van der Molen - 2019-03-24, 20:40
RE: Texture mapping - by Damien Roux - 2019-03-25, 19:22
RE: Texture mapping - by Jaco van der Molen - 2019-03-26, 10:09
RE: Texture mapping - by Damien Roux - 2019-03-27, 1:29

Forum Jump:


Users browsing this thread: 49 Guest(s)