Skip to content

DEV-5294 include opacity for pyplasm#40

Merged
lukaspetr merged 3 commits intomasterfrom
DEV-5294-include-opacity-for-pyplasm
Jun 9, 2025
Merged

DEV-5294 include opacity for pyplasm#40
lukaspetr merged 3 commits intomasterfrom
DEV-5294-include-opacity-for-pyplasm

Conversation

@afreyer
Copy link
Collaborator

@afreyer afreyer commented Jun 9, 2025

  • Enhanced BASEOBJ class and COLOR function to support material properties:
  • Add opacity and shininess attributes to BASEOBJ constructor
  • Update VIEWBASE function to pass material properties to visualizer
  • Extend COLOR function with opacity and shininess parameters
  • Include validation for opacity and shininess values (0.0-1.0 range)

afreyer added 3 commits June 9, 2025 16:26
…rt to objects

Enhanced BASEOBJ class and COLOR function to support material properties:
- Add opacity and shininess attributes to BASEOBJ constructor
- Update VIEWBASE function to pass material properties to visualizer
- Extend COLOR function with opacity and shininess parameters
- Include validation for opacity and shininess values (0.0-1.0 range)
- Correct variable names in opacity/shininess assignment
- Replace 'object' with 'obj' and 'x' in COLOR function to fix
attribute assignment for material properties.
Move opacity and shininess assignment to setcolor method and extract
alpha from RGBA color lists. This centralizes material property
management and ensures consistent RGB storage for visualization.
@afreyer afreyer requested a review from lukaspetr June 9, 2025 19:09
@afreyer afreyer self-assigned this Jun 9, 2025
@lukaspetr lukaspetr merged commit ac0e003 into master Jun 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants