| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 179 online users. » 1 Member(s) | 173 Guest(s) Applebot, Baidu, Bing, Google, Yandex, N. W. Perry
|
| Latest Threads |
Black Widow “SDCC”
Forum: Part Requests
Last Post: James Simpson
5 hours ago
» Replies: 0
» Views: 35
|
[LDPE] 1.9.03 Released (r...
Forum: Parts Author Tools
Last Post: N. W. Perry
Yesterday, 15:09
» Replies: 1
» Views: 79
|
Pokemon
Forum: Official Models
Last Post: Florent Faramond
Yesterday, 7:36
» Replies: 17
» Views: 2,155
|
5687pb01 Dragonborn Palad...
Forum: Part Requests
Last Post: Hylian Waffle
Yesterday, 6:34
» Replies: 2
» Views: 219
|
Technic 1993
Forum: Official Models
Last Post: Takeshi Takahashi
2026-04-10, 16:33
» Replies: 15
» Views: 11,175
|
Wheels needed for Set 772...
Forum: Part Requests
Last Post: Magnus Forsberg
2026-04-10, 14:11
» Replies: 6
» Views: 727
|
[LDPE] 1.9.02 Released (S...
Forum: Parts Author Tools
Last Post: N. W. Perry
2026-04-10, 13:47
» Replies: 8
» Views: 727
|
Proposed change to !CATEG...
Forum: Official File Specifications/Standards
Last Post: Orion Pobursky
2026-04-10, 2:59
» Replies: 13
» Views: 1,087
|
Some Parts id like for MO...
Forum: Part Requests
Last Post: Alpha_Wolf24
2026-04-08, 4:26
» Replies: 2
» Views: 396
|
30305c01 Rock Monster (Ro...
Forum: Part Requests
Last Post: Peter Grass
2026-04-06, 20:50
» Replies: 19
» Views: 16,901
|
|
|
| WebGL/Three.js real-time renderer |
|
Posted by: Athanasios Gaitatzes - 2013-04-20, 20:50 - Forum: Rendering Techniques
- Replies (2)
|
 |
I would like to share a browser based renderer that I have been working on and would like the input of people on how to deploy it.
I am most concerned about copyright issues. The way it is setup right now is that you can only view 5-6 files that I have found on the net (and dont have copyright :-)
First download this simple text file http://www.virtuality.gr/AGG/EaZD-Lego/lego.scene that contains the scene description in XML format and http://www.virtuality.gr/AGG/EaZD-Lego/scene.xml which describes the options you can have in a scene file.
Then visit http://www.virtuality.gr/AGG/EaZD-Lego/index.html and drag the lego.scene file in the rectangle, wait a little (my server is not very fast) and you will see the rendering of the model.
I have tested both Firefox 20.0 and Chrome 26.0. Chrome needs the command line option --allow-file-access-from-files before it starts. In my tests I have found Chrome to be about 20% faster than Firexox.
You can uncomment and view any of the models in the scene file. In XML this '<!--' opens a comment and this '-->' closes one.
The reason you can only see these examples is because I also have them on my server. But as you can put your own models in the scene file I would have no idea which model it is since I cannot read from your hard drive.
This is where I am asking for your input. The only way I can think of, is if you drop on my server two files. One the scene description (.scene) and one for the lego file (note that more than one ldr file might be referenced inside the .scene file). But that would also mean that you are giving me your LDraw file creation. If nobody minds that, I can go ahead and implement it. Other design suggestions are welcome.
Anyway I enjoyed implementing parts of the LDraw spec, specially the nerve-racking BFC :-)
PS. Conditional lines are not supported.
|
|
|
|