Search found 23 matches

by ionstream
Sat Jul 29, 2006 6:55 pm
Forum: C++ Development
Topic: Layering multiple transparent images
Replies: 1
Views: 689

Layering multiple transparent images

I'm trying to make an animation program, which requires "onion skinning." The animation is composed of layers, and when onion skinning is enabled, the previous 3 frame are shown on top of eachother, transparently, so that the artist can compare the current frame to the previous frames. At first I wa...
by ionstream
Sat Oct 29, 2005 6:39 pm
Forum: Announcements and Discoveries
Topic: Xara Xtreme to use wxWidgets?
Replies: 2
Views: 1041

Yay! I can finally reach the forums now :) .

The watermark is pretty cool, but it may also be annoying (especially for commercial products). Is there any way to turn this off?

And kudos to Xara for going OS. Maybe now someone can work on a decent animation system!
by ionstream
Tue Aug 16, 2005 8:00 pm
Forum: C++ Development
Topic: Smooth Resampling/Resizing of wxBitmap or Image?
Replies: 6
Views: 1395

I think I'm gonna go to OpenGL, its nice and fast, and its fairly easy to set up in linux (as long as you know what your doing).


Thanks for all your help!
by ionstream
Tue Aug 16, 2005 4:08 pm
Forum: C++ Development
Topic: Smooth Resampling/Resizing of wxBitmap or Image?
Replies: 6
Views: 1395

Arg, noone knows? Maybe the only way to do this is through OpenGL? That would decrease portability, but I guess it would make it alot faster (for a drawing app).

Does anyone have any thoughts on this?[/quote]
by ionstream
Tue Aug 16, 2005 12:07 am
Forum: C++ Development
Topic: Smooth Resampling/Resizing of wxBitmap or Image?
Replies: 6
Views: 1395

I hope I marked that "Assisting answer" thing right.

wxMediaCtrl might be the key, but its probably too slow to do real time, I'll check it out. Thanks.
by ionstream
Mon Aug 15, 2005 10:29 pm
Forum: C++ Development
Topic: Smooth Resampling/Resizing of wxBitmap or Image?
Replies: 6
Views: 1395

Smooth Resampling/Resizing of wxBitmap or Image?

I want to do some 2D antialiasing for my drawing app. I read online that the best way to do this is to make some memory (a memoryDC, i'd presume) that is bigger than the drawing area, draw to that memory, resize and resample that memory to fit onto the drawing area, and blit that onto the drawing ar...
by ionstream
Mon Aug 15, 2005 10:16 pm
Forum: C++ Development
Topic: Array of Array of wxPoints
Replies: 6
Views: 1585

Alright, its fixed, the problem was that I was adding pointers to the array, and not just objects. Thanks!
by ionstream
Mon Aug 15, 2005 1:58 am
Forum: C++ Development
Topic: Array of Array of wxPoints
Replies: 6
Views: 1585

Now I'm having a problem getting PointArrays from the main PointArrayList. I do:

Code: Select all

PointArray p = pointlist.Item(0);
wxPoint point = p.Item(0);
But that crashes as soon as it gets to p.Item(0). Can anyone help?
by ionstream
Sun Aug 14, 2005 6:06 pm
Forum: C++ Development
Topic: Array of Array of wxPoints
Replies: 6
Views: 1585

All right, but how would I use that in my program? Do I have to create a new PointArrayList object? And how would I dynamically add some PointArrays to PointArrayList? Thanks! EDIT: Nevermind, it turns out that I do need to create a new PointArrayList object, and new PointArrays. I did this by putti...
by ionstream
Sun Aug 14, 2005 4:33 am
Forum: C++ Development
Topic: Array of Array of wxPoints
Replies: 6
Views: 1585

Array of Array of wxPoints

I'm making a simple drawing application that uses vectors to draw things onto the screen (boy that was a weirdly worded sentence). Anyways, when the user clicks on the drawing space with the brush setting on, I need to: 1: Create a new object that contains the points of the line 2: Create a dynamic ...
by ionstream
Fri May 27, 2005 6:30 pm
Forum: C++ Development
Topic: Linking with LD and not G++ (Mingw)
Replies: 4
Views: 971

Ah never mind, my libraries were wrong, and Code::Blocks uses g++ for linkage.


But I have one more question, does it matter what order the program links to the libraries?
by ionstream
Thu May 26, 2005 6:35 pm
Forum: C++ Development
Topic: Linking with LD and not G++ (Mingw)
Replies: 4
Views: 971

Linking with LD and not G++ (Mingw)

This is incredibly annoying, but I can't link anything I make using ld, I get many many errors. I can compile the samples (using the makefiles), and I noticed that the makefile uses g++ to like the .o file to the libraries. This is incredibly frustrating, and I am trying not to explode in rage... al...
by ionstream
Sun Apr 10, 2005 10:15 pm
Forum: C++ Development
Topic: wxGLCanvas constructor [RESOLVED]
Replies: 2
Views: 963

Thank you! I soon realized that the library wxmsw25_gl.lib was created, and linked with that. It works! Thanks!
by ionstream
Sat Apr 09, 2005 9:41 pm
Forum: C++ Development
Topic: wxGLCanvas constructor [RESOLVED]
Replies: 2
Views: 963

wxGLCanvas constructor [RESOLVED]

Please note that I do know this topic has come up alot, and I have extensively searched the wxWidgets forum with no avail. I'm using the free MS VC++ 2003 toolkit and wxWidgets 2.5.5. I am trying to use wxGLCanvas to make a cross platform 3D editor. When I first tried to write "wxGLCanvas *canvas = ...
by ionstream
Sat Mar 26, 2005 3:24 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling with MSVC++ Toolkit: Tutorial bug?
Replies: 6
Views: 2775

One last question, does anybody know the option to not include the standard libraries? Codeblocks keeps saying that MSVCRT is confliction with wxMsw. EDIT: Never mind, I use /NOD:libc, which cause ADVAPI.dll and WSOCK32.dll to be discarded by /opt:ref... EDIT (again): All is well in ionstream ville!...