@Sven B - Thanks so much for that post. It isn't the camera like Pincho Paxton said and it doesn't seem to be your plugin. The black couldnt be from black edges but it is completely transparent so it shouldn't have black edges. The lines are not youtube artifacts and are actually created on the actual images.
I removed
Copy Image from my main project and still the same results. I also removed IK Resize Image thinking that might be it. I also tried to see if it was the camera but it happens no matter where the object is positioned or the camera is position rotated. It still happens if the backdrop is off.
I deleted the old Image Kit dll.
@Everyone:
Which raises some questions...
Where is the black coming from?
Where are the artifacts coming?
It doesn't seem image kit. I could completely strip my code from having dark dynamics but I'm sure I still would get the same result.
As far as the code i'm trying to keep that a secret :p
What is actually in the code:
- Dark Dynamics particles: Which shouldn't interfere because it is a separate system all together.
- Image Kit for the images. I use Create Image and just Paste Image On Image and that is it!
- A UV lib I made myself which shouldn't interfere in any way because it is just math.
Here is what I use for drawing the particles on the surface:
For Index = ObjectStart1 To ObjectStart2 + ParticleCount2
If Object Exist(Index) = 1
`Set Vector3 PosVector, Object Position X(Index), Object Position Y(Index), Object Position Z(Index)
`If DYN OVERLAP CHECK SPHERE(PosVector, 20, 3) = 1
`Text 0, 100, Str$(Index)
PickPolygon(Surface, Object Position X(Index), Object Position Y(Index), Object Position Z(Index))
GetPolygonData()
CalculateUV()
`PaintImage(BloodImage)
`PaintDot(RGB(255, 0, 0))
PaintImage(BloodImage)
`TimesRun# = TimesRun# + 1
`EndIf
EndIf
Next Index
Paste Image Code:
Function PaintImage(Image)
PaintImageX = Int((PickedPolygon.P.U#) * Width)
PaintImageY = Int((PickedPolygon.P.V#) * Height)
StartX = PaintImageX - (Image Width(Image) / 2)
StartY = PaintImageY - (Image Height(Image) / 2)
IK Paste Image On Image Image, SurfaceImage, StartX, StartY `StartX, StartY
EndFunction
Other then that i'm no manipulating or doing anything to the images. I just am simply doing the same thing as the example I posted. I'm just pasting images at a rate of 500 per loop cycle.
Here is the example:
Rem Project: Paste Image On Image
Rem Created: Tuesday, July 03, 2012
Rem ***** Main Source File *****
Sync On : Sync Rate 60
Global Width : Width = 256
Global Height : Height = 256
Global SurfaceImage : SurfaceImage = 1
Make Object Plain 1, Width, Height
`XRotate Object 1, 90
IK Create Image SurfaceImage, Width, Height, RGB(255, 255, 255)
Texture object 1, SurfaceImage
Image = 2
Load Image "Happy Smiley Face.png", Image
NewImage = 3
Copy Image NewImage, Image
IK Resize Image NewImage, 10, 10, RESIZE_LINEAR
IK Set Color To Alpha NewImage, RGB(255, 255, 255)
StartTime# = Timer()
` Even running at this rate I still have no issue.
Do
Control Camera Using ArrowKeys 0, 1, 1
Time# = Timer() - StartTime#
For Index = 1 To 500
IK Paste Image On Image NewImage, SurfaceImage, MouseX(), MouseY()
TimesRun# = TimesRun# + 1
Next Index
Text 0, 200, Str$((TimesRun# / Time#)) ` 29 per period
`Paste Image SurfaceImage, 0, 0
Sync
Loop
It is very strange. The only thing I can think of is something I don't know about is manipulating the image somehow which I doubt.
Anyone have any ideas of what is going on?
DigitalFury
Zombie Video Game!