www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Bart on September 28, 2003, 11:04:25 am

Title: 2 questions
Post by: Bart on September 28, 2003, 11:04:25 am
I have two questions:

1) Does the openGL render works with Linux and other operating systems?
2) Is there a set-method to change the samplingmode?
Title: Re: 2 questions
Post by: EgonOlsen on September 28, 2003, 11:59:56 am
Quote
1) Does the openGL render works with Linux and other operating systems?


It should. There are binaries of LWJGL for Linux or you have to compile it yourself. Have a look at the LWJGL homepage at  http://www.lwjgl.org I never tried it though because i don't have a system running Linux (just FreeBSD... :wink: ).

Quote
2) Is there a set-method to change the samplingmode?
You mean switching between under-/over- and normal sampling without constructing a new FrameBuffer? No, there isn't because each change of the used mode actually requires the construction of a new FrameBuffer (because the backbuffer as well as some minor things are different everytime). Encapsulating this in a innocently looking setXXXX()-method doesn't express this well enough IMO. I promise to have a second look at this decision though.
Title: 2 questions
Post by: Bart on September 28, 2003, 08:26:42 pm
Thanks for your help.