Advertisement

How to create a "3D brush" for Direct3D 9 or 11?

Started by April 28, 2018 12:27 AM
1 comment, last by lawnjelly 6 years, 9 months ago

Dear all,

I am not sure what is that called? I want to highlight a certain parts of my mesh(es). Just like when you manipulate a mesh in 3dsmax, you may do a marquee selection, and some parts or objects get highlighted and you can edit them or move them around etc, it's not the gizmo because gizmos are one-point stuff, you know I want to have things like you have in Photoshop (the brushes), when you get a large circle that you can do a lot of painting all at once. Any ideas?

thanks

Jack

I am not a 3dsmax user so I don't know exactly the technique you are specifying, but there is some discussion of similar here:

https://www.gamedev.net/forums/topic/695689-clip-points-hidden-by-the-model/

You may decide to use a different solution depending on whether you are doing a single click or marquee, or if you want to use a continuous brush, where performance of some of the methods could become more of a concern. Note with some of the screen space techniques there could potentially be issues of triangles smaller than a pixel not being selected.

As well as basing your brush on screen space, you could also precalculate the connectivity of the mesh and have the brush 3D.

This topic is closed to new replies.

Advertisement