Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » External resources » On popular theme
On popular theme [message #1090] Mon, 20 February 2006 09:50 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Just a nice overview of problems "advanced draw" has to face:

http://mail.gnome.org/archives/gtk-devel-list/2005-January/m sg00066.html

In fact, it brings a new possibility to consider - Direct3D.

Mirek
Re: On popular theme [message #1094 is a reply to message #1090] Mon, 20 February 2006 11:26 Go to previous messageGo to next message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
Quote:


Quality of Rendering

But most of all, your applications become absolutely portable, if your design is smart enough. AGG can be also a tool to combine different outputs in a uniform API. Particularly, you can use AGG to generate raster images on the server side in your Web-Based applications. And it all can be cross-platform!
Re: On popular theme [message #1095 is a reply to message #1094] Mon, 20 February 2006 11:33 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
fudadmin wrote on Mon, 20 February 2006 05:26

Quote:


Quality of Rendering

But most of all, your applications become absolutely portable, if your design is smart enough. AGG can be also a tool to combine different outputs in a uniform API. Particularly, you can use AGG to generate raster images on the server side in your Web-Based applications. And it all can be cross-platform!



Well, GUI-less image generation is definitive plus I have already mentioned before.

However, this still misses 2 points that plague client-side-draw solution:

- terminal access

- printing

Without them, we cannot make AGG(-like) default rendering mechanism. (Plus, you still have to put into equation those 10fps of your old machine).

Mirek
Re: On popular theme [message #1097 is a reply to message #1090] Mon, 20 February 2006 13:53 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

luzr wrote on Mon, 20 February 2006 03:50

it brings a new possibility to consider - Direct3D.


I think it is a must when Vista come out. It will be just a next paint engine for Draw like gdi or xlib is now
Re: On popular theme [message #1099 is a reply to message #1097] Mon, 20 February 2006 14:25 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
unodgs wrote on Mon, 20 February 2006 07:53

luzr wrote on Mon, 20 February 2006 03:50

it brings a new possibility to consider - Direct3D.


I think it is a must when Vista come out. It will be just a next paint engine for Draw like gdi or xlib is now




Well, I am not sure - I think there always be GDI+ layer over Direct3D (at least, GDI+ now seems to me is the prefered graphics for .NET apps).

Mirek
Re: On popular theme [message #1100 is a reply to message #1099] Mon, 20 February 2006 15:18 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

luzr wrote on Mon, 20 February 2006 08:25


Well, I am not sure - I think there always be GDI+ layer over Direct3D (at least, GDI+ now seems to me is the prefered graphics for .NET apps).



If so, we can stay with gdi+, less work to make Draw compatible with vista. However, using directx directly probably will be slightly faster and give us more flexibility.

Re: On popular theme [message #1101 is a reply to message #1100] Mon, 20 February 2006 15:28 Go to previous messageGo to next message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
unodgs wrote on Mon, 20 February 2006 09:18

luzr wrote on Mon, 20 February 2006 08:25


Well, I am not sure - I think there always be GDI+ layer over Direct3D (at least, GDI+ now seems to me is the prefered graphics for .NET apps).



If so, we can stay with gdi+, less work to make Draw compatible with vista. However, using directx directly probably will be slightly faster and give us more flexibility.



From my googling experience directx is sometimes slower. And "slightly faster" is not an advantage. Especialy when you compare using canvas vs scanlines (AGG technology) - up to 1:300 speed:

Quote:

I timed both routines, calling each one of them ten times in a 1024x1024 bitmap. Button1Click averaged 7298ms per call, while Button2Click averaged 24ms per call. That’s about 300 times faster using scanlines.

http://bdn.borland.com/article/0,1410,29173,00.html
Re: On popular theme [message #1154 is a reply to message #1101] Tue, 21 February 2006 15:07 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
BTW, just to add a point to the list of troubles, today I have found that one of my customers still runs a couple of NT4.0 workstations (= no RGBA bitmaps, no possibility of GDI+).

Mirek
Previous Topic: New GUI (toolkit?) with skinning - based on AGG
Next Topic: free Process viewer for Windows
Goto Forum:
  


Current Time: Fri Mar 29 08:11:19 CET 2024

Total time taken to generate the page: 0.01371 seconds