Tiny PicoCad Viewer

Started by iWasAdam, September 27, 2021, 11:56:14

Previous topic - Next topic

iWasAdam

Tiny PicoCad viewer written totally in wonkey in 2d (no 3d being used). view files with textures, flat or wireframe plus load and save new textures...

Nearly ready fo release on Widows and MacOs  ;D




Qube

Another impressive piece of work. Is there a tutorial on how you output so much work? ;D
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

iWasAdam

well...

The UI already existed - just need a bit of tinkering
Also the 2d3d all existed, so I just needed to write the parser for picocad - that took a few days :(

And this morning it was working out how the bugger I did basic lighting oohh and updating the shaders a bit and the final result complete with 2d texture warping (cause all of it is just 2d triangles):

light flat shaded:


and with textures added

Derron

What is up with the doors? they look a bit "warped" in the center - is the "shading"-screenshot not showing the "dent" - or is the texture bend a bit there?

Could the textures be smoothed optionally? To avoid overly jagged edges.
Or would it help to scale up the texture (double each pixel, so no smoothing) and then distortion would look a bit smoother as there are more "pixels" (unsmoothed) to move around? Dunno if the GPU already does something in the background - so ignore that if it wont work.



bye
Ron

iWasAdam

no GPU was harmed during this process...
Quote2d texture warping (cause all of it is just 2d triangles)

markcwm

Hi Adam, good job. Very nice little model format. It looks totally 3D.

This is very similar to Hezkore's Blitzmax voxel.mod which loads Magicavoxel .vox files. It's fake 3D as well.

I see the texture warping a bit but it's hardly noticeable.

iWasAdam

Thanks for that - do you have a download for the hezcore .vox importer?

I've been adding and tidying up the feature set with support for base lighting, inbuilt vertex colors, wireframe, flat shading, etc and now loading saving and opening textures:


- plus getting permission from the PicoCad Author for use of one of his models for the icon \o/

markcwm

OK, I've uploaded it to my Blitz files because it's not available on Hezkore's BitBucket anymore, it's also not in Hezkore's GitHub repos. I've no idea why but one day all his Blitzmax code was all gone. Luckily I saved it all before that. :)

Hezkore has it licensed as public domain so there should be no problem me sharing it. It seems to be complete and ready for use. There are 9 examples and an advanced demo, no docs. It uses Max2D so is cross-platform.
Download

And here's a screenie of the demo and 2 examples.

iWasAdam

thanks for this - brings back memories. both Hezkore and myself had similar things going on at the time. I'll see about digging through some of my code... :)

iWasAdam


iWasAdam

This is soo good I just had to share it.

PicoView went live yesterday and it's already being used. Here's the first pic of someone using it...  :))