Hi Marcus,

Marcus Lindblom wrote:
> 
> The bad things:
>  - The current 1.8 (with the patch) will probably break a lot of code, 
> and it's not pleasant to fix (easy, yes, but it requires adding a lot of 
> conversions randomly)

Hm, random doesn't sound very good and easy to explain...

> The main causes for problems in my code is due to:
>  - The difference in interface between points and vectors 
> (adding/subbing/scaling, etc doesn't just "work")
>  - TransformationMatrix doesn't provide getters that return Vec3f/Pnt3f 
> to get basis vector or translation.
> 
> I belive it is similar for other users.
> 
> We could fix this in a few ways:
>  1. reverting the patch
>  2. making the constructors non-explicit   
>  3. adding assignment operators similar to constructors and setValue 
> (similar to 2, but without temporary objects)
>  4. Unify Vec/Pnt (& Color) into one class
> 
> Does anyone feel strongly about this?
>  * If not, just go for Option 2, get 1.8 out and focus fully on 2.0)
>  * Íf so, how about option 3 for 1.8? (IMHO, that would make the release 
> stable enough, if we also could make Pnt4f default to 1 for the last 
> element)

I opted for 2) for now. Unless anybody has serious objections I'd leave it like 
that.

> Option 4 would be my preferred option in the long run, i.e. 2.0. I think 
> that's sort-of-planned anyway.

I haven't looked at GMTL in that respect. How do you implement 
Vecs/Points/Colors in there? Are they symmetric?

        Dirk

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to