google-code-export / stoqs

Automatically exported from code.google.com/p/stoqs
GNU General Public License v3.0
1 stars 1 forks source link

Parameter-Parameter 3D plots not showing color #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable Parameter-Parameter radio buttons in Measured Parameters
2. Select for plotting Parameters for X, Y, Z, and C

What is the expected output? What do you see instead?

Expect to see colored points in the 3D scatter plot, instead all points are 
black.

Original issue reported on code.google.com by MBARIm...@gmail.com on 6 Nov 2014 at 9:22

GoogleCodeExporter commented 9 years ago
Examining the scene graph following update here is the X3D:

                                                    <pointset solid="true" ccw="true" usegeocache="true" lit="true">
                                                        <color id="pointsetcolors" color="0.625 0.000 0.629 0.625 0.000 0.629 0.600 0.000 0.626 0.575 0.000 0.622 0.625 0.000 0.629 0.600 0.000 0.626 0.625 0.000 0.629 0.625 0.000 0.629 "></color>
                                                        <coordinate id="pointsetcoordinates" point="9831 4821 81 8352 4594 84 8268 4647 85 9831 4821 80 9556 4761 82 8268 4631 84 8712 4553 83 9363 4594 82 "></coordinate>
                                                    </pointset>

Need to independently verify that this is correct. Perhaps it's an x3dom bug? 
It did seem to work before.

Original comment by MBARIm...@gmail.com on 6 Nov 2014 at 9:26

GoogleCodeExporter commented 9 years ago
STOQS code was updating just the color attribute of the Color element. (This 
may have worked in a previous version of X3DOM.)

Trying out using the same technique as is done for the Spatial-3D display where 
the whole Shape node is updated with color and coordinates together...

Original comment by MBARIm...@gmail.com on 31 Jan 2015 at 1:09

GoogleCodeExporter commented 9 years ago
Fixed by 
https://code.google.com/p/stoqs/source/detail?r=4cca8565ef6af9e1210e29851cf37db3
a1e4bf75

Original comment by MBARIm...@gmail.com on 4 Feb 2015 at 5:01