secondlife / secondlife/viewer

Make 100% transparent faces green when highlighting transparent faces

Open
#2,937 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Currently, the viewer renders Alpha Mask items Blue, but does not render 100% transparent items differently to Alpha Blend.

This can make it difficult to find Alpha Blend items in the scene, because they cannot be differentiated from 100% transparent items like probes.

I think it would be good if the viewer didn't render 100% transparent faces with a red highlight but instead a green highlight.

I think the green color is appropriate when you consider performance - 100% transparent faces are skipped by the viewers renderer completely, masked items have some performance impact but lower than blended items, so the red blue green would also make for an easy way for residents to classify performance and explain it to each other.

https://secondlife.canny.io/admin/board/feature-requests/p/make-100-transparent-faces-green-when-highlighting-transparent-faces

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source file or test; begin by locating the viewer code that highlights transparent faces and trace how Alpha Mask, Alpha Blend, and 100% transparent items are distinguished. Done means 100% transparent faces receive a green highlight while Alpha Mask and Alpha Blend remain distinguishable, with coverage for the changed highlighting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.