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 

Fan triangulation

 
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
Daaark
DeleD PRO user


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

PostPosted: Tue Jul 05, 2005 8:27 am    Post subject: Fan triangulation Reply with quote

Does using this mean I can render the object with GL_TRIANGLE_FAN? I could fan my entire map, and all objects would render perfect as fans?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Tue Jul 05, 2005 8:42 am    Post subject: Reply with quote

The answer to that would be no, because
1) DeleD (of course) still stores all vertex indices for each triangle, while for GL_TRIANGLE_FAN you only have to provide a subset of those coordinates.
2) Having polygons (which is what DeleD does) as fans does nothing for objects as a whole.

When rendering GL_TRIANGLE_FANS, you don't care about separate objects and "polygons", you just want the largest amounts of geometry joined into a single fan.

'Fan triangulation' and 'create/optimize triangle fans' just aren't the same thing Smile
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: Tue Jul 05, 2005 8:44 am    Post subject: Reply with quote

Paul-Jan wrote:
no


Just wondering. Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Tue Jul 05, 2005 8:47 am    Post subject: Reply with quote

I do think it would make a nice feature, but I have no idea how we would go about storing the result, as DeleD simply stores complete polygons into the dmf, not raw data. Same goes for triangle strip creation....

Let me see how Mesh Viewer handles this.
Back to top
View user's profile Send private message Visit poster's website
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