Jump to content


Photo

MD3 models?


37 replies to this topic

#26 Bikerdude

Bikerdude

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 18094 posts

Posted 20 February 2017 - 06:01 AM

I remember SteveL working on something like this, that encompassed the whole volume of water as well as the top surface...



#27 Arcturus

Arcturus

    Advanced Member

  • Development Role
  • PipPipPip
  • 1570 posts

Posted 20 February 2017 - 02:04 PM

You can download all the files here.


  • Bikerdude, SiyahParsomen, nbohr1more and 1 other like this

It's only a model... /// My channel on YouTube /// CGtrader , Turbosquid


#28 Arcturus

Arcturus

    Advanced Member

  • Development Role
  • PipPipPip
  • 1570 posts

Posted 20 February 2017 - 04:08 PM

You're gonna need HeatHazeWithAlphaDepth.vfp if you want to use material from the video.


  • Anderson likes this

It's only a model... /// My channel on YouTube /// CGtrader , Turbosquid


#29 Epifire

Epifire

    Member

  • Member
  • PipPip
  • 299 posts

Posted 21 February 2017 - 12:41 AM

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).


Needing dem environment models?


Speak to the EPI!


Or rummage my online mesh repository instead...  https://www.mediafire.com/folder/7q1r8him1y63d/TDM%20Repository


#30 Arcturus

Arcturus

    Advanced Member

  • Development Role
  • PipPipPip
  • 1570 posts

Posted 21 February 2017 - 01:53 AM

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... /// My channel on YouTube /// CGtrader , Turbosquid


#31 Epifire

Epifire

    Member

  • Member
  • PipPip
  • 299 posts

Posted 21 February 2017 - 03:34 AM

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.


Needing dem environment models?


Speak to the EPI!


Or rummage my online mesh repository instead...  https://www.mediafire.com/folder/7q1r8him1y63d/TDM%20Repository


#32 HMart

HMart

    Member

  • Member
  • PipPip
  • 486 posts

Posted 21 February 2017 - 11:00 AM

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, 21 February 2017 - 11:13 AM.


#33 Bikerdude

Bikerdude

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 18094 posts

Posted 21 February 2017 - 11:50 AM

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.



#34 HMart

HMart

    Member

  • Member
  • PipPip
  • 486 posts

Posted 21 February 2017 - 01:09 PM

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. :)



#35 Arcturus

Arcturus

    Advanced Member

  • Development Role
  • PipPipPip
  • 1570 posts

Posted 21 February 2017 - 03:18 PM

*
POPULAR

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.

It's possible to bake the simulation and export to .mdd files. Then you can use two Mesh Cache modifiers, like this guy explained. I haven't tried that yet.

Here's the same animated mesh with similar water shader to what I used here.

 

 

Unfortunately, as you can see it's buggy and water geometry disappears.


  • Bikerdude, HMart, Epifire and 5 others like this

It's only a model... /// My channel on YouTube /// CGtrader , Turbosquid


#36 HMart

HMart

    Member

  • Member
  • PipPip
  • 486 posts

Posted 21 February 2017 - 07:40 PM

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.  


  • Epifire likes this

#37 Arcturus

Arcturus

    Advanced Member

  • Development Role
  • PipPipPip
  • 1570 posts

Posted 22 February 2017 - 12:15 PM

Here are the files for the second test. I use player model's skin set to nodraw to disable reflections. Hood is still visible in the reflection.


  • HMart and Epifire like this

It's only a model... /// My channel on YouTube /// CGtrader , Turbosquid


#38 Arcturus

Arcturus

    Advanced Member

  • Development Role
  • PipPipPip
  • 1570 posts

Posted 01 March 2017 - 01:45 PM

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.


  • Bikerdude, rich_is_bored and HMart like this

It's only a model... /// My channel on YouTube /// CGtrader , Turbosquid




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users