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 

Suggestion: Change object order.

 
Post new topic   Reply to topic    DeleD Community Edition Forum Index -> DeleD Feature Requests
View previous topic :: View next topic  
Author Message
Twixn
DeleD PRO user


Joined: 01 Dec 2005
Posts: 136
Location: Melbourne Australia

PostPosted: Wed Jan 25, 2006 3:40 am    Post subject: Suggestion: Change object order. Reply with quote

hey all,

Just a suggestion, but would it be possible to add the ability
to change the order of objects up/down the list? either with a click'n'drag
feature or a simple move up and down buttons.

The reason i ask is for optimization, primarily being able to
'batch' objects together (eg, objects with the same material
etc etc, for less state changes in game).

And also for 'cleanness'...the list to the side of my current level
looks like a bomb hit it and its been reorganized with a rake Razz

-Twixn-
_________________
Failure is not an option!....It comes bundled with the software.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Daaark
DeleD PRO user


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

PostPosted: Wed Jan 25, 2006 5:51 am    Post subject: Re: Suggestion: Change object order. Reply with quote

Twixn wrote:
The reason i ask is for optimization, primarily being able to
'batch' objects together (eg, objects with the same material
etc etc, for less state changes in game).


Sort by Material plugin? Idea Does the plugin system support that? I could probably create it.

Batching objects by material is not hard to do when you load your level at runtime, if you need help with that (in c code/ opengl) shoot me a pm.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Twixn
DeleD PRO user


Joined: 01 Dec 2005
Posts: 136
Location: Melbourne Australia

PostPosted: Wed Jan 25, 2006 7:22 am    Post subject: Reply with quote

I was thinking more along the lines of manually
changing the order....but i spose i could make
a sorter at my end (in my renderer).

Sorting by materials was just an example, i have
a few more things that i need to take into account
when sorting (size, user tag etc).

Also thanks for your offer, but i should be able to
code some kind of sorter myself...i might as well
perform a simple depth sorter aswell.

-Twixn-
_________________
Failure is not an option!....It comes bundled with the software.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Paul-Jan
Site Admin


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

PostPosted: Wed Jan 25, 2006 10:15 am    Post subject: Reply with quote

The DMF file format is targeted towards re-usability inside DeleD, not towards any particular final rendering solutions.

I don't think such an optimization for rendering speed would be very appropriate there, I consider that something to be solved in the rendering engine (i.e. a post processing step when loading the mesh, or more probably a JIT optimization before actually rendering, like many engines do).... in other words: what you just said Very Happy

An alternative would be writing a dedicated exporter or format converter to a file format specialized for your particular needs.

That said, allowing the user to manually re-order the objects is probably a very good idea anyway, so writing it down Very Happy
Back to top
View user's profile Send private message Visit poster's website
mappy
DeleD PRO user


Joined: 18 Aug 2005
Posts: 340
Location: France

PostPosted: Wed Jan 25, 2006 11:42 am    Post subject: Reply with quote

Paul-Jan wrote:
That said, allowing the user to manually re-order the objects is probably a very good idea anyway, so writing it down Very Happy


Also, having the possibility to sort all DeleD lists (scene inspector, materials picker tabs and materials, materials editor tabs and materials, ...) in an alphabetic order would please me.

I've noticed that the prefabs list seems to be sorted, so sorting the scene inspector should be possible ?
_________________
OL.
Back to top
View user's profile Send private message
Twixn
DeleD PRO user


Joined: 01 Dec 2005
Posts: 136
Location: Melbourne Australia

PostPosted: Wed Jan 25, 2006 12:25 pm    Post subject: Reply with quote

Well, rendering optimization was my prime concern,
but i know thats my problem more than yours Razz

But, my other (not a concern, more of an annoyance) problem
is that the objects list on my levels is a complete mess
Razz

Glad it made it on the list anyway Very Happy

-Twixn-
_________________
Failure is not an option!....It comes bundled with the software.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Paul-Jan
Site Admin


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

PostPosted: Wed Jan 25, 2006 2:35 pm    Post subject: Reply with quote

Yeah, making the list sortable / pre-sorted makes a lot of sense. Some basis searching functionality would come in handy, too.

Mappy: On a side note, the prefab list is a different from the object list in two ways:
- it is simply a list of files in a folder, so it gets sorted for free as long as the user is on NTFS Smile
- more importantly, it is a non-mutable list, where as the scene objects get things added to them. It's always one of those classic business application decisions wether new objects should appear (a) on top (b) on the bottom (c) in the correct sorted location.
Back to top
View user's profile Send private message Visit poster's website
mappy
DeleD PRO user


Joined: 18 Aug 2005
Posts: 340
Location: France

PostPosted: Wed Jan 25, 2006 5:16 pm    Post subject: Reply with quote

Paul-Jan wrote:
Mappy: On a side note, the prefab list is a different from the object list in two ways:
- it is simply a list of files in a folder, so it gets sorted for free as long as the user is on NTFS Smile


Oh yes, I didn't think of that Smile
_________________
OL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DeleD Community Edition Forum Index -> DeleD Feature Requests 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