LDraw.org Discussion Forums
[LDPartEditor] First Alpha Version News (until 2014-09-19) - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: Parts Author Tools (https://forums.ldraw.org/forum-24.html)
+--- Thread: [LDPartEditor] First Alpha Version News (until 2014-09-19) (/thread-7056.html)

Pages: 1 2 3


[LDPartEditor] First Alpha Version News (until 2014-09-19) - Nils Schmidt - 2012-11-29

I wish to announce that I am targeting to release the version 0.8.0 Beta on Monday, 24 December 2014.


Re: [LDPartEditor] First Alpha Version as a Christmas Gift - Philippe Hurbain - 2012-11-29

Now that's a teaser Wink


Re: [LDPartEditor] First Alpha Version as a Christmas Gift - Tim Gould - 2012-11-29

I can merge it for you. But I think starting a new thread to announce a working copy is a good idea so would prefer not to.

Tim


Re: [LDPartEditor] First Alpha Version as a Christmas Gift - Rolf Osterthun - 2012-11-29

Oh yeah, I'm really looking forward to your new editor. Maybe we could get a sneak peek for Nicholas (6th December)? ;-) Perhaps a first screenshot?

Rolf


Deadline Change - Nils Schmidt - 2012-12-25

I wish you a Merry Christmas! - Frohe Weihnachten! Smile
I do not manage to release the alpha version during the holidays..
You have to wait a little longer Wink

Nils


Re: Deadline Change - Philippe Hurbain - 2012-12-25

Ohhh... one less Christmas gift this year... Wink


First Alpha Screenshots - Nils Schmidt - 2012-12-27

[Image: lpe_02.jpg]
https://lh5.googleusercontent.com/-_Gn7Spaz92w/U_Jk9g8IQUI/AAAAAAAAAHo/4-8N3uk00NU/w605-h400-no/lpe_03.jpg
[Image: lpe_04.jpgg]
https://lh5.googleusercontent.com/-8iZPGF9pjDw/U_Jk-au2VzI/AAAAAAAAAII/0wCC2Ufmuzc/w605-h340-no/lpe_05.jpg

Well, it's all work in progress... :o)


Additional Screenshots from the 3D Editor - Nils Schmidt - 2012-12-29

Just a little demonstation of the multiple 3D view feature Wink
[Image: lpe_06.jpg]
https://lh3.googleusercontent.com/-F7CQq0CdsiA/U_Jk_GNbvoI/AAAAAAAAAH8/Jm9AKJO1tfc/w605-h430-no/lpe_07.jpg
https://lh5.googleusercontent.com/-cA4b4_mBBGw/U_JlAKrBzxI/AAAAAAAAAIc/dTMQSb3D_u4/w605-h430-no/lpe_08.jpg


Re: Additional Screenshots from the 3D Editor - Philippe Hurbain - 2012-12-29

Uh ho... I can see a teapotahedron Wink


Grid implementation done - Nils Schmidt - 2013-01-08

A first impression of the grid "feature":
[Image: lpe_grid.png]


Re: Grid implementation done - Willy Tschager - 2013-01-09

Looks like the grid is scalable and ajustable for every single pane. Excellent! May I also change the color and the color of the background?

w.


Re: Grid implementation done - Note to Custom Colours & Shortkeys - Nils Schmidt - 2013-01-09

Willy Tschager Wrote:May I also change the color and the color of the background?
Sure, I am going to add this feature, too. As in LDPatternCreator, it will be possible to customise editor colours and shortkeys.


Text Editor Impression - Nils Schmidt - 2013-01-13

Stay tuned.. Wink
[Image: lpe_syntax_ok_1.png]


Re: Text Editor Impression - Willy Tschager - 2013-01-13

Does it come with something SyncEdit did for LDDP?

http://news.lugnet.com/cad/?n=13719

w.


Startup dialog - Nils Schmidt - 2013-01-18

Last week, I implemented a little startup dialog which will be shown on the first start of the application. I am going to consider a option to use relative paths when the folder of LDPartEditor, the LDraw lib and your part authoring share the same base path. As a result, the application becomes portable.
E.g.

"base-path"<path-separator>LDraw
"base-path"<path-separator>Foo<path-separator>Parts Authoring
"base-path"<path-separator>Bar<path-separator>Baz<path-separator>LDPartEditor_(win32, linux, mac)

[Image: lpe_first_start.png]


Re: Startup dialog - Philippe Hurbain - 2013-01-18

I can adapt, but presently my working folder is in a different partition from my LDraw library...


Re: Additional Screenshots from the 3D Editor - Willy Tschager - 2013-01-19

First time I came across the Utah Teapot was back in 1990 when I wondered if I ever could do animations like this:

http://90.146.8.18/en/archives/prix_archive/prix_projekt.asp?iProjectID=10792

on my Amiga 3000 (I still have stored away somewhere).

w.


Re: Additional Screenshots from the 3D Editor - Michael Heidemann - 2013-01-20

You would have waited for years for the pictures to be rendered those days. Wink


Syntax Highlighting - Nils Schmidt - 2013-01-27

The text editor will highlight errors and warnings when you key-in something wrong (e.g. a collinear triangle, a quad with bad vertex sequence, ...). It will also highlight keywords.

The file will be parsed on save. In this process, all errors, warnings and hints will be written to a list on the bottom of the window. You have the option to quick fix the issues if possible.

Finally, the updated 3D model will be rendered on the 3D editor screen.

edit: It might be is possible to implement a real-time parser (I already did it!!)

[Image: lpe_syntax_ok_1.png]
https://lh3.googleusercontent.com/-w28lJF9N0E0/U_JlDBuQfOI/AAAAAAAAAJQ/ypAyYVzm_Cw/w604-h337-no/lpe_syntax_ok_2.png
[Image: lpe_syntax_error.png]


[Video] Text Editor with Drag & Drop Features - Nils Schmidt - 2013-02-06

I uploaded a simple 1min video to demonstrate this feature.


Re: [Video] Text Editor with Drag & Drop Features - Philippe Hurbain - 2013-02-07

It's sometimes a bit hard to follow without comments, but I think I get the picture... The on the fly error spotting looks great!


LDPartEditor on Ubuntu 14.04 LTS - Nils Schmidt - 2014-03-09

I am still working on LDPartEditor. Here is a screenshot from Ubuntu 14.04 LTS running the LPE alpha without any proprietary graphics driver installed.

https://lh3.googleusercontent.com/-nJngN2STE-w/U_JlDYr3rSI/AAAAAAAAAJU/9SArZN0zLPA/w604-h340-no/lpe_ubuntu_14_04.png


Re: LDPartEditor on Ubuntu 14.04 LTS - Tim Gould - 2014-03-09

Sweet. Looking good.

Tim


Re: LDPartEditor on Ubuntu 14.04 LTS - Willy Tschager - 2014-03-12

Looking forward to the Windows version ;-)

w.


Test Environments - Nils Schmidt - 2014-03-24

I managed to setup a test environment for LDPartEditor.
By now, I am able to test it on:
  • Linux (32 and 64bit JVM [the "Java Virtual Machine"])
  • Windows XP (32bit JVM)
  • Windows Vista (32bit JVM)
  • Windows 7 64bit (32bit JVM + 64bit JVM)
  • Windows 8 64bit (32bit JVM)
  • {OS X for Mac 64bit (32bit JVM): This machine belogs to my dad. I can use it at rare intervals.}



Another Text Editor Teaser - Nils Schmidt - 2014-03-24

What I've achieved so far:
  • Undo / Redo feature
  • The tabs are movable and you can drag & drop it into another text editor window from LDrawPartEditor.
  • Efficient realtime syntax highlighting
  • Efficient realtime parsing
  • "Quick Fix" feature for syntax-, logic- and header-errors, warnings and hints
  • Cut, copy, paste & delete

[Image: new_teaser.png]


Re: Text Editor Impression - Nils Schmidt - 2014-03-24

Yes, it does.


[LDPartEditor] First Appearance of 53588.dat :) - Nils Schmidt - 2014-03-27

Instead of drawing still teapots and spheres...
[Image: firstrender.png]


Re: [LDPartEditor] First Appearance of 53588.dat :) - Santeri Piippo - 2014-03-27

I don't quite understand what's the point of this since ldforge already is a thing...


Re: [LDPartEditor] First Appearance of 53588.dat :) - Max Martin Richter - 2014-03-27

What's the sense of having: MLCad, LDCad, SR3D-Builder, Bricksmith, etc. pp. ?!

I really like to have more than only one programme for the same purpose. Maybe there are some futures that are missing in an other application...

@Nils: I'm looking forward to a public beta.

/Max


[LDPartEditor] Integrated Backface Culling Support - Nils Schmidt - 2014-04-03

The implementation of the BFC specification (what is Backface Culling?) into LDPartEditor is done.

All BFC changes will be applied instantly.
[Image: bfc.png]

A "BFC NOCERTIFY" among others:
[Image: uncertified.png]

BFC CLIP / NOCLIP
[Image: clipnnoclip.png]

Here is another example of multiple views. The screenshot was taken before I finished the BFC feature.
https://lh4.googleusercontent.com/-cDj9ZGXSr3I/U_JlGdwIwpI/AAAAAAAAAKg/DjEHxTiJkb0/w604-h340-no/split_view.png


Re: [LDPartEditor] Integrated Backface Culling Support - Philippe Hurbain - 2014-04-04

Closer and closer to release...??? Wink


Re: [LDPartEditor] Integrated Backface Culling Support - Willy Tschager - 2014-04-04

Even a pre-alpha would do it. Better soon than perfect.

w.


Re: [LDPartEditor] Integrated Backface Culling Support - Michael Heidemann - 2014-04-04

I fully agree with Willy Smile


[LDPartEditor] Optional Lines - Nils Schmidt - 2014-04-04

The next implementation step were optional lines.

There are different ways to display these lines, e.g.:

1. Show all
2. Show all + control points
3. Draw them as described in the official specification
4. " + control points

However.. I will improve the rendering of (optional) lines in the future.

[Image: condlines1.png]
[Image: condlines2.png]
[Image: condlines3done.png]


[LDPartEditor] Improved Line Rendering - Nils Schmidt - 2014-04-05

[Image: hq_line1.png]
https://lh4.googleusercontent.com/-TcgGuS3H_Vw/U_Jk7RviXhI/AAAAAAAAAHg/7WcecH__ajg/w605-h556-no/hq_line2.png
https://lh4.googleusercontent.com/--ezgc17-0EE/U_Jk7WNGfHI/AAAAAAAAAHQ/PLXK1PDotKA/w605-h556-no/hq_line3.png

edit: Two new pictures from the vertex development process

https://lh6.googleusercontent.com/-W7spEjKeVCc/U_JlJV_haHI/AAAAAAAAALE/XMwg5iNVWoA/w605-h555-no/vertices.png
[Image: vertices2.png]


Re: [LDPartEditor] Optional Lines - Santeri Piippo - 2014-04-05

How do you go about rendering conditional lines like that..? It apparently is a big hassle when you do it with OpenGL. What's the stunt here?


Re: [LDPartEditor] Optional Lines - Nils Schmidt - 2014-04-07

Imagine an optional line with the four points A2, B2, C2 and D2.

1. Take these points and multiply them by their perspective and modelview matrix M.
As a result you'll get A, B, C and D in screen coordinates.

Code:
Matrix4f.transform(M, A2, A);
Matrix4f.transform(M, B2, B);
Matrix4f.transform(M, C2, C);
Matrix4f.transform(M, D2, D);

2. Calculate the line normal

Code:
N.x = A.y - B.y;
N.y = B.x - A.x;

3. Calculate the discriminant r by

Code:
[b]r[/b] = Vector4f.dot(N, Vector4f.sub(C, A)) * Vector4f.dot(N, Vector4f.sub(D, A));

where Vector4f.dot() calculates the dot product of these two vectors and Vector4f.sub() the difference vector.

4. draw the line between A2 and B2 only if r > 0


[LDPartEditor] Backface Culling, Random Colours, Vertices, Mesh Lines, Lighting... - Nils Schmidt - 2014-04-15

[Image: view_demo.png]


Re: [LDPartEditor] Improved Line Rendering - Willy Tschager - 2014-04-15

Big question is: Will I be able to select a vertex, move it with the mouse in 3D and all lines, cond. lines, triangles, quads connected will be affected by the move?

w.


[LDPartEditor] Vertex Manipulation - Nils Schmidt - 2014-04-15

Short answer: Yes.

Long answer:

There are different usecases for this scenario.

1.) As a user I want to select one / or more vertices move it with the mouse in 3D and all lines, cond. lines, triangles, quads (no vertices from type 1) connected will be affected by the move. An isolated vertex should be defined by a "0 !LD_PART_EDITOR VERTEX x y z" meta command within the file source code. The occurence of these meta commands will produce a discreet warning message. (this is already feasible with the current data model)

2.) As a user I want to select one / or more vertices which are linked to one / or more subfiles move it with the mouse in 3D and all lines, cond. lines, triangles, quads and subfile vertices connected will be affected by the move. (edit: this is now feasible with the current data model)

3.) As a user I want to select all vertices which are linked to one / or more subfiles move it with the mouse in 3D and all lines, cond. lines, triangles, quads connected will be affected by the move. (this is already feasible with the current data model)

The second use case is not trivial to implement, but it is possible.


[LDPartEditor] Edit different files in the 3D editor - Nils Schmidt - 2014-04-16

[Image: different_files_3d.png]


[LDPartEditor] Vertex Selection I - Nils Schmidt - 2014-04-17

Demo video on Youtube


1. Select all vertices, which are inside the selection rectangle.
[Image: vertex_selection_hidden.png]

2. Select all visible vertices, which are inside the selection rectangle.
[Image: vertex_selection_standard.png]


[LDPartEditor] Anaglyph 3D + Transparency - Nils Schmidt - 2014-04-22

Sample screenshot for anachrome red (left eye) and cyan (right eye) filters
https://lh6.googleusercontent.com/-FcKa521flTU/U_Jkspa09zI/AAAAAAAAALU/eeoaH40uBiQ/w605-h667-no/3d_and_transparency.png


Re: [LDPartEditor] Anaglyph 3D + Transparency - Philippe Hurbain - 2014-04-22

Dunno if this will proove useful, but it's fun for sure. Next step: Occulus Rift? ;D


[LDPartEditor] Integrated Text 2 Dat Converter - Nils Schmidt - 2014-04-22

LDPartEditor can convert text with a given font and size to a 3D mesh.
[Image: text_2_dat.png]


[LDPartEditor] VERTEX Meta Command - Nils Schmidt - 2014-05-04

[Image: vertex_metacommand.png]
Syntax:
0 !LPE VERTEX x y z

As you can see, the vertex definitions from the subfile are also parsed.


Re: [LDPartEditor] Anaglyph 3D + Transparency - Michael Heidemann - 2014-05-04

Just check this with correct glasses. This looks great Smile

Can you maybe share a model like car.dat in 3D?


[LDPartEditor] "SyncEdit" Feature - Nils Schmidt - 2014-05-06

ALT+SHIFT+R activates the simultaneously manipulation of the same vertex within the text editor.
[Image: sync_edit.png]


[LDPartEditor] Anaglyph Car - Nils Schmidt - 2014-05-10

[Image: anaglyph_car.png]