#Drawing on objects

1 messages · Page 1 of 1 (latest)

pliant geode
#

I want to implement a drawing mechanic on objects, similar to what's implemented in the game SuchArt: Genius Artist Simulator - https://store.steampowered.com/app/1293180/SuchArt_Genius_Artist_Simulator

But I only want a simple mechanic for drawing with a black marker on the surfaces of various objects.

Could you please help me create such a mechanic in Unity 6.2?😄

In SuchArt you are a genius artist living in the year 2130. Make the best of the space studio you own. Create art with a large variety of tools, sell your works, get famous and upgrade your studio! Let your imagination run wild and create the art of your dreams!PAINT EVERYWHERE
Turn the world around you into a huge canvas and do whatever you…

Price

$24.99

Recommendations

3667

▶ Play video
lean imp
#

There’s quite a lot involved with doing this. There’s a very good chance this game was made using: https://assetstore.unity.com/packages/tools/painting/paint-in-3d-26286

If this is what you’re going for, then this package pretty much does it all. It also comes with over 100 (!) demo scenes showing how each and every component works. I’m using it in my project and have managed to easily extend it for some very sophisticated use cases specific to my game and internals.

Get the Paint in 3D package from Carlos Wilkes and speed up your game development process. Find this & other Painting options on the Unity Asset Store.

plush grove
#

If you want to DIY it, the key idea is that a raycast that hits a mesh collider can tell you the UV coordinate for the point that it hit.

This lets you go over to a texture and draw on it.

Of course, this doesn't handle seams in the UV map (:

steady bronze
#

Make a script that can plot lines, then have it detect when input down occurs, takes that coordinate, plots the path keeping the coords in a list or array, on mouse up it stops and fills in the gaps

plush grove
#

oh yeah, you could also just draw lines on top of surfaces

#

that is dramatically simpler :p

#

you can use a LineRenderer for that

strange abyss