Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324193 - Projection transformation
Summary: Projection transformation
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 09:42 EDT by Yves YANG CLA
Modified: 2010-11-15 09:57 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yves YANG CLA 2010-09-01 09:42:07 EDT
The current SWT implementation provides some basic transformations under the advanced feature. A very important feature is missing is the Projection Transition. It projects a 3D objects in 2D. 

Typically, if we have an image, if we want to turn it in 30 degrees on the X axis. This feature is very important for the fashion transition.
Comment 1 Felipe Heidrich CLA 2010-09-01 10:16:34 EDT
SSQ, do you know if this is possible on GDIP, cairo, and cocoa ?
This sounds like something cool for a new feature.
Comment 2 Yves YANG CLA 2010-09-01 10:35:04 EDT
I know it is possible using OpenGL and WPF/Silverlight .Net. Here the doc on Silverlight:
http://msdn.microsoft.com/en-us/library/system.windows.media.planeprojection(VS.95).aspx
Comment 3 Scott Kovatch CLA 2010-09-01 12:44:48 EDT
I admit up front that my graphics knowledge is pretty basic, but this sounds like functionality in CoreAnimation:

http://developer.apple.com/mac/library/documentation/cocoa/conceptual/CoreAnimation_guide/Articles/WhatisCoreAnimation.html
Comment 4 Felipe Heidrich CLA 2010-09-02 10:14:35 EDT
Can this transformation be done by 3x3 matrix ?

If yes, then you can do it already calling Transform.setElements()
If not, then I'm afraid we won't be able to fix problem for you neither. Sorry.
Comment 5 Yves YANG CLA 2010-11-02 15:00:54 EDT
(In reply to comment #4)
> Can this transformation be done by 3x3 matrix ?
> 
> If yes, then you can do it already calling Transform.setElements()
> If not, then I'm afraid we won't be able to fix problem for you neither. Sorry.

AFIAK, SWT supports only 3x2 matrix.
Comment 6 Felipe Heidrich CLA 2010-11-04 16:19:13 EDT
(In reply to comment #5)
> AFIAK, SWT supports only 3x2 matrix.

Right, this is the support we have in GDI+.
Shouldn't we close thig bug as wont fix ?
Comment 7 Yves YANG CLA 2010-11-15 09:29:44 EST
(In reply to comment #6)
> (In reply to comment #5)
> > AFIAK, SWT supports only 3x2 matrix.
> 
> Right, this is the support we have in GDI+.
> Shouldn't we close thig bug as wont fix ?

The 3x2 matrix doesn't handle the project transformation. It should be 3x3 Matrix.
Comment 8 Felipe Heidrich CLA 2010-11-15 09:57:01 EST
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > AFIAK, SWT supports only 3x2 matrix.
> > 
> > Right, this is the support we have in GDI+.
> > Shouldn't we close thig bug as wont fix ?
> The 3x2 matrix doesn't handle the project transformation. It should be 3x3
> Matrix.

In this case we can't fix this. Closing as wont fix (platform limitation). Sorry.