View Single Post
Old 03 December 2021, 12:34   #6
chb
Registered User

 
Join Date: Dec 2014
Location: germany
Posts: 342
Rock Lobster by Oxyron has a pretty impressive dot routine and the source is on github. From the doc:
Quote:
Vectorplots:

One of the technical hi-lights in the demo.
2816 z-shaded morphing vectorplots. Before adding sprite-overlays and design-stuff I had 3172.
A transformation matrix is generated every frame.
The morphing is just the result of using lots of prescaled sintables.
Half of the pixels are transformed with one add.l for X, Y & Z.
Then the blitter extracts the bits and adresses for the plots including z-shading.
The blitter also mirrors the bits, adresses and shading for the other half of the symmetric object.
The CPU sets the pixels with a bset.b per pixel.
Might be worth a look.
chb is offline  
 
Page generated in 0.04320 seconds with 11 queries