Libove Blog

Personal Blog about anything - mostly programming, cooking and random thoughts

Tag: rust


#

Geometry generation is now in an okay state. Next improvements are significantly harder and have almost no visual effect. For example merging the "pillar" geometry (green) correctly. At the moment these are just overlapping tubes.

Decided to work on the room layouts instead and started with a classical grid dungeon layout. Corridors still look incorrect and need an edge flip to align the flow of the ceiling correctly.

2D layout of rooms of classical grid dungeon 3D rendering of the classical grid dungeon

#gamedev #rust #geometry


#

Progress on room generation.

  • Implemented 2D editing view.
  • Nodes can be moved and snapped to full coordinates
  • Change height of ceiling and node type.

#rust #geometry #gamedev


#

Added walls to the room and removed the pillars in the room itself. These can still be placed in the data structure but my random generator isn't using them at the moment. The geometry is now mostly done for my purposes. The next step will be tooling to create and edit rooms manually.

#gamedev #rust #geometry


#

Cleaned up everything a bit and added a floor. All still in debug colors. Next will be to create proper UV coordinates to enable texturing.

#rust #wgpu

Debug rendering of a room with arched ceiling.



#

Combined the Delaunay triangulation with the Bezier curves to create the "walls" of a room. Next step will be figuring out how to create surfaces between curves.

#geometry #rust

Screenshot of a 3D mesh with bezier curves sticking out


#

Result of some recreational graphics programming:

  • Can load OBJs
  • Flat rendering and controllable camera
  • using #winit and #wgpu in #rust

a low poly iso sphere with random colors



#

I've just one-shotted an iterator with a lifetime in #rust. Is this what it feels like when the language finally clicks?