Logo by Sockratease - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit us on facebook
 
*
Welcome, Guest. Please login or register. April 19, 2024, 04:01:36 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Drawing pixels in Visual studio express?  (Read 5031 times)
0 Members and 1 Guest are viewing this topic.
Yesiamjames
Forums Freshman
**
Posts: 19



« on: October 05, 2011, 08:09:20 PM »

I'm making another fractal rendering program but I'm still really new to it and I need a little help. I'm using visual studio express 2010 and the program I'm making is going to end up quite similar to Fractal eXtreme except completely freeware and with a few extra features.

I've got the math part down and the UI but there's a few thing I'm still having problems with.

Firstly and most importantly, I can't for the life of me seem to get it to draw individual pixels (also a bit of help with getting the program to use custom pallets would be good.)

Also I'd like it to be able to write files (avi and either bmp, gif or jpg.)

Any help you can give would be great and naturally I'll post the completed program here for free.
Logged
miner49er
Safarist
******
Posts: 82


« Reply #1 on: October 06, 2011, 02:01:31 PM »

.NET? GDI or GDI+ - I would guess at - but I reckon it might be a tad slow.
I guess DirectX would be the way to go but I know nothing about that.
You could try and make it cross-platform and use SDL - that way I could run it under linux!
Logged
Yesiamjames
Forums Freshman
**
Posts: 19



« Reply #2 on: October 06, 2011, 02:07:09 PM »

At the moment I'm making it for window but I might make it cross platform at some point. I'm using VB and .net since basic is the only language I understand at the moment. Unless using something different would drasically speed up rendering I'm going to keep it that way.
Logged
zenzero-2001
Explorer
****
Posts: 42


« Reply #3 on: October 06, 2011, 05:13:35 PM »

Sounds like you need direct pixel access to the bitmap. I'm not sure how to do this in VB, but a quick Google search brought up this:

http://www.bobpowell.net/lockingbits.htm

I'm writing a program similar to Fractal eXtreme but in Qt. I will be releasing it as Open Source software. Progress is slow due to health problems but I hope to release the first version within the next two or three months.

Hope this helps!

Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
north facing spike 48 x 80000 pixels Fractal Humor jwm-art 7 2554 Last post January 16, 2010, 07:31:21 PM
by kram1032
Landscape Studio General Discussion Lee Oliver 0 1517 Last post August 07, 2010, 02:33:28 AM
by Lee Oliver
Building Mandelbulber on Windows with Visual Studio Mandelbulber neosettler 7 5858 Last post May 12, 2013, 01:17:10 AM
by JohnVV
switching from Qt to visual studio Programming ker2x 6 6525 Last post July 05, 2017, 05:15:53 PM
by ker2x
Noisy white pixels on the animation Help & Support guzior 0 787 Last post November 09, 2017, 03:39:44 PM
by guzior

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.152 seconds with 24 queries. (Pretty URLs adds 0.005s, 2q)