Skip to content

View "data-normal" of Hotspots in Blender #4306

Answered by Trolli991
Trolli991 asked this question in Q&A
Discussion options

You must be logged in to vote

I have actually had similar ideas. First I worked with a system that emulated the normal data via the direction vector between a camera and the empty. But this worked only sometimes and I could not find the error. I am now working with a method where the nearest surface normal of the nearest object is copied as normal data.

So I have a blender scene with one or more objects and position my emptys around the object. the emptys should be named hotspot-xx. If you add a "|" in the name and another text behind it, the text will be used as label for the later hotspot. So for example: "hotspot-07 | Astronaut Helmet"

Attached the code, if someone needs a similar solution

import bpy
from mathutils…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@elalish
Comment options

@Trolli991
Comment options

Answer selected by Trolli991
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants