Archived

This topic is now archived and is closed to further replies.

koatto

[java] Magician,Lights and isoengine

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
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...

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites