General Showcase Thread

I’ve rounded out (!) my transitions with a circle transition.

They have a very smooth border, but the gif compression makes it seem a bit blocky since the limited color range can’t interpolate well (no dithering)

Honestly though, the only one really satisfying and undistracting is the swipe. I’m probably gonna use that one in all future projects that have more than one screen state.

1 Like

:sweat_smile: I see what you did there :stuck_out_tongue:

Nice!

Nice i like that radial blur that is pretty cool reminds me of something you see in a movie were someones been hit over the head.

hey kosmo did you see my perspective zoom
its not exactly a shader effect but i got the idea from your star wars swipes.
I was thinking hyperdrive lol

i just smooth scroll the perspective fov from 180 degrees to like 10 in a few seconds.

1 Like

I’ve made a new shader playground, since I couldn’t think of anything else which would be interesting.

So here’s the first effect, a radial blur with several passes. Pretty fast, too, so I’m happy.

6 Likes

another shader, this time less useful

EDIT

some parameter changes yield interesting results

2 Likes

Ain’t it monogame that has problems with models ? (Ain't there a problem with models and their texture in MG ?)
There is already FBX viewer from autodesk to test models and not only FBX ones.

@kosmonautgames the second gif is hypnotizing me ^^ Would be a nice animated wallpaper

If you test with the autodesk viewer you verify that the exported FBX works with the autodesk viewer. (it’s a tautology but I don’t know how else to explain it!)

A custom viewer also tests that it works correctly with the ModelImporter (either XNA or MG) and the ModelProcessor or your custom AnimationProcessor.

1 Like

Yeah, but monogame is not the best reference to validate a model has been exported “ok”, as it does not load models as well as xna.

It is if what you care about is loading it in your MG game. It’s up to the animator to figure out what export options work, etc.

But I think you want to make some other point. It wasn’t about the viewer in the first place.

1 Like

I was wondering why many devs make their own validator for models, when monogame is not the reference. Maybe a lot of work spent when only monogame needs to be fixed/improved. But I understand it allows to say if a model will work or not with the needs of a particular game.
If every one creates its viewer, isn’t it because monogame(/assimp?) does not import models properly. Just asking.

If you can make that effect move between 3D points, say around a 3D model/scene, not so useless after all… [Gif 1]

Not really. FBX is a complex and very flexible format and not 2 programs implement it 100%. Every 3D tool exports differently and usually comes with a lot of options. It’s about finding the right combination.
The viewer saved us time, because we no longer had to move files back and forth, test them by rebuilding the whole project, etc.

BTW, my viewer was written on XNA! for my second project/game. Long before I knew that MG existed.

1 Like

made a new shader - a bokeh blur

2 Likes

Nice ! it’s a blur process or bokeh sprite? if bokeh sprite, how to do without Geometry shader?

it’s sprites / textures, I just draw quads (all of them in one pass though)

1 Like

how you detect which area to draw?

it’s not depth of field, it’s just a blur on an image, i draw on the complete image.

BUT

I could probably just use it for DOF, if I make the quad size dependent on depth and transform their size in the vertex buffer (similar to basic GPU particles). Unaffected quads have no pixels covered then.

I’ve build a very very basic particle simulation, similar to what I did with the grass for Bounty Road

The idea is to have each particle represented by a pixel in a render target (in the grass example this is not the case!) and solve spring equations for each pixel in this rendertarget.

In the image above i used 128x80 particles, so that’s the size of the rendertarget, too.

I need to have 2 of the rendertargets so they can read from each other. The active rendertarget is switched each frame for this reason. Obviously this is a limitation of using pixel shaders, but I’m fine with that.

The simulation runs at ~2500fps, but I think the limiting factor is something else at that point.

For what it’s worth it still runs with 500 fps with 1280x800 (over a million) particles. At that point I have massive overdraw though, so that’s a thing to consider.

3 Likes

Ooh, that’s cool! I could imagine just that system as a base for a game, looking at that gif :slight_smile:

1 Like

yeah, it’s pretty neat

Here it is with a million small particles that map to an image

4 Likes