Jump to content
  • entries
    948
  • comments
    5,905
  • views
    945,606

Totally Tubular


Today I implemented the last two compound primitives. Tubes are the same as in 3D World Studio, with parameters for the number of segments and thickness. Since the Leadwerks3D editor supports smooth groups, another new compound primitive has been added. A torus is a "donut" shape. These can be used to make curved pipes and other things. Here are the two compound primitives, side by side:

blogentry-1-0-00912600-1334810224_thumb.jpg

 

Smooth groups and new primitives in Leadwerks3D allow you to create new kinds of geometry which were traditionally not possible with CSG editing:

blogentry-1-0-61914700-1334807452_thumb.jpg

 

An interesting case occurs when a torus' cross-sectional radius exceeds the radius of the ring. At this point the shape folds in on itself, eventually degenerating into a sphere. To prevent this from occurring, the creation function automatically adjusts the cross-sectional radius, as shown in the image below:

blogentry-1-0-99774500-1334810211_thumb.jpg

  • Upvote 3

9 Comments


Recommended Comments

Roland

Posted

This looks really great. This week I have just rediscovered the beauty using 3DWS. Its actually very fast and nice. And now with those new features it will be really great.

Lupin

Posted

Amazing news. As an old user of 3D World Studio I simply love these new features. And I can't wait for the day when I can check them out in practice. smile.png

One question - Do you anticipate the possibility of of converting a group of brushes into the model (mesh) within editor? This could be useful as an option to create prefabs.

Josh

Posted

smile.pngOne question - Do you anticipate the possibility of of converting a group of brushes into the model (mesh) within editor? This could be useful as an option to create prefabs.

Yes.

macklebee

Posted

wasn't the tube what you labeled as the torus object in 3dws?

Josh

Posted

wasn't the tube what you labeled as the torus object in 3dws?

Yep. I thought it sounded fancier.

Flexman

Posted

I feel a 6DOF tunnel shooter coming on. Anyone else?

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...