search for: drawscen

Displaying 5 results from an estimated 5 matches for "drawscen".

Did you mean: drawscene
2008 Nov 21
3
Dynamic generation of a (sub) layout
...is of type FXVerticalFrame and is itself a child of another frame. def generateUVSelectors @selectUVFrame.each_child{|c| @selectUVFrame.removeChild(c)} FXButton.new(@selectUVFrame, "&Clear All", nil, nil, 0,).connect(SEL_COMMAND){ @selectedUVs.each{|cb| cb.setCheck(false)} drawScene } FXButton.new(@selectUVFrame, "&Set All", nil, nil, 0).connect(SEL_COMMAND){ @selectedUVs.each{|cb| cb.setCheck(true)} drawScene } selectMatrix = FXMatrix.new(@selectUVFrame, 4, MATRIX_BY_COLUMNS) @selectedUVs = [] uvs.length.times{|i| @selectedUVs << FXCheckB...
2006 Oct 16
0
No window decorations for simple glut app on compiz/aiglx?
...ults when passing -direct or -indirect on command line. It works as expected when compiz isn't the WM. Can anyone else confirm they see this too? Any suggestions on how to fix this up? Thanks much, Sean P.S. compiled with -lGL -lglut and using r300 driver. #include <GL/glut.h> void DrawScene(void) { glClearColor(0.5, 0.0, 0.0, 0.0); glClear(GL_COLOR_BUFFER_BIT); glColor3f(0.0, 0.1, 1.0); glutSolidTeapot(0.6); glFlush(); } int main(int argc, char *argv[]) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE|GLUT_RGB); glutCreateWindow(argv[0]); glutDisplayFunc(DrawScen...
2013 Mar 10
1
misc3d Contour export to vtk
...K and it worked well enough, except the top of the ball (the contour) was missing. Example below, or gist here: https://gist.github.com/muschellij2/5126544 rm(list=ls()) require(misc3d) f <- function(x, y, z) x^2+y^2+z^2 x <- seq(-2,2,len=20) ball <- contour3d(f,4,x,x,x, draw=FALSE) drawScene.rgl(ball) ### get the triangles allids <- rgl.ids() id <- allids$id[allids$type == "triangles"] filename="test.vtk" f <- file(filename, open = "w") start <- c("# vtk DataFile Version 3.0", "3D Plot data", "ASCII")...
2013 Jan 24
0
Creating a "scene" with plot3d or point3d
...riangles to the function makeTriangles. Is there also a way to turn the data that are used by "plot3d" into a scene? I would like to write: --- 8< --------- M <- matrix(runif(12),4) plot3d(M) ### Some secretes operations that turn M into a Mscene Mscene <- turn.M.into.Scene(M) drawScene(Mscene) --- 8< --------- Any idea? Thanks Christophe -- View this message in context: http://r.789695.n4.nabble.com/Creating-a-scene-with-plot3d-or-point3d-tp4656522.html Sent from the R help mailing list archive at Nabble.com.
2010 Mar 15
1
Eliminate border in wireframe plot
How can I eliminate the border drawn by default around a wireframe plot? I've tried using border=NA and box=FALSE to no avail. Scott Waichler Pacific Northwest National Laboratory scott.waichler at pnl.gov