Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2916 > unrolled thread
| Started by | Lukas Placek <lukas.dobyvatel@centrum.cz> |
|---|---|
| First post | 2015-06-02 00:59 -0700 |
| Last post | 2015-06-02 08:33 -0700 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
How to properly visualize polygons by splot ? Lukas Placek <lukas.dobyvatel@centrum.cz> - 2015-06-02 00:59 -0700
Re: How to properly visualize polygons by splot ? Ethan A Merritt <EAMerritt@gmail.com> - 2015-06-02 08:33 -0700
| From | Lukas Placek <lukas.dobyvatel@centrum.cz> |
|---|---|
| Date | 2015-06-02 00:59 -0700 |
| Subject | How to properly visualize polygons by splot ? |
| Message-ID | <47c24b68-c5f7-49d0-8b95-3c6bd60edce7@googlegroups.com> |
Hello everybody, I am trying to visualize some polygons in 3D. When I rotate the visualized polygons, the rendering is obviously done wrongly. It looks like the polygons are drawn in the order I defined them and not from back to front. Does anybody know what needs to be done to get the right rendering ? Thank you very much Lukas I draw polygons by this command: set object 1 polygon from 0.912E-01, 0.331E-01, -0.327E-01 to 0.913E-01, 0.328E-01, -0.324E-01 to 0.917E-01, 0.327E-01, -0.323E-01 to 0.917E-01, 0.331E-01, -0.326E-01 to 0.912E-01, 0.331E-01, -0.327E-01 fillstyle solid border 15 fillcolor rgb "#8B8989" and use splot to view what I have drawn.
[toc] | [next] | [standalone]
| From | Ethan A Merritt <EAMerritt@gmail.com> |
|---|---|
| Date | 2015-06-02 08:33 -0700 |
| Message-ID | <mkki97$ilt$1@dont-email.me> |
| In reply to | #2916 |
Lukas Placek wrote: > Hello everybody, > I am trying to visualize some polygons in 3D. When I rotate the > visualized polygons, the rendering is obviously done wrongly. It looks > like the polygons are drawn in the order I defined them and not from > back to front. Correct. Gnuplot draws objects in the order the are defined, not based on coordinates. Also gnuplot does not calculation occlusion of solid objects, except for the case of surfaces drawn with "set hidden3d". > Does anybody know what needs to be done to get the > right rendering ? Thank you very much Lukas > > I draw polygons by this command: > set object 1 polygon from 0.912E-01, 0.331E-01, -0.327E-01 to > 0.913E-01, 0.328E-01, -0.324E-01 to 0.917E-01, 0.327E-01, > -0.323E-01 to 0.917E-01, 0.331E-01, -0.326E-01 to 0.912E-01, > 0.331E-01, -0.327E-01 fillstyle solid border 15 fillcolor rgb > "#8B8989" > > and use splot to view what I have drawn.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web