stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

9h 15m 4s logged

translation gizmo :yay-67:


this was like
 
miserable to make lol
 
it took me sooooooo long to get translation working, basically i had this samurai battle with a scaling issue for the longest time, i accidentally told my code that the viewport was smaller than it actually was and it just took forever to find that out
 
this issue caused a really annoying issue where the actual location of the rendered gizmo was different than the clickable area
 
there was also this other issue where the gizmo would move twice the speed of the mesh it was translating, but it was just a flaw with the mesh class, the gizmo was basically constantly recieving its own center as well as the meshes’ center which made it translate double


but it works now, i think it works pretty well :blobhaj_table:
 
its all based off of the modular command system, so anything can call translatemeshcommand and it translate meshes
 
next is prolly working on rotate and scale and stuff, all the other gizmos that we need
 
the gizmos also meant a new .vert and .frag pair, and a whole new vulkan render pipeline lol

0
36

Comments 0

No comments yet. Be the first!