You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find myself in a lot of scenarios where text over an object or spot would be helpful for a debug view.
for example I was creating a verlet integration system and rendering it with DebugDraw3D but kept forgetting
the indexes for points and so I needed to instantiate Label3Ds and position them.
But I think having the ability with just one line to do that would be nice enchantment
Just having a few new functions available along the lines of:
DebugDraw3D.draw_text_xf(transform, message, colour)
this one would be a plane which takes the transform
DebugDraw3D.draw_text(position, message, colour)
this one would be a billboard which face the camer located at the specified position
and for fancy people you could add like is_centred or bbcode enabled
that's all I`ve got to say.
Have a nice day.
Implementation Ideas
Under the hood it could just be instantiating Label3Ds and moving them about.
To optimize it a bit they could be pooled.
The text was updated successfully, but these errors were encountered:
Under the hood it could just be instantiating Label3Ds and moving them about.
Yes, that would be the easiest solution. And as far as I remember, it is impossible to draw text without nodes (a 2d text mesh is generated in the node itself).
Feature description
I find myself in a lot of scenarios where text over an object or spot would be helpful for a debug view.
for example I was creating a verlet integration system and rendering it with DebugDraw3D but kept forgetting
the indexes for points and so I needed to instantiate Label3Ds and position them.
But I think having the ability with just one line to do that would be nice enchantment
Just having a few new functions available along the lines of:
DebugDraw3D.draw_text_xf(transform, message, colour)
this one would be a plane which takes the transform
DebugDraw3D.draw_text(position, message, colour)
this one would be a billboard which face the camer located at the specified position
and for fancy people you could add like
is_centred
orbbcode enabled
that's all I`ve got to say.
Have a nice day.
Implementation Ideas
Under the hood it could just be instantiating Label3Ds and moving them about.
To optimize it a bit they could be pooled.
The text was updated successfully, but these errors were encountered: