Thats where I got lost :P
Thats where I got lost :P
it wouldnt be the same as just making the image thinner and then rotating to the correct rotation? Probably not, but that could always work until you can figure out something a bit more mathmatical.
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
That just gave me a crazy idea.
I could make bitmaps 3D.
They already have an x and a y, just throw in a z.
SCAR Code://an array of pixels, their location, and the color of the pixel
T3DBmpPixel = record
x, y, z, color: integer;
end;
//the array of pixels that go to a bitmap and the rotation of the bitmap
T3DBmp = record
Pixels: array of T3DBmpPixel;
xRot, yRot, zRot: integer;
end;
The z attribute will be set to the z of the "wall" that it will be put on.
When the Bmp is drawn the pixels will be rotated by their x, y, and z rot.'s that are set by the "wall" too, and the pixels will match up perfect with the drawn object (if the Bitmap and the object were the same size)
The only down side is that would be amazingly slow.
I might make a plugin and see how that goes.
The bitmap will actually still only have 2 dimensions though, because it started out with only 2.
It is like a piece of paper in the 3D world.
But it will be able to be drawn at different angles and distances from the viewer.

o.o wow.
your so smart.
D:
make an SAT ^^
Hah
I just made a script for this and it's working.
I'll post here when it is finished.
The only problem is if you change the pixels in a bitmap (especially making the bitmap bigger) there will be dead space between the pixels where you see the background.
I have a way to solve this but it will take a long time to script it.

I think, you should help me with scripting some
<3
actually now that i think of it, im surprized that that does indeed work with your script. You are using a perspective view. I only expected something as simple as that to work with an orthographic projection. Then it would at least keep the same shape. With yours wont it hang off the edges, since the engles and whatnot arent always the same, or are you doing it differently?
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
Are you talking about my box drawers or the 3D Bitmap thing?
And really I'm not sure what you mean at all.
What edges?
I will make an SAT for this type of thing soon.I think, you should help me with scripting some

your pretty much amazing ^^
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
I'm not so sure I'm getting it still.
It rotates each individual pixel in the bitmap around the central point of the bitmap.
It keeps it's shape as it rotates, just really deforms the bitmap because of all the pixels separating from each other and nothing is set to fill in the empty spaces as of right now.
It looks like the box drawer I posted but if you made it draw one side to the box instead of all 6. (and it is a picture)
Thats my point. Your box wont have that shape because of the way its drawn afaik. But if you dont get it, then i might be wrong and there could be no problemIt keeps it's shape as it rotates.
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
Pure genious. This is absolutely brilliant!!! A 3D engine made from a simple script engine.... wow. Just demostrates how flexible and powerful SCAR really is. Definetly worthy of further modification and experimentation!!! This is some good stuff!
Oh and also: This could have practical applications, such as better solvers for randoms (i.e. you get the RS object file, draw it in memory, then compare it with the image in RS). Would take a lot of resources though.. hmm..
It's been a while... but I'm BACK!!!
I just started on a 3D model editor![]()
Zytex did you ever see my 3D model editor from a long time ago?
It was very basic and sucked really, but you might get ideas from it.
Hey, I remember that one! Thanks
*searches*
There are currently 1 users browsing this thread. (0 members and 1 guests)