Search found 14 matches

by ScEngMan
Fri Apr 16, 2010 2:08 pm
Forum: The Code Dump
Topic: ViewImageGLFrame
Replies: 6
Views: 5144

Can not display any jpeg pictures I've just tested the application with a 1959 x 1428 JPEG image and it displays and behaves correctly. Are you sure your video card supports OpenGL 2.0 with non power of 2 images? You can test that with a 512 x 512 jpeg image, if it works, and a 800 x 600 jpeg image...
by ScEngMan
Mon Oct 12, 2009 5:08 pm
Forum: The Code Dump
Topic: ViewImageGLFrame
Replies: 6
Views: 5144

Hola Guillermo, Thank you for your comments about the ViewImage frame. I developed the ViewImageFrame to display images in a 3D application, and it's also the main frame where the raytracer outputs the image it's rendering. Before working with OpenGL I tried to use the DC and I was having a lot of r...
by ScEngMan
Fri Aug 14, 2009 11:15 pm
Forum: The Code Dump
Topic: ViewImageGLFrame
Replies: 6
Views: 5144

Thanks T-Rex, I'll fix the code and replace it in the original post!
by ScEngMan
Fri Aug 14, 2009 9:15 pm
Forum: General Forum Issues
Topic: Why an uploaded image looks ugly?
Replies: 2
Views: 5988

Why an uploaded image looks ugly?

Hello,

I've just uploaded an image with my post, and it looks pretty bad:

http://forums.wxwidgets.org/viewtopic.php?p=107776

I tried to upload it in jpg and png, but both look bad.

Thank you!
by ScEngMan
Fri Aug 14, 2009 8:09 pm
Forum: The Code Dump
Topic: ViewImageGLFrame
Replies: 6
Views: 5144

ViewImageGLFrame

Hello, I'm updating CrackArt 's ViewImage dialog box with a new frame that uses OpenGL to display images. The purpose of this new frame was to use OpenGL to display the image very fast and to be able to zoom, pan and fit using only the GPU. CrackArt includes a software renderer, which updates the im...
by ScEngMan
Mon Aug 10, 2009 6:01 pm
Forum: C++ Development
Topic: Help with a Photoshop-like program?
Replies: 12
Views: 2589

Hi, I've done some painting stuff using wxWidgets and I'm using OpenGL. Previous work with DCs... My application has a view image dialog that uses GDI to paint the image. The image can be fed from a renderer that renders tiles, and the dialog updates it. This has always been very slow because basica...
by ScEngMan
Wed Dec 10, 2008 4:51 pm
Forum: Announcements and Discoveries
Topic: Saya Video Editor project founded! *HELP WANTED*
Replies: 2
Views: 1661

Wow... this would be awesome! Last week I had to edit a video (zooming and panning over a screen captured video) and I couldn't find any video editor to do this, I had to convert the source to images and use 3dsmax with an animated camera to render the video as I needed. I'm developing a 3D Applicat...
by ScEngMan
Wed Nov 26, 2008 11:24 pm
Forum: C++ Development
Topic: Flat wxTextCtrl
Replies: 2
Views: 979

YES... Awesome dude, that worked! I didn't know that I can use the styles from parent class!
by ScEngMan
Wed Nov 26, 2008 6:12 pm
Forum: C++ Development
Topic: Flat wxTextCtrl
Replies: 2
Views: 979

Flat wxTextCtrl

Hello, I'm developing a wxControl that links together a wxTextCtrl and two wxWindow that accept mouse actions to control the value. The attached image shows what I have, and what I'm trying to get: 1. 2. My wxControl has two wxWindow (the [<] [>]) that the user can drag to change the value in the wx...
by ScEngMan
Mon Nov 17, 2008 7:06 pm
Forum: Open Discussion
Topic: inverting symbolic matrix
Replies: 4
Views: 2525

I think you'll have to parse the cell text yourself to get a numeric value. I'd use Lua for this, it's tiny and can be used to extend any application. You'll pass your cell text as a script to Lua, Lua processes it, and then it returns a number in the stack.. you grab that number and use it in your ...
by ScEngMan
Wed Oct 01, 2008 9:43 pm
Forum: C++ Development
Topic: Modal and threads question
Replies: 5
Views: 1845

Yeah, I tried many things with ShowModal and nothing worked. Now I'm trying to Disable the main frame and the Rendering Dlg when render starts, and Enable them again when render ends. In wx docs it says about Enable/Disable: "Enable or disable the window for user input. Note that when a parent ...
by ScEngMan
Wed Oct 01, 2008 7:28 pm
Forum: C++ Development
Topic: Modal and threads question
Replies: 5
Views: 1845

I tried to create a Modeless View Image frame from both the Progress Dlg and Rendering Dlg, and in both cases it is created, but as soon as I call ProgressDlg::ShowModal, the View Image frame becomes inactive and is or closed or moved to the background. Any ideas on how to make this work? These are ...
by ScEngMan
Wed Oct 01, 2008 2:56 pm
Forum: C++ Development
Topic: Modal and threads question
Replies: 5
Views: 1845

Thank you Frank, it works very well.

Actually I was editing the post while you replied...

I also have to deal with the View Image File panel. I'll test to see if making it a modeless child of the ProgressDlg I can keep both active. Any ideas here?

Thank you very much for your help!
Diego
by ScEngMan
Wed Oct 01, 2008 12:59 pm
Forum: C++ Development
Topic: Modal and threads question
Replies: 5
Views: 1845

Modal and threads question

Hello, I'm developing a typical 3D application, where a modeless dialog box allows the user to set the rendering width and height, and when the user clicks Render, a modal render progress dialog box is shown and rendering starts. http://www.sceneengine.org/external_posts_dont_delete/crackart_render_...