Jump to content
  • entries
    945
  • comments
    5,899
  • views
    930,151

My old arch-nemesis: arches


Josh

1,644 views

 Share

Since brushes in Leadwerks3D are entities, and the Leadwerks3D editor gives you access to the entity hierarchy throughout a scene, we don't use "groups" like 3D World Studio had. Instead, when a compound brush is created, a parent pivot is created, and all brush segments are made a child of that. When you select any part of the hierarchy, the entire compound brush is selected (unless "Ignore Hierarchy" is turned on).

 

Since brushes can now have a 4x4 matrix, which wasn't the case in the past, my code for editing has to be a little more advanced. I was initially having some trouble getting this working with my first compound primitive, the arch shape:

blogentry-1-0-68813100-1334702497_thumb.jpg

 

However, I think it's all good now. You can see the smooth groups working across multiple subobjects, to give the arch interior a smooth curved surface:

blogentry-1-0-15503300-1334702546_thumb.jpg

 

You can also see how the scene tree displays every object in the scene, allowing you to select multiple objects at once.

 Share

1 Comment


Recommended Comments

Its good to see you are making progress with CSG. I have never worked with it before, but it looks like a really good way of making simple buildings and such. I am really excited for LE3's editor.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...