NetLogo / NetLogo/NetLogo

Allow user to change background/wireframe color in 3D mode

Open
#618 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3d gui
Dominant language
Scala
Stars
1.2k
Forks
272
PR merge metrics
No merged PRs in 30d

Description

From Aaron Bramson:

I am writing to again request the option for a white background for the 3D plots. For papers, posters, and presentations, the black background is bad (literally unacceptable for some journals) for screenshots. Real bad. This makes Netlogo3D useless for model visualizations for "real research", which is one of its (otherwise) strongest features. Adding a white background option should be super fast/easy to add as a check box in the 3D display settings dialogue.

This would include a change to glColor3f command in WorldRenderer->renderWorldWireframe, as well as the glClearColor in Renderer->init to be linked to either a __ command or an interface option. Because this is run in init, this code may not be satisfactory for changing the color on the fly.

Contributor guide

No contributing guide indexed for this repository

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

Start by reading WorldRenderer->renderWorldWireframe and Renderer->init, then locate the 3D display settings dialog mentioned in the issue. Trace how the wireframe and background colors are initialized and determine how the selected option should affect them. Done means a user can choose a white background or alternate wireframe color for 3D plots.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.