scp-fs2open / scp-fs2open/fs2open.github.com

FR: Omnisprite option for weapon projectiles

Open
#3,681 7 comments 0 reactions 1 assignee Claimed by @Baezon View on GitHub
feature graphics
Dominant language
C++
Stars
487
Forks
184
Avg merge
3d 9h
Merged PRs (30d)
44

Description

Laser bitmaps behave like _directional billboards_, rotating to face the camera only around a single axis -- the direction of movement. However, it would often be useful to have bitmaps attached to projectiles which behave like _omnisprites_, rotating around arbitrary axes to face the camera and having a constant upward orientation with respect to it. This is especially useful for effects like lens flares.

Current options for doing this are limited and hacky. Therefore, I request a dedicated feature for attaching static or animated omnisprite bitmaps to weapons, completely separate from (and therefore usable in addition to) the projectile's model or laser bitmap. The ability to control the size of the bitmap would be desirable for obvious reasons, as would the ability to adjust its location relative to the weapon's center.

Proposed syntax:

$Omnisprite bitmap: _string_
+Omnisprite center: _vector_
+Omnisprite radius: _float_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.