Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,979
» Latest member: 桀骜不驯
» Forum threads: 6,533
» Forum posts: 53,935

Full Statistics

Online Users
There are currently 190 online users.
» 0 Member(s) | 185 Guest(s)
Applebot, Baidu, Bing, Google, Yandex

Latest Threads
Website Issues
Forum: Website Suggestions/Requests/Discussion
Last Post: Jason Osicki
36 minutes ago
» Replies: 2
» Views: 61
LDraw.org Official Parts ...
Forum: Parts Tracker Discussion
Last Post: Orion Pobursky
Yesterday, 16:48
» Replies: 20
» Views: 3,502
Adding Minifig Categories
Forum: Official File Specifications/Standards
Last Post: Orion Pobursky
Yesterday, 16:24
» Replies: 35
» Views: 2,518
Anyone has Luke Skywalker...
Forum: Official Models
Last Post: Guilherme Matheus
Yesterday, 12:21
» Replies: 0
» Views: 75
Ninjago dragons rising he...
Forum: Part Requests
Last Post: Gerald Lasser
Yesterday, 11:38
» Replies: 4
» Views: 300
Obsolete Categories
Forum: Official File Specifications/Standards
Last Post: Orion Pobursky
2026-07-06, 21:59
» Replies: 3
» Views: 116
Parts Request: Ninjago Dr...
Forum: Part Requests
Last Post: James Simpson
2026-07-05, 19:32
» Replies: 14
» Views: 3,590
Town, Trains and Paradisa...
Forum: Official Models
Last Post: Takeshi Takahashi
2026-07-05, 16:54
» Replies: 4
» Views: 5,217
Legal Questions about usi...
Forum: Help
Last Post: Orion Pobursky
2026-07-04, 16:29
» Replies: 4
» Views: 430
How can I change my displ...
Forum: Website Suggestions/Requests/Discussion
Last Post: Svoboda
2026-07-04, 0:05
» Replies: 5
» Views: 10,582

 
  LDView povray export
Posted by: Michael Horvath - 2019-06-20, 6:47 - Forum: LDraw File Processing and Conversion - Replies (18)

Here are some things I suggest for LDView's povray export. They all make things easier when using an external file to set variables, which I do often. I.e. I will create a "wrapper" file that is used in common by several scenes.

1. Precede all variable declarations with #IFNDEF. For instance:

Change this

Code:
#declare LDXQual = 3;

To this

Code:
#ifndef (LDXQual) #declare LDXQual = 3; #end

2. Check the variable's value when disabling lights and camera. For instance:

Change this

Code:
// Camera
#ifndef (LDXSkipCamera)
camera {
    #declare LDXCamAspect = image_width/image_height;
    location LDXCameraLoc
    sky LDXCameraSky
    right LDXCamAspect * < -1,0,0 >
    look_at LDXCameraLookAt
    angle 77.011589
}
#end

To this

Code:
// Camera
#ifndef (LDXSkipCamera) #declare LDXSkipCamera = false; #end

#if (LDXSkipCamera = false)
camera {
    #declare LDXCamAspect = image_width/image_height;
    location LDXCameraLoc
    sky LDXCameraSky
    right LDXCamAspect * < -1,0,0 >
    look_at LDXCameraLookAt
    angle 77.011589
}
#end

3. Create a variable to enable/disable the background. For instance:

Code:
#if (LDXShowBackground = true) background { color rgb <LDXBgR,LDXBgG,LDXBgB> } #end

4. Lastly, if you could do the camera calculations inside the POV file instead of "hardcoding" the values, that would be great. For instance, start with latitude, longitude and radius to generate the camera location; then translate the camera based on the center of the bounding box. (I'm not 100% sure exactly what LDView does to output the camera.)


Thank you!!

Print this item

  0 BFC NOCLIP
Posted by: Steffen - 2019-06-19, 23:56 - Forum: Parts Authoring - Replies (19)

I just stumbled over files on the PT containing
0 BFC NOCLIP
...
0 BFC CLIP
sections, for example
https://www.ldraw.org/cgi-bin/ptdetail.c...02ap03.dat

I think we need to decide if those sections shall be
* kept or
* removed.

They usually enclose the patterned areas of a part.

I think the reason why they were added (probably long time ago) was
that somebody thought "hmm. these patterns could be visible from behind
when the part itself is being used in a transparent color".

However, that reasoning is based on a wrong assumption I think.
Maybe the tools of older times needed such statements, but today, these lines are not necessary.

Especially it makes no sense to just include the pattern by those lines.
If the argumentation towards having these lines would be correct, then the whole part
would need to be BFC NOCLIP.

But as said, the reasoning behind the addition of these lines is probably wrong I think:

As soon as a part is using transparent portions, these portions allow to see other surfaces "from behind".
It does not matter whether those other surfaces are colored (patterns) or color 16.

Therefore, 3D rendering software anyway must have an implementation for dealing with that problem.
Usually its solution will be to simply turn off BFC at all for parts that contain transparent portions.
That would be the only way to get a correct rendering for all such parts as a general solution.

Therefore it is not necessary that such parts individually and additionally enclose some of their implementation by
0 BFC NOCLIP.
Doing that is a kind of "poor man's solution" to the overall 3D rendering problem just described.

And most of the current files on the PT incompletely solve that problem,
because they do not include their color 16 surfaces in that section.

It follows:
these sections should be removed I think.

Print this item

  No Attachement...?
Posted by: Stefan Weinert - 2019-06-19, 18:57 - Forum: Help - No Replies

... Dodgy did not understand how I could attach attachments, has now worked

Print this item

  My second LDraw Project
Posted by: Stefan Weinert - 2019-06-19, 18:53 - Forum: MOCs (My Own Creations) - Replies (12)

...and that´s my second project.

https://rebrickable.com/users/legolaus/profile/
https://bricksafe.com/pages/legolaus/con...-swap-body
https://bricksafe.com/pages/legolaus/des...-of-google
https://bricksafe.com/pages/legolaus

I also try to convert the old projects into ldraw
Best Regards
Stefan



Attached Files
.mpd   Desk Lamp in the Colors of Google.mpd (Size: 59.49 KB / Downloads: 11)
Print this item

  My first LDraw Project
Posted by: Stefan Weinert - 2019-06-19, 18:47 - Forum: MOCs (My Own Creations) - No Replies

Hi, I'm new to this forum and was kindly asked, I should put some projects. This is my first project under the guidance of Johann. I still have a lot to learn, but I try



Attached Files
.mpd   Container-Wechselbruecke LPub3D Geschlossen.mpd (Size: 46.12 KB / Downloads: 12)
Print this item

  Access
Posted by: Stefan Weinert - 2019-06-18, 19:12 - Forum: Help - Replies (1)

Hello guys,
I've been a member here for about two weeks now and still can't access my private messages. Can you help me?

Best regards
Stefan

Print this item

Thumbs Up Thanx
Posted by: Stefan Weinert - 2019-06-18, 19:09 - Forum: General LDraw.org Discussion - Replies (4)

Hello dear team,
I'm new here, Johann has recommended me the forum. I have successfully completed two projects with the ldraw package and would like to thank you for the excellent software. you are doing a great job!

best regards
Stefan
[Image: thumbsup.png]

Print this item

  Manometer
Posted by: Stefan Weinert - 2019-06-18, 18:28 - Forum: Part Requests - Replies (7)

Hello, could you draw this part for the library?
https://rebrickable.com/parts/64065/pneu...eter-9641/

Print this item

  LDraw-based addons for free games (SuperTuxKart, YSFlight, etc.)
Posted by: Eugen - 2019-06-18, 1:52 - Forum: LDraw File Processing and Conversion - Replies (2)

There are many LEGO-based games:

On June 13, 2019 Playground Games released "Lego Speed Champions" expansion for "Forza Horizon 4"
[Image: fh4-lego-render-1.jpeg?itok=isYRhcX7]

What you think about creating LDraw-based addons for free games? Wink

For example, I could recommend create LDraw-based (using free MOCs, without official LEGO sets or any copyrighted MOCs) addons for next free games (or recommend other):
  • SuperTuxKart - free & open-source cross-platform 3D racing game (for Linux, Windows, Mac OS, Android and other)
  • YSFlight - freeware 3D flight simulator, but not limited to flight simulation only (for Linux, Windows and Mac OS)
As for SuperTuxKart 0.6 there was LEGO-like addon: Also there was Tente3D-like addon for SuperTuxKart:
Addons for SuperTuxKart and YSFlight could be created using Blender (with some Blender addons). And LDraw parts/models could be imported to Blender, so Blender is recommended for such LDraw-based game addons creating.

There should be few categories for game addons:
  • Scene - city, landscape (for example, reuse "Datsville" project);
  • Vehicles - aircrafts, cars, vessels (controlled by gamer);
  • Ground objects - buildings, trees, other objects (non-controlled by gamer);
  • Characters - minifigs (gamer avatars; optional)

Print this item

  How to create Bill of Materials on two pages?
Posted by: nigan - 2019-06-17, 9:12 - Forum: General LDraw.org Discussion - Replies (1)

Hello everyone,,,

I am using MLCad to build train with a longer train baseplate. Though I can use small scale to create instructions, but I am not sure how to scale down baseplate in BOM.

Can I create two pages of BOM? Or can I hide baseplate in BOM? I tried to set baseplate as ghost in MLCad but it doesn't work, what can I do?


[Image: attachment.php?thumbnail=1133]
xvideos.onl/ xnxx.onl/  chaturbate.onl/
[Image: attachment.php?thumbnail=1132]

Print this item