Author Topic: SWGPTG - 02 - Drawing Basic Shapes  (Read 9544 times)

caballero

  • Member
  • *****
  • Posts: 1496
  • Matrix - Noah
    • abre ojos ensamblador
Re: SWGPTG - 02 - Drawing Basic Shapes
« Reply #75 on: January 20, 2020, 01:58:30 AM »
A first stage for an sprite demo, a little weak in the movement for now. Pixel clipping.

https://www.youtube.com/watch?v=u-PPrealGH0
The logic of the error is hidden among the most unexpected lines of the program

caballero

  • Member
  • *****
  • Posts: 1496
  • Matrix - Noah
    • abre ojos ensamblador
Re: SWGPTG - 02 - Drawing Basic Shapes
« Reply #76 on: April 11, 2020, 05:30:46 AM »
Sprites demo with bezier path calculation. 25kb

https://www.youtube.com/watch?v=aGp5fRc_6n0
 :thumbsup: Yeah

Edited: fixed a small gap in the movement
« Last Edit: April 11, 2020, 06:54:42 AM by caballero »
The logic of the error is hidden among the most unexpected lines of the program

caballero

  • Member
  • *****
  • Posts: 1496
  • Matrix - Noah
    • abre ojos ensamblador
Re: SWGPTG - 02 - Drawing Basic Shapes
« Reply #77 on: May 11, 2020, 03:20:02 AM »
Quadratic Bezier curves explained. You can drag and drop any of the three nodes, but I have to improve its movement.
The logic of the error is hidden among the most unexpected lines of the program

caballero

  • Member
  • *****
  • Posts: 1496
  • Matrix - Noah
    • abre ojos ensamblador
Re: SWGPTG - 02 - Drawing Basic Shapes
« Reply #78 on: August 24, 2020, 12:28:17 AM »
Talking about raytracing, here is a programming test in 46kb. It needs the earthmap.bmp file in the same folder to be executed. It takes a while to appear, meanwhile it is creating a ppm image file where you can see its development.
The logic of the error is hidden among the most unexpected lines of the program

Siekmanski

  • Member
  • *****
  • Posts: 2377
Re: SWGPTG - 02 - Drawing Basic Shapes
« Reply #79 on: August 24, 2020, 01:33:26 AM »
Great, very detailed!!
Creative coders use backward thinking techniques as a strategy.

caballero

  • Member
  • *****
  • Posts: 1496
  • Matrix - Noah
    • abre ojos ensamblador
Re: SWGPTG - 02 - Drawing Basic Shapes
« Reply #80 on: September 16, 2020, 06:33:59 AM »
I've been developping the cylinder formulae for raytracing and they took me more time than I expected, but finally I've got it than it seems working, they are a bunch of formulae where you may lost easilly, here they are if anyone interested.

http://abreojosensamblador.epizy.com/?Tarea=5&SubTarea=7#Graf3D_Cilindro



Hmm, inserting images seems don't work... well never mind

 :eusa_boohoo:  https://www.youtube.com/watch?v=aya0R2DtpQc
The logic of the error is hidden among the most unexpected lines of the program