Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Got an update...

 

 

And the package, md5test.pk4 including the example map, models, and scriptobject required to make use of this yourself.

 

My Blender skills are pretty rough but considering Vertex anims aren't near as much of a pain as adding bones, I'd be really interested in learning this method. Animations are the one thing I'd really like to press more in my skill set. Probably targeting cloth simulations to start with, but I'm really curious as to how this would look with a fully sculpted out cloth asset (like a flag or a curtain).

Modeler galore & co-authors literally everything

 

 

Posted

There's plenty of tutorials. This one has been posted just couple of days ago:

 

 

The problem with physics simulations is that they don't naturally loop so you have to use some tricks to do that. You could make a simple flag with a wave modifier too, but it wouldn't be as realistic.

It's only a model...

Posted

If I were to have enough control on the frames I would try and make a longer simulation. Find a low point in velocity (somewhere in the middle of the simulation) and split the animation frames and loop them back to the start. Practically what you'd do to seamlessly loop a gif. Then again I don't know how the organizational tools are for that kind of method. In theory it's simple but if the tools don't permit it would be practically useless to attempt.

 

You'd heard my previous thoughts at animations machines in the past, but I am serious at getting some fundamental animation skills down eventually. I just didn't know if I was gonna try for Blender or wait till I move from Softimage to MayaLT.

Modeler galore & co-authors literally everything

 

 

Posted (edited)

Here's a 50-frame md3 waves animation with animated texture.

 

 

I used this experimental shader by SteveL with addition of specular reflections. It looks great on the shore. Too bad that further away all the reflections and refractions are masked leaving only the diffusemaps.

 

Very nice! :)

 

Now if only the water physics were a thing we would see the boat bob up and down. :wub:

 

About reflections that is totally the contrary to what it should be, the far away the water is more reflective it should be to the point of being a perfect mirror, that is the principle of Fresnel, refraction on the other end and afaik works has it should, the far way the water surface is the more opaque it is in relation to your eyes, the principle of IOR.

 

If some day you guys or anyone working with idtech 4 implant PBR, this stuff will need to be considered.

 

Btw about vertex shader vs md3 animation, there's some things a vertex shader can give you guys that md3 can't, one better performance (runs on the GPU), two no md3 vertex and frame limitations, three dynamically change the displacement at run time, for example make the water waves bigger or spiderweb motion faster based on wind strength, four less complex to setup and more noob friendly, no need to know how to animate on a 3D app, just change some shader parms and that's it and this paired with normal map or parallax map animation is very powerful.

 

 

p.s - Can't you apply the SteveL soft particle edges to the water surface? In that way you don't have that hard line at the shore. :)

Edited by HMart
Posted

Now if only the water physics were a thing we would see the boat bob up and down. :wub:

In time with the crests of the wave's, in fact if you know the frequency could you not have a script that that stated the animation and a func_bob entity at the same time.

Posted

In time with the crests of the wave's, in fact if you know the frequency could you not have a script that that stated the animation and a func_bob entity at the same time.

 

Hum, don't really see why not, just make a idle animation where the boat rocks a little side to side and the up and down movement could be made with a func_bob, is just a matter of trying it. :)

Posted

If it was not for the shader bugs that water would be almost perfect.

 

And perhaps some day a LOD system could be introduced into the engine, specially for water and terrain like dynamic tessellation, one can dream.

  • Like 1
Posted

I updated the animated flag. 250 frames. In the video it's played at 60 FPS.

 

 

I thought that disappearing of md3 meshes was because of mirror rendermap, but it also happens without it. Interestingly when you turn on the lantern some of the models are rendered again. Here's the md3.

  • Like 4

It's only a model...

  • 1 year later...
Posted (edited)

That really looks awesome, btw i don't know how heavy on performance MD3's really are, compared to bone animation but if they are heavy, then IMO is somethings that would benefit immensely from a LOD system, for example at longer distances instead of always showing 275 frames you could bring them way down, the animation will not be that smooth but at the distance i bet is almost unnoticeable.

 

Cobwebs is not something that you will use very often so perhaps the work of making a LOD system just for this is not worth it, but with LOD you could have a room full of cobwebs, for a big spider lair or something and potentially have better performance.

Edited by HMart
Posted

I don't know if you can set FPS per model. Right now there's one script per map where FPS is set. It's tied to game's FPS here. You could make a shorter version but I don't know if that would have any benefit. You could make a static LOD.

It's only a model...

Posted

Really cool work, Arcturus. I wonder if you could post the blend file as well, I would be really interested in seeing how you were able to export the animation without bones...

Posted

Here's the blend file. First layer is cloth physics simulation. Then I exported it to .mdd file and re-imported using mesh cache modifier (second layer). To export use "md3 (+shaders)" addon v1.6.4. There's another one that doesn't work.

  • Like 1

It's only a model...

Posted

Tangentially related to the MD3 animated water: did anyone see this?

It's fhdoom, it's a bit buggy but I really dig it. Afaik this should work in vanilla though. [...] I noticed TDM has taken to use MD3 to achieve a similar result which is probably faster anyway.


 

When I tried it, after changing "inherit" to "spawnclass" I got splashes but no visual model (I tried both material and texture paths in the 'shader' line), so maybe fhdoom did something to enable it.

Some things I'm repeatedly thinking about...

 

- louder scream when you're dying

Posted

I've seen this idclass on fhDoom before but it was totally commented out! Like the md3 loader i never thought this would work so i personally let it pass, what more is hidden on this engine!

Posted

I've seen this idclass on fhDoom before but it was totally commented out! Like the md3 loader i never thought this would work so i personally let it pass, what more is hidden on this engine!

It turns out people were proposing to remove MD3 support in 2014 because it wasn't being used. It that cleanup effort had gone ahead this thread wouldn't exist.

Some things I'm repeatedly thinking about...

 

- louder scream when you're dying

Posted

Yes sometimes some decisions are bad decisions but at the time they seemed to be the best ones, unfortunately we don't have the ability to predict what the future brings.

 

Fortunately in this case no one removed md3 support but even if they did, this ability could be made by other means, for example using vertex shaders.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • JackFarmer

      "Hidden Hands: Vitalic Fever" - new update available including subtitles & compressed briefing video (thanks to @datiswous) and several fixes.
      · 0 replies
    • Wolfmond

      🇬🇧

      2025-04-20
      I'd like to track my level design progress a bit more often now, so I'm using the feed in my profile here.
      I've been working intensively on Springheel's YouTube course over the past few days. I'm currently up to lesson 8. There is so much information that needs to be processed and practiced. 
      I have started to create my own house. As I don't have the imagination to create a good floor plan, I grabbed a floor plan generator from Watabou and experimented with it. I chose a floor plan that I will modify slightly, but at least I now have an initial idea. 
      I used two guards as a measuring tape: The rooms are two guards high. It turned out that I can simply double the number of boxes in DarkRadiant in grid size 8 that are drawn in the floor plan. 
      I practiced the simplest things on the floor plan first. Drawing walls, cutting walls, inserting doors, cutting out frames, creating VisPortals, furnishing rooms.
      I have had my first success in creating a book. Creating a book was easier than I thought. I have a few ideas with books. The level I'm creating will be more or less a chill level, just for me, where I'll try out a few things. I don't have an idea for my own mission yet. I want to start small first.
      For the cellar, I wanted to have a second entrance, which should be on the outside. I'm fascinated by these basement doors from the USA, I think they're called Bilco basement doors. They are very unusual in Germany, but this type of access is sometimes used for deliveries to restaurants etc., where barrels can be rolled or lifted into the cellar. 
      I used two Hatch Doors, but they got completely disoriented after turning. I have since got them reasonably tamed. It's not perfect, but it's acceptable. 
      In the cellar today I experimented with a trap door that leads to a shaft system. The rooms aren't practically finished yet, but I want to continue working on the floor plan for now. I'll be starting on the upper floor very soon.

      __________________________________________________________________________________
      🇩🇪

      2025-04-20

      Ich möchte nun mal öfters ein bisschen meinen Werdegang beim Leveldesign tracken, dazu nutze ich hier den Feed in meinem Profil.
      Ich habe mich in den vergangenen Tagen intensiv mit dem Youtube-Kurs von Springheel beschäftigt. Aktuell bin ich bis zu Lektion 8 gekommen. Das sind so viele Informationen, die erstmal verarbeitet werden wollen und trainiert werden wollen. 

      Ich habe mich daran gemacht, ein eigenes Haus zu erstellen. Da mir die Fantasie fehlt, einen guten Raumplan zu erstellen, habe ich mir einen Grundrissgenerator von Watabou geschnappt und damit experimentiert. Ich habe mich für einen Grundriss entschieden, den ich noch leicht abwandeln werde, aber zumindest habe ich nun eine erste Idee. 

      Als Maßband habe ich zwei Wächter genommen: Die Räume sind zwei Wächter hoch. Es hat sich herausgestellt, dass ich in DarkRadiant in Gittergröße 8 einfach die doppelte Anzahl an Kästchen übernehmen kann, die im Grundriss eingezeichnet sind. 

      Ich habe bei dem Grundriss erstmal die einfachsten Sachen geübt. Wände ziehen, Wände zerschneiden, Türen einsetzen, Zargen herausschneiden, VisPortals erstellen, Räume einrichten.

      Ich habe erste Erfolge mit einem Buch gehabt. Das Erstellen eines Buchs ging leichter als gedacht. Ich habe ein paar Ideen mit Bücher. Das Level, das ich gerade erstelle, wird mehr oder weniger ein Chill-Level, einfach nur für mich, bei dem ich ein paar Sachen ausprobieren werde. Ich habe noch keine Idee für eine eigene Mission. Ich möchte erst einmal klein anfangen.

      Beim Keller wollte ich gerne einen zweiten Zugang haben, der sich außen befinden soll. Mich faszinieren diese Kellertüren aus den USA, Bilco basement doors heißen die, glaube ich. Diese sind in Deutschland sehr unüblich, diese Art von Zugängen gibt es aber manchmal zur Anlieferung bei Restaurants etc., wo Fässer dann in den Keller gerollt oder gehoben werden können. 
      Ich habe zwei Hatch Doors verwendet, die allerdings nach dem Drehen vollkommen aus dem Ruder liefen. Inzwischen habe ich sie einigermaßen gebändigt bekommen. Es ist nicht perfekt, aber annehmbar. 
      Im Keller habe ich heute mit einer Falltür experimentiert, die zu einem Schachtsystem führt. Die Räume sind noch quasi nicht eingerichtet, aber ich möchte erstmal am Grundriss weiterarbeiten. In Kürze fange ich das Obergeschoss an.



      · 2 replies
    • JackFarmer

      On a lighter note, thanks to my cat-like reflexes, my superior puzzle skills and my perfect memory, I was able to beat the remastered version of "Tomb Raider: The Last Revelation" in a new superhuman record time of 23 h : 35 m, worship me!
      · 3 replies
    • Goblin of Akenash

      My mapping discord if anyone is interested, its more of a general modding thing rather than just for TDM 
      https://discord.gg/T4Jt4DdmUb

       
      · 0 replies
    • nbohr1more

      2.13 Moddb Article is up: https://www.moddb.com/mods/the-dark-mod/news/the-dark-mod-213-is-here
      · 1 reply
×
×
  • Create New...