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 

Polygon data (*.dm files)

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition
View previous topic :: View next topic  
Author Message
Mille
Member


Joined: 21 Mar 2005
Posts: 35
Location: Denmark

PostPosted: Mon Mar 21, 2005 1:33 pm    Post subject: Polygon data (*.dm files) Reply with quote

Hey All

I just came across Delgine a few days ago, and until now it fits all my need for a spare time project!

But, I have a question about the polygon data in the *.dmf export.
If the number of vertices (for one object) is 4, does it mean that the polygon is a quad ?

In can easily thing of a polygon with 4 vertices not being a plane quad, and hence its not possible do calculate one (and only one) normal for that polygon. Of cause if the number of vertices for one object is 3, it’s a triangle and we have one normal for this prime.

Thanks ..
Back to top
View user's profile Send private message Visit poster's website
Jeroen
Site Admin


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

PostPosted: Mon Mar 21, 2005 2:15 pm    Post subject: Reply with quote

Hi there Mille and welcome to these forums!

To answer your question: a polygon that has 4 vertices does _not_ have to be a quad. It is perfectly possible to deform a polygon so that it is not a plane polygon anymore. I would suggest triangulating your scene before performing your own calculations on it. DeleD does not triangulate by default to ease modelling operations by the user. DeleD does provide triangulation routines for convex polygons though, as I'm sure you've already discovered. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mille
Member


Joined: 21 Mar 2005
Posts: 35
Location: Denmark

PostPosted: Mon Mar 21, 2005 2:37 pm    Post subject: Reply with quote

OK, thanks for the quick reply!

Sorry for submitting foolish questions, but how do I triangulated a scene ?
I suppose it can be done within the Delgine Tool before doing export to *.dmf ?
(just can’t find where)

Thanks ..
Back to top
View user's profile Send private message Visit poster's website
Jeroen
Site Admin


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

PostPosted: Mon Mar 21, 2005 2:53 pm    Post subject: Reply with quote

Stupid questions don't exist. Wink

You can triangulate a scene by selecting your entire scene (ctrl-A) in Object Mode and then using the Triangulate function. Also, Fan triangulation is probably best in your case.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mille
Member


Joined: 21 Mar 2005
Posts: 35
Location: Denmark

PostPosted: Mon Mar 21, 2005 5:03 pm    Post subject: Reply with quote

Ohh yes baby, I'm back on track, THANKS. Smile

I've been working with Quake maps and 3ds of cause, but DeleD is defiantly
more easy to grasp! Just want I need for my spare time first person game.
Back to top
View user's profile Send private message Visit poster's website
Jeroen
Site Admin


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

PostPosted: Mon Mar 21, 2005 5:35 pm    Post subject: Reply with quote

Mille wrote:
Ohh yes baby, I'm back on track, THANKS. Smile

I've been working with Quake maps and 3ds of cause, but DeleD is defiantly
more easy to grasp! Just want I need for my spare time first person game.


Sounds cool! How did you find this site btw? I'd very much like to know. Smile

Also, feel free to post screenshots of your work! Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mille
Member


Joined: 21 Mar 2005
Posts: 35
Location: Denmark

PostPosted: Mon Mar 21, 2005 10:44 pm    Post subject: Reply with quote

I got a link from the gamedev forums, DirectX forum.
I really like Delgine, its easy to learn, and the *.dmf is clean and simple!

my latest shadow-color demo shot Smile
www.soft.dk/_img/shadowcolor.jpg
Back to top
View user's profile Send private message Visit poster's website
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Mon Mar 21, 2005 10:49 pm    Post subject: Reply with quote

Mille wrote:
I got a link from the gamedev forums, DirectX forum.
Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition All times are GMT
Page 1 of 1

 
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