Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Vu Ngoc San <san.vu-ngoc@u...>
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

San