-
Ok, thanks.
2010-01-05 05:50:32 UTC by gmarris
-
Thanks for pointing this out. The problem is that the oblique projections do not (yet) work with billboard labels. For now, use `settings.autobillboard=false;`.
2010-01-05 03:43:31 UTC by jcbowman
-
Hello,
After discussion with Philippe I. and Olivier G, there is maybe a problem of label with ObliqueX and OpenGL.
Exemples 1 and 2 here :
http://www.marris.org/asymptote/Positions_relatives/index.html
Gaétan M.
2010-01-04 23:20:47 UTC by gmarris
-
Try this:
import three;
import solids;
size(64-3);
currentprojection=orthographic(10,5,7);
picture pic;
revolution planet=sphere(O,1);
draw(pic,surface(planet),orange);
path3[] p=reverse(scale3(2)*unitcircle3)^^scale3(1.2)*unitcircle3;
draw(pic,surface(p,planar=true),gray);
add(rotate(35,X)*pic,Fill(black));.
2010-01-04 17:46:54 UTC by jcbowman
-
Isn't this a warning message, not an error message?
It means you need to upgrade to [freeglut-2.6.0.tar.gz][1].
tar -zxf freeglut-2.6.0.tar.gz
cd freeglut-2.6.0
./configure --prefix=/usr
make install
[1]: http://prdownloads.sourceforge.net/freeglut/freeglut-2.6.0.tar.gz.
2010-01-04 15:58:00 UTC by jcbowman
-
Sorry
You want transparent background.
O.G.
2010-01-04 15:10:59 UTC by oguibe
-
Hello
To have 3D and transparency please write
orange+opacity(.5) , etc
or color+opacity(number in (0,1)).
O.G.
2010-01-04 15:07:25 UTC by oguibe
-
Hello again.
I need to save my Asymptote picture into a PNG file so that the resulting image has exactly the size 64 by 64 pixels. I am having great trouble in achieving this. Below is my current best try. I don't want to strech the image drawn in pic , I would just like to include it into the larger image as it is. I also tried to play with convertOptions, but did not achieve anything with...
2010-01-04 13:34:07 UTC by jamesfin
-
Fellow Asymptote fans,
how do I get a transparent background in a PNG image which has been rendered from a 3D scene? A search and some quick experiments showed that a 2D scene in PNG format now has by default a transparent background (e.g., examples/venn.asy), but this does not seem to be working with a rendered 3D. My example below was used to generate a PNG with the command
asy -fpng...
2010-01-04 10:26:59 UTC by jamesfin
-
Hi all
since I've updated to version 1.91, I receive an error message when I try to generate a 3D graphics (like draw(unitcube, red) for example).
freeglut (asy): glutSetOption(): missing enum handle 128
freeglut (asy): Unable to create direct context rendering for window 'Asymptote: rotCube [Double click right button for menu]'
This may hurt performance.
freeglut (asy)...
2010-01-04 10:01:17 UTC by chosno