Search found 5 matches

by draperg
Wed 2. Aug 2006, 00:37
Forum: Programming Help
Topic: displaying text
Replies: 4
Views: 2553

Sure, if you could send me the version that creates a texture from a string, that would be great. It sounds interesting.

Thanks!
Geoff
by draperg
Fri 21. Jul 2006, 22:35
Forum: Programming Help
Topic: Circle Geometry
Replies: 2
Views: 2046

Never mind... After posting that question, I've since discovered the Primitives.regularPolygon() method, which works just fine for my purposes! :)

--Geoff
by draperg
Thu 20. Jul 2006, 23:31
Forum: Programming Help
Topic: Circle Geometry
Replies: 2
Views: 2046

Circle Geometry

Does jReality currently include a Circle or Disk class to facilitate creating 2D circles (either filled or outline), in addition to the existing Sphere and Cylinder classes?

thanks,
Geoff
by draperg
Thu 6. Jul 2006, 19:43
Forum: Programming Help
Topic: displaying text
Replies: 4
Views: 2553

displaying text

I have some sample code which goes something like this: Font f = new Font("Times New Roman", Font.PLAIN, 12); app.setAttribute("textShader.font", f); ifsf.setFaceLabels(labels); //ifsf is an IndexedFaceSet, labels is an array of Strings This approach works fine if I want a text label for every verte...
by draperg
Wed 5. Jul 2006, 20:44
Forum: Programming Help
Topic: setting the camera's viewport
Replies: 1
Views: 1592

setting the camera's viewport

In a recent email, I was told I could simulate OpenGL's glOrtho/gluOrtho2D functions by using the Camera.setViewport() method. I tried it out, and it works great! Thank you very much for the pointer! My question/concern is: The javadoc for the Camera class indicates that removing the setViewport() m...