Quake3World.com Forums
     Level Editing & Modeling
        is there a way to target MD3 vertex groups with a shader?


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: is there a way to target MD3 vertex groups with a shader?

Trainee
Trainee
Joined: 22 Jun 2014
Posts: 49
PostPosted: 10-17-2017 12:17 PM           Profile Send private message  E-mail  Edit post Reply with quote


What I have: an MD3 comprised of two meshes (body & boils), one mesh has a deform vertex shader (the boils).

video: https://youtu.be/kx1d94uKFLw

What I want: i'd like the two meshes to be connected, as in the parameter vertices of the boils are part of the body mesh, but only the boils receive the shader. what is the best way to do this, if any?



_________________
KillPixel@YouTube


Top
                 

visual prowess
visual prowess
Joined: 30 Jul 2004
Posts: 1254
PostPosted: 10-17-2017 03:27 PM           Profile Send private message  E-mail  Edit post Reply with quote


What do you mean by the parameter verticies of the boils? Looking at that video you already have the desired effect (boils move and the body doesn't) Do you mean you want the verts on the boils that are touching the body to not clip into the body itself?



_________________
CAPSLOCK IS ON


Top
                 

Trainee
Trainee
Joined: 22 Jun 2014
Posts: 49
PostPosted: 10-17-2017 05:04 PM           Profile Send private message  E-mail  Edit post Reply with quote


I'm sorry, I meant perimeter of the boils, not parameter :P

In other words, I'd like the outer verts of the boils to be attached to the body mesh by their vertices. Another way to think about this is having a single mesh but with specific vertices affected by the shader, in this case, only the vertices that make up the boils would be affected.

I hope this is more clear?



_________________
KillPixel@YouTube


Top
                 

visual prowess
visual prowess
Joined: 30 Jul 2004
Posts: 1254
PostPosted: 10-17-2017 07:48 PM           Profile Send private message  E-mail  Edit post Reply with quote


Sort of. Is this a player model? The video you show, the body doesn't move but the boils move, which is what you want apparently... Are those 2 seperate md3 models you're showing, and theyre just overlapping? Or do you want the vertexes of the boils that are connected to the body to not deform? If the latter, that's probably not possible.



_________________
CAPSLOCK IS ON


Top
                 

Trainee
Trainee
Joined: 22 Jun 2014
Posts: 49
PostPosted: 10-18-2017 08:03 AM           Profile Send private message  E-mail  Edit post Reply with quote


not a player model. It's a single md3 comprised of 2 objects (so I could assign 2 separate materials, 1 for the body and one for the boils with deformvertexes).

Quote:
you want the vertexes of the boils that are connected to the body to not deform?


correct.

Quote:
that's probably not possible.


I was afraid of that :/



_________________
KillPixel@YouTube


Top
                 
Quake3World.com | Forum Index | Level Editing & Modeling


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.