View previous topic :: View next topic |
Author |
Message |
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Tue May 10, 2005 7:19 pm Post subject: CSG Proof of Concept |
|
|
Hi there,
Just wanted to let you all know about the implementation of CSG routines in DeleD. I've written a technical design and created a environment to test it. I'm using a wall-like cube with a cylinder to test the union, intersection and subtraction (carve) operators. All polygons have unique colors to see how they line up. Here are the initial results:
I'm happy to report that this proof of concept is a fact. There's still lots of things to do, like designing a GUI, removing memoryleaks, getting uv-coords into the whole thing, importing all of it into DeleD itself etc etc. But... this is a good start. |
|
Back to top |
|
|
granada Team member
Joined: 07 Aug 2004 Posts: 1955 Location: England
|
Posted: Tue May 10, 2005 7:56 pm Post subject: |
|
|
Great news jeroen
dave _________________ AMD Phenom(tm)IIx6 1090t Processor 3.20 GHS
8.00 GB memory
Windows 7 64 bit
Nvida Geforce GTX 580 |
|
Back to top |
|
|
dirkk Member
Joined: 09 Aug 2004 Posts: 238 Location: Germany
|
Posted: Tue May 10, 2005 8:19 pm Post subject: |
|
|
very, very cool! |
|
Back to top |
|
|
Jim Coe Member
Joined: 27 Mar 2005 Posts: 6 Location: San Francisco North Bay
|
Posted: Tue May 10, 2005 8:43 pm Post subject: |
|
|
Great progress! Is the test object quads and tris or only tris? If quads, i wonder how the difference mesh (and eventual UV mapping) will hold up after conversion to all tris (as required by .mesh and some other formats)?
This is going to be great. _________________ -jc |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Tue May 10, 2005 8:54 pm Post subject: |
|
|
The test objects are made of quads. After applying CSG, most quads are split resulting in tris and multisided polygons. I still have to get UV coords into all this meaning that when a polygon gets split, I need to calculate new UV coords for all material-layers as used by the polygon. So lots of work to be done yet... |
|
Back to top |
|
|
granada Team member
Joined: 07 Aug 2004 Posts: 1955 Location: England
|
Posted: Wed May 11, 2005 5:32 am Post subject: |
|
|
I still think i will use inset & extrude,a lot less polys
(but a great adition to DeleD )
dave _________________ AMD Phenom(tm)IIx6 1090t Processor 3.20 GHS
8.00 GB memory
Windows 7 64 bit
Nvida Geforce GTX 580 |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Wed May 11, 2005 7:08 am Post subject: |
|
|
granada wrote: |
I still think i will use inset & extrude,a lot less polys
(but a great adition to DeleD )
dave |
Inset and extrude are great, but can only be applied in a certain number of cases. How about pushing a cube through a cylinder? Could that be done with inset and extrude? |
|
Back to top |
|
|
granada Team member
Joined: 07 Aug 2004 Posts: 1955 Location: England
|
Posted: Wed May 11, 2005 8:09 am Post subject: |
|
|
Quote: |
Inset and extrude are great, but can only be applied in a certain number of cases. How about pushing a cube through a cylinder? Could that be done with inset and extrude? |
Ok you got me, just use it now and then
dave _________________ AMD Phenom(tm)IIx6 1090t Processor 3.20 GHS
8.00 GB memory
Windows 7 64 bit
Nvida Geforce GTX 580 |
|
Back to top |
|
|
louis Member
Joined: 25 Mar 2005 Posts: 53
|
Posted: Wed May 11, 2005 2:35 pm Post subject: |
|
|
Superb.
Looking forward to it.
cheers |
|
Back to top |
|
|
Edwin Member
Joined: 07 Aug 2004 Posts: 8 Location: The Netherlands
|
Posted: Wed May 11, 2005 6:36 pm Post subject: |
|
|
It's looking great Jeroen! |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Mon May 16, 2005 4:24 pm Post subject: |
|
|
I've imported my CSG routines into DeleD, implemented a userinterface (right under the Low Polygon commands) and got the whole thing working now. Here's a wall-like cube with 2 cubes and a cylinder subtracted from it + another cube united with it.
I still have to work on a number of things but sofar it's looking promising.
Btw, the whole geometry was made in less than a minute. Dave, are you up to a challenge? |
|
Back to top |
|
|
granada Team member
Joined: 07 Aug 2004 Posts: 1955 Location: England
|
Posted: Mon May 16, 2005 6:17 pm Post subject: |
|
|
dave _________________ AMD Phenom(tm)IIx6 1090t Processor 3.20 GHS
8.00 GB memory
Windows 7 64 bit
Nvida Geforce GTX 580 |
|
Back to top |
|
|
dirkk Member
Joined: 09 Aug 2004 Posts: 238 Location: Germany
|
Posted: Mon May 16, 2005 7:10 pm Post subject: |
|
|
LOL! |
|
Back to top |
|
|
louis Member
Joined: 25 Mar 2005 Posts: 53
|
Posted: Tue May 17, 2005 9:13 am Post subject: |
|
|
I notice that this is implemented in DeledPRO 1.22 in the screenshot.
Is this going to be a PRO only feature ?
cheers |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Tue May 17, 2005 9:16 am Post subject: |
|
|
Union = LITE
Union, Subtract, Intersect = PRO |
|
Back to top |
|
|
|