Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - va!n

Pages: [1] 2 3 4 5 6 7 8 ... 10
Hi guys,

A good old contact and a big Amiga fan asked me a long time ago if I would like to spend time with him at the end of the year in Neuss for the "Amiga 34".

And then today the time has come! At 08:00 o'clock I was picked up at home and then we left for about an hour with his car to Neuss.

There, in the "Rheinisches Landestheater" with several exhibitors and previously (I think) 500 pre-sold and limited tickets the Amiga Event of the Year took place.

I was very surprised how many users and exhibitors actually existed - I really would not have expected that.

In particular, I was very impressed and surprised by how many people / companies showed special Amiga hardware and new developments (also FPGAs) or open source designs.

In addition to well-known greats like "Chris Hülsbeck, there were of course" Petro Tyschtschenko "," David John Pleasance "on site, and there were also people from the DemoScene, such as the Haujobb group ;-)

The atmosphere I found throughout the day as very pleasant and I have seen in my view, an incredible amount of new developments and also to see old treasures.

On the large event area there were also various lectures, new (partly not yet finished) Amiga games were shown and could be played.

There was absolutely no lack of catering. So here was very small money for wickedly well-being of the people (food and drink = coffee, cake, sausage, meatballs, kale, etc.) provided! This and the event itself was just great and had fun on more!

Below I will try to upload some spontaneous snapshots (photos) here ...

Have fun and best regards to all ...
Thorsten - aka va! N

PS: Text was translated using google due fact of some health and concentration problems.

It made me really sad, to see this forum seems to be "death". What happens to Shockwave and how is doing the admin part of this site?
Btw, in the past i had nicks email- and private post adress. sadly i lost them. Is someone still in contact with him, or has any contact infos for me?
Thanks for PM.

General chat / Amiga and C64 Music Albums
« on: March 30, 2019 »
Hi guys,,

beginning 2016 i created my own little mediabox based on the raspberry pi 3 ...  i added my private music section with all my favourite music albums, esp. amiga and c64 relatex (remix/rearanged) albums... So, are here any ppl collecting amiga/c64 related music albums too? Wanna show us your collection?

Btw, i think next i may buy the amiga immortal collection...

Here is my actuall collection...

The blue/unmarked albums are no scene/electro/synth genre... so i just marked out...

C / C++ /C# / Compiling VS2013 project with VS2015 fails
« on: September 10, 2017 »
Hi guys,

when trying to compile my old VS2013 projects with VS2015, i get following compile errors:

Code: [Select]
Code         Description                                                          Project File Line Suppression State
Error LNK2001 unresolved external symbol ___acrt_iob_func       #####\Main.obj 1
Error LNK2001 unresolved external symbol ___stdio_common_vfwprintf #####\Main.obj 1
Error LNK1120 2 unresolved externals ####Rebuild.exe 1

Any idea how to solve this problem?

Hi guys.
As the topic says hopefully all. I was long time away and taked a look to the forum from time to time.
I am really suprised, because it seems to me, that this forum is nowadays very still / inavtive.
Where are the activities from the old days and where are all the famous and amazing guys/coders?

I noticed that even some of the well known guys from the older days hasnt been here for a while  ???
Have i missed something?

General chat / Emulators for smartphone OS?
« on: September 23, 2015 »
In about two weeks i teach a small group of senior citizens and giving an instruction course for smartphone OS (Windows Phone, Android, iOS). Are there any good WindowsPhone / Android / iOS emulators for Windows to show the OS via beamer on a big wall?

I have some trouble with some basic math and cant find any infos / math about it on the web.

I am loading and showing a bitmap inside a window and i can zoom it in/out (ImageWidth * ZoomFactor), where ZoomFactor range from int 1 to 32.
A smaller scaled version of the original bitmap will be shown as preview in a so called navigation window (like photoshop).

At this point i know following values/infos:

   - The client width and height of the window (where the image will be drawn)
   - Original image width and height
   - width and height of the scaled/zoomed image (imageWidth * zoomFactor)
   - width and height of the preview area (where the scaled down image will be drawn)
   - width and height of the  image preview (navigation window)
   - The zoomFactor ( 1 == 100% | 2 == 200 %... )

The bitmap preview should show a rect of the area, we are zoomed in / which is visible. (see screenshot from photoshop)
How to calculate the (red) rect of the visible area?

Something i tried (just as example):
ClientWidth = 1024 | ImageWidth = 1280 -----> (100/(ImageWidth*zoomFactor)) * ClientWidth == 80
Also 80 % of the original imageWidth ((1280/100)*80) are visible in this example.

Any idea where to find infos on the web or whats the name of this to search?

C / C++ /C# / How to fix black holes in drawing?
« on: July 03, 2015 »
While i studied carefully and in detail the RGB color channels of ColorCubes, i managed to generate each of the three CubeSide as a 256x256 RectImage. My next step was to draw each pixel transformed, so i get the effect of a ColorCube. However it seems there are two problems atm. My biggest problem is the right side face, where you will notice black holes inside the generated face.

Here is my code, drawing always a white pixel, so you can see the black holes...
Any idea whats wrong?

Code: [Select]
for (int y = 0; y < 127; y++)
for (int x = 0; x < 127; x++)
bufferColor[ 128+65+(x/2)-(y/2) + (y+x)*256] = RGB(255, 255, 255);

Attachement is a screenshot of my generated work...

Atm i am using DIB to handle and manipulate graphics/images in nearly realtime. For drawing and updating the image, i am using:

Code: [Select]
                hdc = BeginPaint(hWnd, &ps);
StretchDIBits(hdc, 1, 1, 1024, 480, 0, 0, 1024, 480, buffer, &bmi, DIB_RGB_COLORS, SRCCOPY);
EndPaint(hWnd, &ps);

Features i would like to add:  scrollbars/scrollarea, zoom in/out....

So whats the best way for a drawing program? Drawing image with StrechDIBIts directly to the window or scrollarea...
Or does it makes sense to use Win32 API picturebox for high flexibilty and even to have best performance/speed?

Atm i write all the code of my test projects in just one cpp (the main cpp) file, which really suxx. I would like to have the main.cpp (creating windows/GUI and handling messages)... and have seperate .cpp files for all the FilterEffects, another .cpp for all the AdjustmentFunctions and so on.

How to use a buffer (storing image datas as 1D array) and access this buffer from FilterEffects.cpp and from AdjustFunctions.cpp?
I know this may be some very basic stuff but i would be really glad to get some teaching / help, how to realize this.  8)

Code: [Select]
Atm i am using this way...

    static long bufferColors[360 * 256];

Projects / My test-projects...
« on: May 28, 2015 »
I am trying to code some very basic image manipulation and painting stuff...
Its nothing special yet. Here are screenshots of two seperate test projects i did.

Image 1:
Showing different implented drawing modes (like mirror painting, color, brush size, brush type)

Image 2:
Big drawing area and small preview (preview looks not correct correct = to much black)

I would like to compile old VB 5.0/6.0 sources under Windows 8.1 x64.
Where can i get/download Visual Basic 6.0 from and does it is free?

My following code uses the very slow Win32 API SetPixel and draws the image
directly on the window.

Code: [Select]
       hdc = BeginPaint(hWnd, &ps);
hBrush = CreateSolidBrush(g_Color);
hPen = CreatePen(PS_NULL, 1, RGB(0, 0, 0));
holdPen = (HPEN)SelectObject(hdc, hPen);
holdBrush = (HBRUSH)SelectObject(hdc, hBrush);

int color;

for (int y = 0; y < 255; y++)
for (int x = 0; x < 255; x++)
color = x & y;
SetPixel(hdc, x + 460, y + 180, RGB(color, color, color));

SelectObject(hdc, holdBrush);
SelectObject(hdc, holdPen);
EndPaint(hWnd, &ps);

How to create a bitmap in memory, drawing directly into this bitmap (1d array)
and display the bitmap on the window? Thanks in advance.

Where can i find a fast C++ functions for RGBtoHSV() and HSVtoRGB(),
where r,g,b and h,s,v are used as integer?

What is the best and fastest C/C++ way to do this conversion in realtime
without using to many muls and divs? Is it possible to speed things
up, by using a precalculated table? Thanks in advance.

Can someone explain me, what kind of settings must be used to produce a small win32 executeable?
I changed some settings and getting a small exe file - as long as i dont use floats. About 60 kb
will be added to the executeable when using floats :-( How to use floats without adding 60 kb?

Is there any way to write all the compiler settings in the top of the C/C++ source, without changing
values in the settings window?

Would be nice to know the settings for a Visual Studio 2013 Community - Win32 Form App.

C / C++ /C# / Question to Image Processing
« on: January 09, 2015 »
What is the best way to handle an image in memory for image processing (filters, effects, drawing)?
Storing the image just in 1D array or would it be better to store it in a 2D array? However, is it
better to read each color R,G,B,A as byte for a 32bit image or to read it just as long and using shifts
to manipulate each color?

At the moment i am working on a test project, where the image is stored in a 1D buffer.

Code: [Select]
void DrawGreyscale()
temp = bitsDib / 8;

int i;
BYTE r, g, b, y;
for (i = 0; i < cxDib * cyDib * temp; i+=temp) {
b = bitmap2[i ]; // Blue
g = bitmap2[i + 1]; // Green
r = bitmap2[i + 2]; // Red
y = (r +  g + b) / 3;
bitmap[i] = y;
bitmap[i + 1] = y;
bitmap[i + 2] = y;

Any improvment ideas for easy and fast image processing (clean code/handling)?

An 1D array gives nice speed improvments for using filters/effects on the complete image, because only
one loop is required. But when wanting to manipulate a special x,y position in the 1D array, a lot of
extra muls, divs, mods are required and may slow down operations a lot.

How does Photoshop stores imagedatas internally? 1D, 2D? Thanks for feeedback.

I am trying to use a Win32 project template to work with Visual Studio 2013 Express.
When using some Win32 API calls like "ZeroMemory()", "InitCommonControlsEx()" ... the project can't be compiled and i have no idea whats wrong with the project or settings. Any idea what's wrong and how to solve the problem? Thanks!

My VS2013 Win32 Project Template (12k ZIP)

For my Win32 project i want like to draw special chars with something like TextOut()... I will define the special chars as WCHAR and set its HexValue like following codesnip but i cant get it work. Any idea how to solve this? Thanks!

Code: [Select]
WCHAR testchar = 0x00A9;

TextOut( hdc, 20, 10, TEXT("A"), 1);        // Works fine !
TextOut( hdc, 80, 10, (WCHAR)testchar , 2);   // Does not work :(

Btw yes, the project is compiled by using unicode charset!

C / C++ /C# / Problem with tiny VS Win32 project
« on: June 04, 2012 »
I am trying to code a small tiny Win32 project with VS11beta, which should open a window with a button as test. On the web i found a lot of different ways how things are done. On the one side people are using WNDLCASS... some others are using WNDCLASSEX... For my project i will use CreateWindowEx... I tried some changes but i can't compile anymore and i have no idea why does WNDCLASS causes an error... :( Maybe someone can take a look to the attached zip? Thanks.

Btw, which version of the EventLoop is correct?

Code: [Select]
while( GetMessage( &msg, NULL, 0, 0 ) > 0 )           // Some sites are talking to use > 0 and some others not...
DispatchMessage( &msg );

return 0;

Code: [Select]
    while (GetMessage(&msg, NULL, 0, 0))        // Another version which does not return just 0

    return (int) msg.wParam;                 

General chat / schwerer verkehrsunfall
« on: February 23, 2012 »
Hallo Leute.
Möchte auf diesem weg nur mitteilen,dass ich wohl schon wieder für längere Zeit nicht mehr hier sein werde,da ich am SO Abend als Mitfahrer einen schweren Verkehrsunfall hatte.

so waren wir auf einer landstrasse unterwegs,wo plötzlich blitzeis war.wagen hat sich plötzlich mehrmals gedreht,seitlich mit 100 kmh vor einem Baum geknallt und direkt mehrmals überschlagen in einem graben/böschung herunter und vor nächsten Baum.

Die anderen beiden säßen Links und hatten verdammt viel glück und nur ein paar Prellungen.bin froh das wir dort überhaupt lebend herausgekommen sind,da PKW Totalschaden.

Ich hatte leider nicht so viel glück und kann hals/nacken/rücken nicht mehr bewegen.diagnose drei Brüche der Halswirbel  lt Ärzte ist es ein wunder,dass ich nicht querschnittsgelähmt bin,da ich genau das gleiche - auch von der schwere her habe,wie Samuel koch.

Ansonsten geht es mir soweit gut... Ich kann laufen,bin ansprechbar und kann sprechen!! Schöne grüße aus Klinikum Minden (200 km von zuhause entfernt)

Genug geschrieben,anstrengend genug...

Pages: [1] 2 3 4 5 6 7 8 ... 10