Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Text in OpenGL
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-08 (08:14)
From: Vu Ngoc San <>
Subject: Re: [Caml-list] Text in OpenGL

Orlin Grigorov a écrit :
> Thank you all for the suggestions.  Yes, the Smoke Vector Graphics 
> library looks like is extremely professional and good job.   Still, I 
> need something easy and small, and I thought more about the "image to 
> texture" suggestion, and I think I found something, which will 
> definitely work good for my purposes.  I decide to give it a try by 
> going through latex, which will produce a dvi file, then use "convert" 
> to make it into a suitable format for importing into an OpenGL texture.  
> What do you think?

I have done this too, it works quite well. Instead of convert I used the 
pgnalpha device of gs, which is very good for managing transparency.
Then I loaded the image into GL using SDL, which, in your case, should 
probably be done differently.

Good luck