LDraw.org Discussion Forums

Full Version: LDCad 1.0 Beta 2 available (incl Linux version)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi all,

2nd beta of my editor is available at


Some fixes (Improved stability, file handling), Some user friendliness improvements and a couple of new dialogs I kinda forgot to add in beta 1 (grid stepping management and LDRaw config file location management).

The biggest addition by far is Linux support. For now it's 32 bit only and some what experimental (distro wise, the application itself has the exact same features as the windows version).

The Linux binary should have very little decencies and runs on 'out of the box' Ubuntu 9.04 and 11.10 (these I test with, everything in between should work too).

Any recent distro should work as long GTK 2.x (Gnome) is available

I'm very interested to know if en on what people can get it to run, so please let me know ether here or directly.

When the application runs it seem to run very well, I edited the 5550 model using the Windows version for the first half and the Linux version for the second half (can you guess where I switched Wink ).

ps: The site itself isn't completely up-to-date yet, I'll fix that this weekend though.
Looks awesome.

Can't wait for a mac version (hopefully one will come).
[Image: LDCad.png]

As you can see from the above screenshot, I'm getting rendering problem where the top of the tiles is missing
Roland Melkert Wrote:I'm very interested to know if en on what people can get it to run, so please let me know ether here or directly.

Hi Roland,

I just downloaded the linux beta 2 and the LDraw library on an otherwise bone stock installation of Linux Mint 12 and it seems to work without any trouble. Of course I have yet to experiment with it and familiarize myself with the interface and features. I can't really judge graphics performance well because I am running linux within VirtualBox with default video settings, so I don't think there's any hardware acceleration. Anyway, it looks neat.

[Image: ldcad-mintlinux1232b-vbox.png]
This model (the version in posted in the official models section), seems to render correct for me.

On your system it also seems to fail locating some other parts (red crosses), some questions:

Is the library the latest?
If it's a different version then the one posted on the forum, could you send it to me.
Does the log complain about 'could not locate'? Or send me the log file(s).
It could also be a bfc problem, are other models rendering correct?

the only 'glitch' I'm seeing in your screen-cap is one that all software renderers seem to have. It maps the font texture a pixel off (noticeable in the e.g. the 'p' and 's' -es).
Only problem with that is me not having a mac at the moment, but I'm considering one next year when it's time to upgrade my (stone age) laptop.
I think the software renderers may be rendering correctly to the official OpenGL spec in this case. LDView contains the following code that gets called after setting up an Orthographic pixel-scaled view:

if (strncmp(glVendor, "ATI Technologies Inc.", 3) != 0)
        // This doesn't work right on ATI video cards, so skip.
        glTranslatef(0.375f, 0.375f, 0.0f);

The reasoning behind the above is related to the fact that each pixel is actually a box, with min, max, and center, and OpenGL renders either to the bottom left corner or to the center (can't remember which), when you're expecting the opposite. I chose 0.375 based on empirical testing on various video cards.
Thanks for the info,

It's probably a rasterization / rounding issue that's implementation depended. I tried to setup 2D overlay ortho in such a way it maps like normal pixels for gui 'painting'. In order to that i do a .5 correction in gluOrtho2D, which is very similar to a translate like you are doing.

I'll try 0.375 in gluOrtho it might force down rounding for that last pixel (or causes all other implementation to go wrong Smile ).
It should be up to date since I just updated it when I made the MPD of the SSD. I verify, maybe I'm wrong. I'll look at the other things you brought up.
Pages: 1 2