3D Viewer work


RE: 3D Viewer work
#35
(2020-02-10, 19:47)Orion Pobursky Wrote: I added that command and it now works for me. However, the texture doesn't show until the part is rotated in some cases.

That happens when the texture loads after the part. To overcome that, have render called in your onProgress:

Code:
    let onProgress = function() {
          render(); // Will be called once a part of texture is loaded.
    }

        let options = {
      onProgress:onProgress,
      ...    
        }
        ldrLoader = new THREE.LDRLoader(onLoad, storage, options);

On a related topic.

I have noticed that the search page (Parts Tracker File Scan) does not contain thumbnails. Is there a reason for this? I am working on a light thumbnail generator, which runs asynchroneously to generate thumbnails. See https://brickhub.org/bh/p/class.php?path...%3DMinifig as an example. Do you think such a feature would be useful?
Reply
« Next Oldest | Next Newest »



Messages In This Thread
3D Viewer work - by Orion Pobursky - 2019-11-17, 19:52
RE: 3D Viewer work - by Magnus Forsberg - 2019-12-01, 14:09
RE: 3D Viewer work - by Lasse Deleuran - 2019-12-01, 19:18
RE: 3D Viewer work - by Orion Pobursky - 2019-12-01, 19:39
RE: 3D Viewer work - by Gerald Lasser - 2019-12-01, 19:17
RE: 3D Viewer work - by Lasse Deleuran - 2019-12-06, 20:12
RE: 3D Viewer work - by Magnus Forsberg - 2019-12-27, 15:54
RE: 3D Viewer work - by Magnus Forsberg - 2020-01-11, 9:43
RE: 3D Viewer work - by Lasse Deleuran - 2020-01-11, 9:54
RE: 3D Viewer work - by Magnus Forsberg - 2020-01-11, 10:24
RE: 3D Viewer work - by Orion Pobursky - 2020-01-12, 6:40
RE: 3D Viewer work - by Philippe Hurbain - 2020-01-12, 7:55
RE: 3D Viewer work - by Magnus Forsberg - 2020-01-12, 11:05
RE: 3D Viewer work - by Magnus Forsberg - 2020-01-22, 15:42
RE: 3D Viewer work - by Orion Pobursky - 2020-01-22, 15:48
RE: 3D Viewer work - by Philippe Hurbain - 2020-01-22, 16:56
RE: 3D Viewer work - by Gerald Lasser - 2020-01-22, 17:00
RE: 3D Viewer work - by Orion Pobursky - 2020-01-22, 18:21
RE: 3D Viewer work - by Magnus Forsberg - 2020-01-22, 21:21
RE: 3D Viewer work - by Gerald Lasser - 2020-01-22, 21:22
RE: 3D Viewer work - by Orion Pobursky - 2020-01-22, 21:38
RE: 3D Viewer work - by Orion Pobursky - 2020-01-22, 21:39
RE: 3D Viewer work - by Gerald Lasser - 2020-01-22, 22:40
RE: 3D Viewer work - by Orion Pobursky - 2020-01-23, 0:44
RE: 3D Viewer work - by Magnus Forsberg - 2020-01-23, 18:30
RE: 3D Viewer work - by Michael Horvath - 2020-01-24, 21:07
RE: 3D Viewer work - by Lasse Deleuran - 2020-02-06, 16:14
RE: 3D Viewer work - by Lasse Deleuran - 2020-02-08, 1:03
RE: 3D Viewer work - by Orion Pobursky - 2020-02-10, 4:56
RE: 3D Viewer work - by Lasse Deleuran - 2020-02-10, 9:09
RE: 3D Viewer work - by Orion Pobursky - 2020-02-10, 15:55
RE: 3D Viewer work - by Orion Pobursky - 2020-02-10, 18:07
RE: 3D Viewer work - by Lasse Deleuran - 2020-02-10, 18:58
RE: 3D Viewer work - by Orion Pobursky - 2020-02-10, 19:47
RE: 3D Viewer work - by Lasse Deleuran - 2020-02-10, 21:47
RE: 3D Viewer work - by Orion Pobursky - 2020-02-10, 22:06
RE: 3D Viewer work - by Philippe Hurbain - 2021-01-08, 9:31
RE: 3D Viewer work - by Lasse Deleuran - 2021-01-09, 9:42
RE: 3D Viewer work - by Lasse Deleuran - 2021-01-09, 11:12
RE: 3D Viewer work - by Philippe Hurbain - 2021-01-09, 14:52
RE: 3D Viewer work - by Magnus Forsberg - 2021-01-09, 16:28
RE: 3D Viewer work - by Orion Pobursky - 2021-01-09, 16:14
RE: 3D Viewer work - by Lasse Deleuran - 2021-01-09, 20:24
RE: 3D Viewer work - by Orion Pobursky - 2021-01-11, 16:07
RE: 3D Viewer work - by Orion Pobursky - 2020-02-11, 0:27
RE: 3D Viewer work - by Magnus Forsberg - 2020-07-08, 21:17
RE: 3D Viewer work - by Orion Pobursky - 2020-07-08, 21:45
RE: 3D Viewer work - by Orion Pobursky - 2020-07-13, 2:42
RE: 3D Viewer work - by Philippe Hurbain - 2020-07-13, 6:17
RE: 3D Viewer work - by Orion Pobursky - 2020-07-13, 12:41
RE: 3D Viewer work - by Magnus Forsberg - 2020-07-13, 7:16
RE: 3D Viewer work - by Orion Pobursky - 2020-07-13, 12:40
RE: 3D Viewer work - by Magnus Forsberg - 2020-07-13, 13:06
RE: 3D Viewer work - by Orion Pobursky - 2020-07-13, 13:57
RE: 3D Viewer work - by Magnus Forsberg - 2020-07-13, 14:44
RE: 3D Viewer work - by Orion Pobursky - 2020-07-13, 15:15
RE: 3D Viewer work - by N. W. Perry - 2020-07-13, 15:12
RE: 3D Viewer work - by Magnus Forsberg - 2020-07-25, 16:32
RE: 3D Viewer work - by Orion Pobursky - 2020-07-25, 17:02
RE: 3D Viewer work - by Orion Pobursky - 2020-07-28, 1:36
RE: 3D Viewer work - by Orion Pobursky - 2020-07-17, 5:05
RE: 3D Viewer work - by Vincent Messenet - 2020-07-18, 7:54
RE: 3D Viewer work - by Orion Pobursky - 2020-07-18, 12:20
RE: 3D Viewer work - by Lasse Deleuran - 2020-07-13, 9:59

Forum Jump:


Users browsing this thread: 38 Guest(s)