SCM

[#6295] webgl output for wire3d identical to shade3d

Date:
2016-02-24 12:00
Priority:
3
State:
Closed
Submitted by:
Michael Sumner (mdsumner)
Assigned to:
Nobody (None)
Hardware:
PC
Product:
None
Operating System:
other
Component:
None
Version:
None
Severity:
normal
Resolution:
Won't Fix
URL:
Summary:
webgl output for wire3d identical to shade3d

Detailed description
writeWebGL does not produce a wireframe from wire3d - the result is as if shade3d was run

This code produces a webpage and launches the page to illustrate.

library(rgl) # 0.95.1441 from CRAN
x <- oh3d()
wire3d(x)
writeWebGL("wire")
utils::browseURL(normalizePath("wire/index.html"))


The page should show a quad wireframe, like the rgl device.

Cheers, Mike.

Comments:

Message  ↓
Date: 2016-02-24 12:02
Sender: Duncan Murdoch

This is behaving as documented. WebGL doesn't support drawing polygon outlines. If you want lines, you'll have to draw lines or segments.

Attached Files:

Changes

Field Old Value Date By
status_idOpen2021-02-02 18:03murdoch
close_dateNone2021-02-02 18:03murdoch
ResolutionNone2016-02-24 12:02murdoch
Thanks to:
Vienna University of Economics and Business Powered By FusionForge