Asteroids on Oscilloscope

The Joy of Tech - Anything and everything about all things shiny..
Post Reply
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Alas, the Big Knob is no more. I messed up attempting to cut it to the right size and the result isn't as durable as I wanted. Going in the guff parts box. Gotta order a new knob now, right size this time.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Note to self: if I'm taking the Ocelot to other places, I should consider making a second separate replaceable lid from transparent perspex so people can snoop without poking. Same file as before (I still have it saved from svg->Inkscape->eps->Corel->dxf, so it's the correct dimensions). (Completely transparent except for Ocelot and Matt Carr? Ocelot face image etched? Diagram of how the system is laid out internally etched?)
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Asteroids on Oscilloscope

Post by adam »

some cutters let you do a vector engrave - though you'd have to vectorise a photo and probably simplify it right down - epilog is one brand thats flexible in this regard, you can set different combos of speed and intensity in one cut
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Yes, the DoES stuff (LS3040 from HPC Laser) can do both vector and rasters. Originally the ocelot on the top was going to be a traced vector image, but I was advised that the 'laser cutting project' software could directly import images for engraving, and they was right. The lettering is vector paths produced by the text tool in the software.
User avatar
toxibunny
Baaaaaaa!
Baaaaaaa!
Posts: 5906
Joined: Thu Jun 17, 2004 11:59 pm 0
Location: limb clock land

Re: Asteroids on Oscilloscope

Post by toxibunny »

hackaday hackaday hackaday
I made a deviantart page.
'....The baron is a gay old rogue with an eye for the ladies....'
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Gotta be finished and loads of awesome games before I could even think about that.

If I'd have done all this a month earlier I could have submitted it to their sci-fi themed competition. Then again I would have had to lie about it being a collaboration in order to have qualified for it.

Edit - Hahaha oh crap, I wouldn't have stood a chance... one guy built a working Verbal Morality Statute machine.
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Re: Asteroids on Oscilloscope

Post by adam »

Kamineko wrote:Yes, the DoES stuff (LS3040 from HPC Laser) can do both vector and rasters. Originally the ocelot on the top was going to be a traced vector image, but I was advised that the 'laser cutting project' software could directly import images for engraving, and they was right. The lettering is vector paths produced by the text tool in the software.
just thinking that vector engrave might be a way round the squiffy raster engraving
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

If you're talking about the calibration problems, vectors won't help.

The front panel is all vectors (vector text engraves, vector rectangles and circles, and vector custom path for the D sub joystick port) and no rasters and it took several attempts for the cutter to produce an acceptable panel.

Some engraves just interact with the system in bad ways, the boss says the best workaround is to rotate the job 90 degrees and try it again.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

I've got the new pot knob now. It's a little smaller than the big knob (shaft size, not length) but I've got extra washers that should give it a good fit into the laser cut hole designed for the bigger collar. I soldered on the jumper cables and it's good to go. With that, I can finally glue together the Ocelot's case!

Image

The top lid isn't hinged or glued, it just rests inside the teeth. When I input the coordinates for the Ocelot's case into my program, I deliberately put the material thickness at half a millimetre more than the actual thickness (just to see what would happen). As a result, the glued together case is a little more snug that it would have been (the faces all fit and glued together perfectly), and the lid firmly squeezes into the space and holds nicely.

There's more pictures on my web space including goofy magnificence, modern art, splinched cats and other ephemera.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

A 3D object is a collection of points linked together by edges that together form faces.
A face is a collection of edges with a common normal.
An edge is a visible line drawn between two points.
-
Combine the object's orientation with that of the camera to get the object's orientation in camera space.
If you transform a prototype-local-object-axes space normal by this composite rotation, you get the normal vector in camera space. If the Z component of this is negative, the normal is heading towards the camera: the face faces the camera.
The value of the Z component alone is the dot product of normal vector and the lowermost row of the composite rotation: this is equivalent to transforming the camera's front vector into the object's local axes (the converse of the above), and gives the cosine of the angle between the world-axes normal and the world-axes camera's facing; if this is negative, the face faces the camera.
Consider only the edges of faces that face the camera: no other edges will be visible.
Consider only the points of these edges: no other points will be visible or alter the shape of the object.
Transform the object's centre position from world space into camera space first by subtracting the position of the camera from the position of the object to give the relative position of the object from the camera in world space, and then transform this distance by the camera's orientation to get the object's location in camera space.
Transform the points in the active list by rotating them by the composite rotation and then adding on the transformed central point of the object.
-
Devise the convex hull of the active points: for a convex object this will form the convex polygon silhouette you can use to mask the existing line collection.
-
Draw the active edges between the active points.

I know I'm speaking in tongues, but I have to write this down or I'll forget.

Edit:
Image

There we go.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Can't go out tonight, I'm varnishing my ocelot. I have to sand down his teeth too because they're all black and sticking out ugly.
User avatar
tufty
Sheepie Whore
Sheepie Whore
Posts: 12525
Joined: Fri Jan 07, 2005 4:52 pm 0
Location: French Alps

Re: Asteroids on Oscilloscope

Post by tufty »

Now there's a euphemism...

"varnishing my ocelot"

:fnarr: :fnarr:
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Opaque shapes.

User avatar
Baggypants
Baaaaaaa!
Baaaaaaa!
Posts: 5328
Joined: Sun Mar 19, 2006 12:54 pm 0
Location: Salford(UK);
Contact:

Re: Asteroids on Oscilloscope

Post by Baggypants »

Kamineko wrote:Opaque shapes.

WIZADRY
"The eggs, get them!"
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

You should see it with spinnan' cubes!

And you will... if it stops crashing.
Post Reply