Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CSG Proof of Concept
Goto page 1, 2  Next
 
Post new topic   Reply to topic    DeleD Community Edition Forum Index -> News / Announcements
View previous topic :: View next topic  
Author Message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5220
Location: The Netherlands

PostPosted: Tue May 10, 2005 7:19 pm    Post subject: CSG Proof of Concept Reply with quote

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. Smile 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. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
granada
Team member


Joined: 07 Aug 2004
Posts: 1913
Location: England

PostPosted: Tue May 10, 2005 7:56 pm    Post subject: Reply with quote

Great news jeroen Very Happy

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
View user's profile Send private message Send e-mail Visit poster's website
dirkk
Member


Joined: 09 Aug 2004
Posts: 238
Location: Germany

PostPosted: Tue May 10, 2005 8:19 pm    Post subject: Reply with quote

very, very cool!
Back to top
View user's profile Send private message Send e-mail
Jim Coe
Member


Joined: 27 Mar 2005
Posts: 6
Location: San Francisco North Bay

PostPosted: Tue May 10, 2005 8:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5220
Location: The Netherlands

PostPosted: Tue May 10, 2005 8:54 pm    Post subject: Reply with quote

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... Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
granada
Team member


Joined: 07 Aug 2004
Posts: 1913
Location: England

PostPosted: Wed May 11, 2005 5:32 am    Post subject: Reply with quote

I still think i will use inset & extrude,a lot less polys Wink
(but a great adition to DeleD Very Happy )

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
View user's profile Send private message Send e-mail Visit poster's website
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5220
Location: The Netherlands

PostPosted: Wed May 11, 2005 7:08 am    Post subject: Reply with quote

granada wrote:
I still think i will use inset & extrude,a lot less polys Wink
(but a great adition to DeleD Very Happy )
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? Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
granada
Team member


Joined: 07 Aug 2004
Posts: 1913
Location: England

PostPosted: Wed May 11, 2005 8:09 am    Post subject: Reply with quote

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 Laughing

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
View user's profile Send private message Send e-mail Visit poster's website
louis
Member


Joined: 25 Mar 2005
Posts: 53

PostPosted: Wed May 11, 2005 2:35 pm    Post subject: Reply with quote

Superb.
Twisted Evil
Looking forward to it.
cheers
Back to top
View user's profile Send private message
Edwin
Member


Joined: 07 Aug 2004
Posts: 8
Location: The Netherlands

PostPosted: Wed May 11, 2005 6:36 pm    Post subject: Reply with quote

It's looking great Jeroen! Very Happy
Back to top
View user's profile Send private message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5220
Location: The Netherlands

PostPosted: Mon May 16, 2005 4:24 pm    Post subject: Reply with quote

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



I still have to work on a number of things but sofar it's looking promising. Very Happy

Btw, the whole geometry was made in less than a minute. Dave, are you up to a challenge? Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
granada
Team member


Joined: 07 Aug 2004
Posts: 1913
Location: England

PostPosted: Mon May 16, 2005 6:17 pm    Post subject: Reply with quote

Very Happy


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
View user's profile Send private message Send e-mail Visit poster's website
dirkk
Member


Joined: 09 Aug 2004
Posts: 238
Location: Germany

PostPosted: Mon May 16, 2005 7:10 pm    Post subject: Reply with quote

LOL!
Back to top
View user's profile Send private message Send e-mail
louis
Member


Joined: 25 Mar 2005
Posts: 53

PostPosted: Tue May 17, 2005 9:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5220
Location: The Netherlands

PostPosted: Tue May 17, 2005 9:16 am    Post subject: Reply with quote

Union = LITE
Union, Subtract, Intersect = PRO Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DeleD Community Edition Forum Index -> News / Announcements All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum