LDraw.org Discussion Forums
LDraw Model Viewer and Online Tools - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: General (https://forums.ldraw.org/forum-12.html)
+--- Forum: LDraw.org Announcements (https://forums.ldraw.org/forum-1.html)
+--- Thread: LDraw Model Viewer and Online Tools (/thread-24106.html)

Pages: 1 2


RE: LDraw Model Viewer and Online Tools - Orion Pobursky - 2020-07-17

(2020-07-01, 16:22)Orion Pobursky Wrote: A model viewer has been added to the LDraw.org website. This new tool will allow you to upload a model and view it in your browser. It's fairly basic at the moment but functionality will continue to be added.

It can be found in the Tools menu on the LDraw.org main site (click the red brick logo above) or directly here:
https://www.ldraw.org/tools/ldraw-model-viewer.html

This new feature is a continuation of an effort started with the LDCad PBG Generator to bring a series of useful tools to the LDraw.org website. Future plans include an model OMRizer and a part error checker.

As always, feature requests and improvements can be posted in the Website Suggestions forums.

Model viewer has been update to add:
- The ability to change the background color
- The ability to switch between the cell shaded view and the photo render style
- Also added a bunch of under the hood improvements.


RE: LDraw Model Viewer and Online Tools - Jaco van der Molen - 2021-06-03

I am trying to submit and view a model that does not load.
The process stalls at loading 3-16cyls.dat?
Another model that has kind of the same bricks does load.
At least, I think it also has 3-16cyls.dat in a brick somewhere, because I briefly see it loading.

What could cause this?


RE: LDraw Model Viewer and Online Tools - Orion Pobursky - 2021-06-07

(2021-06-03, 10:52)Jaco van der Molen Wrote: I am trying to submit and view a model that does not load.
The process stalls at loading 3-16cyls.dat?
Another model that has kind of the same bricks does load.
At least, I think it also has 3-16cyls.dat in a brick somewhere, because I briefly see it loading.

What could cause this?

Sorry for the delay.  Can you post or PM the model  in question so can test it?


RE: LDraw Model Viewer and Online Tools - Jaco van der Molen - 2021-06-08

(2021-06-07, 23:27)Orion Pobursky Wrote: Sorry for the delay.  Can you post or PM the model  in question so can test it?

Np

I have PMd you.


RE: LDraw Model Viewer and Online Tools - Orion Pobursky - 2021-06-09

(2021-06-08, 5:45)Jaco van der Molen Wrote: Np

I have PMd you.

This report has uncovered a much deeper bug. Some models load, others don't.  There doesn't seem to be any discernible pattern. Apparently all my test files didn't have whatever problem is causing buildinginstructions.js to crash but figuring out what that is will take some more digging.


RE: LDraw Model Viewer and Online Tools - Jaco van der Molen - 2021-06-09

(2021-06-09, 15:43)Orion Pobursky Wrote: This report has uncovered a much deeper bug. Some models load, others don't.  There doesn't seem to be any discernible pattern. Apparently all my test files didn't have whatever problem is causing buildinginstructions.js to crash but figuring out what that is will take some more digging.

OK, strange. But good luck bughunting. I'm afraid I cannot help you with that, but if you need any testing done, let me know!


RE: LDraw Model Viewer and Online Tools - Orion Pobursky - 2021-06-11

(2021-06-09, 18:06)Jaco van der Molen Wrote: OK, strange. But good luck bughunting. I'm afraid I cannot help you with that, but if you need any testing done, let me know!

I think I've fixed the issue. I'm still not sure what the problem was but my fix bypasses all the issues (I think) by totally regenerating the model object. I did find another bug involving changing background color but that doesn't affect the rendering of the model.


RE: LDraw Model Viewer and Online Tools - Jaco van der Molen - 2021-06-11

(2021-06-11, 3:01)Orion Pobursky Wrote: I think I've fixed the issue. I'm still not sure what the problem was but my fix bypasses all the issues (I think) by totally regenerating the model object. I did find another bug involving changing background color but that doesn't affect the rendering of the model.

Great. I have tested with my model and it works like a charm. Even on my iPhone! Very fast and smooth! TNX