This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > February 2005 > Open Letter to the octaga developers





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Open Letter to the octaga developers
Joerg Scheurich aka MUFTI

2004-12-09, 12:19 pm

Hi !

Ich think, it was very usefull to make a Linux version of the
Octaga freeplayer.

One of the most missing things in the Linux version is the missing
rendering of the Text shape.

In general it is not so easy to render different fonts in OpenGL under
Linux, but there is a simple "better than nothing" solution.

The GLUT library has a simple character rendering routine. At least
under Linux, FreeBSD, AIX, SGI etc. this routine also works without
the usual GLUT initialisation routines.

The following fragments can be used as a part of a possible solution, all
you need more is to link the -lglut library...

float fsize = 1;
if (fontStyle)
fsize = fontStyle->size()->getValue();
....
glEnable(GL_LINE_SMOOTH);
....
// get line from MFString into a char * "str"
int n = strlen(str);
glPushMatrix();
glTranslatef(0, -which_line_in_MFString * fsize, 0);
const float GLUT_STROKE_ROMAN_SIZE = 119.05;
float scale = 1/GLUT_STROKE_ROMAN_SIZE;
glScalef(scale * fsize, scale * fsize, 1.0);
for (int i = 0; i < n; i++)
glutStrokeCharacter(GLUT_STROKE_ROMAN, str[i]);
glPopMatrix();

so long
MUFTI
--
Microsoft Visual SourceSafe
Adding more than 150 files is not recommended.
Windows may fail to add all selected files. Continue ?
Yes No Help
Robert Ludig

2004-12-11, 12:15 pm

looks great ;)

Robert Ludig

2004-12-13, 7:24 pm

looks great ;)

Robert Ludig

2004-12-15, 7:21 pm

looks great ;)

JohnKArthur

2005-02-11, 6:21 pm

Hello,

My name is John Arthur and I am CTO of Octaga.
First of all thank you for using Octaga FreePlayer for Linux. We welcome
your support.

The Linux version of the Octaga FreePlayer, is meant to be a teaser to
attract interest from the Linux community for Octaga's products and
services. At present we do not upgrade it in line with our other products:
Octaga Professional and Octaga Modeller for Windows. Our strategy for Linux
really depends on whether

Feel free to contact Octaga if you have any further questions.

Best regards

John Arthur

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews