Les membres ayant 30 points peuvent parler sur les canaux annonces, projets et hs du chat.
La shoutbox n'est pas chargée par défaut pour des raisons de performances. Cliquez pour charger.

Forum Casio - Projets de programmation


Index du Forum » Projets de programmation » Rasterizer From Scratch for Casio Prizm
Atrt7 Hors ligne Membre Points: 37 Défis: 0 Message

Rasterizer From Scratch for Casio Prizm

Posté le 22/04/2021 11:14

I have made a rasterizer from scratch for Casio Prizm. I am working on understanding the math and working on optimizations. I am also working on making it a full 3D engine.

Video of it working:
https://cdn.discordapp.com/attachments/776408348546826254/833588310609625099/video0.mov

Source code:
https://github.com/atrt7/jenncraft

Fichier joint


Lephenixnoir En ligne Administrateur Points: 24228 Défis: 170 Message

Citer : Posté le 22/04/2021 11:20 | #


Nice! There are some changes between Prizm and fx-CG 50 (eg. VRAM address), I'll try and make a working version (ideally a pull request) so that people here can test it on the Graph 90+E (French fx-CG 50).

-

Pour information aux lecteurs, le projet vient de Cemetech (section Prizm).
Mon graphe (11 Avril): ((Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; passe gint 3 ; ...) || (shoutbox v5 ; v5)
Kikoodx Hors ligne Ancien labélisateur Points: 3011 Défis: 11 Message

Citer : Posté le 22/04/2021 11:21 | #


Amazing! I saw the topics you created on Cemetech, welcome on Planet Casio
I can't wait to see what progress you will make.
ouais ouais
Atrt7 Hors ligne Membre Points: 37 Défis: 0 Message

Citer : Posté le 22/04/2021 11:24 | #


Lephenixnoir a écrit :
Nice! There are some changes between Prizm and fx-CG 50 (eg. VRAM address), I'll try and make a working version (ideally a pull request) so that people here can test it on the Graph 90+E (French fx-CG 50).

-

Pour information aux lecteurs, le projet vient de Cemetech (section Prizm).


Yes, that sounds very good! Thank you! I should probably also post the source code to the Windows/Linux cross compiling port to SDL I made.

Ajouté le 22/04/2021 à 11:25 :
Kikoodx a écrit :
Amazing! I saw the topics you created on Cemetech, welcome on Planet Casio
I can't wait to see what progress you will make.


Thank you!

Ajouté le 22/04/2021 à 11:33 :
Here is the source code for my cross compiling SDL2 port of the rasterizer. It did not allow me to upload a file larger than 512kb so I just used uploaded it to Discord and that gives me a link.

https://cdn.discordapp.com/attachments/228640680346517507/834557123957882930/jenncraftCasio.zip
Lephenixnoir En ligne Administrateur Points: 24228 Défis: 170 Message

Citer : Posté le 22/04/2021 14:24 | # | Fichier joint


Good news, your code just works easily on the fx-CG 50. I just had to change the non-blocking DMA function to use the dynamic VRAM address instead of the hardcoded fx-CG 10/20 one. I've sent a pull request for protocol although this is a rather trivial matter.

Fichier g3a pour Graph 90+E (rasterizer triangle) : en pièce jointe
Mon graphe (11 Avril): ((Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; passe gint 3 ; ...) || (shoutbox v5 ; v5)

LienAjouter une imageAjouter une vidéoAjouter un lien vers un profilAjouter du codeCiterAjouter un spoiler(texte affichable/masquable par un clic)Ajouter une barre de progressionItaliqueGrasSoulignéAfficher du texte barréCentréJustifiéPlus petitPlus grandPlus de smileys !
Cliquez pour épingler Cliquez pour détacher Cliquez pour fermer
Alignement de l'image: Redimensionnement de l'image (en pixel):
Afficher la liste des membres
:bow: :cool: :good: :love: ^^
:omg: :fusil: :aie: :argh: :mdr:
:boulet2: :thx: :champ: :whistle: :bounce:
valider
 :)  ;)  :D  :p
 :lol:  8)  :(  :@
 0_0  :oops:  :grr:  :E
 :O  :sry:  :mmm:  :waza:
 :'(  :here:  ^^  >:)

Σ π θ ± α β γ δ Δ σ λ
Veuillez donner la réponse en chiffre
Vous devez activer le Javascript dans votre navigateur pour pouvoir valider ce formulaire.

Si vous n'avez pas volontairement désactivé cette fonctionnalité de votre navigateur, il s'agit probablement d'un bug : contactez l'équipe de Planète Casio.

Planète Casio v4.3 © créé par Neuronix et Muelsaco 2004 - 2024 | Il y a 79 connectés | Nous contacter | Qui sommes-nous ? | Licences et remerciements

Planète Casio est un site communautaire non affilié à Casio. Toute reproduction de Planète Casio, même partielle, est interdite.
Les programmes et autres publications présentes sur Planète Casio restent la propriété de leurs auteurs et peuvent être soumis à des licences ou copyrights.
CASIO est une marque déposée par CASIO Computer Co., Ltd