RE: WebGL renderer
2016-04-12, 1:04 (This post was last modified: 2016-04-12, 1:08 by Hazen Babcock. Edit Reason: incorrect punctation )
2016-04-12, 1:04 (This post was last modified: 2016-04-12, 1:08 by Hazen Babcock. Edit Reason: incorrect punctation )
(2016-03-06, 18:33)Merlijn Wissink Wrote: I'd like to include this in the omr website. However, I have 2 feature requests that would make it a little better for the omr site:
- The LDraw files are saved with their 'OMR filename'. That means that sometimes, the loadByUrl receives a url like this:
/media/LDraw_files/Pharaoh's%20Quest/30091/30091%20-%20Desert%20Rover.mpd
It doesn't have any problems with the %20, but the ' (which is transformed into ') seems to be a problem.
That doesn't work. Is it possible to add support for those links?
- It would be nice if Brigl would detect a large model (e.g. models with more than 1500 parts) and if it detects one, it doesn't load the model without the user's 'permission' (e.g. a button).
Those are 2 things I can think of at the moment to make it more suitable for the OMR.
1) How is this URL generated? I don't think brigl has any trouble with an un-escaped URL, as this works for me:
builder.loadModelByUrl("/media/Pharaoh's Quest/30091 - Desert Rover.mpd", ..)
As long as I actually have a file with that name in the correct location.
2) This might be better done with some sort of wrapper rather than brigl itself? The code that is generating these web-pages could perhaps insert a button for large models?
(2016-03-07, 10:39)Rolf Osterthun Wrote: Or you can have a look at this variation: http://forums.ldraw.org/showthread.php?t...53#pid9953
Rolf
This link appears to be broken.
Anyway maybe you'd be interested in forking the project and creating a pull request for this change?
-Hazen