Search:
Type: Posts; User: Cambalinho
Search:
Search took 0.07 seconds; generated 54 minute(s) ago.
-
August 4th, 2023, 03:52 PM
heres the function for read animated gif's:
Public Function LoadGif(sFile As String, ByRef aImg() As StdPicture, ByRef imageHDC() As Long, ByRef picdelay() As Long) As Long Dim hFile As Long
...
-
July 24th, 2023, 02:32 PM
Public Sub LoadImage(strPath As String) If (Width > 0) Then DeleteImage
Dim myPic As StdPicture
Set myPic = LoadPicture(strPath)
Width = myPic.Width
Height = myPic.Height...
-
July 15th, 2023, 02:19 PM
is like converting the left image(2D) to the right(3D):
https://pythonprogramming.altervista.org/wp-content/uploads/2022/01/image-20.png
-
July 14th, 2023, 07:57 AM
VitorN 'RayCasting' is 1 method for create 3D games...
we have a 2D game... the RayCasting is 1(or more.. pixel a pixel) line (that we test, pixel a pixel) for see if hits a wall... if hits a wall...
-
July 14th, 2023, 05:55 AM
'lplpVoid' is a reference... but i need VarPtr() for get the right values:
ReDim bmpPtr(ImageWidth * ImageHeight - 1)
hBitmap = CreateDIBSection(hdc, bmpInfoHeader, BI_RGB,...
-
July 13th, 2023, 02:43 PM
VictorN if i have notifications activated, why i can't recive them? the mail it's Hotmail
-
July 13th, 2023, 02:41 PM
Private Declare Function CreateDIBSection Lib "gdi32.dll" (ByVal hDC As Long, ByRef pBitmapInfo As Any, ByVal un As Long, ByRef lplpVoid As Long, ByVal handle As Long, ByVal dw As Long) As Long
if...
-
July 10th, 2023, 03:40 PM
Private Declare Function CreateDIBSection Lib "gdi32.dll" (ByVal hDC As Long, ByRef pBitmapInfo As Any, ByVal un As Long, ByRef lplpVoid As Long, ByVal handle As Long, ByVal dw As Long) As Long
...
-
the VB6 don't have pointers, but we can do similar using API functions.
but seen these code:
ReDim bmpPtr(ImageWidth * ImageHeight - 1)
hBitmap = CreateDIBSection(hdc, bmpInfoHeader,...
-
heres the entire code:
Option Explicit
Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long)
Private Const PI As Double = 3.14159265358979
-
how working with RayCasting?
i have these code for RayCasting:
Private Sub rayCasting() ' O RayAngle é o angulo atual do "raio".
' se ele começa olhando para angulo 90º e tem fov 60,...
-
November 30th, 2022, 04:45 AM
so true... i did a several questions on some forums. so sorry something..(some forums need more questions, they think that i can ask off-topic, but the problem is the same :( )
but the big problem...
-
November 28th, 2022, 03:20 PM
2kaud: yes i'm... my problem was more than we think :(
- the pointer seems not corrected. so no results :(
so i did a simple complete test and worked. what i was trying to do was adding...
-
November 24th, 2022, 03:51 PM
https://forums.codeguru.com/image.php?u=394915&dateline=13669792732kaud getting the
image instance pointer correctly for the multithread :(
-
November 23rd, 2022, 04:16 PM
i have a class image, with Pixel structure:
class image
{
public:
struct Pixel {
image *img;
float X = 0;
float Y = 0;
float Z = 0;
-
November 16th, 2022, 04:47 AM
hello. did i miss something?
-
November 14th, 2022, 05:10 PM
-
November 14th, 2022, 03:12 PM
see these line with origin and destinity: LineSteps line(0,200,0,400,200,500);
now i need move the line... how can i subtract 1 from (0,200,0), but continue with same line size or (400,200,500)...
-
November 13th, 2022, 03:10 PM
Victor i don't get notifications... can you see it please? is maybe because i'm login even not be here?
i use the Hotmail mail.
or i din't get the Translation or something is wrong :(
what i...
-
November 5th, 2022, 01:21 PM
heres a line:
Origin:
X0 = 0
Y0 = 0
Z0 = 0
Destination:
X1 = 100
Y1 = 0
-
October 16th, 2022, 07:13 AM
how can i add these 'for' on a multithread?
for(int X=100, H=imgTexture.ImageHeight; X<1000; X++) {
if(Speed >1000) Speed=1;
...
-
October 16th, 2022, 07:08 AM
normaly we do:
Speed =1;
X+=Speed;
frame by frame only moves 1 pixel.
how can i make it move faster?
if i do:
Speed =5;
X+=Speed;
-
April 10th, 2022, 09:57 AM
i have 2 pixels pointers(Destination and Source).
1 - how can i calculate or get Alpha value on pixel?
2 - how can i combine the 2 pixels for AlphaBlend?
3 - how can i calculate for stretch the...
-
March 27th, 2022, 02:11 PM
see these image:
36026
https://forums.codeguru.com/image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAAA/CAYAAAAVMKENAAABV0lEQVR4nO3cS26EMBRFQRNl/1smU9pBndDAxZ...
-
March 27th, 2022, 11:46 AM
hello VictorN.. sometime ;)
1 - the line be printed more clear(mean the perfect line);
2 - the line is printed using the pixels positions... the positions must be calculated. the 'GetLinePoints()'...
|
Click Here to Expand Forum to Full Width
|