| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 5,530
» Latest member: YANG
» Forum threads: 6,303
» Forum posts: 52,537
Full Statistics
|
| Online Users |
There are currently 141 online users. » 1 Member(s) | 137 Guest(s) Bing, Google, Yandex
|
| Latest Threads |
Could stickers be mapped ...
Forum: Parts Authoring
Last Post: N. W. Perry
Yesterday, 22:02
» Replies: 10
» Views: 373
|
Suggestion: for primitive...
Forum: Parts Tracker Discussion
Last Post: Willy Tschager
Yesterday, 15:51
» Replies: 1
» Views: 121
|
Feature request - Add cur...
Forum: LDraw Editors and Viewers
Last Post: Roland Melkert
Yesterday, 8:11
» Replies: 5
» Views: 193
|
View LDraw files in-brows...
Forum: Website Suggestions/Requests/Discussion
Last Post: N. W. Perry
Yesterday, 2:06
» Replies: 2
» Views: 191
|
Wavy Hair with Hole in Ba...
Forum: Part Requests
Last Post: Van Esbroeck
2025-12-22, 11:03
» Replies: 0
» Views: 99
|
Parts Request: Ninjago Dr...
Forum: Part Requests
Last Post: Peter Grass
2025-12-21, 7:10
» Replies: 8
» Views: 753
|
3DToLD Release 1.6.1 - Mi...
Forum: LDraw File Processing and Conversion
Last Post: Hageta
2025-12-20, 16:52
» Replies: 0
» Views: 142
|
Axlecap primitive
Forum: Parts Authoring
Last Post: Rene Rechthaler
2025-12-20, 15:23
» Replies: 3
» Views: 224
|
Parts Tracker Landing Pag...
Forum: Parts Tracker Discussion
Last Post: Magnus Forsberg
2025-12-19, 20:17
» Replies: 1
» Views: 163
|
Promotional Sets 2025
Forum: Official Models
Last Post: Philippe Hurbain
2025-12-19, 8:22
» Replies: 7
» Views: 5,986
|
|
|
| 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.
|
|
|
|