POV-Ray : Newsgroups : povray.binaries.utilities : Rainbow: Gradient Editor for POV-Ray : Rainbow: Gradient Editor for POV-Ray Server Time
3 Dec 2024 22:11:04 EST (-0500)
  Rainbow: Gradient Editor for POV-Ray  
From: LanuHum
Date: 9 May 2015 06:55:01
Message: <web.554de6ee65f2fc7a3e03fe0@news.povray.org>
For creation and animation of long color_maps I write the utility which will be
a part of my Blender-Povray alternative exporter.
Now it in such state that everyone for creation of color_map can use it, it will
be impossible to use it separately from Blender because of the added BlenderAPI
code later.
The utility is written on Python3 and demands installation in system of the
Python3 interpreter and Python3-PySide or Python3-PyQt4 modules
If there is an interest, it is possible to follow the link and save file as
editor.py
https://raw.githubusercontent.com/Lanuhum/BlendPov-alternative/master/povray/pyside/editor.py
Start:
python3 editor.py

Use:
Guide the cursor at a widget, to read ToolTip.
1. If widget 'Gradient' or 'Gradient (scaled)':
1.1. RMB (click): add element.
1.2. LMB (click): select element.
1.3. LMB (click and move): move element.
1.4. Key 'Delete': delete element.
1.5. Key 'Enter': deselect element.
2. If widget 'Color':
2.1. RMB: gray or rgb.
2.2. LMB: select color.
3. If widget 'Filter' or 'Transmit':
any Mouse Button click or click and move.
4. Open file: .txt with the lines map.
5. Save file: .inc with the macro.

You will be able to create color_maps long in one thousand and more lines


Post a reply to this message


Attachments:
Download 'rainbow_utils.jpg' (67 KB)

Preview of image 'rainbow_utils.jpg'
rainbow_utils.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.