| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 5,564
» Latest member: Thomson
» Forum threads: 6,334
» Forum posts: 52,660
Full Statistics
|
| Online Users |
There are currently 206 online users. » 1 Member(s) | 200 Guest(s) Applebot, Baidu, Bing, Facebook, Google, Orion Pobursky
|
| Latest Threads |
A Friends's little help t...
Forum: Parts Authoring
Last Post: Gerald Lasser
7 hours ago
» Replies: 1
» Views: 69
|
LEGO Parts Guide - Only 6...
Forum: Part Requests
Last Post: Philippe Hurbain
10 hours ago
» Replies: 17
» Views: 1,162
|
Did something happen to B...
Forum: Help
Last Post: Orion Pobursky
Yesterday, 15:58
» Replies: 1
» Views: 125
|
2x2 wedge/wing tiles 7828...
Forum: Part Requests
Last Post: Ryan Hicks
Yesterday, 5:57
» Replies: 2
» Views: 246
|
existing parts color vari...
Forum: Parts Authoring
Last Post: Magnus Forsberg
2026-01-07, 20:43
» Replies: 4
» Views: 371
|
4x2 curve slope wedge 692...
Forum: Part Requests
Last Post: Philippe Hurbain
2026-01-07, 16:05
» Replies: 3
» Views: 3,338
|
Blue King Head
Forum: Part Requests
Last Post: Carl Rodabaugh
2026-01-07, 0:17
» Replies: 0
» Views: 121
|
27965 Cable flexible 22L ...
Forum: Part Requests
Last Post: Daniele Benedettelli
2026-01-06, 9:35
» Replies: 2
» Views: 4,785
|
James Jessiman Memorial A...
Forum: LDraw.org Announcements
Last Post: Bertrand Lequy
2026-01-05, 19:42
» Replies: 10
» Views: 16,155
|
Disney 2022
Forum: Official Models
Last Post: HowToBrick
2026-01-04, 22:59
» Replies: 0
» Views: 529
|
|
|
| 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.
|
|
|
| HELP!!!READ ME!ABOUT SUB PART |
|
Posted by: k1n9 - 2013-04-10, 15:04 - Forum: Help
- Replies (4)
|
 |
Hi guys,
I'm new to LDraw and recently I created my own parts in LDraw.
I would like to reuse the small part created in another larger part but I cannot use the small part as a sub-part, should I upload the sub-part to library or just put it in the p file(but seems like it cannot be recognized if I only put the sub-part in p file)?
Do you know what I mean? What should I do, any helps please?
|
|
|
| Regarding rendering of parts |
|
Posted by: Athanasios Gaitatzes - 2013-04-08, 13:39 - Forum: Parts Authoring
- Replies (17)
|
 |
I am trying to write a renderer and so trying to understand the document http://www.ldraw.org/article/415.html.
My first question is does a reverse matrix (determinant < 0) perform a mirroring on the part as I have seen in some places or just changes the winding as the document suggests. I wish the pseudocode at the bottom of the document also included the negative determinant part of the drawing process.
Also regarding rendering. If I open the subpart box5.dat in ldview the backfacing polygons are not rendered. But If I create a file sample.dat and in it I put the line "1 16 0 0 0 1 0 0 0 1 0 0 0 1 box5.dat" and open sample.dat in ldview then the backfacing polygons are rendered. From reading the above document I do not understand why that is the case.
Thank you for any help.
|
|
|
|