Advertisement

[java] Magician,Lights and isoengine

Started by November 04, 2000 08:23 PM
3 comments, last by koatto 24 years, 2 months ago
I use OpenGL to render the map of my iso tile engine.To access OpenGL i use Magician library. I got very bad effects applying lights and scrolling. When the spot generated by a light is across 2 tiles, many strange things happen...Does anyone had similar problems?
I have never had problems with lighting. If it happens across two tiles maybe the normals need to be checked. You can always send the code to someone else who has magician and have them see if it is a driver problem with you card.

I wanrned you! Didn't I warn you?! That colored chalk was forged by Lucifer himself!
"... we should have such an empire for liberty as she has never surveyed since the creation ..."Thomas Jefferson
Advertisement
I draw tiles as diamonds, and i''ve specified the same normal for each vertex :{0,0,1}. I use a SMOOTH lighting mode.

I''ve also big problems running applets using magician. I get a NoClassFoundExeption:GLEventlistener(or something similar) when i run the applet nut when i compiled evrithing gone fine...
I had the same error. I had to put everything under magician/class into a jar and put that in lib/ext. That is the only way I could get them to work. No problems after that. Can you post a screenshot of the problem?

I wanrned you! Didn''t I warn you?! That colored chalk was forged by Lucifer himself!
"... we should have such an empire for liberty as she has never surveyed since the creation ..."Thomas Jefferson
Using glOrtho could speed up the rendering?
I read in some old post that to render an iso map is usefull setting the view as an ortho projection...Is this true?

This topic is closed to new replies.

Advertisement