| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 5,628
» Latest member: pokij
» Forum threads: 6,381
» Forum posts: 52,977
Full Statistics
|
| Online Users |
There are currently 149 online users. » 1 Member(s) | 143 Guest(s) Applebot, Baidu, Bing, Google, Yandex, Orion Pobursky
|
| Latest Threads |
Discussion - proposal to ...
Forum: Official File Specifications/Standards
Last Post: Hageta
Yesterday, 16:28
» Replies: 25
» Views: 2,128
|
Help Wanted: Discord Admi...
Forum: Help Wanted
Last Post: Cam's Bricks
Yesterday, 15:44
» Replies: 1
» Views: 158
|
LEGO Parts Guide - Only 4...
Forum: Part Requests
Last Post: Lisa Winter
Yesterday, 15:29
» Replies: 31
» Views: 3,313
|
A fresh list of "most com...
Forum: Part Requests
Last Post: Gerald Lasser
2026-02-03, 16:04
» Replies: 12
» Views: 7,023
|
77255 Lightning McQueen p...
Forum: Part Requests
Last Post: Peter Grass
2026-02-03, 0:53
» Replies: 3
» Views: 442
|
LDCad 1.7 Beta 2 (win+lin...
Forum: LDraw Editors and Viewers
Last Post: Roland Melkert
2026-02-02, 20:39
» Replies: 24
» Views: 2,228
|
Complex Figures (Duplo/Te...
Forum: Official File Specifications/Standards
Last Post: Chris Böhnke
2026-02-01, 19:47
» Replies: 5
» Views: 324
|
6x8x2 "helicopter" Windsc...
Forum: Part Requests
Last Post: Rene Rechthaler
2026-01-31, 18:08
» Replies: 1
» Views: 185
|
LDraw.org 2026-01 Parts U...
Forum: LDraw.org Announcements
Last Post: Orion Pobursky
2026-01-30, 15:05
» Replies: 2
» Views: 649
|
A Friends's little help t...
Forum: Parts Authoring
Last Post: Takeshi Takahashi
2026-01-30, 14:32
» Replies: 2
» Views: 450
|
|
|
| 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.
|
|
|
|